Hi. I need to setup value of fields "Ship-to" and "Bill-to"(see screenshot)). How I can do this in API? I already read info in doc but i can't find info about this fields.
*This post is locked for comments
Could you please provide further info about this issue?
Have you exposed the page via webservice? And how are you currently trying to acheive this?
Hi!
Yes, sure.
So now i try to do this via API method: dynamics_create_salesorder . And in this request in body I setup:
"billingPostalAddress": { "street": "Street example", "city": "City example", "state": "State example", "countryLetterCode": "example", "postalCode": "example" },
So in this case I have created order with info like prev screenshot. And if I chose Bill-to -> Another Customer, I can see and edit or add additional info.(screenshot)
I assume that after the API call, all the values a populated correctly. The issue you are facing is when you select 'Another customer' in Bill-to field, it makes all the fields editable again. Please correct me if I'm wrong.
if the above assumption is right, then this is the default behavior of NAV. If you will choose 'Bill to another customer', it will allow you to modify fields. In order to understand this, i would recommend that you do the same process manually on Sales order page and see how it behaves.
Please let me know if you need any further help.
Okay, thanks.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Alexander Ermakov 2
SC666 1