added remaining LSL2 entities
This commit is contained in:
11
LSL2/OIEVENT/CHANGED/CUST_ACTIVITY_RPT1.FROM.json
Normal file
11
LSL2/OIEVENT/CHANGED/CUST_ACTIVITY_RPT1.FROM.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "if NewData = '' and .thru->text = '' then\r\n .span->enabled = 1\r\nend else\r\n .span->text = 'N/A'\r\n .span->enabled = 0\r\nend\r\nRETURN 1"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/CUST_ACTIVITY_RPT1.ORDER_QUOTE.json
Normal file
11
LSL2/OIEVENT/CHANGED/CUST_ACTIVITY_RPT1.ORDER_QUOTE.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "if NewData = 'Quoted Products' then\r\n .order_stat->text = 'N/A'\r\n .order_stat->enabled = 0\r\nend else\r\n .order_stat->text = 'All Orders'\r\n .order_stat->enabled = 1\r\nend\r\nRETURN 1"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/CUST_ACTIVITY_RPT1.SPAN.json
Normal file
11
LSL2/OIEVENT/CHANGED/CUST_ACTIVITY_RPT1.SPAN.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": ".from->text = ''\r\n.thru->text = ''\r\nRETURN 1"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/CUST_ACTIVITY_RPT1.THRU.json
Normal file
11
LSL2/OIEVENT/CHANGED/CUST_ACTIVITY_RPT1.THRU.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "if NewData = '' and .from->text = '' then\r\n .span->enabled = 1\r\nend else\r\n .span->text = 'N/A'\r\n .span->enabled = 0\r\nend\r\nRETURN 1"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/EXPORT3.EXPORTTABLENAMES.json
Normal file
11
LSL2/OIEVENT/CHANGED/EXPORT3.EXPORTTABLENAMES.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "if @user4 = 'MIS' then\r\n\tDEBUG\r\nend\r\nif .exporttablenames->text = 'REACT_UTIL' then\r\n .UTIL_START->VISIBLE = 1\r\n .UTIL_END->VISIBLE = 1\r\n .UTIL_START_LABEL->VISIBLE = 1\r\n .UTIL_END_LABEL->VISIBLE = 1\r\nend else\r\n .UTIL_START->VISIBLE = 0\r\n .UTIL_END->VISIBLE = 0\r\n .UTIL_START_LABEL->VISIBLE = 0\r\n .UTIL_END_LABEL->VISIBLE = 0\r\nend\r\nRETURN 1\r\n"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/EXPORT3.EXPORT_NAME.json
Normal file
11
LSL2/OIEVENT/CHANGED/EXPORT3.EXPORT_NAME.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare function send_event, post_event\r\n\r\nif len( NewData ) > 24 then\r\n Void = send_event( @window:'.':CtrlEntId, 'LOSTFOCUS', '' )\r\n Void = set_property( @window:'.EXPORTTABLENAMES', \"FOCUS\", 1)\r\n Void = post_event( @window:'.EXPORTTABLENAMES', \"GOTFOCUS\" )\r\n return 0\r\nend\r\nif NewData[-1,1] = ' ' then\r\n CurVal = @CtrlEntId->text\r\n CurVal[-1,1] = '_'\r\n @CtrlEntId->text = CurVal\r\n @CtrlEntId->selection = len( CurVal )+1\r\nend\r\nRETURN 1"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/EXPORTS.EXPORTTABLENAMES.json
Normal file
11
LSL2/OIEVENT/CHANGED/EXPORTS.EXPORTTABLENAMES.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "if .exporttablenames->text = 'REACT_UTIL' then\r\n .UTIL_START->VISIBLE = 1\r\n .UTIL_END->VISIBLE = 1\r\n .UTIL_START_LABEL->VISIBLE = 1\r\n .UTIL_END_LABEL->VISIBLE = 1\r\nend else\r\n .UTIL_START->VISIBLE = 0\r\n .UTIL_END->VISIBLE = 0\r\n .UTIL_START_LABEL->VISIBLE = 0\r\n .UTIL_END_LABEL->VISIBLE = 0\r\nend\r\nRETURN 1\r\n"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/EXPORTS.EXPORT_NAME.json
Normal file
11
LSL2/OIEVENT/CHANGED/EXPORTS.EXPORT_NAME.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare function send_event, post_event\r\n\r\nif len( NewData ) > 24 then\r\n Void = send_event( @window:'.':CtrlEntId, 'LOSTFOCUS', '' )\r\n Void = set_property( @window:'.EXPORTTABLENAMES', \"FOCUS\", 1)\r\n Void = post_event( @window:'.EXPORTTABLENAMES', \"GOTFOCUS\" )\r\n return 0\r\nend\r\nif NewData[-1,1] = ' ' then\r\n CurVal = @CtrlEntId->text\r\n CurVal[-1,1] = '_'\r\n @CtrlEntId->text = CurVal\r\n @CtrlEntId->selection = len( CurVal )+1\r\nend\r\nRETURN 1"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/EXPORTS.PATH.json
Normal file
11
LSL2/OIEVENT/CHANGED/EXPORTS.PATH.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "Path = Get_Property(CtrlEntID,'DEFPROP')\r\nIF INDEX(Path,'/',1) THEN\r\n\tCall ErrMsg('\"/\" characters are invalid in paths. Use \"\\\" instead.')\r\nEND\r\nRETURN 1"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare function prod_spec_comm\r\ndeclare subroutine forward_event\r\n\r\nIF @USERNAME = 'BRYCE_BARB' THEN DEBUG\r\n\r\nforward_event(NewData)\r\nVoid = prod_spec_comm( \"LOAD_TOOL_RECIPE\" )\r\nRETURN 0\r\n"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/NDW_GAN_PROD_SPEC.SUB_POST_CLEAN.json
Normal file
11
LSL2/OIEVENT/CHANGED/NDW_GAN_PROD_SPEC.SUB_POST_CLEAN.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "CurVal = @CtrlEntId->text\r\nif index( CurVal, 'Akrion', 1 ) else\r\n .post_akrion_recipe->text = ''\r\nend\r\nreturn 0"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/NDW_GAN_PROD_SPEC.SUB_PRE_CLEAN.json
Normal file
11
LSL2/OIEVENT/CHANGED/NDW_GAN_PROD_SPEC.SUB_PRE_CLEAN.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "CurVal = @CtrlEntId->text\r\nif index( CurVal, 'Akrion', 1 ) else\r\n .pre_akrion_recipe->text = ''\r\nend\r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/PROD_SPEC_SHIP.SHIP_PARTIAL.json
Normal file
11
LSL2/OIEVENT/CHANGED/PROD_SPEC_SHIP.SHIP_PARTIAL.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "$insert logical\r\n\r\nif NewData = 'No' then\r\n .ship_full_type->visible = true$\r\n .sftype_label1->visible = true$\r\n .sftype_label2->visible = true$ \r\nend else\r\n .ship_full_type->text = ''\r\n .ship_full_type->visible = false$\r\n .sftype_label1->visible = false$\r\n .sftype_label2->visible = false$\r\nend\r\nRETURN 1"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare function prod_spec_comm\r\ndeclare subroutine forward_event\r\n\r\nIF @USERNAME = 'BRYCE_BARB' THEN DEBUG\r\n\r\nforward_event(NewData)\r\nVoid = prod_spec_comm( \"LOAD_TOOL_RECIPE\" )\r\nRETURN 0\r\n"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/PROD_SPEC_SI.SUB_POST_CLEAN.json
Normal file
11
LSL2/OIEVENT/CHANGED/PROD_SPEC_SI.SUB_POST_CLEAN.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "CurVal = @CtrlEntId->text\r\nif index( CurVal, 'Akrion', 1 ) else\r\n .post_akrion_recipe->text = ''\r\nend\r\nreturn 0"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/PROD_SPEC_SI.SUB_PRE_CLEAN.json
Normal file
11
LSL2/OIEVENT/CHANGED/PROD_SPEC_SI.SUB_PRE_CLEAN.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "CurVal = @CtrlEntId->text\r\nif index( CurVal, 'Akrion', 1 ) else\r\n .pre_akrion_recipe->text = ''\r\nend\r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/PROD_SPEC_SI4.TOOL.json
Normal file
11
LSL2/OIEVENT/CHANGED/PROD_SPEC_SI4.TOOL.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare function prod_spec_comm\r\ndeclare subroutine forward_event\r\n\r\nforward_event(NewData)\r\nVoid = prod_spec_comm( \"LOAD_TOOL_RECIPE\" )\r\nRETURN 0\r\n"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare function prod_spec_comm\r\ndeclare subroutine forward_event\r\n\r\nforward_event(NewData)\r\nVoid = prod_spec_comm( \"LOAD_TOOL_RECIPE\" )\r\nRETURN 0\r\n"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare function prod_spec_comm\r\ndeclare subroutine forward_event\r\n\r\nforward_event(NewData)\r\nVoid = prod_spec_comm( \"LOAD_TOOL_RECIPE\" )\r\nRETURN 0\r\n"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/REACTOR_LOG_SRPT1.REACTORSECTIONS.json
Normal file
11
LSL2/OIEVENT/CHANGED/REACTOR_LOG_SRPT1.REACTORSECTIONS.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare function scroll_enable, send_message\r\n\r\nequ EditTableInsDel$ to 4 ;* ALLOW ROW INSERTION AND/OR DELETION FOR EDITTABLE STYLE\r\nequ Protected$ to 8 ;* AS DOCUMENTED IN THE COLSYTLE MESSAGE IN HELP\r\nequ ReadOnly$ to 2048 ;* FIGURED THIS OUT BY SETTING THE STYLE IN THE WINDOW THEN DEBUGGING\r\n\r\nSectionNo = NewData[1,1]\r\n\r\nIf SectionNo Then \r\n X = XLATE(\"CONFIG\",\"REACTOR_SELECTIONS\",SectionNo,\"X\")\t \t\r\n Treactors = .reactors->array\r\n Treactors<1> = X\r\n .reactors->array = Treactors\r\n *Void = scroll_enable( '', @window:'.REACTORS' )\r\nend\r\n* WILL LOOK INTO THIS LATER IDEA IS TO REENABLE THE REACTORS CONTROL Later Dude! \r\n*end else\r\n* ThisEditTable = @window:'.REACTORS'\r\n* Styles = send_message( ThisEditTable, \"COLSTYLE\", 0, '' )\r\n* Styles<1> = bitand( Styles<1>, Protected$ )\r\n* Void = send_message( ThisEditTable, \"COLSTYLE\", 0, Styles )\r\n* Style = get_property( ThisEditTable, \"STYLE\" )\r\n* if Style[1,2] _eqc \"0x\" then\r\n* convert @lower_case to @upper_case in Style\r\n*\t Style = iconv( Style[3,999], 'MX' )\r\n* end\r\n* Style = bitor( Style, EditTableInsDel$ )\r\n* Void = set_property( ThisEditTable, 'STYLE', Style ) \r\n* .reactors->array = @vm:@vm\r\n* *.reactors->enabled = 1 \r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/REACT_MODE_CHG.MODE.json
Normal file
11
LSL2/OIEVENT/CHANGED/REACT_MODE_CHG.MODE.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "OrigMode = get_property( @window, '@Mode' )\r\nM = .mode->text\r\nif M <> OrigMode then\r\n .apply->enabled = 1\r\nend else\r\n .apply->enabled = 0\r\nend\r\nif M[1,11] = 'Maintenance' THEN\r\n .reactmodesvc->visible = 1\r\n .serv_label->visible = 1\r\n \r\nend else\r\n .reactmodesvc->visible = 0\r\n .serv_label->visible = 0\r\n .note_group->enabled = 1\r\nend\r\n\r\n*IF OrigMode[1,11] = 'Maintenance' THEN\r\n*\t.note_group->enabled = 0\r\n*END ELSE\r\n* .note_group->enabled = 1\r\n*END\r\n\r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/REACT_MODE_CHG.NOTE.json
Normal file
11
LSL2/OIEVENT/CHANGED/REACT_MODE_CHG.NOTE.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": ".apply->enabled = 1\r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/REACT_MODE_CHG.REACTMODESVC.json
Normal file
11
LSL2/OIEVENT/CHANGED/REACT_MODE_CHG.REACTMODESVC.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "\r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/RECIPE_BROWSE.PSN.json
Normal file
11
LSL2/OIEVENT/CHANGED/RECIPE_BROWSE.PSN.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare subroutine recipe_browse_comm\r\n\r\nrecipe_browse_comm( 'REACT_REC_ON_CHANGE', '' )\r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/RECIPE_BROWSE.REACTOR.json
Normal file
11
LSL2/OIEVENT/CHANGED/RECIPE_BROWSE.REACTOR.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare subroutine recipe_browse_comm\r\n\r\nrecipe_browse_comm( 'REACT_REC_ON_CHANGE', '' )\r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
11
LSL2/OIEVENT/CHANGED/RECIPE_BROWSE.RECIPE_NO.json
Normal file
11
LSL2/OIEVENT/CHANGED/RECIPE_BROWSE.RECIPE_NO.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare subroutine recipe_browse_comm\r\n\r\nrecipe_browse_comm( 'REACT_REC_ON_CHANGE', '' )\r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user