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

DI Error: (-5002) Invalid value [OINV.GroupNum]-The di call #1 did fail

anderson_schmitt
Product and Topic Expert
Product and Topic Expert
1,592

SAP Customer checkout, when making a payment On Account appears to be getting stuck in the receipt monitor, (999 - DI Error: (-5002) Invalid value [OINV.GroupNum]-The di call #1 did fail.)

Following this but unable to resolve?

25 Di Error: (-5002) Invalid value [OINV.GroupNum][line:1] The payment term that it sent with the transaction from SAP Customer Checkout is not available in SAP Business One. Maintain the correct Payment term in SAP Customer Checkout.Settings/Cash desk/SAP Business One/Payment TermsTo now post the current transaction successfully, you need to change in SAP Customer Checkout Monitor the payment term for this transaction and try to post again.

Accepted Solutions (1)

Accepted Solutions (1)

bikash_bansal
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

First check in Monitor what Payment Terms is seen here as in screenshot. This "-1" or "5" or "whatever" you see here should exists in SAP BusinessOne. Otherwise SAP BusinessOne throws the error "(999 - DI Error: (-5002) Invalid value [OINV.GroupNum]-The di call #1 did fail.)"



Next is from where does SAP Customer Checkout decide which Payment terms are to be used.
The cashier can select it(needs to be changed accordingly to B1 values - screenshot below) otherwise default value is used(screenshot below).

The codes here must match to SAP B1, otherwise change by editing this table. The default values do not match SAP B1 default configuration. Select a default if u need too.



In general when normal AR invoices are created, SAP Customer Checkout uses this default value(high-lighted in red below). Pre-delivered value is -1

If your question in answered correctly, kindly select the answer as "Right Answer". This helps others to follow and easily locate answers.

Regards,
Bikash Bansal
Product Owner - SAP Customer Checkout

Answers (0)