OutputJob
A print, mail or upload that runs in the background.
OutputJobFields
The ID of the output job.
What the job does: PRINT, MAIL, UPLOAD_PDF, UPLOAD_EXPORT or UPLOAD_E_INVOICE. New values can be added; treat an unknown value as an action you do not know.
PENDING (waiting), RUNNING, SUCCEEDED or FAILED. New values can be added; treat an unknown value as not finished.
The document type of the output. Known values: SalesQuotation, SalesOrder, SalesInvoice, SalesInvoiceCorrection, DeliveryNote, SalesReturn, DunningLetter, PurchaseOrder, PickList, InventoryDifferenceList, CustomerDetails, PaymentReceipt, ShippingNotification and ReturnLabelEmail. The list can grow; a client treats a value it does not know as an opaque string and does not fail.
The ID of the document. Absent for label jobs, which carry several objects.
The template set the job used.
When the job was created.
When the job finished.
The error code of a failed job in UPPER_SNAKE_CASE, for example OUTPUT_UPLOAD_FAILED.
A human-readable explanation of the failure.
The result of a succeeded job.
Was this page helpful?