Dataset
Sage 100 and Sage 300 ERP records datasets for AI training
A Sage 100 dataset is an export of one company from Sage 100 (formerly MAS 90 and MAS 200): general ledger postings in GL_DetailPosting, receivables and payables invoice history, sales orders, purchase orders, CI_Item inventory items and the customer and vendor masters. The Sage 300 (formerly Accpac) equivalent holds the same business in tables such as GLPOST, ARIBH, APIBH, OEORDH and ICITEM. SourceX sources either to a buyer's spec from established distributors and manufacturers that run the product. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- One company's ledger postings, invoice history, sales and purchase orders, inventory items and customer and vendor masters from Sage 100 or Sage 300
- Typical systems
- Sage 100 Standard, Advanced and Premium and Sage 300, with their general ledger, receivables, payables, sales order or order entry, purchase order and inventory modules
- Typical history
- Set by each module's retention options and by purge and Clear History runs; specify years per table and ask for the earliest date in each
- Modality
- Structured tables, one set per company
- Delivery formats
- One Parquet or CSV file per source table under its original table and column names, with a data dictionary; Sage 300 numeric dates converted, raw value kept
- Preparation
- Customer and vendor numbers re-keyed; names, contacts, addresses and bank details removed; ledger comment text screened; payroll tables excluded; add-on tables labeled
- Licensing
- Scoped per company, modules and fiscal years; permitted use agreed per license; Sage's terms checked by owner and buyer
- Availability
- Sourced to your spec; product, edition, modules and retained history depend on the business, and supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| company_ref | string | Pseudonymous key for the Sage 100 company code or the Sage 300 company database the rows came from. |
| source_product | object | Sage 100 Standard, Advanced or Premium, or Sage 300, with the version and installed modules. |
| gl_posting | array | GL_DetailPosting rows (AccountKey, PostingDate, DebitAmount, CreditAmount, PostingComment, DocumentType, DocumentNo) or GLPOST rows (ACCTID, FISCALYR, FISCALPERD, JRNLDATE, TRANSAMT). |
| batch_and_sequence | object | Sage 300's BATCHNBR, ENTRYNBR and POSTINGSEQ with the SRCELEDGER and SRCETYPE source code; on Sage 100, SourceJournal, JournalRegisterNo and SequenceNo. |
| gl_account | object | The GL_Account row (AccountKey, formatted Account, AccountDesc, AccountType) or the GLAMF row (ACCTID, ACCTFMTTD, ACCTDESC, ACCTTYPE). |
| ar_invoice | object | AR_InvoiceHistoryHeader joined to AR_InvoiceHistoryDetail on InvoiceNo and HeaderSeqNo, or ARIBH joined to ARIBD on CNTBTCH and CNTITEM. |
| ap_invoice | object | AP_InvoiceHistoryHeader with its detail lines, or APIBH with APIBD, including the distribution accounts of each vendor invoice. |
| sales_order | object | SO_SalesOrderHeader and SO_SalesOrderDetail for open orders plus SO_SalesOrderHistoryHeader, or OEORDH with OEORDD, with ordered, shipped and backordered quantities. |
| purchase_order | object | PO_PurchaseOrderHeader with PO_PurchaseOrderDetail, or POPORH1 with POPORL lines, with ordered and received quantities. |
| item | object | CI_Item (ItemCode, ItemType, ProductLine) with IM_ItemWarehouse quantities, or ICITEM (ITEMNO, FMTITEMNO, CATEGORY) with ICILOC by location. |
| party_key | string | Pseudonym for AR_Customer's ARDivisionNo plus CustomerNo or AP_Vendor's APDivisionNo plus VendorNo, or for ARCUS IDCUST and APVEN VENDORID. |
| audit_stamp | object | DateCreated, UserCreatedKey, DateUpdated and UserUpdatedKey on Sage 100 (created stamp only on GL_DetailPosting), or AUDTDATE, AUDTTIME and AUDTUSER on Sage 300. |
| custom_data | object | UDF_ columns and user-defined tables on Sage 100, optional field tables on Sage 300, and tables written by third-party add-ons, each labeled. |
| retention_profile | object | Per module, the history retention setting and the earliest document date in the delivered table. |
Field names from the table above; values are masked placeholders.
Example record
{
"company_ref": "co_7e2b",
"source_product": {
"product": "Sage 100",
"edition": "Advanced",
"modules": [
"G/L",
"A/R",
"A/P",
"S/O",
"P/O",
"I/M"
]
},
"ar_invoice": {
"table": "AR_InvoiceHistoryHeader",
"InvoiceNo": "0048213",
"HeaderSeqNo": "000000",
"InvoiceType": "IN",
"InvoiceDate": "2023-09-18",
"party_key": "cus_01_5f3a",
"SalesOrderNo": "0031877",
"NonTaxableSalesAmt": 1575.0,
"FreightAmt": 85.0,
"lines": [
{
"ItemCode": "itm_valve_2in",
"ItemType": "1",
"WarehouseCode": "000",
"QuantityOrdered": 60,
"QuantityShipped": 50,
"QuantityBackordered": 10,
"UnitPrice": 31.5,
"ExtensionAmt": 1575.0
}
]
},
"gl_posting": [
{
"table": "GL_DetailPosting",
"account": "acc_1200",
"PostingDate": "2023-09-18",
"DocumentType": "I",
"DocumentNo": "0048213",
"DebitAmount": 1660.0,
"PostingComment": "[CUSTOMER] Inv 0048213"
},
{
"account": "acc_4000",
"CreditAmount": 1575.0
},
{
"account": "acc_4500",
"CreditAmount": 85.0
}
],
"batch_and_sequence": {
"SourceJournal": "SO",
"JournalRegisterNo": "000412"
},
"audit_stamp": {
"DateCreated": "2023-09-18",
"UserCreatedKey": "usr_014"
},
"custom_data": {
"UDF_ROUTE_CODE": "N3"
},
"retention_profile": {
"invoice_history": "detail",
"earliest_invoice_date": "2019-01-02"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Follow order to cash at a distributor
Sales orders, shipped and backordered quantities, invoice history and receivables postings show a full cycle with partial shipments.
Teach subledger-to-ledger posting
Invoice lines beside the postings they produced show which accounts a sale, a freight charge or a vendor bill lands in.
Build text-to-SQL and schema-mapping tasks
One business question answered in Sage 100's and in Sage 300's table names gives paired queries over two real schemas.
Model purchasing and stock decisions
Purchase orders, receipts and item quantities by warehouse record what a buyer reordered and when.
Evaluate reconciliation agents
Held-out periods with a known trial balance test whether an agent's subledger totals agree with the ledger.
Use-case guides: Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Product and edition stated
Each company names its product, edition, version and modules.
Retention known
Each module's retention option and earliest surviving date are stated.
Lines kept
Invoice and order history holds detail lines, not headers alone.
Detail posting
Subledgers posted to the ledger in detail, not consolidated, so postings trace to documents.
Keys intact
Division-plus-number keys, HeaderSeqNo and unformatted item numbers join without loss.
Custom data labeled
UDF_ columns, optional fields and add-on tables are identified and described.
System export
Sage 100 dataset
Sage 100 keeps history by module setting, Sage 300 posts through numbered batches
Sage 100 names every table for its module and keeps open documents apart from history. An open sales order sits in SO_SalesOrderHeader and SO_SalesOrderDetail and leaves them once fully invoiced. What remains is the invoice in AR_InvoiceHistoryHeader and AR_InvoiceHistoryDetail and, only if Retain Sales Orders/Quote History was selected in Sales Order Options, a copy in SO_SalesOrderHistoryHeader, which stays until someone runs the Purge Order/Quote History utility with a cutoff date. Receivables, payables and the ledger have retention options and period-end purges of their own, so ask what every module is set to.
In Sage 300 every transaction is keyed into a batch, and posting the batch stamps its entries with a posting sequence. A GLPOST row carries the account in ACCTID, the fiscal year and period, the batch and entry numbers, POSTINGSEQ and a source code built from SRCELEDGER and SRCETYPE, such as AR-IN for a receivables invoice. Posted entries are corrected by further entries, so the posting sequence orders events separately from the document date. In receivables, Clear History removes posted batches through a chosen batch number and fully paid documents through a chosen date, and General Ledger's Period End Maintenance deletes transaction detail. Ask what was run.
Tracing a ledger line to its document also differs. A GL_DetailPosting row carries SourceJournal, JournalRegisterNo and PostingComment, and current file layouts add DocumentType and DocumentNo, where a DocumentType of S marks a summary line. In Sage 300 a subledger set to consolidate its G/L batches combines details by posting sequence, account and fiscal period, and drill-down from the ledger is lost. General Ledger can also consolidate details itself. A line it consolidated after posting reads CONSOLIDATED and has posting sequence 0, and one consolidated during posting reads CONSOLIDATED POSTING. Keys differ too. A Sage 100 customer is ARDivisionNo plus CustomerNo and an invoice is InvoiceNo plus HeaderSeqNo, while Sage 300 uses IDCUST and IDINVC.
Two storage engines mean two extraction paths
Sage 100 Standard and Advanced have no SQL database to query. Each company is a folder named MAS_ plus its company code, with a subfolder per module and one keyed .M4T file per table. The data is read through the ODBC driver the product installs, through Visual Integrator export jobs or through reports. In those files a date is eight characters in year-month-day order. Only Sage 100 Premium keeps the same tables in Microsoft SQL Server. A bare copy of the company folder needs the product's data dictionary to read, so ask how the files were opened.
Sage 300 keeps a company in a database, Microsoft SQL Server on current versions, with short uppercase table names that start with the module: GL, AR, AP, OE, PO, IC. Dates are stored as numbers in year-month-day form, such as 20240318, with zero meaning no date. Text columns are fixed width and padded with spaces. Item numbers and account codes are stored twice, unformatted in ITEMNO and ACCTID and formatted in FMTITEMNO and ACCTFMTTD. AUDTDATE, AUDTTIME and AUDTUSER on each row record the last change only.
One question takes two queries. March invoices for a customer come from AR_InvoiceHistoryHeader filtered on InvoiceDate in Sage 100, where an InvoiceType of XD marks a deleted invoice, and from ARIBH filtered on a numeric DATEINVC in Sage 300, where entries in unposted batches must be left out. Both products also hold data the vendor did not define: UDF_ columns and user-defined tables in Sage 100, optional fields in Sage 300, and tables written by third-party add-ons in either. To test a sample, sum ledger postings by account and period against the trial balance, compare each table's earliest date with the stated retention, and check that no zero dates or padded keys survived conversion.
What to check before licensing
- Have the data owner and your counsel read Sage's license terms on exported data and on use of the ODBC driver and APIs before a permitted use is agreed.
- Get the product, edition and version in writing for each company, and ask whether its data was converted from an older MAS 90, MAS 200 or Accpac release.
- Ask for each module's retention options and when a purge, Clear History or Period End Maintenance was run, then check the earliest date in every sample table.
- Ask whether each subledger posted to the general ledger in detail or consolidated, count Sage 300 lines marked CONSOLIDATED, and tie one period's postings to the trial balance.
- Check that names, contacts, addresses and bank details are removed, including BillToName and ShipToName on Sage 100 invoice history, the taxpayer ID on AP_Vendor and text in PostingComment.
- Ask for the list of installed modules, third-party enhancements, UDF_ fields and optional fields, and confirm add-on tables are labeled.
- On Sage 300 data, confirm numeric dates were converted with zero as null and padded text trimmed; on Sage 100 data, that composite keys were re-keyed consistently.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Do Sage 100 and Sage 300 share a schema?
No. They are separate products, one descended from MAS 90 and MAS 200 and the other from Accpac. Sage 100 uses long module-prefixed names such as AR_InvoiceHistoryHeader with mixed-case columns. Sage 300 uses short names such as ARIBH with uppercase columns and numeric dates. A delivery that covers both needs a mapping per table.
How many years of history does a Sage 100 company hold?
It depends on the company's own settings and on what was purged. Sales order history exists only if the module was set to retain it and lasts until a purge utility is run, and receivables, payables and the ledger have retention options of their own. Ask for every module's setting and purge dates, and treat a stated number of years as unconfirmed until the sample shows it.
Can general ledger postings be traced to the invoices behind them?
Only when the subledger posted in detail. Sage 100 ties a GL_DetailPosting line to its source through SourceJournal and JournalRegisterNo, with a document number where the version's layout has one, and Sage 300 through the source code, batch and entry on GLPOST. If postings were summarized or consolidated, one ledger line stands for many invoices and the link stops at the register or posting sequence.
How is data extracted from Sage 100 Standard or Advanced?
Through the product's own ODBC driver, Visual Integrator export jobs or reports. Those editions store each table as a keyed file in the company folder, not in a database server, so ordinary SQL tools see nothing until the driver is set up on a machine that can reach the folder. Ask who ran it and by which route.
Are manufacturing, payroll and third-party add-on tables included?
Only where scoped. Bill of materials and work order tables exist when the business runs those modules, and they are requested by name. Payroll tables should be left out, so confirm none arrive. Third-party add-ons and custom development write their own tables and UDF_ columns, which no standard data dictionary describes, so ask the business what each one holds.
Is SourceX affiliated with Sage?
Sage 100 and Sage 300 are named to identify the systems the records come from. That does not imply a partnership with or endorsement by Sage. The records belong to the business that runs Sage 100 or Sage 300, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- ERP transaction histories across modules
One company's ERP documents across modules, with flow links, change logs, master data and the data dictionary
- Inventory ledger histories
Item-location stock ledgers with movements, adjustments, reorder settings, lots and valuation
- Purchase order histories from requisition to receipt
Purchase orders followed from requisition and approval through revisions, acknowledgment, receipt and invoice match
- Sage 50 accounting records
One small business's ledger, numbered audit trail, customer and supplier ledgers, invoices, stock and bank records from one Sage 50 edition
- Sage Intacct general ledger records
One Sage Intacct company's journal batches and entry lines with dimension tags, payables and receivables documents, payments, chart of accounts and dimension records
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.