on 05-18-2022 3:41 PM
Dear SAP Support,
SAP Environment : SAP Business One 10.0 (1.00.170) FP-2108 - (SQL SERVER)
Posting Period for Year 2021 : 01-Jan-2021 To 31-Dec-2021
Posting Period for Year 2022 : 01-Jan-2022 To 31-Dec-2022
Scenario#
We have a purchase order (For a Lot tracked Item) created in December, 2021 for which document date, document due date & posting date is recorded as 28-Dec-2021.
The SAP System will allows us to receive (When copy PO to GRPO) the material from SAP-UI in current date (i.e. 18-May-2022). Which is fine with us.
On the other Side, If the same scenario for GRPO is executed from Service Layer using Post-Man, With current document date & document due dates (i.e. "DocDate": "2022-05-18" & "DocDueDate": "2022-05-18") . The Service Layer does not allow us to receive the material & raise error - "Specify a date within the permissible range"
Note : Please find attached Image file (page0001.jpg, page0002.jpg & GRPO JSON ) to reproduce this error from Post-Man for GRPO transaction using Service Layer.
Please help us at the earliest to resolve this error from Service Layer.
json-for-grpo.txtpage0001.jpgpage0002.jpg
Thanks
Divyanshu Vyas
BatchMaster Software Inc.
Hi divyanshu1.vyas,
After the detailed investigation for the reported issue, we found the following:
In the attached json-for-grpo.txt file, both DocDate and DocDueDate have the values as: 2022-05-18 while TaxDate has the value as 2021-12-28 which is causing the error message response as: "1250000073 - Specify a date within the permissible range".
You will receive the same error message in SAP Business One Client with the same input values. Therefore, Service Layer is working as expected. The behaviour of both SAP Business One Client and Service Layer is same.
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.
Hi divyanshu1.vyas,
Kindly check the Posting Date and Due date for the Posting period. May be those are exceeding the range.
Also, are you creating GRPO based on Purchase Order? I do not see any BaseEntry, BaseType or BaseLine value in the JSON.
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.
Hi Ankit,
As per your question, our current date (i.e. 18-May-2022) is exceeding the posting period range, Which is working on SAP UI (If copied from PO to GRPO).
From Service Layer, Yes we are creating GRPO based on Purchase Order.
Now even after assigning BaseEntry, BaseType & BaseLine (see my latest attachment in JSON file), We are receiving the same error ("Specify a date within the permissible range")
Kindly suggest.
Kind regards
Divyanshu Vyas
BatchMaster Software Inc.
Hi Ankit,
Please find attached two JPG file as per your requirement.
1. First file (grpo0011.jpg) will show how we are creating GRPO in SAP.
2. Second file (grpo0022.jpg) will show the Posting Period Date range.
Please let me know if you need any other information apart from this.
Kind Regards
Divyanshu Vyas
BatchMaster Software Inc.
Hi divyanshu1.vyas,
Unfortunately, we are unable to reproduce the issue with the settings which you have mentioned.
Therefore, we would ask you to create an incident under the component SBO-SDK-SVL to get it investigated. It would require the affected copy of the database.
Kindly mention the link of this thread while creating the incident.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.