Symptom
You are going to create a down payment request via web service, but failed and got error in the log:
"Error in runtime cardinality for BO APCI_CUST_INV_REQUEST, Node ITEM"
Environment
SAP Business ByDesign.
Reproducing the Issue
You can find the web service error by following steps:
- Go to the Application and User Management - Web Service Message Monitoring view.
- You can a lot of errors from ManageDownPaymentCustomerInvoiceRequestIn.
- Select one, you can see the error: Error in runtime cardinality for BO APCI_CUST_INV_REQUEST, Node ITEM.
Cause
In the request payload, you have maintained the value of tag <BaseBusinessTransactionDocumentID> as 123, However, there is already an invoice request existed in the system with the same ID.
(123 represents the ID of the value of BaseBusinessTransactionDocumentID)
Resolution
You need to ensure the <BaseBusinessTransactionDocumentID> value is unique.
Keywords
down payment; downpayment; ManageDownPaymentCustomerInvoiceRequestIn; "Error in runtime cardinality for BO APCI_CUST_INV_REQUEST, Node ITEM". , KBA , SRD-CRM-INV , Customer Invoicing , Problem