1718: EAM_ActivityUtilities_PVT.Write_Debug('l_target_bom_sequence_id=' || l_target_bom_sequence_id);
1719:
1720: -- 3 d) Call copy_bill API
1721: -- log call to copy_bill API
1722: EAM_ActivityUtilities_PVT.Write_Debug('********** Calling BOM_COPY_BILL.copy_bill **********');
1723: BOM_COPY_BILL.copy_bill(
1724: to_sequence_id => l_target_bom_sequence_id,
1725: from_sequence_id => l_source_bom_sequence_id,
1726: from_org_id => p_source_org_id,
1719:
1720: -- 3 d) Call copy_bill API
1721: -- log call to copy_bill API
1722: EAM_ActivityUtilities_PVT.Write_Debug('********** Calling BOM_COPY_BILL.copy_bill **********');
1723: BOM_COPY_BILL.copy_bill(
1724: to_sequence_id => l_target_bom_sequence_id,
1725: from_sequence_id => l_source_bom_sequence_id,
1726: from_org_id => p_source_org_id,
1727: to_org_id => l_x_curr_item_rec.organization_id,
1735: bill_or_eco => 1,
1736: eco_eff_date => NULL,
1737: from_item_id => p_source_activity_id
1738: );
1739: EAM_ActivityUtilities_PVT.Write_Debug('********** Returned from BOM_COPY_BILL.copy_bill **********');
1740:
1741: -- write copy_bill error message to fnd message stack and log file
1742: EAM_ActivityUtilities_PVT.Write_Debug('Results of BOM_COPY_BILL.copy_bill >>>>>');
1743: EAM_ActivityUtilities_PVT.Add_Message(FND_MSG_PUB.G_MSG_LVL_ERROR);
1738: );
1739: EAM_ActivityUtilities_PVT.Write_Debug('********** Returned from BOM_COPY_BILL.copy_bill **********');
1740:
1741: -- write copy_bill error message to fnd message stack and log file
1742: EAM_ActivityUtilities_PVT.Write_Debug('Results of BOM_COPY_BILL.copy_bill >>>>>');
1743: EAM_ActivityUtilities_PVT.Add_Message(FND_MSG_PUB.G_MSG_LVL_ERROR);
1744: EAM_ActivityUtilities_PVT.Write_Debug('End of Results of BOM_COPY_BILL.copy_bill <<<<<');
1745:
1746:
1740:
1741: -- write copy_bill error message to fnd message stack and log file
1742: EAM_ActivityUtilities_PVT.Write_Debug('Results of BOM_COPY_BILL.copy_bill >>>>>');
1743: EAM_ActivityUtilities_PVT.Add_Message(FND_MSG_PUB.G_MSG_LVL_ERROR);
1744: EAM_ActivityUtilities_PVT.Write_Debug('End of Results of BOM_COPY_BILL.copy_bill <<<<<');
1745:
1746:
1747: END IF; -- l_source_bom_sequence_id IS NULL
1748: