MGCLatticeProductionReportFinishedRequestContract
Data contract for production report as finished requests containing ProdId, PostingDate, GoodQty, ErrorQty, EndJob (end the job: the order becomes Reported as finished) and AcceptError (end the job even when route jobs have not been reported - the form's "Accept error").
Methods
new
Initializes a new instance of the MGCLatticeProductionReportFinishedRequestContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeProductionReportFinishedRequestContract class.
- Visibility:
public - Returns:
MGCLatticeProductionReportFinishedRequestContractA new MGCLatticeProductionReportFinishedRequestContract instance.
No parameters.
parmCorrelationId
Gets or sets the correlation identifier for tracing the request across systems.
- Visibility:
public - Returns:
GuidThe CorrelationId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_correlationId | Guid | Yes | The CorrelationId value. |
parmRequestId
Gets or sets the unique request identifier for idempotency.
- Visibility:
public - Returns:
GuidThe RequestId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_requestId | Guid | Yes | The RequestId value. |
parmLegalEntityId
Gets or sets the legal entity (company) in which to execute the operation.
- Visibility:
public - Returns:
DataAreaIdThe LegalEntityId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_legalEntityId | DataAreaId | Yes | The LegalEntityId value. |
parmUserContext
Gets or sets the user context under which the operation executes.
- Visibility:
public - Returns:
UserIdThe UserContext value.
| Name | Type | Optional | Description |
|---|---|---|---|
_userContext | UserId | Yes | The UserContext value. |
parmProdId
Gets or sets the production order identifier.
- Visibility:
public - Returns:
ProdIdThe ProdId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_prodId | ProdId | Yes | The ProdId value. |
parmPostingDate
Gets or sets the posting date for the journal entry.
- Visibility:
public - Returns:
TransDateThe PostingDate value.
| Name | Type | Optional | Description |
|---|---|---|---|
_postingDate | TransDate | Yes | The PostingDate value. |
parmGoodQty
Gets or sets the good (accepted) quantity produced or reported.
- Visibility:
public - Returns:
QtyThe GoodQty value.
| Name | Type | Optional | Description |
|---|---|---|---|
_goodQty | Qty | Yes | The GoodQty value. |
parmErrorQty
Gets or sets the error (rejected) quantity produced or reported.
- Visibility:
public - Returns:
QtyThe ErrorQty value.
| Name | Type | Optional | Description |
|---|---|---|---|
_errorQty | Qty | Yes | The ErrorQty value. |
parmAcceptError
Gets or sets whether the report as finished accepts errors - the "Accept error" option of the standard form. Applies when EndJob is set: true ends the job even when the order's route jobs or BOM lines have not been reported as finished (the usual integration case: no job-level feedback); false (default) stops with "Job... has not been reported as finished" exactly as the form does without the option.
- Visibility:
public - Returns:
booleanThe AcceptError value.
| Name | Type | Optional | Description |
|---|---|---|---|
_acceptError | boolean | Yes | The AcceptError value. |
parmEndJob
Gets or sets whether this report ends the job - the "End job" option of the standard report as finished. False (default, as Microsoft's programmatic report as finished defaults it) reports a partial quantity: the order keeps its status and its remaining expected receipt. True marks the order Reported as finished and clears the remaining quantity; it requires the BOM and route to be finished unless AcceptError is set.
- Visibility:
public - Returns:
booleanThe EndJob value.
| Name | Type | Optional | Description |
|---|---|---|---|
_endJob | boolean | Yes | The EndJob value. |
parmExternalSystem
Gets or sets the external system whose keys the request's external key members hold.
- Visibility:
public - Returns:
MGCLatticeExternalSystemIdThe ExternalSystem value.
| Name | Type | Optional | Description |
|---|---|---|---|
_externalSystem | MGCLatticeExternalSystemId | Yes | The ExternalSystem value. |
parmProdIdExternalKey
Gets or sets the external system's key of the production order, in place of ProdId.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe ProdIdExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_prodIdExternalKey | MGCLatticeExternalKey | Yes | The ProdIdExternalKey value. |
parmPreviewMode
Gets or sets whether the request runs as a preview. The operation has no preview: a request with PreviewMode set is refused with PreviewUnsupported before anything runs.
- Visibility:
public - Returns:
booleanThe current preview flag.
| Name | Type | Optional | Description |
|---|---|---|---|
_previewMode | boolean | Yes | The preview flag to set. |