Solved

How to pass normal attrs via Deferred_Call

  • 15 July 2022
  • 1 reply
  • 264 views

Userlevel 1
Badge +3

Hopefully this is a quick question.

 

I have some logic that changes the shipment inventory location on pick lists using Customer_Order_Pick_List_API.Modify_Ship_Inventory_Loc_No after they are created. It only needs the pick list # and the new location no. I’m running it with Transaction_SYS.Deferred_Call to avoid mutating tables.

 

How do I pass those parameters?

icon

Best answer by donnnnnb 15 July 2022, 03:18

View original

1 reply

Userlevel 1
Badge +3

Nevermind - I was making a mistake elsewhere. Client_SYS works.

 

Client_SYS.Clear_Attr(attr_);
Client_SYS.Add_To_Attr('PICK_LIST_NO_',pl_,attr_);
Client_SYS.Add_To_Attr('LOCATION_NO_',loc_,attr_);
Transaction_SYS.Deferred_Call('Customer_Order_Pick_List_API.Modify_Ship_Inventory_Loc_No','PARAMETER',attr_,'Update Shipment Location',sysdate,'FALSE');

 

 

Reply