cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delivery failed if Sales Order DocTotal = 0 using DIAPI

0 Kudos
510

I am creating Delivery based on Sales Order whose DocTotal = 0.
When I am creating Delivery from SAP client it is OK but when I try using DI API it is giving me error.
No matching records found (ODBC -2028)

View Entire Topic
0 Kudos

Hi Ankit,

I am a bit confused about your reply. If you mean that whether my code was successful to create Delivery document based on Sales Order then yes. I am facing problem only in case when Sales Order's DocTotal = 0.

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi kanwalshehzad,

My question was whether this functionality ever worked for you in the past where Sales Order's DocTotal was 0 and Delivery was created successfully for that Sales Order?

Are you trying to achieve this functionality for the first time ? Has it been occurred after any recent upgrades of SAP Business One?

Kind regards,

ANKIT CHAUHAN

SAP Business One Support