Skip to content

Dataset

ERP customization code datasets for AI training

An ERP customization dataset is the custom code and configuration a company wrote inside its enterprise platforms: SAP ABAP and enhancement implementations, Salesforce Apex, flows and metadata, NetSuite SuiteScript, Dynamics X++ and ServiceNow scripts, with the transport or deployment history and the functional specification behind each change. SourceX sources these to a buyer's spec from established businesses and their implementation partners, together with the object and table metadata of the tenant the code ran in. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Customer-written platform code with tenant metadata, deployment history and the specification behind each change
Typical systems
SAP ECC and S/4HANA, Salesforce, NetSuite, Dynamics 365, ServiceNow, and the tools that hold the specs
Typical history
Varies by partner; follows the transport, update set or deployment records the tenant kept
Modality
Source code and metadata files, with specification documents and structured deployment records
Delivery formats
Source in native export form (abapGit files, Salesforce source format, SDF projects, update set XML); specs as text; joins as JSONL
Preparation
Vendor standard and managed-package source excluded; credentials, record IDs and personal data removed; transactional data out of scope
Licensing
Scoped per tenant, platform and module; partner-written code depends on ownership under the services agreement
Availability
Sourced to your spec; spec pairing and metadata depth depend on what the partner kept
CodeIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
customization_idstringPseudonymous, stable ID for one extension, shared by its files, specification and deployments.
platform_releaseobjectPlatform family, product edition and the release or API version the code was saved against.
object_typeenumThe platform's own object type, such as BAdI implementation, Apex trigger, flow, user event script or business rule.
extension_pointobjectThe standard hook the code attaches to: a BAdI definition, an object and trigger event, a wrapped X++ method, or a table and timing.
source_filesarrayFile paths, language, line counts and content hashes in the platform's native export form.
tenant_schemaobjectDefinitions of the objects, tables and fields the code references, with types, allowed values and the snapshot date.
execution_contextobjectWhether the code runs in a synchronous transaction, a batch or a scheduled job, and the limits that govern it.
gap_statementstringThe standard behavior, why it did not fit the process and what was required, from the specification or change request.
spec_docsarrayFunctional and technical specifications, user stories and test scripts for the change, with version and date.
deploymentsarrayTransports, update sets, change sets or deployment runs, with sequence, target system, date and import result.
test_evidenceobjectUnit test classes, coverage at deployment, static check findings and acceptance sign-off where recorded.
authorshipobjectCustomer staff, implementation partner or copy of vendor standard, with the namespace or prefix as evidence.
upgrade_notesarrayChanges forced by a vendor release, including retirement of the customization.
data_screenobjectResults of scanning code, test fixtures and configuration records for credentials, record IDs and business data.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "customization_id": "cz_48d1f0",
  "platform_release": { "family": "salesforce", "api_version": "58.0" },
  "object_type": "apex_trigger",
  "extension_point": { "object": "Order_Line__c", "events": ["before insert", "before update"],
                       "handler": "OrderLineCreditHoldHandler" },
  "source_files": [
    { "path": "force-app/main/default/triggers/OrderLineCreditHold.trigger", "lines": 9 },
    { "path": "force-app/main/default/classes/OrderLineCreditHoldHandler.cls", "lines": 84 },
    { "path": "force-app/main/default/classes/OrderLineCreditHoldHandlerTest.cls", "lines": 131 }
  ],
  "tenant_schema": {
    "snapshot": "2023-06-12",
    "objects": [
      { "name": "Order_Line__c", "custom": true, "fields": [
          { "name": "Account__c", "type": "MasterDetail(Account)" },
          { "name": "Line_Total__c", "type": "Currency(16,2)" },
          { "name": "Hold_Reason__c", "type": "Picklist", "values": ["Credit limit", "Past due", "Manual"] },
          { "name": "Credit_Override__c", "type": "Checkbox" } ] },
      { "name": "Account", "custom": false, "fields": [
          { "name": "Credit_Limit__c", "type": "Currency(16,2)" },
          { "name": "Open_Order_Value__c", "type": "RollUpSummary(SUM Order_Line__c.Line_Total__c)" } ] }
    ]
  },
  "execution_context": { "mode": "synchronous_trigger", "bulk_handling": "one account query per batch" },
  "gap_statement": "Standard order entry has no credit check. Finance requires a line to be held when the account's open order value plus the new line exceeds its credit limit, unless a credit manager has set an override.",
  "spec_docs": [
    { "doc_id": "fs_0312", "kind": "functional_spec", "version": 3, "dated": "2023-05-22" }
  ],
  "deployments": [
    { "seq": 1, "target": "production", "date": "2023-06-14", "result": "succeeded", "ticket": "chg_5530" },
    { "seq": 2, "target": "production", "date": "2023-07-03", "result": "succeeded",
      "note": "defect fix, spec not revised" }
  ],
  "test_evidence": { "test_classes": ["OrderLineCreditHoldHandlerTest"], "class_coverage_pct": 93,
                     "uat_signoff": "2023-06-09" },
  "authorship": { "origin": "implementation_partner", "namespace": null,
                  "ownership_basis": "assigned to customer in services agreement" },
  "upgrade_notes": [],
  "data_screen": { "hard_coded_ids": 0, "credentials": 0,
                   "managed_package_refs": ["[NS]__Tax_Code__c, source not included"] }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train coding models on platform languages

These languages are thin in public code, and public examples are mostly tutorials, not extensions of a real data model.

Generate code from a stated requirement

The gap statement and tenant schema form the prompt, the shipped extension is the target, and test evidence shows whether it was met.

Teach agents to read the schema first

An agent inside a tenant has to look up objects, fields and limits before it writes. Code with its metadata gives worked examples.

Assess upgrade and migration impact

Deployment sequences and upgrade notes show which extensions broke or were retired when the vendor changed standard behavior.

Evaluate platform-aware code generation

Held-out customizations can be graded on whether every reference resolves against the tenant schema and the code respects its execution context.

Use-case guides: Coding agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Dated tenant metadata

A schema snapshot close to the deployment date means field and object references resolve as they did when the code ran.

Specification linked by reference

A ticket number in a transport description or update set name ties code to its requirement.

Full deployment sequence

Failed imports and post-go-live fixes show how the extension reached its final form.

Classified authorship

Customer, partner and vendor-derived code are separated, with namespaces as evidence.

Tests and static checks

Unit tests, coverage figures and code inspection findings give a quality label for each artifact.

History across a vendor upgrade

Code that survived a release upgrade carries dated before-and-after changes.

System export

ERP customization dataset

This page covers ERP and CRM customization code.Illustrative

Why the code needs the tenant it was written for

A general repository can mostly be read from itself. Platform extension code cannot. An Apex handler that reads Order_Line__c.Hold_Reason__c, an ABAP enhancement that fills a ZZ field appended to a standard sales table, a SuiteScript user event that reads a custbody field and a ServiceNow business rule that tests current.u_vendor_tier all point at things defined in one tenant and nowhere else. The field's type, its picklist or domain values and the relationship it sits on live in the platform's metadata, not in the source file. Without that metadata a model sees identifiers it cannot resolve and learns to invent field names.

The platform's limits shape the code as much as its schema does. Apex is written to process records in batches, because a trigger receives many rows at once and queries and DML statements are counted per transaction. SuiteScript API calls spend governance units against an allowance set by script type, which is why long jobs are often rebuilt as map/reduce scripts. In ABAP, a SELECT with FOR ALL ENTRIES whose driver table is empty ignores its WHERE condition and reads every row. A ServiceNow business rule that calls current.update() can set off the table's business rules again, itself included. Code that ignores these rules passes a syntax check and fails under production volume, so each artifact carries its execution context.

Metadata has to be dated. A field that code referenced years ago may since have been retyped or deleted, so ask for the snapshot date and compare it with each deployment. Standard objects also vary with the modules licensed and the features switched on, so two tenants on one product do not share one data model. The customer wrote its extensions, but the standard tables, objects and programs are the vendor's. Check that standard source and managed-package source are excluded, and have counsel confirm what description of standard structures the vendor's terms allow.

The gap each customization was written to close

Every extension exists because standard behavior did not fit, and implementation projects write that decision down. SAP implementation projects keep an inventory of reports, interfaces, conversions, enhancements, forms and workflows, each with a functional specification from a process consultant and a technical specification from the developer. Salesforce and ServiceNow teams hold the same content as user stories. The functional document says what the standard system does, where the business process departs from it, what is required instead and how it will be tested. That is a requirement stated against a known baseline, which an issue in a general repository rarely offers.

The pair is only as good as its link. The reliable links are a ticket number in a transport description, an update set name or a commit message. Specifications also go stale. Defect fixes after go-live change the code without anyone revising the document, so deployments that postdate the specification should be marked. Two neighboring records are worth asking for: gaps closed by configuration instead of code, and customizations retired when a later vendor release delivered the function as standard. Both show when not to write code.

Specifications and code are often written by an implementation partner from its own templates, and who owns them depends on the services agreement. A common SAP shortcut is to copy a standard program into the customer namespace and change a few lines, which leaves vendor code under a customer name, so such copies should be found and excluded. Specifications also quote real customer numbers and carry screenshots of live transactions, so they need the same screening as the source.

What to check before licensing

  • Pick ten artifacts from the sample and resolve every object, table and field they reference against the delivered metadata. Count the misses.
  • Ask how vendor standard code was excluded, including customer-namespace copies of standard programs, and how managed-package source and partner accelerators were identified.
  • Confirm the delivery holds no transactional data. Search test classes, variants, data-load scripts and specification screenshots for customer numbers, record IDs, amounts and names.
  • Check how each specification was linked to its code. A ticket number in a transport description or update set name is stronger than a match on title or date.
  • Compare the metadata snapshot date with the deployment dates, and count artifacts deployed long before the snapshot.
  • Have counsel review who owns code and specifications written by an implementation partner, and what the platform vendor's terms say about sharing descriptions of standard objects.
  • Search source and configuration for credentials, endpoint URLs, hard-coded user IDs and email addresses, and confirm anything found live was rotated.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Which platforms and languages can be in scope?

Any platform where a customer writes code against a vendor's data model can be in scope. The common ones are SAP ABAP, Salesforce Apex and flows, NetSuite SuiteScript, Dynamics X++ and ServiceNow scripts. State the platforms, modules and artifact types in your request, because a partner rarely runs more than one or two of them.

Why does the code come with tenant metadata?

Because the code cannot be understood without it. Extension code refers to custom objects, appended fields and record types that exist only in one tenant, and the source files do not define them. A delivery should therefore include those definitions, with a snapshot date. Ask whether the snapshot covers only referenced objects or the whole schema.

Is vendor standard code included?

No, the scope is code and configuration the customer or its implementation partner wrote. Standard programs and the source of managed packages belong to the vendor or the package publisher and are meant to be excluded. Check this on the sample, including customer-namespace copies of standard programs, and ask how references to managed-package components are represented.

Does the dataset contain business data from the ERP?

It is not meant to. The scope is code, metadata, deployment records and specifications, not orders, invoices or customer records. Business data can still leak in through test fixtures, hard-coded record IDs, report variants and screenshots inside specifications, so ask how each was screened and check the sample.

How is each customization linked to its requirement?

Through references the project left behind. Transport descriptions, update set names and commit messages often carry the change request or story number, and specifications often name the objects they ask for. Where no reference exists the link is inferred from titles and dates and should be flagged as inferred.

Can the code be executed or tested?

Not from the files alone, because the code runs only inside the vendor's platform. Some platforms let you deploy source and metadata into an empty development tenant, where existing unit tests may run. Others need a system with matching release and modules. Say whether you need artifacts that deploy cleanly.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell 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 25 November 2026. Own data like this? See how companies license it to AI developers.

See if your company qualifies