ddr summary/file/scripts

Script Steps in “Trigger | Create Inventory in List View | Mobile”

include in menuFalse
run full accessFalse
usesshow dependencies
21 lines
#step iddescription
189
#This script is performed OnRecordLoad trigger. Go to Layout Setup > Script Triggers
289
368
If [ Get ( RecordOpenState ) ≠ 1 ]
489
#If current record is not a new record then exit current script
5103
Exit Script [ ]
670
End If
789
889
#Choose which is the current running platform and go to the Appropriate layout
968
If [ Get ( Device ) = 3 ]
106
Go to Layout. [ “Product Details | Tablet” ( Inventory ) ]
11125
Else If [ Get ( Device ) = 4 ]
126
Go to Layout. [ “Product Details | Phone” ( Inventory ) ]
13125
Else If [ Get ( Device ) = 5 ]
1489
1568
If [ Get ( WindowWidth ) + Get ( WindowHeight ) > 1042 ]
166
Go to Layout. [ “Product Details | Tablet” ( Inventory ) ]
1769
Else
186
Go to Layout. [ “Product Details | Phone” ( Inventory ) ]
1970
End If
2089
2170
End If