
MDM for TOTVS Protheus, Datasul and RM
MDM for TOTVS: master data approved before it reaches Protheus
In 4MDG, products, customers and suppliers are requested, approved and standardized before they enter Protheus, Datasul or RM. The ERP receives the finished record and each department knows what it filled in.
Systems and master data
What an MDM does
What an MDM does: the right record before it reaches TOTVS
The MDM is where a record is created, checked and approved. TOTVS receives it ready, instead of each team fixing later what went in wrong.
01
Supplier qualification
Brazilian Federal Revenue, Simples Nacional, Sintegra, clearance certificates and restricted lists checked at the source, with each team approving in the workflow. The supplier reaches TOTVS already qualified.
02
Customer onboarding with credit analysis
Sales, credit and tax in the same workflow. Score, restrictions and credit status checked with Serasa to set the limit and terms before the first order in TOTVS.
03
Material and product standardization
Standardized descriptions, duplicates flagged, and NCM, CEST and cClassTrib reviewed with AI support and specialist validation. The final word on tax classification belongs to your tax team.
Where it gets stuck
Where master data gets stuck in TOTVS
The examples come from Protheus. Datasul and RM have their own screens and rules, and the problem shows up the same way.
01
SB1, SA1 and SA2 in many hands
Products, customers and suppliers live in the SB1, SA1 and SA2 tables, and whoever has access to the routine edits them directly. With no queue and no approval, the last change wins, right or wrong.
02
Copies that spread the error
Copying a similar product is the fastest way to fulfill the request. The new code inherits group, type and TES (Protheus tax operation code) from the original, including whatever was wrong.
03
Blocking with no reason recorded
The B1_MSBLQL field takes the product out of use without erasing its history. When it is switched on without recording the reason, nobody knows later why the item stopped or whether it can come back.
04
Tax fields filled in by similarity
NCM (Brazil's product tax classification), origin, IPI rate and default TES define the tax on the invoice. When the record copies these fields from another item, the error shows up in billing or in the tax books.
05
Branches with different rules
Each table can be shared across branches or exclusive to each one. If the filling rule changes from branch to branch, the same product gets different data and consolidation stops matching.
06
History that does not say who changed it
The standard history of the Protheus product master keeps only the description and the profit margin. To know who changed an item's group or type, the record has to exist outside it.
Integration
How 4MDG connects to TOTVS
In 4MDG, each department fills in its part of the record, the standard and filling rules run at request time, and only the approved record moves on to Protheus, Datasul or RM.
Delivery can go out from the platform through a connector, or the ERP can fetch the record through the 4MDG REST API. In both models, the status, attempts and response of each submission stay on the record, next to who requested and who approved.
01
Requester
02
Areas approve
03
Standard (PDM) and validations
04
Integration with TOTVS
05
Return saved on the record
Roles
What stays in 4MDG and what stays in TOTVS
| In 4MDG | In TOTVS |
|---|---|
| Requests to add, change and block product, customer and supplier | Master data used in purchasing, billing, inventory and tax books |
| Approval by department and history of who changed each field | Orders, invoices, inventory movements and accounting |
| Description standard (PDM), filling rules and checks against public sources | ERP parameters, TES and sharing mode per branch |
| Status and response message for each submission to the ERP | Final code of the product, the customer and the supplier |
Master data
Master data covered
In the published cases, TOTVS customers govern materials, customers and suppliers in 4MDG. In Protheus, these records live in:
Product
Table SB1, product master routine (MATA010).
Customer
Table SA1.
Supplier
Table SA2.
more than 1,057
users · more than 451,740 recordsCitrus · Datasul
more than 113
users · more than 620,566 recordsHeavy construction, mining and paving · RM
more than 648
users · more than 536,464 recordsResearch and development · Protheus
FAQ
Questions about MDM for TOTVS
The request, the approvals and the standard move to 4MDG, and Protheus receives the approved record. Your company decides who keeps access to manual entry; our recommendation is to restrict it once the workflow is running.
Yes. 4MDG has customers integrated with each of the three, as the cases on this page show.
In Protheus, the way to take a product out of use is blocking through the B1_MSBLQL field, not deletion. In 4MDG, deactivation is a request like any other, with a reason, approval and history.
It is worth deciding before designing the workflow, because whoever fills in and whoever approves need to follow the same split as Protheus: a table shared across branches or exclusive to each one.
Next step
See where your master data stands today
The MDM readiness test takes a few minutes and shows where your company stands on process, data ownership and integration.
Free resource
How to choose MDM software
A checklist spreadsheet to compare MDM vendors on the same criteria: ERP integration, workflow, data quality and operations.
Contact
Talk to specialists
Tell us which ERP you run and where master data gets stuck today. A 4MDG specialist will reply.
Av. Queiroz Filho, 1700, Torre E, Conjuntos 715 a 718
Vila Leopoldina, São Paulo, SP, 05319-000
SAP, S/4HANA, TOTVS, Protheus, Datasul, RM, Oracle, JD Edwards, Microsoft Dynamics 365, Senior, Sankhya and Infor are trademarks of their respective owners. 4MDG is not affiliated with these vendors unless stated otherwise. The names are used only to identify the systems the 4MDG platform integrates with.