PurchaseInvoiceWarehousePostings
Load purchase invoices into warehouse.
Overview
| |
---|
Url | api/public/FluentisErp/Scm/PurchaseInvoices/PurchaseInvoiceWarehousePostings |
HTTP Method | POST |
Method Type | Operation |
Fluentis Object | Fluentis.FluentisErp.Core.Scm.PurchaseInvoices.FSPurchaseInvoice |
Request parameters
Parameter | Type | Is Required | Default Value | Description |
---|
OperationType | integer | No | 0 | Used when items without warehouse or warehouse template. See Purchase Invoice 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 | | ... |
PurchaseInvoices | array | Yes | | List of PurchaseInvoiceIdentification objects. Used to identify the Purchase Invoices that must be loaded. |
See Purchase Invoice Parameters for Warehouse and Warehouse Template usage.
PurchaseInvoiceIdentification properties
Property | Type | Description |
---|
Id | integer | Id of the Purchase Invoice to load |
ExternalSystem | string | Reference to External System for Purchase Invoice identification |
ExternalId | string | Reference to External System for Purchase Invoice identification |
Response Properties
Property | Type | Description |
---|
PurchaseInvoicesStatus | array | List of PurchaseInvoiceWarehousePostingResult |
PurchaseInvoiceWarehousePostingResult Properties
Property | Type | Description |
---|
Id | integer | Id of the Purchase Invoice to load |
ExternalSystem | string | Reference to External System for Purchase Invoice identification |
ExternalId | string | Reference to External System for Purchase Invoice 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. |