on 2025 Feb 07 7:11 PM
Hi guys,
I am encountering an issue when trying to create an InventoryGenExits object using the Service Layer. Even though I specify a different warehouse in the WhareHouseCode field of the DocumentLines, the system defaults to the primary warehouse instead of updating to the one I provided.
Specifically, I am trying to make the goods issue point to warehouse 02, while the default warehouse is 01. However, despite specifying 02 in the request, the created goods issue still ends up pointing to 01.
{
"JournalMemo": "Salida de mercancia",
"DocDate": "2025-02-06",
"DocumentLines": [
{
"LineNum": "1",
"ItemCode": "C-ITEM-123",
"ItemDescription": "ITEM NAME",
"Quantity": "1",
"VendorNum": "6666",
"WhareHouseCode": "02",
}
],
}
Has anyone else faced a similar issue? Is there a specific setting, field, or configuration I should check to ensure the WhareHouseCode in the lines is respected?
Thank you in advance for any guidance you can provide.
Request clarification before answering.
Hi bcenturion,
It seems that you are using an incorrect property name. It should be WarehouseCode.
Kindly correct it in your request.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.