MGCLatticeProductionOrderPostingService.reportAsFinished
Reports a production order as finished, recording good and error quantities. Without EndJob the report is partial (the order keeps its status and remaining quantity); with it the job ends and the order becomes Reported as finished. The posted report-as-finished journal is returned in PostedDocumentId.
- HTTP method:
POST - Route:
/api/services/MGCLatticeProductionServiceGroup/MGCLatticeProductionOrderPostingService/reportAsFinished - Service class:
MGCLatticeProductionOrderPostingService
Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
_request | MGCLatticeProductionReportFinishedRequestContract | No | The request containing ProdId, PostingDate, GoodQty, ErrorQty, EndJob, AcceptError, and standard header fields. |
Returns
MGCLatticeOrderOperationResponseContract
An MGCLatticeOrderOperationResponseContract indicating success or failure with details.
Security
- Requires privilege
MGCLatticeProductionServiceMaintain