Symptom
There are some Point-Of-Sales transactions in your system with Inconsistent status due to error: 'Sum of sales items with same tax attributes must not be zero'.
Environment
SAP Business ByDesign.
Reproducing the Issue
- Go to the Customer Invoicing work center.
- Go to the Point-of-Sales (POS) Transactions view and Sales Transactions sub view.
- Search and find the POS Transaction ABC. (ABC presents the ID of the POS Transaction). This transaction is with status Inconsistent.
- Click on the Check button, system shows the error message: 'Sum of sales items with same tax attributes must not be zero'.
Cause
To use zero as total amount, you need to maintain the value in the tag of <RetailTransactionDebtorItem> or respectively in the <RetailTransactionSalesItem> in the payload.
Resolution
You have to maintain the values in the following tags :
For Debitor Items:
<RetailTransactionDebtorItem>
<ExternalID>0000000001</ExternalID>
<CashDiscountAmount currencyCode="***">0.0 </CashDiscountAmount>
<CashDiscountTermsCode>****</CashDiscountTermsCode>
<BusinessTransactionCurrencyAmount currencyCode="***">0.0 </BusinessTransactionCurrencyAmount>
</RetailTransactionDebtorItem>
For Sales Items:
<RetailTransactionSalesItem>
<ExternalID>0000000001</ExternalID>
<TypeCode>1</TypeCode>
<GrossAmount currencyCode="***">0.0</GrossAmount>
<NetAmount currencyCode="***">0.0</NetAmount>
<TaxAmount currencyCode="***">0.0</TaxAmount>
<Quantity unitCode="EA">1.0</Quantity>
<QuantityTypeCode>EA</QuantityTypeCode>
<TaxCountryCode>**</TaxCountryCode>
<TaxationCharacteristicsCode>***</TaxationCharacteristicsCode>
<InventoryLocation>
<LogisticsAreaID>*******</LogisticsAreaID>
</InventoryLocation>
<InventoryItemChange>
<MaterialInternalID>*******</MaterialInternalID>
</InventoryItemChange>
<SerialID>
<SerialIdNumber>*******</SerialIdNumber>
</SerialID>
<SerialID>
<SerialIdNumber>*******</SerialIdNumber>
</SerialID>
</RetailTransactionSalesItem>
In place of wildcard characters(*), you have to give the respective values. Cash discount term code will be the payment terms which will come on UI.
See Also
Product Tax Item need to be mentioned as a summary of all the item taxes and a separate product tax line for each line item is not needed.
You can refer to the sample payload below with an example of a payload for 2 items.
Item 1 : 0 EUR
Item 2 : 119 EUR
Keywords
Point-Of-Sales; Transactions; Sales; Customer Invoice; Error; Sum; , KBA , csg_q , AP-CI , Customer Invoice Processing , How To
Product
Attachments
Sample Payload.txt |