Manufacturing Transaction
This API allows Manufacturing, Inventory Management or any other application to record Material Issues or Product Completions and transaction reversals. This provides a common API which supports both material issues and product completions.
Whatever inventory gets updated as part of work order transactions will be updated using this API.
URL
POST.../wms/lgfapi/v10/inventory/manufacturing_transaction
The following data is passed in JSON format:
Column | Mandatory | Comments |
---|---|---|
manufacturing_transaction_list | ||
mfg_transactionid | yes | Unique Identifier for the transaction shared by fusion inventory. |
location_barcode | yes | Location pass can correspond to active or reserve location or drop location type. |
lpn_nbr | Will be required for product completions and product returns. | |
transaction_type |
The following are the transaction types shared from Inventory Management:
|
|
mfg_work_order_nbr | yes | Work order number against which transaction is recorded. |
mfg_operation_seq_nbr | Work order operation sequence against which transaction is recorded. | |
external_transaction_date_time | Holds the transaction date and time when it was performed at the source system. | |
resend_flg | By default the value will be No. If set to yes, Inventory Managaement has an ability to resend the transaction in case of any failures. | |
inventory_list | ||
item_alternate_code | Application expects either item alternate code or combination of item_parts. | |
item_part_a | ||
item_part_b | ||
item_part_c | ||
item_part_d | ||
item_part_e | ||
item_part_f | ||
qty | yes | Corresponds to the quantity. Can be either + or - depending upon the transaction type. |
uom_code | uom_code in which the transaction quantity is recorded in. For Prebuilt integration | |
batch_nbr | Lot number for lot tracking item. | |
expiry date | Expiry date in case sku is only expiry tracked. | |
invn_attr_a | ||
invn_attr_b | ||
invn_attr_c | ||
invn_attr_d | ||
invn_attr_e | ||
invn_attr_f | ||
invn_attr_g | ||
invn_attr_h | ||
invn_attr_i | ||
invn_attr_j | ||
invn_attr_k | ||
invn_attr_l | ||
invn_attr_m | ||
invn_attr_n | ||
invn_attr_o | ||
serial_number_list | Corresponding serial numbers associated with the transaction. |
API callers should take care of sending quantity values in the appropriate positive or negative connotation by transaction type:
Transaction Type | Comments for Quantity |
---|---|
Work in Process MaterialIssue | Negative |
Work in Process Negative Material Issue
|
Positive
|
Work in Process MaterialReturn | Positive |
Work in Process Negative Material Return |
Negative |
Work in Process ProductCompletion |
Positive
|
Work in Process ProductReturn |
Negative
|
Miscellaneous Receipt
|
Positive
|
Miscellaneous Issue | Negative |
Assumptions
- The OIC integration layer or the API caller will have to send + or - value for the quantity depending upon the transaction performed
- It is assumed that Location information is set up in WMS as well, initial set up has to be done accordingly.
- Transaction is assumed to be primary UOM if uom code is not shared.
- API does not take in the actual date/time when the transaction was captured in manufacturing UI's and the user will be the same API user.
- This API includes LPN for reserve inventory updates and Location for active inventory updates. So, the LPN and active inventory location is not relevant in a single payload and errors out.
Example Payload
{
"async_flg":true,
"header":{
"entity":"stage_mfg_operation",
"company_code":"COMP",
"facility_code":"FAC",
"messageid":"KVORD",
"document_version":"24C",
"origin_system":"QA",
"client_env_code":"QA"
},
"manufacturing_transaction_list": [
{
"mfg_transactionid":1,
"lpn_nbr": "WOEMTEKEO300181",
"location_barcode":"KVR010103",
"mfg_work_order_nbr":"WOEMTEKEO300181",
"mfg_operation_seq_nbr": 1,
"transaction_type": "Work in Process Material Issue",
"create_hdr_flg":true,
"resend_flg": false,
"ready_for_processing_flg": true,
"external_transaction_date_time":"2024-09-17T10:02:45.026Z",
"reason_code":"",
"inventory_list" : [
{
"item_alternate_code": "MS4-LCFACEPLT-SB",
"qty": -10,
}
]
}
]
}
{
"success": true,
"response": {
"message": "Data successfully staged"
}
}
You can find the details of data processed or errored from the From Manufacturing Transaction Header View UI.
Validations
Validation | Description |
---|---|
Header Level Validations (mfg_work_order_transaction_list)
|
|
Detail Level Validations (inventory_list)
|
|
Serial Number Validations (serial_nbr_list)
|
The following validations are applicable for the serial number passed pertaining to each inventory list:
|