DBA Data[Home] [Help]

APPS.INV_ROI_INTEGRATION_GRP dependencies on INV_LOT_API_PKG

Line 558: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes return ' || l_return_status, 9);

554: , p_organization_id => p_to_organization_id
555: );
556:
557: IF g_debug = 1 THEN
558: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes return ' || l_return_status, 9);
559: END IF;
560:
561: IF l_return_status = fnd_api.g_ret_sts_error THEN
562: IF g_debug = 1 THEN

Line 563: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with error', 9);

559: END IF;
560:
561: IF l_return_status = fnd_api.g_ret_sts_error THEN
562: IF g_debug = 1 THEN
563: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with error', 9);
564: END IF;
565: FND_MESSAGE.SET_NAME('INV', 'INV_PROGRAM_ERROR') ;
566: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
567: FND_MSG_PUB.ADD;

Line 566: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');

562: IF g_debug = 1 THEN
563: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with error', 9);
564: END IF;
565: FND_MESSAGE.SET_NAME('INV', 'INV_PROGRAM_ERROR') ;
566: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
567: FND_MSG_PUB.ADD;
568: RAISE g_exc_error;
569: END IF;
570:

Line 573: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with a Unexpected exception', 9);

569: END IF;
570:
571: IF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
572: IF g_debug = 1 THEN
573: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with a Unexpected exception', 9);
574: END IF;
575: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
576: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
577: fnd_msg_pub.ADD;

Line 576: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');

572: IF g_debug = 1 THEN
573: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with a Unexpected exception', 9);
574: END IF;
575: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
576: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
577: fnd_msg_pub.ADD;
578: RAISE g_exc_unexpected_error;
579: END IF;
580:

Line 1617: if item not lot controlled in source, call INV_LOT_API_PKG.Populate_Lot_Records

1613:
1614: bug10410657 if no datafound, item could be not lot controlled in source org
1615: previously this condition was commented out per above statement.
1616: added logic, error out only if item is lot controlled in source org as well.
1617: if item not lot controlled in source, call INV_LOT_API_PKG.Populate_Lot_Records
1618: to default lot attribute.
1619: */
1620:
1621: --/*

Line 1656: print_debug('inv_new_lot: Calling INV_LOT_API_PKG.Populate_Lot_Records.', 9);

1652: L_MLN_REC.ORGANIZATION_ID := p_to_organization_id;
1653: L_MLN_REC.origination_date := sysdate;
1654:
1655: if g_debug = 1 then
1656: print_debug('inv_new_lot: Calling INV_LOT_API_PKG.Populate_Lot_Records.', 9);
1657: end if;
1658:
1659: INV_LOT_API_PKG.Populate_Lot_Records(
1660: p_lot_rec => L_MLN_REC

Line 1659: INV_LOT_API_PKG.Populate_Lot_Records(

1655: if g_debug = 1 then
1656: print_debug('inv_new_lot: Calling INV_LOT_API_PKG.Populate_Lot_Records.', 9);
1657: end if;
1658:
1659: INV_LOT_API_PKG.Populate_Lot_Records(
1660: p_lot_rec => L_MLN_REC
1661: , p_copy_lot_attribute_flag => 'N'
1662: , p_source => l_source
1663: , p_api_version => l_api_version

Line 1672: print_debug('Program IINV_LOT_API_PKG.Populate_Lot_Records return ' || x_return_status, 9);

1668: , x_msg_count => l_msg_count
1669: , x_msg_data => l_msg_data
1670: );
1671: if g_debug = 1 then
1672: print_debug('Program IINV_LOT_API_PKG.Populate_Lot_Records return ' || x_return_status, 9);
1673: end if;
1674: if l_return_status = fnd_api.g_ret_sts_error then
1675: if g_debug = 1 then
1676: print_debug('Program IINV_LOT_API_PKG.Populate_Lot_Records failed with a user defined exception', 9);

Line 1676: print_debug('Program IINV_LOT_API_PKG.Populate_Lot_Records failed with a user defined exception', 9);

1672: print_debug('Program IINV_LOT_API_PKG.Populate_Lot_Records return ' || x_return_status, 9);
1673: end if;
1674: if l_return_status = fnd_api.g_ret_sts_error then
1675: if g_debug = 1 then
1676: print_debug('Program IINV_LOT_API_PKG.Populate_Lot_Records failed with a user defined exception', 9);
1677: end if;
1678: RAISE g_exc_unexpected_error;
1679: elsif l_return_status = fnd_api.g_ret_sts_unexp_error then
1680: if g_debug = 1 then

Line 1681: print_debug('Program INV_LOT_API_PKG.POPULATE_LOT_RECORDS has failed with a Unexpected exception', 9);

1677: end if;
1678: RAISE g_exc_unexpected_error;
1679: elsif l_return_status = fnd_api.g_ret_sts_unexp_error then
1680: if g_debug = 1 then
1681: print_debug('Program INV_LOT_API_PKG.POPULATE_LOT_RECORDS has failed with a Unexpected exception', 9);
1682: end if;
1683: RAISE g_exc_unexpected_error;
1684: end if;
1685: