Skip to Content
0
Aug 30, 2023 at 07:15 PM

SAP B1 v10 service layer date format (DocDate - DocDueDate)

154 Views Last edit Sep 01, 2023 at 08:39 AM 3 rev

Hello, we have a problem with the date format when we consume the DeliveryNotes method (for example) in Service Layer:

The DocDate and DocDueDate data arrive as YYYY-MM-DDHH:MM:SSZ as shown below:

"DocDate": "2020-03-12T00:00:00Z",

"DocDueDate": "2020-03-12T00:00:00Z",

We need to change the format so that it arrives at YYYY-MM-DD without the time and we can't find where to modify it.

Thanks!