Folk,
Here is quick code to create the delivery address on runtime. You can use this on Purchase Requisition, Purchase order or a person.
So we are going to use LogisticsPostalAddressEntity to get the right address with a new one or an existing one. This code should also handle if there is any update in any existing record by updating effective date stamp.
Have a look on below code,
Give a try and share your feedback.
Cheers!!!
Harry.

Yet another blog for Dynamics 365 for Finance and Operations. (I hope this name is not changed by now ;) ). This blog primarily targets technical readers. I will be sharing my experience with Dynamics AX using code snippets, errors, and solutions, Tips, and tricks. PS: Don't use any code directly on production DB, review code thoroughly, and test it in DEV instances first.
December 11, 2018
Create delivery address run time
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thanks