Hello Community,
I create a salesorder using API. Here is the JSON that I send to API:
The orderDate is mapped to the "Document Date" field of the BC Sales Header.
Your date 2022-01-01 should be in Document Date field in the BC.
hi
my advice is to create a page on custom staging tables Header and Rows and expose it as an API page
on the onafter insert of the header and rows give all the controls you need and then if everything is successful create the order in AL COde.
Daniele
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156