ddr summary/file/scripts

Script Steps in “Go to Stock Transactions | Tablet”

include in menuFalse
run full accessFalse
usesshow dependencies
13 lines
#step iddescription
189
#Store current Item ID for further use
2141
Set Variable [ $$CURRENT_ITEM_ID; Value:Inventory::ITEM ID MATCH FIELD ]
389
468
If [ Count ( Stock Transactions::ITEM ID MATCH FIELD ) = 0 ]
589
#If there's no transations
66
Go to Layout. [ “Stock Transactions | Tablet” ( Stock Transactions ) ]
77
New Record/Request
889
#Shows only the record just created
9155
Find Matching Records [ Replace; Inventory::ITEM ID MATCH FIELD ]
1069
Else
1189
#If there's transations
1274
Go to Related Record [ From table: “Stock Transactions”; Using layout: “Stock Transactions | Tablet” (Stock Transactions) ]
[ Show only related records ]
1370
End If