include in menu | False |
---|---|
run full access | False |
uses | show dependencies |
# | step id | description |
---|---|---|
1 | 89 | #Store current Item ID for further use |
2 | 141 | Set Variable [ $$CURRENT_ITEM_ID; Value:Inventory::ITEM ID MATCH FIELD ] |
3 | 89 | |
4 | 68 | If [ Count ( Stock Transactions::ITEM ID MATCH FIELD ) = 0 ] |
5 | 89 | #If there's no transations |
6 | 6 | Go to Layout. [ “Stock Transactions | Phone” ( Stock Transactions ) ] |
7 | 7 | New Record/Request |
8 | 89 | #Shows only the record just created |
9 | 155 | Find Matching Records [ Replace; Inventory::ITEM ID MATCH FIELD ] |
10 | 69 | Else |
11 | 89 | #If there's transations |
12 | 74 | Go to Related Record [ From table: “Stock Transactions”; Using layout: “Stock Transactions | Phone” (Stock Transactions) ] [ Show only related records ] |
13 | 70 | End If |