cancel
Showing results for 
Search instead for 
Did you mean: 

Create record in SAP Service Layer using PATCH (Bug or Feature?)

former_member547648
Participant
0 Kudos

When I try to patch a nonexisting EmployeesInfo record, I get an error (as expected), but only if I don't fill in all required attributes to create an EmployeesInfo record:

If I send a request with all the field required to create such a record filled in, patch will create a new record:

And that record will have the EmployeeID I used for patching:

This way I can choose the EmployeeID when creating an EmployeesInfo record (which I cannot when using Post). Is this a bug or a feature? If it is feature I can use it, but if it is a bug I'd better not.

SAP Business One 9.2 PL08

Accepted Solutions (1)

Accepted Solutions (1)

andy_bai
Advisor
Advisor

It is a bug. Do not use it.

thanks

Answers (1)

Answers (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi NILS STRITZEL,

We will report this issue to our Development Team internally. If you would like to follow-up on the issue, kindly raise an incident to SAP Support.

Kind regards,

ANKIT CHAUHAN

SAP SME Support