This object allows you to record different standard costs for different date ranges for item and warehouse combinations.
Returns a collection with a key, ID, and link for each item warehouse standard cost.
OK
Bad Request
{- "ia::result": [
- {
- "key": "21",
- "id": "21",
- "href": "/objects/inventory-control/item-warehouse-standard-cost/21"
}, - {
- "key": "24",
- "id": "24",
- "href": "/objects/inventory-control/item-warehouse-standard-cost/24"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100
}
}
Creates a new item warehouse standard cost object.
effectiveStartDate required | string <date> <= 10 characters Set the date at which the cost will be effective. The cost is used in the journal entries to debit Costs of Goods Sold and credit Inventory. Any postings before the first effective start date will use a cost of zero. The cost for the last effective start date is used for any postings after that date until a subsequent effective start date is entered. Example: "2021-01-23" | ||||
standardCost required | string <decimal-precision-10> <= 15 characters >= 0 Provide the standard cost that will be effective from effective date. Example: "122" | ||||
object Provide the Item warehouse information Example: {"itemWarehouse":{"key":"649"}} | |||||
|
Created
Bad Request
{- "effectiveStartDate": "2021-01-23",
- "standardCost": "21",
- "itemWarehouse": {
- "key": "13"
}
}
{- "ia::result": {
- "key": "23",
- "id": "23",
- "href": "/objects/inventory-control/item-warehouse-standard-cost/23"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified item warehouse standard cost object.
key required | string System-assigned unique key for the item warehouse standard cost object. Example: 65 |
OK
Bad Request
{- "ia::result": {
- "key": "23",
- "id": "23",
- "effectiveStartDate": "2021-01-23",
- "standardCost": "122",
- "itemWarehouse": {
- "key": "13",
- "id": "13",
- "itemId": "LapTop Kit 1",
- "warehouseId": "WS001",
- "href": "/objects/inventory-control/item-warehouse-inventory/13"
}, - "href": "/objects/inventory-control/item-warehouse-standard-cost/23",
- "audit": {
- "createdDateTime": "2021-05-07T21:30:03Z",
- "modifiedDateTime": "2021-05-07T21:30:03Z",
- "createdBy": "13",
- "modifiedBy": "13"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing item warehouse standard cost object by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for the item warehouse standard cost object. Example: 65 |
effectiveStartDate | string <date> <= 10 characters Set the date at which the cost will be effective. The cost is used in the journal entries to debit Costs of Goods Sold and credit Inventory. Any postings before the first effective start date will use a cost of zero. The cost for the last effective start date is used for any postings after that date until a subsequent effective start date is entered. Example: "2021-01-23" | ||||
standardCost | string <decimal-precision-10> <= 15 characters >= 0 Provide the standard cost that will be effective from effective date. Example: "122" | ||||
object Provide the Item warehouse information | |||||
|
OK
Bad Request
{- "standardCost": "125"
}
{- "ia::result": {
- "key": "23",
- "id": "23",
- "href": "/objects/inventory-control/item-warehouse-standard-cost/23"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes an item warehouse standard cost object.
key required | string System-assigned unique key for the item warehouse standard cost object. Example: 65 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Use the query service to find item warehouse standard costs that meet certain criteria and to specify the properties that are returned.
OK