AL icon indicating copy to clipboard operation
AL copied to clipboard

working with API pages (not updating part page) Post request

Open SahilGuptaBS opened this issue 7 years ago • 1 comments

Hi Everyone

i have two pages like "sales header" and "sales lines". for sale line i used "listpart page" like as follows:

image

and here is sales lines

image

and i used list part page in header page like this

image

now i publish this code to our sandbox and try to post the data from postman and get the response data,

image

now if i check the detail of this invoice on BC then header is imported but there is no any line posted see here

image

i don't know what i am doing wrong. i have tried all the possible things what microsoft suggested but it doesn't work

but if i tried BC's API pages for sales invoice that page id 5475 that is working fine.

guys please give me a solution

SahilGuptaBS avatar Jun 12 '19 11:06 SahilGuptaBS

it is solved by myself. solution is partpageId and EntitySetName must be same

SahilGuptaBS avatar Jun 17 '19 10:06 SahilGuptaBS