Skip to content

Systems and records

SourceX procurement supply chain datasets: orders that changed course

By SourceX Editorial · Reviewed by Noah Loul ·

10 sections

Short answer

SourceX procurement supply chain datasets are built from decision episodes, not purchase order tables: each case links the request, the constraints in force, the approval, every change or exception and the outcome, from a company that holds the rights and whose CEO has agreed to the discussion. In one open-source purchasing system we audited, ten order actions demand a typed reason and none offers a reason code.

License terms

SourceX procurement supply

This page covers sourceX procurement supply chain datasets: orders that changed course.Illustrative

Key takeaways

  • Ask procurement records for decision episodes: request, constraints, choice, approver, changes and outcome; volume comes last.
  • In the KFS purchasing module, ten order actions demand a typed reason and none offers a code list.
  • A Disapproved status names the review step, not the reason; ask for the route log.
  • Agree task coverage and an acceptance test on a sample before the full scope.
  • The company decides through its CEO, and supplier prices and contract terms get their own review.

Which procurement records is SourceX looking for?

Decision episodes, not order tables. SourceX is looking for purchasing and supply-chain histories in which one purchase can be followed from the request through the constraints in force, the choice made, the person who approved it, every change or exception along the way, and the outcome: what arrived, what was paid and what went back. Each episode should come from a company that holds the rights to it, with supplier prices, contract terms and personal details dealt with before anything leaves the company.

The brief has two readers. An AI team training or testing a procurement model can use it to write a specification at sourcex.si/request-data that names decisions rather than row counts. A procurement or supply-chain lead at an operating company can use it to judge whether the company's own purchasing history holds that kind of evidence before anyone mentions an export. SourceX's request page describes it as the licensor of record, taking licenses from companies and granting them to AI developers in its own name, and says "Datasets are sourced on request, not held in stock." Its FAQ says buyers submit specifications and SourceX looks for businesses whose data fits. Nothing on this page describes records SourceX already holds.

The sections that follow test where a real purchasing system keeps its reasons, set out the decisions and constraints a request should cover, define task coverage with an acceptance test, and then turn to prices, people, rights and the company's own decision.

How one purchasing system stores the reason when an order goes off plan

Mostly as free text, sometimes as a code, and sometimes not at all. We read the purchasing and accounts payable module of the Kuali Financial System (KFS), an open-source financial system whose public GitHub repository's latest commit is dated March 22, 2018, and sorted every place it captures the reason for an order exception into four kinds of storage.

Ten actions a user can take on a purchase order demand a typed reason before they proceed: close, reopen, void, amend, split, place on payment hold, remove the hold, cancel a quote, cancel the document, and save a manual status change. Seven of them run through one shared helper that refuses a blank reason and writes the text into a note on the order after a fixed prefix, such as the words Note entered while voiding a Purchase Order. None of the ten offers a list of reason codes, so whatever the buyer typed is the only record of why.

Codes appear where a machine or a policy table decides. The electronic invoice code defines 43 reject reason codes, from a purchase order that does not exist to an invoice amount above the allowed variance, assigned when an incoming invoice fails a check. Four vendor choice codes are named in the code itself: contracted price, small order, professional service and subcontract. Five reference tables hold coded reasons or choices, among them a reason for a required delivery date and a reason an item was added.

Disapprovals sit between the two. The purchase order status list holds seven distinct values beginning with Disapproved, such as Disapproved Budget, Disapproved Tax and Disapproved Purchasing. Each names the review step that said no, not why it did. The table maps each kind of storage to what a request should add:

How one purchasing system stores the reason when an order goes off plan
Kind of storageWhere KFS uses itCount under our rulesWhat a request should add
Code set by the systemElectronic invoices that fail a check43 reject reason codesThe person's resolution and the payment or credit that followed
Code from a policy tableVendor choice, required delivery date, item added4 vendor choice codes; 5 reason or choice tablesThe quotes or alternatives the code summarizes
Typed reason, requiredClose, reopen, void, amend, split, payment hold and release, quote and document cancellation, manual status change10 actions, no code listThe note text linked to its change document, plus a code assigned afterward
Status onlyDisapproval at a review step7 distinct Disapproved statusesThe route log entry: role, date and any annotation
Four cards from most to least structured show where the KFS purchasing module keeps exception reasons: 43 system reject codes, 5 reason or choice tables, 10 actions that demand typed text with no code list, and 7 Disapproved statuses that name a step but no reason, each with what a request should add.
Where one open-source purchasing system keeps the reason for an exception. Counts from the kfs-purap module at commit b8cffce.

The constraint matrix: seven decisions across orders and exceptions

Seven decisions recur in nearly every purchasing history, and each carries a constraint that can make the quickest answer wrong. The matrix names that constraint, the record that proves it applied on the decision date, who usually decides and the record that closes the episode. Entries describe common practice for illustration; they are not a statement of what any buyer has asked for.

Several rows have their own SourceX guides, linked at the end of this page: requests that should be refused, orders split across suppliers, deliveries that changed after the order was correct, contracts and invoices that disagree, and late shipments that did not need expediting. The seven decisions:

The constraint matrix: seven decisions across orders and exceptions
DecisionConstraint that can overrule the quick answerRecord that proves it on the dateWho usually decidesRecord that closes the episode
Approve, refuse or return a requestBudget, policy, or a contract that already covers the needBudget check, policy version, contract register entryBudget holder or buyer, by approval limitOrder issued, refusal with its reason, or return to the requester
Choose the supplierApproved vendor status and contract price on the order dateVendor list version, quotes, vendor choice codeBuyer; sourcing lead above a thresholdOrder placed and acknowledged
Split or change an orderSupplier capacity, minimum quantities, the need dateSupplier confirmations and the change documentBuyer, with the requester on datesEach part received against its own line
Hold, void or close an orderOpen receipts, a dispute or a quality holdReceiving records, dispute notes, the typed reasonBuyer or accounts payable leadFinal receipt, void, or release from hold
Accept a short, late or substituted deliveryNeed date, specification revision, safety stockReceipt, specification, inventory positionRequester and quality, sometimes engineeringAccepted, returned or used under a deviation
Release or reject an invoice exceptionContract price, received quantity, toleranceContract terms, receipt lines, reject codeAccounts payable with the buyerPaid, short-paid, credited or disputed
Expedite or waitExpedite cost against the real need dateDemand record need date, carrier quotesPlanner or buyerArrival date against the need date

Task coverage and the acceptance test a sample must pass

Name the tasks, then the evidence links each one needs, then the test a sample must pass before the full scope is agreed. Agreeing task coverage in writing means the buyer and the supplying company settle which decisions the dataset covers, so neither argues later about records that were never in scope.

Five common procurement tasks follow, each with the minimum links an episode needs and an acceptance test written against a sample. The thresholds are illustrative; set your own before the sample arrives:

Task coverage and the acceptance test a sample must pass
Task a model is trained or tested onMinimum evidence links per episodeAcceptance test on the sample (illustrative)
Recommend approving, refusing or returning a requestRequest, budget or policy check, decision with the approver's role, outcomeEvery sampled refusal states a reason; nine in ten link the policy or budget record
Pick a supplier under constraintsQuotes or alternatives, vendor status on the date, choice code or note, orderEvery episode shows two or more options or records that none existed
Respond to an order changeOriginal order, change document with its reason, supplier confirmation, receiptEvery change carries its typed or coded reason and a later receipt
Resolve an invoice exceptionInvoice, reject reason, contract terms, receipt, payment or creditEvery exception ends in a payment, credit or dispute record, never a status alone
Decide whether to expediteNeed date, supplier promise date, expedite cost, arrivalIn every episode the need date was recorded before the decision

Typed reasons, status codes and route logs: what to do with each

Keep the original words, add a code, and label which is which. A typed reason is evidence of what someone wrote at the moment of decision; a code added later is someone's reading of it. Both help a model, and a dataset that silently swaps one for the other loses the ability to check either.

For typed reasons, the KFS pattern is common in purchasing software: a fixed prefix, then whatever the user typed, saved as a note. Strip the prefix, keep the text after de-identification, and assign a code from a published list that includes unclear and not stated. Have a second coder code a share of episodes independently and report how often the two agree. Never write a reason where the record has none; an episode marked not stated is more useful than one with an invented explanation.

For status-only outcomes, such as a disapproval that names the review step, ask for the workflow route log: who acted, in what role, when, and any annotation. Disapproved Budget tells a model where a request stopped; only the log can tell it why. For machine codes such as invoice rejections, the code is reliable for what the system checked and silent on what the person did next, so the resolution has to come from accounts payable records.

Prices, contract terms and people: what stays out

Supplier prices and negotiated terms usually need their own treatment, and the names of staff and supplier contacts usually stay out. The federal trade secret definition in 18 U.S.C. 1839(3) covers all forms and types of financial and business information, compilations included, when the owner has taken reasonable measures to keep it secret and it derives independent economic value from not being generally known. Price lists, discount schedules and rebate terms often meet that description, and they may matter to the supplier as much as to the buyer.

Three treatments cover most cases: remove the price but keep the variance as a ratio, band prices into ranges, or leave out a supplier whose contract bars disclosure; our guide to supplier pricing in procurement records walks through that review. People become roles: requester, buyer, approver at a stated limit, accounts payable clerk. Suppliers become tokens that stay the same across the order, the receipt and the invoice, so each episode still joins.

On personal details, SourceX's FAQ tells companies to raise them at the assessment stage, allows that some records are better left out altogether, and says de-identification runs through approved processing routes, without claiming any method is perfect. Buyers drafting a request are told on the form: "Don't paste customer records or anything confidential."

The company's rights and its CEO's decision come first

The company that holds the purchasing history decides, through its chief executive, and no buyer specification changes that. SourceX's referral screening page says opening a licensing discussion and signing for the company fall to the CEO, and counts introductions made without the decision maker's knowledge among the cases that usually do not fit. Its FAQ says applying and the fit check create no obligation, and its process page places the company's signature, on scope and terms the company has approved, ahead of any delivery.

Holding procurement records is not the same as being free to license them. The FAQ says owning records does not automatically give a company the right to license data that belongs to customers, vendors or other third parties, and that SourceX checks permissions with the company before any deal. Purchasing files are full of third-party material: supplier quotes and price lists, contract terms, certificates and, for a procurement outsourcer, records that belong to its clients, which the screening page lists among material that usually does not fit.

SourceX does not give legal advice, and its FAQ suggests bringing in the company's own counsel where anything is uncertain. De-identification changes what records reveal once a right to license exists; it does not create the right. This brief is general information, not legal advice.

Would the cheapest or fastest option have been right anyway?

Often, yes, and a sample should measure how often before anyone pays for exceptions. In high-volume catalog buying under fixed contracts, the cheapest compliant option is usually both the one chosen and the right one, so a dataset of such orders teaches little beyond rules the system already enforces.

The value sits where the quick answer and the right answer part: the cheaper supplier that was not approved on the order date, the expedite that a later need date made pointless, the short shipment accepted because safety stock covered it. On the sample, count the share of episodes in which the chosen option was neither the cheapest nor the fastest and a constraint record explains why. If that share is near zero, the workflow is rule-bound and the request should narrow to its exceptions; if it is large, the constraint matrix is doing real work.

The opposite mistake is a dataset of exceptions alone, which over-represents rare cases and teaches a model that something is always wrong. Keep a stated share of routine episodes beside the exceptions, chosen by a rule written down before sampling.

What a procurement request should state, and where this brief stops

Name the decisions, the evidence links and the acceptance test first; volume follows. A procurement request that a supplying company can judge without exporting anything usually states the items listed below, spread across the request form's dataset description, source systems, historical timeframe, licensing and de-identification fields.

This brief has limits. The audit reads one open-source purchasing system as its public repository stood in 2018; commercial procurement suites keep reasons in their own objects and may offer code lists where KFS takes free text. Counting code constants says nothing about how often users typed useful reasons. SourceX sources procurement records on request, so nothing here implies that matching records exist today, that a sample will pass or that a model trained on them will improve, and this page states no demand, prices or timing. What a request should state:

  • The tasks the dataset must cover, taken from the coverage table or written in the same form.
  • The decisions each episode records and the constraint records that must link to them.
  • How an episode ends, and which system's record proves it.
  • A historical window that spans at least one policy, approval-limit or vendor-list change, with effective dates.
  • The joins the tokens must preserve across requisition, order, receipt, invoice and payment.
  • The acceptance test, with thresholds fixed before the sample arrives.
  • Permitted use, exclusivity and duration, stated up front so the company can decide early whether the terms suit it.

How the purchasing-system audit was counted

We cloned the kuali/kfs repository on 2026-10-27 at commit b8cffce, the latest on its default branch, dated March 22, 2018, and a script read three things in the kfs-purap module: PurapConstants.java, PurchaseOrderAction.java and the file names in the business-object data dictionary folder. No repository code was run. Reject reason codes are the String constants in the ElectronicInvoice class declared after the comment introducing the list of reject reason type codes and before the RejectDocumentFields class, counted as distinct values: 43. Disapproval statuses are String constants in the PurchaseOrderStatuses class whose value starts with Disapproved: 8 constants with 7 distinct values, because two share Disapproved C and G.

Reason-required actions are public methods returning an ActionForward in PurchaseOrderAction.java whose body reads the question-reason request parameter or calls a helper method that does; the script found two such helpers, askQuestionsAndPerformDocumentAction and askSaveQuestions, and 10 actions. Vendor choice codes are the String constants in the VendorChoice class: 4. Data dictionary files whose names contain Reason or Choice: 5 of 64; four are code tables, and the fifth, ElectronicInvoiceRejectReason, records each invoice rejection. Not measured: reference data each installation loads, which can add codes; how often users wrote meaningful reasons; and any company's records. The constraint matrix, coverage table and acceptance thresholds are editorial and illustrative.

Frequently asked questions

What procurement records does SourceX look for?

Purchasing histories in which each episode links the request, the constraints that applied, the choice and its approver, every change or exception, and the outcome such as receipt, payment, credit or return. Records are sourced on request from companies that hold the rights, never kept in stock.

Is a purchase order export enough for a procurement AI dataset?

Rarely. An order table shows what was bought, not why. In the KFS purchasing module, the reason for closing, voiding, amending or splitting an order lives in a free-text note, and a disapproval status names the review step but not the reason, so notes, change documents and route logs have to come with the orders.

How should free-text exception reasons be handled in a dataset?

Keep the original text after de-identification, strip any fixed system prefix, and add a code from a published list that includes unclear and not stated. Label which field is original and which was coded later, and have a second coder check a share of episodes.

Can supplier prices stay in a licensed procurement dataset?

Sometimes, but they usually need their own review because price lists and negotiated terms can be confidential business information of both parties. Common treatments are removing prices while keeping variance ratios, banding them, or leaving out suppliers whose contracts bar disclosure.

Who decides whether a company's procurement records are licensed?

The company, through its CEO. SourceX's referral screening page says opening a licensing discussion and signing fall to the CEO, applying creates no obligation, and the company signs off on scope and terms before any data is delivered.

Sources

  • In KFS's purchase order screen code, ten actions require a typed reason; seven share a helper that rejects a blank reason and saves it as a note after a fixed prefix, and none uses a code list. Source
  • KFS's purchasing constants define 43 electronic invoice reject reason codes, four vendor choice codes, seven distinct Disapproved purchase order statuses and the note prefixes for order changes. Source
  • Five of the 64 business-object data dictionary files in KFS's purchasing module name a reason or choice (four are code tables, the fifth records each invoice rejection), including delivery required date reasons and vendor choice. Source
  • 18 U.S.C. 1839(3) defines trade secrets to include all forms of financial and business information, compilations included, kept secret by reasonable measures and valuable because not generally known. Source
  • SourceX's request page says it licenses business data from companies and licenses it to buyers in its own name, that datasets are sourced on request, not held in stock, and asks buyers not to paste customer records or anything confidential. Source
  • SourceX's FAQ says buyers submit specifications and SourceX looks for businesses whose data fits, that applying creates no obligation, that ownership does not automatically allow licensing third-party data, and how personal information is flagged and de-identified. Source
  • SourceX's process page says the company approves the scope and terms and signs before any data is delivered. Source
  • SourceX's referral screening page says opening a licensing discussion and signing fall to the CEO, and lists client-owned material and introductions without the decision maker's knowledge as usually not a fit. Source

Tell us what data you need

Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.

See if your company qualifies