Skip to main content

Extract and Process

The Extract and Process screen runs an extraction followed by a processing step in a single click. It is the runtime equivalent of running one of the Extract pages and then the matching Processing page back-to-back, with the same parameters gathered on one page.

The page follows four steps, shown as cards across the top: Source (where the file comes from), Processing (the document and its options), Extraction Result and Processing Result. Each card shows its state in a few words — the source and its key, the document and its mode, then the outcome in green (success) or red (failure); a step still missing its key or its document is marked in red. A single Extract & Process button, in the page header, runs both halves: the page shows the extraction result, then moves to the processing result once it is known.

The extraction half offers the same three sources documented under Extract:

  • Extract Archive — pull an archived document from the NomaUBL database (F564230 source XML or F564231 generated UBL) by document key.
  • Extract FTP — download a file from an SFTP server using the JDE-style report / version / language / job key.
  • Extract BIP — extract a JD Edwards BIP Print Queue job (input XML, rendered output, or both).

The processing half offers the same two pipelines documented under Processing:

  • Process Document — single processing entry point. The pipeline (XML transformation or direct UBL validation) is selected by the document's source property.

The page applies regardless of source system — JD Edwards, SAP, NetSuite or a custom ERP — except for the BIP source, which is JD Edwards-specific.


At a glance​

Extract & ProcessExtract a spool from Archive, FTP, or BIP, then process with XML or UBL pipeline.▶ Extract & Process↓SOURCEBIP · 42803⚙PROCESSINGinvoices · AUTO⤓EXTRACTION RESULTBIP job 42803 extracted✓PROCESSING RESULTProcessing completed successf…EXTRACT OPTIONSSourceBIPArchiveFTPJob Number42803LanguageFRExtract ModeExtract Input (XML) ▾Input FileR42565_XJDE0001_42803Four stepseach card shows its stateSource stepBIP · Archive · FTPFields of the sourcechange with the sourceOne run buttonextraction, then processingResult stepsgreen = success, red = failure

Pipeline at a glance​

▶ Extract & Process⚙ Sourcedecision📦 Extract ArchiveF564230 / F564231🌐 Extract FTPSFTP server🖨 Extract BIPJDE Print QueueArchiveFTPBIP📄 Extracted filein dirInput/template/⚙ Extraction OK?decision⛔ Haltskip processingNo⚙ Document sourcedecisionYes⚙ Process Document (XML)SINGLE / BURST / UBL / AUTO⚙ Process Document (UBL)Validate / Persist / SubmitXMLUBL⚙ Post-generationJDE job status update📋 Processing Resultaggregated outcome

The run has two phases. The extraction phase writes a file to dirInput/<template>/; on success, the matching processing pipeline picks it up. Any failure on the extraction step stops the chain — the processing phase is skipped and only the Extraction Result carries a message.


Source​

The Source step (Extract Options) picks one of the three extraction channels — BIP, Archive or FTP — and the fields below adapt to the chosen source. The step ends with the Input File line: the name the extracted file will take.

Archive​

Pulls an archived document by its database key.

FieldDescription
DOCDocument number — primary key of the archived document.
DCTDocument type code (e.g. RI, RN).
KCOCompany code (e.g. 00070).

The extracted file is written to dirInput/<template>/ (with %TEMPLATE% resolved) under the name <DOC>_<DCT>_<KCO>.xml (or _ubl.xml if the source side is UBL). See Extract Archive for the full reference.

FTP​

Downloads a file from the configured SFTP server.

FieldDescription
ReportJDE-style report name (e.g. R42565).
VersionReport version (e.g. XJDE0001).
LanguageLanguage code (e.g. FR).
JobJDE job number.

The extracted file is written to dirInput/<template>/<REPORT>_<VERSION>_<LANG>_<JOB>.xml. See Extract FTP for the full reference.

BIP​

Extracts a job from the JDE BIP Print Queue.

FieldDescription
Job NumberJDE BIP job number (RJJOBNBR).
LanguageOptional BIP language filter.
Extract ModeExtract Input (XML), Extract Output or Extract Both. See Extract BIP for the semantics of each.

The extracted file's base name (<report>_<version>_<job>) is reused as the input for the processing step.


Processing​

The Processing step (Processing Options) starts with the Template — the document to run. The pipeline follows the document's source, shown read-only under it (XML spool or UBL — already-formed UBL), and the options below change with it. A Debug profile option (No / Yes) is available in both cases. With no document selected, the step card reads No document in red.

XML-source document​

Equivalent to running the Process Document page on the just-extracted file when the chosen template's source = XML.

FieldDescription
TemplateDocument — required. Drives the XSL pipeline and the validation rule set.
ModeAUTO, SINGLE, BURST or UBL. See Process Document — Modes (XML source).
ReplaceSkip keeps existing invoices untouched; Overwrite re-imports them.
Send to PAUse settings (default) or Skip sending.

After a successful run, when the source is BIP, an additional Apply post-generation call updates the JDE job status — typically marking the BIP job as processed.

UBL-source document​

Equivalent to running the Process Document page on the just-extracted file when the chosen template's source = UBL. The extracted file must already be UBL — typical when:

  • the Archive source is set with the UBL flavour;
  • the upstream system emits UBL directly;
  • the BIP source is set with Extract Output and the JDE report emits UBL XML as its output (not PDF). In that case the UBL files retrieved from F95631 are picked up directly by the UBL pipeline — no XSL transformation runs.
FieldDescription
ModeProcess & Validate (full pipeline) or Validate only.
Replace ModeOverwrite existing (default) or Skip.
Send to PAUse settings, Force send or Skip sending.

The (doc, dct, kco) primary key is parsed from the invoice's cbc:ID via the document's idPattern regex — filenames can be anything. See Documents → Key extraction from cbc:ID for the regex setup.

Combinations not supported​

SourceDocument sourceStatus
BIP, Extract Mode = BothUBLNot supported — the extracted set contains both XML and rendered output, which cannot be processed as UBL.
BIP, Extract Mode = Both with multiple output rowsXMLRejected — the extraction produces several files, the XML pipeline expects a single file per run.

A clear error appears in the Processing Result step when one of these combinations is attempted.


Results​

The outcome is split over the last two steps:

  • Extraction Result — the message returned by the extraction API; populated first, and the step the page shows while the run goes on.
  • Processing Result — the structured log table from the processing step (same columns as on the XML and UBL pages: Severity / Module / Submodule / Message); populated only when the extraction succeeded and the processing actually ran.

If the extraction fails, the processing step is skipped — the chained run halts on the first failure.


Tips & best practices​

  • Use Extract and Process for single ad-hoc runs. The page combines two operations on one screen, so retrieving and processing one document needs a single click. For repeated unattended runs, prefer Sync → Fetch Input — it iterates the same pipeline in batch.
  • Match the document's source to the extraction output. The combinations table above lists the unsupported pairs; cross-check the BIP extract mode against the document's source before running.
  • For a BIP-driven workflow, pick an XML-source document. It runs Apply post-generation on success, which updates the JDE job status — without it, the same job will be re-extracted on the next run.
  • The Extract Result keeps the raw API output. When something goes wrong on the extraction side (missing job, file not found, SFTP credentials), the message returned by the extract API is the canonical diagnostic — read it before re-running.
  • Skip sending while iterating on a template. Both halves expose the option (No send / Skip sending) — use it during template development to avoid producing duplicate PA submissions across iterations.
  • Extracting the same job again is safe. An invoice already sent and awaiting the platform (9903, 9906), or already processed by it, is skipped by the processing step and not sent again — the processing result and the invoice say why. See A new run of the source.