Skip to Content
0
Aug 30, 2023 at 01:10 PM

There is a problem while creating a GRPO against a purchase order number. (using service layer)

38 Views Last edit Aug 30, 2023 at 01:13 PM 2 rev

I want is to create GRN, an item code in the relevant line number of the PO. But it could not be done at all. Please help. I tried many times to create a GRN against a PO number using the SAP business One service layer. Its details are as follows.

path = "/PurchaseDeliveryNotes"

requestBody = {
DocumentLines: [
{
BaseEntry: 1281,
BaseLine: 0,

BaseType: 22

}

]
}

But cannot do this. please help to this. Thanks