Skip to Content
0
Aug 29, 2023 at 03:25 PM

Service Layer producing buggy Batch Responses

94 Views Last edit Aug 29, 2023 at 03:26 PM 2 rev

If I'm using the SAP Business One Service Layer, specifically this version:

Version : 10.00.200 Special Build : 10 Service Pack : 00 Codeline : 10.0_REL



When I make OData $batch requests against the Items (OINV) table, I am noticing that the batch responses are correct only if I purposely query items that I know to exist. But, if I send in an array of GET requests and purposely mingle in an ItemCode that I know will return a 404 not found error, the remainder of the $batch request does not seem to contain the remaining Items that should be successfully returned after the 404 response.

Has anyone noticed this behavior?

I'm not using B1Slayer, but I'm sure it would produce the same response as what I'm getting. This screenshot is from my homemade OData client

batchrequesterror.png

Attachments