MGCLatticeProductionOrderPostingService.endProductionOrder
Ends a production order by running historical cost calculation, requiring Reported as finished status. PostingDate is the calculation date of the end (empty = today).
- HTTP method:
POST - Route:
/api/services/MGCLatticeProductionServiceGroup/MGCLatticeProductionOrderPostingService/endProductionOrder - Service class:
MGCLatticeProductionOrderPostingService
Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
_request | MGCLatticeProductionEndRequestContract | No | The request containing ProdId, PostingDate, and standard header fields. |
Returns
MGCLatticeOrderOperationResponseContract
An MGCLatticeOrderOperationResponseContract indicating success or failure with details.
Security
- Requires privilege
MGCLatticeProductionServiceMaintain