Skip to content

SAP Business One · HANA and SQL Server

SAP Business One consulting and development, for companies and SAP partners

Codai is a technical SAP Business One consultancy and development team based in Brazil and Paraguay. We build add-ons, integrations, user-defined fields and objects, validation rules, queries and automations on SAP B1, on HANA or SQL Server. We work for companies that already run SAP and need it to cover a process that lives in spreadsheets, email or rework, and for SAP Business One partners that need development capacity without hiring. Every project starts with the same question: how much revenue does this add, or how much cost does it remove?

  • Service Layer
  • DI API
  • UDF · UDT · UDO
  • SQLScript (HANA)
  • T-SQL
  • UI API

Who it is for

Mid-sized companies that already run SAP Business One and have hit the limit of what it does out of the box, and the SAP partners who serve them.

  • SAP Business One partners with more customization requests than developers. We work as your development team, under the arrangement we agree in the contract, while you keep the customer relationship.
  • IT leaders who have a partner for licenses and support but nobody to build at the pace the business needs.
  • Operations teams keying the same data into two places: orders, picking, shipping, production.
  • Finance teams closing the month by exporting reports to Excel and reconciling by hand.

Problems we solve

Most requests we get share one root cause: part of the process ended up outside SAP, or depends on someone remembering a rule.

A process in a side spreadsheet

Approvals, commissions, production tracking, fleet or contracts that live outside SAP. We model the process inside it, with a user-defined table and object, a form, permissions and change history.

Rules that depend on memory

Credit limits by customer group, mandatory fields by transaction type, minimum price per item. The rule becomes a database validation that blocks the document before it is saved, with a clear message for the user.

Repetitive posting

Invoices, payments, stock transfers and journal entries generated in batches by a scheduled service instead of typed in.

An add-on that blocks upgrades

Old, undocumented code that keeps you from moving to a newer SAP version. We assess whether to fix it or rewrite it on the Service Layer.

Reports nobody trusts

Queries with the rule written down, reviewed and checked against SAP's own reports. When the real need is analysis, it becomes SAP Business One BI.

What we deliver

Code that runs on your SAP, versioned in a repository, tested on a test company database, with a log for every run.

The first technical decision is how the code talks to SAP. Our rule: Service Layer by default, DI API when the Service Layer in your version does not cover the case. Writing directly to SAP tables is off the table: SAP does not support it, and writes that bypass the APIs can leave documents, inventory and accounting inconsistent.

Service Layer vs. DI API
—Service LayerDI API
What it isOData-based REST API over HTTPS, using JSONCOM library (SAPbobsCOM) for Windows
Where it runsOn the SAP server; your code only needs network accessOn the machine running the service or add-on, with the DI API installed at the same version as SAP
Best forIntegrations, web and mobile apps, batch loadsExisting add-ons, and objects or functions your Service Layer version does not expose yet
Watch out forSessions expire; code must reconnect and handle concurrencyVersion is tied to SAP on every upgrade; does not scale well with many concurrent connections

User-defined fields, tables and objects

UDFs and UDTs store what SAP does not have out of the box. A UDO turns a table into an object with a form, numbering, change log and Service Layer access.

We create everything by script, so the same model deploys identically to test and production.

Validation and business rules

Rules in the SBO_SP_TransactionNotification stored procedure, which runs on every save and can block the document with a message. For actions after saving, we use SBO_SP_PostTransactionNotice or a queue read by a service.

Queries and reports

Formatted queries for users, views in T-SQL (SQL Server) or SQLScript (HANA), and Crystal Reports when a document needs a print layout. SQL is for reading; every write goes through the Service Layer or the DI API.

Add-ons

Forms, buttons and fields inside the SAP client with the UI API, for users who work in SAP. For users who do not (field sales, warehouse staff, customer portals), a web app that talks to the Service Layer.

Barcode scanners

Picking, checking, receiving and stock counts with barcode readers, posting straight into SAP with no paper in between.

Operations

Scheduled services with a log per run, email or WhatsApp alerts on failure, automated tests against the test database and documentation of what was built. When the flow involves another system, it becomes an SAP Business One integration project.

How we work

In four stages, each delivering something usable. Timelines depend on scope, and we commit to ours after the assessment, not before.

  1. Assessment

    short: days to a few weeks

    With read access to SAP, we map the process, measure its current cost (hours of data entry, errors, invoicing delays) and write the scope with the expected gain and how it will be measured.

  2. Build on a test database

    weeks, depending on scope

    Everything is built and tested on a copy of production. You validate with real data before anything goes live.

  3. Delivery in parts

    one flow at a time

    We put one flow live, watch it, and only then move to the next. A small change fits in days; an add-on with several flows usually takes weeks to a few months.

  4. Operation and measurement

    ongoing

    We monitor, fix and check whether the gain predicted in the assessment showed up.

We work Claude-first: AI helps us write, review and test code faster, and an engineer always does the final review. Our team works on UTC−3 (Brazil and Paraguay), which overlaps with the US Eastern morning and the European afternoon, in English, Spanish and Portuguese.

Frequently asked questions

Do you sell SAP Business One licenses?

No. Codai does not resell licenses. We build on the SAP you already have and work alongside the partner who handles your licensing and support.

We are an SAP Business One partner. Can you work as our development team?

Yes. We take specified work (add-ons, integrations, queries, validations) and deliver code, tests and documentation to your standards and repository. Branding, customer contact and code ownership are set in the contract before we start.

Do you work with SAP Business One on both HANA and SQL Server?

Yes. What changes is the query language (SQLScript on HANA, T-SQL on SQL Server) and, on older SQL Server versions, whether the Service Layer is available, which can push the project to the DI API.

Can you work with companies outside Latin America?

Yes. The work is remote, with secure access to your SAP environment. Our working hours overlap with North America and Europe, and we work in English.

What happens when SAP is upgraded to a new version?

We test everything on an upgraded test database before you upgrade production. Service Layer code usually survives upgrades with few changes; DI API and UI API add-ons need testing and sometimes recompiling for the new version.

How do you measure whether the project paid off?

The metric is set in the assessment, before work starts: hours of data entry, invoicing errors, days to close the month, stuck orders. We measure before and after. If a project has no measurable gain, we tell you before you hire us.

How much does it cost?

It depends on scope. After the assessment we send a proposal with scope, timeline and price per stage, so you decide with the expected gain on the table.

Tell us which process still lives outside SAP.

A short call is enough for us to say whether it needs development, configuration, or nothing at all.