SubcontractorReturnsWarehousePostings
Load subcontractor returns into warehouse.
Overview
| |
|---|
| Url | api/public/FluentisErp/Scs/SubcontractorReturns/SubcontractorReturnsWarehousePostings |
| HTTP Method | POST |
| Method Type | Operation |
| Fluentis Object | Fluentis.FluentisErp.Core.Scs.SubcontractorReturns.FSSubcontractorReturnUnload |
Request parameters
| Parameter | Type | Is Required | Default Value | Description |
|---|
| OperationType | integer | No | 0 | Used when items without warehouse or warehouse template. See Subcontractor Return Posting |
| Date | date-time | No | Today | Warehouse posting date |
| WarehouseId | integer | No | | Id of the Warehouse that can be used to override items warehouse |
| WarehouseCode | string | No | | Code of the Warehouse that can be used to override items warehouse |
| WarehouseTemplateId | integer | No | | Id of the Warehouse Template that can be used to override items warehouse template |
| WarehouseTemplateCode | string | No | | Id of the Warehouse Template that can be used to override items warehouse template |
| BOMVersionId | integer | No | | ... |
| SubcontractorReturns | array | Yes | | List of SubcontractorReturnIdentification objects. Used to identify the Subcontractor Returns that must be loaded. |
See Subcontractor Parameters for Warehouse and Warehouse template usage.
SubcontractorReturnIdentification properties
| Property | Type | Description |
|---|
| Id | integer | Id of the Subcontractor Return to load |
| ExternalSystem | string | Reference to External System for Subcontractor Return identification |
| ExternalId | string | Reference to External System for Subcontractor Return identification |
Response Properties
| Property | Type | Description |
|---|
| SubcontractorReturnsStatus | array | List of SubcontractorReturnWarehousePostingResult |
SubcontractorReturnWarehousePostingResult Properties
| Property | Type | Description |
|---|
| Id | integer | Id of the Subcontractor Return to load |
| ExternalSystem | string | Reference to External System for Subcontractor Return identification |
| ExternalId | string | Reference to External System for Subcontractor Return identification |
| Messages | array | List of messages related to the loading operation. |
| WarehousePostings | array | List of WarehousePostingResult objects. The list of warehouse posting objects created from the current document. |
WarehousePostingResult Properties
| Property | Type | Description |
|---|
| Id | integer | Id of Warehouse Posting object. |
| Number | integer | Number of Warehouse Posting object. |
| Date | date-time | Date of Warehouse Posting object. |
| Warehouse | string | Warehouse code of Warehouse Posting object. |