Files
open-insight/LSL2/OIEVENT/LOSTFOCUS/QUOTE.CUST_NO.json
2024-03-25 15:12:53 -07:00

11 lines
584 B
JSON

{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function set_property, rowexists\r\ndeclare subroutine forward_event\r\n$insert company_equ\r\n\r\nforward_event( CtrlEntId, CtrlClassId, Flag, FocusId )\r\nCustNo = .cust_no->text\r\nif rowexists( 'QUOTE', CustNo ) else\r\n Terms = xlate( 'COMPANY', CustNo, company_terms$, 'X' )\r\n if Terms then\r\n .terms->text = Terms\r\n end\r\nend\r\nVoid = set_property( @window, '@CUST_NO', CustNo )\r\nRETURN 0"
}
}
}