Symptom
When creating marketing documents using Data Interface API (DI API) or Service Layer, you might encounter certain scenarios.
- The values set in the payload are replaced by auto calculated values in the final document.
- The calculated fields like LineTotal, UnitPrice, DiscountPercent do not align with the SAP Business One Client calculations.
- Calculated values in the final document may exhibit rounding differences.
- Error such as "Total taxable amount of all rows exceeds the base amount" may occur when creating the marketing documents.
- Error such as "(5002) 10001058 Enter a discount percentage of less than 100" may occur when creating the marketing documents.
- Error such as "(5002) Tax amount cannot be negative [INVVatSum]" may occur when creating the marketing documents.
Read more...
Environment
Data Interface API (DI API)
Service Layer
Product
Keywords
calculation discrepancies, DI API issues, Service Layer errors, SAP Business One Client, rounding differences, marketing document errors, discount percentage error, tax amount negative error, payload preparation, reverse calculation, document total mismatch, line row total deviation, expense row total deviation, tax recalculation, header discount issues. , KBA , SBO-SDK-DI , Data Interface , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview