Start a project
Latin America · Distribution

Commission payment and product conversion portal on SAP B1

Kodenova built a Spanish-language portal connected to SAP Business One that moved commission runs from spreadsheets into an auditable workflow and creates payments in SAP B1 without re-keying.

SummaryA Spanish-language portal connected to SAP Business One for commission calculation, approval and payment, plus product conversion and replenishment.

The challenge

Commissions were calculated in spreadsheets from SAP exports, with disputes over prices, discounts and payment status.

Context

A distribution company in Latin America calculated sales commissions in spreadsheets built from SAP Business One exports. Each run depended on prices, discounts and technical discounts per invoice, and every manual step was a chance for a different number. Salespeople disputed amounts, and it was not always clear which commissions had already been paid.

Commission errors damage trust with the sales team and take finance time to resolve. The company also needed to convert one item into its components with cost distributed proportionally, and to manage replenishment, all in Spanish and all tied to the data already in SAP B1.

What we built

  • Commission calculation per invoice with price, discount and technical-discount rules
  • Approval workflow and automatic payment creation (cheque or transfer) in SAP B1
  • Product conversion: one item into components with cost distributed proportionally
  • Replenishment and dashboards

How it fits together

  • The portal, built on ASP.NET Core MVC with a Spanish interface, reads invoices and item data from SAP B1 through the Service Layer.
  • Commission rules for price, discount and technical discount are applied per invoice, and each calculation is stored in SQL Server for audit.
  • An approval workflow moves each commission run from calculated to approved before anything is paid.
  • Approved runs create the payment (cheque or transfer) directly in SAP B1 through the Service Layer, so nobody re-keys amounts.
  • Product conversion splits one item into components and distributes its cost proportionally, posting the result to SAP B1; replenishment views and dashboards read the same data.

How we delivered it

  1. Discovery and scope. Document the commission rules as finance applies them today, including discount and technical-discount cases, and agree how conversions and payments must post in SAP B1.
  2. Build on a test company. Build the calculation, approval workflow, payment creation and product conversion against a SAP B1 test company, so payments and stock postings can be repeated safely.
  3. Testing. Run past periods through the portal and compare the results with the old spreadsheets. Check that payments and conversion costs post correctly in SAP B1.
  4. Go-live. Switch the next commission run to the portal, train finance and sales managers on the approval steps, and retire the spreadsheet process.
  5. Support. After go-live, support covers rule adjustments, edge cases and user questions.

Result

  • Commission runs moved from spreadsheets into an auditable workflow
  • Payments created in SAP B1 without re-keying

Commission runs now follow an auditable workflow instead of spreadsheets, and approved commissions become payments in SAP B1 without anyone typing the amounts again.

Lessons for a similar project

  • Write the commission rules down and get finance to sign them off before building; most disputes come from rules nobody wrote down.
  • Test with past periods. If the portal and the old spreadsheet disagree, find out which one is right before go-live.
  • Post payments and stock movements through the Service Layer so SAP B1 business rules and validations still apply.

Technology

ASP.NET Core MVCSAP B1 Service LayerSQL ServerSpanish UI

Services used

Delivered by Zain Abbas, Kodenova.

Want something similar?

Tell us what you need. You get a clear technical answer, a fixed scope and a price, usually within 24 hours.