Skip to main content
Solved

How to pass normal attrs via Deferred_Call

  • July 14, 2022
  • 1 reply
  • 320 views

Forum|alt.badge.img+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?

Best answer by donnnnnb

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');

 

 

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+3
  • Author
  • Do Gooder (Customer)
  • 2 replies
  • Answer
  • July 15, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings