Post Inventories Warehouse
Note: This atom allows you to associate assets with warehouses in Fracttal.
Description
Associate an asset to a warehouse using the official Fracttal API.
General Information:
| Module | Category |
|---|---|
Inventory |
Create |
PostInventoriesWarehouse
Parameters:
code: str, required
Input Parameters:
| Field | Type | Required | Description | Default | Example |
|---|---|---|---|---|---|
code |
str | ✅ | Code of the item to be associated. | PydanticUndefined |
None |
id_type_item |
ItemType | ✅ | Asset type. | PydanticUndefined |
None |
field_1 |
str | ✅ | Asset name. | PydanticUndefined |
None |
field_2 |
Optional[str] | ❌ | Address / Manufacturer / Part Number / Part Number / Manufacturer (depending on asset type) | None |
None |
field_3 |
Optional[str] | ❌ | City / Model / Manufacturer / Manufacturer / Serial number (depending on asset type) | None |
None |
field_4 |
Optional[str] | ❌ | Area code / Serial number / Model / Model / Version (depending on asset type) | None |
None |
field_5 |
Optional[str] | ❌ | Department / State / Region / Other 1 / Other 1 / Other 1 | None |
None |
field_6 |
Optional[str] | ❌ | Country / Other 2 / Other 2 / Other 2 | None |
None |
active |
Optional[bool] | ❌ | Indicates whether the asset is active or not. | None |
None |
barcode |
Optional[str] | ❌ | Bar-code. | None |
None |
notes |
Optional[str] | ❌ | Asset notes. | None |
None |
weight |
Optional[str] | ❌ | Asset weight (for spare parts and tools only) | None |
None |
purchase_date |
Optional[str] | ❌ | Purchase date. | None |
None |
is_serial_control |
Optional[bool] | ❌ | true if the item is controlled by serial, false otherwise. | None |
None |
group |
Optional[str] | ❌ | Asset type. | None |
None |
group_1 |
Optional[str] | ❌ | Classification 1. | None |
None |
group_2 |
Optional[str] | ❌ | Classification 2. | None |
None |
priorities |
Optional[str] | ❌ | Description of priority. | None |
None |
id_priority |
Optional[Priority] | ❌ | Priority ID: 1: Very High, 2: High, 3: Medium, 4: Low, 5: Very Low | None |
None |
code_parent_location |
Optional[str] | ❌ | Code of the asset where it is located or is part of (POST/PUT) | None |
None |
latitude |
Optional[str] | ❌ | Latitude. | None |
None |
longitud |
Optional[str] | ❌ | Length. | None |
None |
unit_code |
Optional[str] | ❌ | Unit code (mandatory if it is a Tool or Spare Part) | None |
None |
unit_description |
Optional[str] | ❌ | Description of the unit (required if it is a Tool or Spare Part) | None |
None |
visible_to_all |
Optional[bool] | ❌ | Indicates whether the asset will be visible to everyone in the company. | None |
None |
total_cost |
Optional[str] | ❌ | Total cost of the asset. | None |
None |
startup_date |
Optional[str] | ❌ | Start date for depreciation. | None |
None |
costs_center |
Optional[str] | ❌ | Description of the cost center. | None |
None |
budgets |
Optional[str] | ❌ | Total cost of straight-line depreciation. | None |
None |
id_custom_field_group |
Optional[int] | ❌ | Custom field group id. | None |
None |
hours_average_daily_use |
Optional[int] | ❌ | Average daily usage hours (seconds, between 0 and 86400) | None |
None |
code_warehouse |
str | ✅ | Warehouse code. | PydanticUndefined |
None |
id_warehouse |
str | ✅ | Warehouse ID. | PydanticUndefined |
None |
stock |
float | ✅ | Stock to associate. | PydanticUndefined |
None |
unit_cost_stock |
float | None | ❌ | Unit cost of stock. | None |
max_stock_level |
float | None | ❌ | Maximum stock level. | None |
min_stock_level |
float | None | ❌ | Minimum stock level. | None |
location |
str | None | ❌ | Location within the warehouse. | None |
Technical Details:
- Required fields must be provided according to official documentation.