Options
All
  • Public
  • Public/Protected
  • All
Menu

Record the Dynamics salesorder number that mirrors a job, on Job.s4cOrderId (column s4c_order_id). Sent by the S4C "gid - salesorder endpoint" flow via /v3/commands/s4c/order-id and consumed in jobs-service.

Separate from SetJobYourOrderId on purpose. That command writes Job.extPartnerId, which belongs to the assigned partner: it is matched on exactly when a partner identifies a job by their own reference, and it is printed on their credit notes as the external order id. The platform sync mirrors every job — including ones another partner executes — so putting an S4C number there would break a lookup and misattribute a document.

Exactly one of jobApiId, invoicingEid, or gidOrderNumber identifies the job. s4cOrderId is the value being set, so it is not a lookup key.

Hierarchy

Index

Constructors

Properties

_cid: string

Command ID. This can be any string, and it's up to the api integrator to ensure uniqueness.

_metadata?: {}

Arbitrary metadata set by the api integrator. Keys must start with 'ext-'

Type declaration

  • [key: string]: string

The command type

_v: string

Command format version / API version

gidOrderNumber?: string
invoicingEid?: string
jobApiId?: string
s4cOrderId: string

The Dynamics salesorder number, e.g. S4C-O-2026-31850.

Generated using TypeDoc