Unable to determine which Job Card is for which Item in Multi Level BOM production plan

Hello,

I have run into an issue with determining which Job Card is for which item in a sub assembly. I have a sub assembly (Sub 1) that is Part 1 and Part 2 welded together. Part 1 and Part 2 both go through a nesting and cutting operation before heading to a welding operation to make Sub 1. When I order Sub 1 and create the production plan, it creates all of the correct job cards.

However, the nesting and cutting job cards for Part 1 and Part 2 look identical. When I request the job cards through the Rest API, there is no mention of the item that the operation is to be performed on. The BOM listing is for Sub 1, so I can’t mine that for the Item name. Below are the two example returns from the Rest API.

{
“data”: {
“for_quantity”: 10.0,
“total_completed_qty”: 0.0,
“doctype”: “Job Card”,
“owner”: ,
“operation”: “Nest”,
“work_order”: “MFG-WO-2019-00003”,
“modified_by”: ,
“time_logs”: [],
“transferred_qty”: 0.0,
“docstatus”: 0,
“requested_qty”: 0.0,
“status”: “Open”,
“creation”: “2019-05-28 16:54:54.482143”,
“job_started”: 0,
“company”: ,
“workstation”: “Laser Nesting”,
“posting_date”: “2019-05-28”,
“wip_warehouse”: “Work In Progress - O”,
“bom_no”: “BOM-Sub 1-001”,
“name”: “PO-JOB00011”,
“idx”: 0,
“actual_material_usage”: 0.0,
“modified”: “2019-05-28 16:54:54.482143”,
“items”: [],
“operation_id”: “22d25c5274”,
“total_time_in_mins”: 0.0
}
}

{
“data”: {
“for_quantity”: 10.0,
“total_completed_qty”: 0.0,
“doctype”: “Job Card”,
“owner”: ,
“operation”: “Nest”,
“work_order”: “MFG-WO-2019-00003”,
“modified_by”: ,
“time_logs”: [],
“transferred_qty”: 0.0,
“docstatus”: 0,
“requested_qty”: 0.0,
“status”: “Open”,
“creation”: “2019-05-28 16:54:54.506470”,
“job_started”: 0,
“company”: ,
“workstation”: “Laser Nesting”,
“posting_date”: “2019-05-28”,
“wip_warehouse”: “Work In Progress - O”,
“bom_no”: “BOM-Sub 1-001”,
“name”: “PO-JOB00012”,
“idx”: 0,
“actual_material_usage”: 0.0,
“modified”: “2019-05-28 16:54:54.506470”,
“items”: [],
“operation_id”: “8c499649bc”,
“total_time_in_mins”: 0.0
}
}

I am also unable to tell them apart in the UI. Am I missing something?

I am integrating ERPNext with our nesting system. What I need to be able to do is get the job card information for every job card for the nesting workstation. This information has to include the item name, quantity and due date. If the item ordered is a single level BOM, I can use the work order to look up the item name. If it is multi-level, I am unable to do this.

My specific question is this: If I have a work order for an item with a multi level BOM, how do I tell which Job Card is for which item?

Thanks for taking the time to read through this. Any help is greatly appreciated.
Tate

Hello,

In the BOM and Work Order, if you select option of “Material transfer via Job Card”, then specifying Job Card for each raw-material will become mandatory. Also, when Job Card is created, the respective raw-material item will be fetched into it. Here is the quick GIF help on the same.