Help in Requirement

Prithvi Ramesh1
Mega Sage

There is a catalog item with a variable that references the "ast_contract" table. Whenever a contract number is selected, it should be in numerical order. The following attributes have been used for the variable:

  • ref_auto_completer=AJAXTableCompleter
  • ref_ac_columns=contrct
  • ref_ac_order_by=vendor_contract
  • ref_ac_columns_search=true

Each time a value is selected, it should be unique. Additionally, after selecting a value, the latest value should be set as the default without needing to select it manually. How can this be achieved?

6 REPLIES 6

@Prithvi Ramesh1 

it does allow but you want the contract to be auto populated in 2nd row based on value selected in 1st

check this link if you can detect the row addition and have some logic to get the next Contract and set it onload

MRVS detect when a row is removed or deleted 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Prithvi Ramesh1 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader