DBA Data[Home] [Help]

APPS.ICX_POR_EXT_ITEM dependencies on ICX_POR_EXT_UTL

Line 735: ICX_POR_EXT_UTL.getTableElement(gUPRtItemIds, pIndex) || ', ';

731: BEGIN
732: IF (pMode = 'UPDATE_PRICES') THEN
733: -- Update ICX_CAT_ITEM_PRICES
734: xShot := xShot || ' gUPRtItemIds: ' ||
735: ICX_POR_EXT_UTL.getTableElement(gUPRtItemIds, pIndex) || ', ';
736: xShot := xShot || ' gUPPriceTypes: ' ||
737: ICX_POR_EXT_UTL.getTableElement(gUPPriceTypes, pIndex) || ', ';
738: xShot := xShot || ' gUPAslIds: ' ||
739: ICX_POR_EXT_UTL.getTableElement(gUPAslIds, pIndex) || ', ';

Line 737: ICX_POR_EXT_UTL.getTableElement(gUPPriceTypes, pIndex) || ', ';

733: -- Update ICX_CAT_ITEM_PRICES
734: xShot := xShot || ' gUPRtItemIds: ' ||
735: ICX_POR_EXT_UTL.getTableElement(gUPRtItemIds, pIndex) || ', ';
736: xShot := xShot || ' gUPPriceTypes: ' ||
737: ICX_POR_EXT_UTL.getTableElement(gUPPriceTypes, pIndex) || ', ';
738: xShot := xShot || ' gUPAslIds: ' ||
739: ICX_POR_EXT_UTL.getTableElement(gUPAslIds, pIndex) || ', ';
740: xShot := xShot || ' gUPSupplierSiteIds: ' ||
741: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteIds, pIndex) || ', ';

Line 739: ICX_POR_EXT_UTL.getTableElement(gUPAslIds, pIndex) || ', ';

735: ICX_POR_EXT_UTL.getTableElement(gUPRtItemIds, pIndex) || ', ';
736: xShot := xShot || ' gUPPriceTypes: ' ||
737: ICX_POR_EXT_UTL.getTableElement(gUPPriceTypes, pIndex) || ', ';
738: xShot := xShot || ' gUPAslIds: ' ||
739: ICX_POR_EXT_UTL.getTableElement(gUPAslIds, pIndex) || ', ';
740: xShot := xShot || ' gUPSupplierSiteIds: ' ||
741: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteIds, pIndex) || ', ';
742: xShot := xShot || ' gUPContractIds: ' ||
743: ICX_POR_EXT_UTL.getTableElement(gUPContractIds, pIndex) || ', ';

Line 741: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteIds, pIndex) || ', ';

737: ICX_POR_EXT_UTL.getTableElement(gUPPriceTypes, pIndex) || ', ';
738: xShot := xShot || ' gUPAslIds: ' ||
739: ICX_POR_EXT_UTL.getTableElement(gUPAslIds, pIndex) || ', ';
740: xShot := xShot || ' gUPSupplierSiteIds: ' ||
741: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteIds, pIndex) || ', ';
742: xShot := xShot || ' gUPContractIds: ' ||
743: ICX_POR_EXT_UTL.getTableElement(gUPContractIds, pIndex) || ', ';
744: xShot := xShot || ' gUPContractLineIds: ' ||
745: ICX_POR_EXT_UTL.getTableElement(gUPContractLineIds, pIndex) || ', ';

Line 743: ICX_POR_EXT_UTL.getTableElement(gUPContractIds, pIndex) || ', ';

739: ICX_POR_EXT_UTL.getTableElement(gUPAslIds, pIndex) || ', ';
740: xShot := xShot || ' gUPSupplierSiteIds: ' ||
741: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteIds, pIndex) || ', ';
742: xShot := xShot || ' gUPContractIds: ' ||
743: ICX_POR_EXT_UTL.getTableElement(gUPContractIds, pIndex) || ', ';
744: xShot := xShot || ' gUPContractLineIds: ' ||
745: ICX_POR_EXT_UTL.getTableElement(gUPContractLineIds, pIndex) || ', ';
746: xShot := xShot || ' gUPTemplateIds: ' ||
747: ICX_POR_EXT_UTL.getTableElement(gUPTemplateIds, pIndex) || ', ';

Line 745: ICX_POR_EXT_UTL.getTableElement(gUPContractLineIds, pIndex) || ', ';

741: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteIds, pIndex) || ', ';
742: xShot := xShot || ' gUPContractIds: ' ||
743: ICX_POR_EXT_UTL.getTableElement(gUPContractIds, pIndex) || ', ';
744: xShot := xShot || ' gUPContractLineIds: ' ||
745: ICX_POR_EXT_UTL.getTableElement(gUPContractLineIds, pIndex) || ', ';
746: xShot := xShot || ' gUPTemplateIds: ' ||
747: ICX_POR_EXT_UTL.getTableElement(gUPTemplateIds, pIndex) || ', ';
748: xShot := xShot || ' gUPTemplateLineIds: ' ||
749: ICX_POR_EXT_UTL.getTableElement(gUPTemplateLineIds, pIndex) || ', ';

Line 747: ICX_POR_EXT_UTL.getTableElement(gUPTemplateIds, pIndex) || ', ';

743: ICX_POR_EXT_UTL.getTableElement(gUPContractIds, pIndex) || ', ';
744: xShot := xShot || ' gUPContractLineIds: ' ||
745: ICX_POR_EXT_UTL.getTableElement(gUPContractLineIds, pIndex) || ', ';
746: xShot := xShot || ' gUPTemplateIds: ' ||
747: ICX_POR_EXT_UTL.getTableElement(gUPTemplateIds, pIndex) || ', ';
748: xShot := xShot || ' gUPTemplateLineIds: ' ||
749: ICX_POR_EXT_UTL.getTableElement(gUPTemplateLineIds, pIndex) || ', ';
750: xShot := xShot || ' gUPInventoryItemIds: ' ||
751: ICX_POR_EXT_UTL.getTableElement(gUPInventoryItemIds, pIndex) || ', ';

Line 749: ICX_POR_EXT_UTL.getTableElement(gUPTemplateLineIds, pIndex) || ', ';

745: ICX_POR_EXT_UTL.getTableElement(gUPContractLineIds, pIndex) || ', ';
746: xShot := xShot || ' gUPTemplateIds: ' ||
747: ICX_POR_EXT_UTL.getTableElement(gUPTemplateIds, pIndex) || ', ';
748: xShot := xShot || ' gUPTemplateLineIds: ' ||
749: ICX_POR_EXT_UTL.getTableElement(gUPTemplateLineIds, pIndex) || ', ';
750: xShot := xShot || ' gUPInventoryItemIds: ' ||
751: ICX_POR_EXT_UTL.getTableElement(gUPInventoryItemIds, pIndex) || ', ';
752: xShot := xShot || ' gUPMtlCategoryIds: ' ||
753: ICX_POR_EXT_UTL.getTableElement(gUPMtlCategoryIds, pIndex) || ', ';

Line 751: ICX_POR_EXT_UTL.getTableElement(gUPInventoryItemIds, pIndex) || ', ';

747: ICX_POR_EXT_UTL.getTableElement(gUPTemplateIds, pIndex) || ', ';
748: xShot := xShot || ' gUPTemplateLineIds: ' ||
749: ICX_POR_EXT_UTL.getTableElement(gUPTemplateLineIds, pIndex) || ', ';
750: xShot := xShot || ' gUPInventoryItemIds: ' ||
751: ICX_POR_EXT_UTL.getTableElement(gUPInventoryItemIds, pIndex) || ', ';
752: xShot := xShot || ' gUPMtlCategoryIds: ' ||
753: ICX_POR_EXT_UTL.getTableElement(gUPMtlCategoryIds, pIndex) || ', ';
754: xShot := xShot || ' gUPOrgIds: ' ||
755: ICX_POR_EXT_UTL.getTableElement(gUPOrgIds, pIndex) || ', ';

Line 753: ICX_POR_EXT_UTL.getTableElement(gUPMtlCategoryIds, pIndex) || ', ';

749: ICX_POR_EXT_UTL.getTableElement(gUPTemplateLineIds, pIndex) || ', ';
750: xShot := xShot || ' gUPInventoryItemIds: ' ||
751: ICX_POR_EXT_UTL.getTableElement(gUPInventoryItemIds, pIndex) || ', ';
752: xShot := xShot || ' gUPMtlCategoryIds: ' ||
753: ICX_POR_EXT_UTL.getTableElement(gUPMtlCategoryIds, pIndex) || ', ';
754: xShot := xShot || ' gUPOrgIds: ' ||
755: ICX_POR_EXT_UTL.getTableElement(gUPOrgIds, pIndex) || ', ';
756: xShot := xShot || ' gUPSearchTypes: ' ||
757: ICX_POR_EXT_UTL.getTableElement(gUPSearchTypes, pIndex) || ', ';

Line 755: ICX_POR_EXT_UTL.getTableElement(gUPOrgIds, pIndex) || ', ';

751: ICX_POR_EXT_UTL.getTableElement(gUPInventoryItemIds, pIndex) || ', ';
752: xShot := xShot || ' gUPMtlCategoryIds: ' ||
753: ICX_POR_EXT_UTL.getTableElement(gUPMtlCategoryIds, pIndex) || ', ';
754: xShot := xShot || ' gUPOrgIds: ' ||
755: ICX_POR_EXT_UTL.getTableElement(gUPOrgIds, pIndex) || ', ';
756: xShot := xShot || ' gUPSearchTypes: ' ||
757: ICX_POR_EXT_UTL.getTableElement(gUPSearchTypes, pIndex) || ', ';
758: xShot := xShot || ' gUPUnitPrices: ' ||
759: ICX_POR_EXT_UTL.getTableElement(gUPUnitPrices, pIndex) || ', ';

Line 757: ICX_POR_EXT_UTL.getTableElement(gUPSearchTypes, pIndex) || ', ';

753: ICX_POR_EXT_UTL.getTableElement(gUPMtlCategoryIds, pIndex) || ', ';
754: xShot := xShot || ' gUPOrgIds: ' ||
755: ICX_POR_EXT_UTL.getTableElement(gUPOrgIds, pIndex) || ', ';
756: xShot := xShot || ' gUPSearchTypes: ' ||
757: ICX_POR_EXT_UTL.getTableElement(gUPSearchTypes, pIndex) || ', ';
758: xShot := xShot || ' gUPUnitPrices: ' ||
759: ICX_POR_EXT_UTL.getTableElement(gUPUnitPrices, pIndex) || ', ';
760: --FPJ FPSL Extractor Changes
761: xShot := xShot || ' gUPValueBasis: ' ||

Line 759: ICX_POR_EXT_UTL.getTableElement(gUPUnitPrices, pIndex) || ', ';

755: ICX_POR_EXT_UTL.getTableElement(gUPOrgIds, pIndex) || ', ';
756: xShot := xShot || ' gUPSearchTypes: ' ||
757: ICX_POR_EXT_UTL.getTableElement(gUPSearchTypes, pIndex) || ', ';
758: xShot := xShot || ' gUPUnitPrices: ' ||
759: ICX_POR_EXT_UTL.getTableElement(gUPUnitPrices, pIndex) || ', ';
760: --FPJ FPSL Extractor Changes
761: xShot := xShot || ' gUPValueBasis: ' ||
762: ICX_POR_EXT_UTL.getTableElement(gUPValueBasis, pIndex) || ', ';
763: xShot := xShot || ' gUPPurchaseBasis: ' ||

Line 762: ICX_POR_EXT_UTL.getTableElement(gUPValueBasis, pIndex) || ', ';

758: xShot := xShot || ' gUPUnitPrices: ' ||
759: ICX_POR_EXT_UTL.getTableElement(gUPUnitPrices, pIndex) || ', ';
760: --FPJ FPSL Extractor Changes
761: xShot := xShot || ' gUPValueBasis: ' ||
762: ICX_POR_EXT_UTL.getTableElement(gUPValueBasis, pIndex) || ', ';
763: xShot := xShot || ' gUPPurchaseBasis: ' ||
764: ICX_POR_EXT_UTL.getTableElement(gUPPurchaseBasis, pIndex) || ', ';
765: xShot := xShot || ' gUPAllowPriceOverrideFlag: ' ||
766: ICX_POR_EXT_UTL.getTableElement(gUPAllowPriceOverrideFlag, pIndex)||', ';

Line 764: ICX_POR_EXT_UTL.getTableElement(gUPPurchaseBasis, pIndex) || ', ';

760: --FPJ FPSL Extractor Changes
761: xShot := xShot || ' gUPValueBasis: ' ||
762: ICX_POR_EXT_UTL.getTableElement(gUPValueBasis, pIndex) || ', ';
763: xShot := xShot || ' gUPPurchaseBasis: ' ||
764: ICX_POR_EXT_UTL.getTableElement(gUPPurchaseBasis, pIndex) || ', ';
765: xShot := xShot || ' gUPAllowPriceOverrideFlag: ' ||
766: ICX_POR_EXT_UTL.getTableElement(gUPAllowPriceOverrideFlag, pIndex)||', ';
767: xShot := xShot || ' gUPNotToExceedPrice: ' ||
768: ICX_POR_EXT_UTL.getTableElement(gUPNotToExceedPrice, pIndex) || ', ';

Line 766: ICX_POR_EXT_UTL.getTableElement(gUPAllowPriceOverrideFlag, pIndex)||', ';

762: ICX_POR_EXT_UTL.getTableElement(gUPValueBasis, pIndex) || ', ';
763: xShot := xShot || ' gUPPurchaseBasis: ' ||
764: ICX_POR_EXT_UTL.getTableElement(gUPPurchaseBasis, pIndex) || ', ';
765: xShot := xShot || ' gUPAllowPriceOverrideFlag: ' ||
766: ICX_POR_EXT_UTL.getTableElement(gUPAllowPriceOverrideFlag, pIndex)||', ';
767: xShot := xShot || ' gUPNotToExceedPrice: ' ||
768: ICX_POR_EXT_UTL.getTableElement(gUPNotToExceedPrice, pIndex) || ', ';
769: -- FPJ Bug# 3007068 sosingha: Extractor Changes For Kit Support Project
770: xShot := xShot || ' gUPSuggestedQuantities: ' ||

Line 768: ICX_POR_EXT_UTL.getTableElement(gUPNotToExceedPrice, pIndex) || ', ';

764: ICX_POR_EXT_UTL.getTableElement(gUPPurchaseBasis, pIndex) || ', ';
765: xShot := xShot || ' gUPAllowPriceOverrideFlag: ' ||
766: ICX_POR_EXT_UTL.getTableElement(gUPAllowPriceOverrideFlag, pIndex)||', ';
767: xShot := xShot || ' gUPNotToExceedPrice: ' ||
768: ICX_POR_EXT_UTL.getTableElement(gUPNotToExceedPrice, pIndex) || ', ';
769: -- FPJ Bug# 3007068 sosingha: Extractor Changes For Kit Support Project
770: xShot := xShot || ' gUPSuggestedQuantities: ' ||
771: ICX_POR_EXT_UTL.getTableElement(gUPSuggestedQuantities, pIndex) || ', ';
772: -- FPJ Bug# 3110297 jingyu Add negotiated flag

Line 771: ICX_POR_EXT_UTL.getTableElement(gUPSuggestedQuantities, pIndex) || ', ';

767: xShot := xShot || ' gUPNotToExceedPrice: ' ||
768: ICX_POR_EXT_UTL.getTableElement(gUPNotToExceedPrice, pIndex) || ', ';
769: -- FPJ Bug# 3007068 sosingha: Extractor Changes For Kit Support Project
770: xShot := xShot || ' gUPSuggestedQuantities: ' ||
771: ICX_POR_EXT_UTL.getTableElement(gUPSuggestedQuantities, pIndex) || ', ';
772: -- FPJ Bug# 3110297 jingyu Add negotiated flag
773: xShot := xShot || ' gUPNegotiatedFlag: ' ||
774: ICX_POR_EXT_UTL.getTableElement(gUPNegotiatedFlag, pIndex) || ', ';
775: xShot := xShot || ' gUPCurrencys: ' ||

Line 774: ICX_POR_EXT_UTL.getTableElement(gUPNegotiatedFlag, pIndex) || ', ';

770: xShot := xShot || ' gUPSuggestedQuantities: ' ||
771: ICX_POR_EXT_UTL.getTableElement(gUPSuggestedQuantities, pIndex) || ', ';
772: -- FPJ Bug# 3110297 jingyu Add negotiated flag
773: xShot := xShot || ' gUPNegotiatedFlag: ' ||
774: ICX_POR_EXT_UTL.getTableElement(gUPNegotiatedFlag, pIndex) || ', ';
775: xShot := xShot || ' gUPCurrencys: ' ||
776: ICX_POR_EXT_UTL.getTableElement(gUPCurrencys, pIndex) || ', ';
777: xShot := xShot || ' gUPUnitOfMeasures: ' ||
778: ICX_POR_EXT_UTL.getTableElement(gUPUnitOfMeasures, pIndex) || ', ';

Line 776: ICX_POR_EXT_UTL.getTableElement(gUPCurrencys, pIndex) || ', ';

772: -- FPJ Bug# 3110297 jingyu Add negotiated flag
773: xShot := xShot || ' gUPNegotiatedFlag: ' ||
774: ICX_POR_EXT_UTL.getTableElement(gUPNegotiatedFlag, pIndex) || ', ';
775: xShot := xShot || ' gUPCurrencys: ' ||
776: ICX_POR_EXT_UTL.getTableElement(gUPCurrencys, pIndex) || ', ';
777: xShot := xShot || ' gUPUnitOfMeasures: ' ||
778: ICX_POR_EXT_UTL.getTableElement(gUPUnitOfMeasures, pIndex) || ', ';
779: xShot := xShot || ' gUPFunctionalPrices: ' ||
780: ICX_POR_EXT_UTL.getTableElement(gUPFunctionalPrices, pIndex) || ', ';

Line 778: ICX_POR_EXT_UTL.getTableElement(gUPUnitOfMeasures, pIndex) || ', ';

774: ICX_POR_EXT_UTL.getTableElement(gUPNegotiatedFlag, pIndex) || ', ';
775: xShot := xShot || ' gUPCurrencys: ' ||
776: ICX_POR_EXT_UTL.getTableElement(gUPCurrencys, pIndex) || ', ';
777: xShot := xShot || ' gUPUnitOfMeasures: ' ||
778: ICX_POR_EXT_UTL.getTableElement(gUPUnitOfMeasures, pIndex) || ', ';
779: xShot := xShot || ' gUPFunctionalPrices: ' ||
780: ICX_POR_EXT_UTL.getTableElement(gUPFunctionalPrices, pIndex) || ', ';
781: xShot := xShot || ' gUPSupplierSiteCodes: ' ||
782: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteCodes, pIndex) || ', ';

Line 780: ICX_POR_EXT_UTL.getTableElement(gUPFunctionalPrices, pIndex) || ', ';

776: ICX_POR_EXT_UTL.getTableElement(gUPCurrencys, pIndex) || ', ';
777: xShot := xShot || ' gUPUnitOfMeasures: ' ||
778: ICX_POR_EXT_UTL.getTableElement(gUPUnitOfMeasures, pIndex) || ', ';
779: xShot := xShot || ' gUPFunctionalPrices: ' ||
780: ICX_POR_EXT_UTL.getTableElement(gUPFunctionalPrices, pIndex) || ', ';
781: xShot := xShot || ' gUPSupplierSiteCodes: ' ||
782: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteCodes, pIndex) || ', ';
783: xShot := xShot || ' gUPContractNums: ' ||
784: ICX_POR_EXT_UTL.getTableElement(gUPContractNums, pIndex) || ', ';

Line 782: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteCodes, pIndex) || ', ';

778: ICX_POR_EXT_UTL.getTableElement(gUPUnitOfMeasures, pIndex) || ', ';
779: xShot := xShot || ' gUPFunctionalPrices: ' ||
780: ICX_POR_EXT_UTL.getTableElement(gUPFunctionalPrices, pIndex) || ', ';
781: xShot := xShot || ' gUPSupplierSiteCodes: ' ||
782: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteCodes, pIndex) || ', ';
783: xShot := xShot || ' gUPContractNums: ' ||
784: ICX_POR_EXT_UTL.getTableElement(gUPContractNums, pIndex) || ', ';
785: xShot := xShot || ' gUPContractLineNums: ' ||
786: ICX_POR_EXT_UTL.getTableElement(gUPContractLineNums, pIndex) || ', ';

Line 784: ICX_POR_EXT_UTL.getTableElement(gUPContractNums, pIndex) || ', ';

780: ICX_POR_EXT_UTL.getTableElement(gUPFunctionalPrices, pIndex) || ', ';
781: xShot := xShot || ' gUPSupplierSiteCodes: ' ||
782: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteCodes, pIndex) || ', ';
783: xShot := xShot || ' gUPContractNums: ' ||
784: ICX_POR_EXT_UTL.getTableElement(gUPContractNums, pIndex) || ', ';
785: xShot := xShot || ' gUPContractLineNums: ' ||
786: ICX_POR_EXT_UTL.getTableElement(gUPContractLineNums, pIndex) || ', ';
787: xShot := xShot || ' gUpRateTypes: ' ||
788: ICX_POR_EXT_UTL.getTableElement(gUpRateTypes, pIndex) || ', ';

Line 786: ICX_POR_EXT_UTL.getTableElement(gUPContractLineNums, pIndex) || ', ';

782: ICX_POR_EXT_UTL.getTableElement(gUPSupplierSiteCodes, pIndex) || ', ';
783: xShot := xShot || ' gUPContractNums: ' ||
784: ICX_POR_EXT_UTL.getTableElement(gUPContractNums, pIndex) || ', ';
785: xShot := xShot || ' gUPContractLineNums: ' ||
786: ICX_POR_EXT_UTL.getTableElement(gUPContractLineNums, pIndex) || ', ';
787: xShot := xShot || ' gUpRateTypes: ' ||
788: ICX_POR_EXT_UTL.getTableElement(gUpRateTypes, pIndex) || ', ';
789: xShot := xShot || ' gUpRateDates: ' ||
790: ICX_POR_EXT_UTL.getTableElement(gUpRateDates, pIndex) || ', ';

Line 788: ICX_POR_EXT_UTL.getTableElement(gUpRateTypes, pIndex) || ', ';

784: ICX_POR_EXT_UTL.getTableElement(gUPContractNums, pIndex) || ', ';
785: xShot := xShot || ' gUPContractLineNums: ' ||
786: ICX_POR_EXT_UTL.getTableElement(gUPContractLineNums, pIndex) || ', ';
787: xShot := xShot || ' gUpRateTypes: ' ||
788: ICX_POR_EXT_UTL.getTableElement(gUpRateTypes, pIndex) || ', ';
789: xShot := xShot || ' gUpRateDates: ' ||
790: ICX_POR_EXT_UTL.getTableElement(gUpRateDates, pIndex) || ', ';
791: xShot := xShot || ' gUpRates: ' ||
792: ICX_POR_EXT_UTL.getTableElement(gUpRates, pIndex) || ', ';

Line 790: ICX_POR_EXT_UTL.getTableElement(gUpRateDates, pIndex) || ', ';

786: ICX_POR_EXT_UTL.getTableElement(gUPContractLineNums, pIndex) || ', ';
787: xShot := xShot || ' gUpRateTypes: ' ||
788: ICX_POR_EXT_UTL.getTableElement(gUpRateTypes, pIndex) || ', ';
789: xShot := xShot || ' gUpRateDates: ' ||
790: ICX_POR_EXT_UTL.getTableElement(gUpRateDates, pIndex) || ', ';
791: xShot := xShot || ' gUpRates: ' ||
792: ICX_POR_EXT_UTL.getTableElement(gUpRates, pIndex) || ', ';
793: xShot := xShot || ' gUpSupplierNumbers: ' ||
794: ICX_POR_EXT_UTL.getTableElement(gUpSupplierNumbers, pIndex) || ', ';

Line 792: ICX_POR_EXT_UTL.getTableElement(gUpRates, pIndex) || ', ';

788: ICX_POR_EXT_UTL.getTableElement(gUpRateTypes, pIndex) || ', ';
789: xShot := xShot || ' gUpRateDates: ' ||
790: ICX_POR_EXT_UTL.getTableElement(gUpRateDates, pIndex) || ', ';
791: xShot := xShot || ' gUpRates: ' ||
792: ICX_POR_EXT_UTL.getTableElement(gUpRates, pIndex) || ', ';
793: xShot := xShot || ' gUpSupplierNumbers: ' ||
794: ICX_POR_EXT_UTL.getTableElement(gUpSupplierNumbers, pIndex) || ', ';
795: xShot := xShot || ' gUpSupplierContactIds: ' ||
796: ICX_POR_EXT_UTL.getTableElement(gUpSupplierContactIds, pIndex) || ', ';

Line 794: ICX_POR_EXT_UTL.getTableElement(gUpSupplierNumbers, pIndex) || ', ';

790: ICX_POR_EXT_UTL.getTableElement(gUpRateDates, pIndex) || ', ';
791: xShot := xShot || ' gUpRates: ' ||
792: ICX_POR_EXT_UTL.getTableElement(gUpRates, pIndex) || ', ';
793: xShot := xShot || ' gUpSupplierNumbers: ' ||
794: ICX_POR_EXT_UTL.getTableElement(gUpSupplierNumbers, pIndex) || ', ';
795: xShot := xShot || ' gUpSupplierContactIds: ' ||
796: ICX_POR_EXT_UTL.getTableElement(gUpSupplierContactIds, pIndex) || ', ';
797: xShot := xShot || ' gUpItemRevisions: ' ||
798: ICX_POR_EXT_UTL.getTableElement(gUpItemRevisions, pIndex) || ', ';

Line 796: ICX_POR_EXT_UTL.getTableElement(gUpSupplierContactIds, pIndex) || ', ';

792: ICX_POR_EXT_UTL.getTableElement(gUpRates, pIndex) || ', ';
793: xShot := xShot || ' gUpSupplierNumbers: ' ||
794: ICX_POR_EXT_UTL.getTableElement(gUpSupplierNumbers, pIndex) || ', ';
795: xShot := xShot || ' gUpSupplierContactIds: ' ||
796: ICX_POR_EXT_UTL.getTableElement(gUpSupplierContactIds, pIndex) || ', ';
797: xShot := xShot || ' gUpItemRevisions: ' ||
798: ICX_POR_EXT_UTL.getTableElement(gUpItemRevisions, pIndex) || ', ';
799: xShot := xShot || ' gUpLineTypeIds: ' ||
800: ICX_POR_EXT_UTL.getTableElement(gUpLineTypeIds, pIndex) || ', ';

Line 798: ICX_POR_EXT_UTL.getTableElement(gUpItemRevisions, pIndex) || ', ';

794: ICX_POR_EXT_UTL.getTableElement(gUpSupplierNumbers, pIndex) || ', ';
795: xShot := xShot || ' gUpSupplierContactIds: ' ||
796: ICX_POR_EXT_UTL.getTableElement(gUpSupplierContactIds, pIndex) || ', ';
797: xShot := xShot || ' gUpItemRevisions: ' ||
798: ICX_POR_EXT_UTL.getTableElement(gUpItemRevisions, pIndex) || ', ';
799: xShot := xShot || ' gUpLineTypeIds: ' ||
800: ICX_POR_EXT_UTL.getTableElement(gUpLineTypeIds, pIndex) || ', ';
801: xShot := xShot || ' gUpBuyerIds: ' ||
802: ICX_POR_EXT_UTL.getTableElement(gUpBuyerIds, pIndex) || ', ';

Line 800: ICX_POR_EXT_UTL.getTableElement(gUpLineTypeIds, pIndex) || ', ';

796: ICX_POR_EXT_UTL.getTableElement(gUpSupplierContactIds, pIndex) || ', ';
797: xShot := xShot || ' gUpItemRevisions: ' ||
798: ICX_POR_EXT_UTL.getTableElement(gUpItemRevisions, pIndex) || ', ';
799: xShot := xShot || ' gUpLineTypeIds: ' ||
800: ICX_POR_EXT_UTL.getTableElement(gUpLineTypeIds, pIndex) || ', ';
801: xShot := xShot || ' gUpBuyerIds: ' ||
802: ICX_POR_EXT_UTL.getTableElement(gUpBuyerIds, pIndex) || ', ';
803: xShot := xShot || ' gUPPriceRowIds: ' ||
804: ICX_POR_EXT_UTL.getTableElement(gUPPriceRowIds, pIndex);

Line 802: ICX_POR_EXT_UTL.getTableElement(gUpBuyerIds, pIndex) || ', ';

798: ICX_POR_EXT_UTL.getTableElement(gUpItemRevisions, pIndex) || ', ';
799: xShot := xShot || ' gUpLineTypeIds: ' ||
800: ICX_POR_EXT_UTL.getTableElement(gUpLineTypeIds, pIndex) || ', ';
801: xShot := xShot || ' gUpBuyerIds: ' ||
802: ICX_POR_EXT_UTL.getTableElement(gUpBuyerIds, pIndex) || ', ';
803: xShot := xShot || ' gUPPriceRowIds: ' ||
804: ICX_POR_EXT_UTL.getTableElement(gUPPriceRowIds, pIndex);
805: xShot := xShot || ' gUPLastUpdateDates: ' ||
806: ICX_POR_EXT_UTL.getTableElement(gUPLastUpdateDates, pIndex);

Line 804: ICX_POR_EXT_UTL.getTableElement(gUPPriceRowIds, pIndex);

800: ICX_POR_EXT_UTL.getTableElement(gUpLineTypeIds, pIndex) || ', ';
801: xShot := xShot || ' gUpBuyerIds: ' ||
802: ICX_POR_EXT_UTL.getTableElement(gUpBuyerIds, pIndex) || ', ';
803: xShot := xShot || ' gUPPriceRowIds: ' ||
804: ICX_POR_EXT_UTL.getTableElement(gUPPriceRowIds, pIndex);
805: xShot := xShot || ' gUPLastUpdateDates: ' ||
806: ICX_POR_EXT_UTL.getTableElement(gUPLastUpdateDates, pIndex);
807: ELSIF (pMode = 'UPDATE_PRICES_G') THEN
808: -- Update ICX_CAT_ITEM_PRICES for global agreements

Line 806: ICX_POR_EXT_UTL.getTableElement(gUPLastUpdateDates, pIndex);

802: ICX_POR_EXT_UTL.getTableElement(gUpBuyerIds, pIndex) || ', ';
803: xShot := xShot || ' gUPPriceRowIds: ' ||
804: ICX_POR_EXT_UTL.getTableElement(gUPPriceRowIds, pIndex);
805: xShot := xShot || ' gUPLastUpdateDates: ' ||
806: ICX_POR_EXT_UTL.getTableElement(gUPLastUpdateDates, pIndex);
807: ELSIF (pMode = 'UPDATE_PRICES_G') THEN
808: -- Update ICX_CAT_ITEM_PRICES for global agreements
809: xShot := xShot || ' gUPGRtItemIds: ' ||
810: ICX_POR_EXT_UTL.getTableElement(gUPGRtItemIds, pIndex) || ', ';

Line 810: ICX_POR_EXT_UTL.getTableElement(gUPGRtItemIds, pIndex) || ', ';

806: ICX_POR_EXT_UTL.getTableElement(gUPLastUpdateDates, pIndex);
807: ELSIF (pMode = 'UPDATE_PRICES_G') THEN
808: -- Update ICX_CAT_ITEM_PRICES for global agreements
809: xShot := xShot || ' gUPGRtItemIds: ' ||
810: ICX_POR_EXT_UTL.getTableElement(gUPGRtItemIds, pIndex) || ', ';
811: xShot := xShot || ' gUPGContractIds: ' ||
812: ICX_POR_EXT_UTL.getTableElement(gUPGContractIds, pIndex) || ', ';
813: xShot := xShot || ' gUPGContractLineIds: ' ||
814: ICX_POR_EXT_UTL.getTableElement(gUPGContractLineIds, pIndex) || ', ';

Line 812: ICX_POR_EXT_UTL.getTableElement(gUPGContractIds, pIndex) || ', ';

808: -- Update ICX_CAT_ITEM_PRICES for global agreements
809: xShot := xShot || ' gUPGRtItemIds: ' ||
810: ICX_POR_EXT_UTL.getTableElement(gUPGRtItemIds, pIndex) || ', ';
811: xShot := xShot || ' gUPGContractIds: ' ||
812: ICX_POR_EXT_UTL.getTableElement(gUPGContractIds, pIndex) || ', ';
813: xShot := xShot || ' gUPGContractLineIds: ' ||
814: ICX_POR_EXT_UTL.getTableElement(gUPGContractLineIds, pIndex) || ', ';
815: xShot := xShot || ' gUPGInventoryItemIds: ' ||
816: ICX_POR_EXT_UTL.getTableElement(gUPGInventoryItemIds, pIndex) || ', ';

Line 814: ICX_POR_EXT_UTL.getTableElement(gUPGContractLineIds, pIndex) || ', ';

810: ICX_POR_EXT_UTL.getTableElement(gUPGRtItemIds, pIndex) || ', ';
811: xShot := xShot || ' gUPGContractIds: ' ||
812: ICX_POR_EXT_UTL.getTableElement(gUPGContractIds, pIndex) || ', ';
813: xShot := xShot || ' gUPGContractLineIds: ' ||
814: ICX_POR_EXT_UTL.getTableElement(gUPGContractLineIds, pIndex) || ', ';
815: xShot := xShot || ' gUPGInventoryItemIds: ' ||
816: ICX_POR_EXT_UTL.getTableElement(gUPGInventoryItemIds, pIndex) || ', ';
817: xShot := xShot || ' gUPGMtlCategoryIds: ' ||
818: ICX_POR_EXT_UTL.getTableElement(gUPGMtlCategoryIds, pIndex) || ', ';

Line 816: ICX_POR_EXT_UTL.getTableElement(gUPGInventoryItemIds, pIndex) || ', ';

812: ICX_POR_EXT_UTL.getTableElement(gUPGContractIds, pIndex) || ', ';
813: xShot := xShot || ' gUPGContractLineIds: ' ||
814: ICX_POR_EXT_UTL.getTableElement(gUPGContractLineIds, pIndex) || ', ';
815: xShot := xShot || ' gUPGInventoryItemIds: ' ||
816: ICX_POR_EXT_UTL.getTableElement(gUPGInventoryItemIds, pIndex) || ', ';
817: xShot := xShot || ' gUPGMtlCategoryIds: ' ||
818: ICX_POR_EXT_UTL.getTableElement(gUPGMtlCategoryIds, pIndex) || ', ';
819: xShot := xShot || ' gUPGSearchTypes: ' ||
820: ICX_POR_EXT_UTL.getTableElement(gUPGSearchTypes, pIndex) || ', ';

Line 818: ICX_POR_EXT_UTL.getTableElement(gUPGMtlCategoryIds, pIndex) || ', ';

814: ICX_POR_EXT_UTL.getTableElement(gUPGContractLineIds, pIndex) || ', ';
815: xShot := xShot || ' gUPGInventoryItemIds: ' ||
816: ICX_POR_EXT_UTL.getTableElement(gUPGInventoryItemIds, pIndex) || ', ';
817: xShot := xShot || ' gUPGMtlCategoryIds: ' ||
818: ICX_POR_EXT_UTL.getTableElement(gUPGMtlCategoryIds, pIndex) || ', ';
819: xShot := xShot || ' gUPGSearchTypes: ' ||
820: ICX_POR_EXT_UTL.getTableElement(gUPGSearchTypes, pIndex) || ', ';
821: xShot := xShot || ' gUPGUnitPrices: ' ||
822: ICX_POR_EXT_UTL.getTableElement(gUPGUnitPrices, pIndex) || ', ';

Line 820: ICX_POR_EXT_UTL.getTableElement(gUPGSearchTypes, pIndex) || ', ';

816: ICX_POR_EXT_UTL.getTableElement(gUPGInventoryItemIds, pIndex) || ', ';
817: xShot := xShot || ' gUPGMtlCategoryIds: ' ||
818: ICX_POR_EXT_UTL.getTableElement(gUPGMtlCategoryIds, pIndex) || ', ';
819: xShot := xShot || ' gUPGSearchTypes: ' ||
820: ICX_POR_EXT_UTL.getTableElement(gUPGSearchTypes, pIndex) || ', ';
821: xShot := xShot || ' gUPGUnitPrices: ' ||
822: ICX_POR_EXT_UTL.getTableElement(gUPGUnitPrices, pIndex) || ', ';
823: --FPJ FPSL Extractor Changes
824: xShot := xShot || ' gUPGValueBasis: ' ||

Line 822: ICX_POR_EXT_UTL.getTableElement(gUPGUnitPrices, pIndex) || ', ';

818: ICX_POR_EXT_UTL.getTableElement(gUPGMtlCategoryIds, pIndex) || ', ';
819: xShot := xShot || ' gUPGSearchTypes: ' ||
820: ICX_POR_EXT_UTL.getTableElement(gUPGSearchTypes, pIndex) || ', ';
821: xShot := xShot || ' gUPGUnitPrices: ' ||
822: ICX_POR_EXT_UTL.getTableElement(gUPGUnitPrices, pIndex) || ', ';
823: --FPJ FPSL Extractor Changes
824: xShot := xShot || ' gUPGValueBasis: ' ||
825: ICX_POR_EXT_UTL.getTableElement(gUPGValueBasis, pIndex) || ', ';
826: xShot := xShot || ' gUPGPurchaseBasis: ' ||

Line 825: ICX_POR_EXT_UTL.getTableElement(gUPGValueBasis, pIndex) || ', ';

821: xShot := xShot || ' gUPGUnitPrices: ' ||
822: ICX_POR_EXT_UTL.getTableElement(gUPGUnitPrices, pIndex) || ', ';
823: --FPJ FPSL Extractor Changes
824: xShot := xShot || ' gUPGValueBasis: ' ||
825: ICX_POR_EXT_UTL.getTableElement(gUPGValueBasis, pIndex) || ', ';
826: xShot := xShot || ' gUPGPurchaseBasis: ' ||
827: ICX_POR_EXT_UTL.getTableElement(gUPGPurchaseBasis, pIndex) || ', ';
828: xShot := xShot || ' gUPGAllowPriceOverrideFlag: ' ||
829: ICX_POR_EXT_UTL.getTableElement(gUPGAllowPriceOverrideFlag, pIndex)||', ';

Line 827: ICX_POR_EXT_UTL.getTableElement(gUPGPurchaseBasis, pIndex) || ', ';

823: --FPJ FPSL Extractor Changes
824: xShot := xShot || ' gUPGValueBasis: ' ||
825: ICX_POR_EXT_UTL.getTableElement(gUPGValueBasis, pIndex) || ', ';
826: xShot := xShot || ' gUPGPurchaseBasis: ' ||
827: ICX_POR_EXT_UTL.getTableElement(gUPGPurchaseBasis, pIndex) || ', ';
828: xShot := xShot || ' gUPGAllowPriceOverrideFlag: ' ||
829: ICX_POR_EXT_UTL.getTableElement(gUPGAllowPriceOverrideFlag, pIndex)||', ';
830: xShot := xShot || ' gUPGNotToExceedPrice: ' ||
831: ICX_POR_EXT_UTL.getTableElement(gUPGNotToExceedPrice, pIndex) || ', ';

Line 829: ICX_POR_EXT_UTL.getTableElement(gUPGAllowPriceOverrideFlag, pIndex)||', ';

825: ICX_POR_EXT_UTL.getTableElement(gUPGValueBasis, pIndex) || ', ';
826: xShot := xShot || ' gUPGPurchaseBasis: ' ||
827: ICX_POR_EXT_UTL.getTableElement(gUPGPurchaseBasis, pIndex) || ', ';
828: xShot := xShot || ' gUPGAllowPriceOverrideFlag: ' ||
829: ICX_POR_EXT_UTL.getTableElement(gUPGAllowPriceOverrideFlag, pIndex)||', ';
830: xShot := xShot || ' gUPGNotToExceedPrice: ' ||
831: ICX_POR_EXT_UTL.getTableElement(gUPGNotToExceedPrice, pIndex) || ', ';
832: -- FPJ Bug# 3110297 jingyu Add negotiated flag
833: xShot := xShot || ' gUPGNegotiatedFlag: ' ||

Line 831: ICX_POR_EXT_UTL.getTableElement(gUPGNotToExceedPrice, pIndex) || ', ';

827: ICX_POR_EXT_UTL.getTableElement(gUPGPurchaseBasis, pIndex) || ', ';
828: xShot := xShot || ' gUPGAllowPriceOverrideFlag: ' ||
829: ICX_POR_EXT_UTL.getTableElement(gUPGAllowPriceOverrideFlag, pIndex)||', ';
830: xShot := xShot || ' gUPGNotToExceedPrice: ' ||
831: ICX_POR_EXT_UTL.getTableElement(gUPGNotToExceedPrice, pIndex) || ', ';
832: -- FPJ Bug# 3110297 jingyu Add negotiated flag
833: xShot := xShot || ' gUPGNegotiatedFlag: ' ||
834: ICX_POR_EXT_UTL.getTableElement(gUPGNegotiatedFlag, pIndex) || ', ';
835: xShot := xShot || ' gUPGLineTypeIds: ' ||

Line 834: ICX_POR_EXT_UTL.getTableElement(gUPGNegotiatedFlag, pIndex) || ', ';

830: xShot := xShot || ' gUPGNotToExceedPrice: ' ||
831: ICX_POR_EXT_UTL.getTableElement(gUPGNotToExceedPrice, pIndex) || ', ';
832: -- FPJ Bug# 3110297 jingyu Add negotiated flag
833: xShot := xShot || ' gUPGNegotiatedFlag: ' ||
834: ICX_POR_EXT_UTL.getTableElement(gUPGNegotiatedFlag, pIndex) || ', ';
835: xShot := xShot || ' gUPGLineTypeIds: ' ||
836: ICX_POR_EXT_UTL.getTableElement(gUPGLineTypeIds, pIndex) || ', ';
837: xShot := xShot || ' gUPGCurrencys: ' ||
838: ICX_POR_EXT_UTL.getTableElement(gUPGCurrencys, pIndex) || ', ';

Line 836: ICX_POR_EXT_UTL.getTableElement(gUPGLineTypeIds, pIndex) || ', ';

832: -- FPJ Bug# 3110297 jingyu Add negotiated flag
833: xShot := xShot || ' gUPGNegotiatedFlag: ' ||
834: ICX_POR_EXT_UTL.getTableElement(gUPGNegotiatedFlag, pIndex) || ', ';
835: xShot := xShot || ' gUPGLineTypeIds: ' ||
836: ICX_POR_EXT_UTL.getTableElement(gUPGLineTypeIds, pIndex) || ', ';
837: xShot := xShot || ' gUPGCurrencys: ' ||
838: ICX_POR_EXT_UTL.getTableElement(gUPGCurrencys, pIndex) || ', ';
839: xShot := xShot || ' gUPGUnitOfMeasures: ' ||
840: ICX_POR_EXT_UTL.getTableElement(gUPGUnitOfMeasures, pIndex) || ', ';

Line 838: ICX_POR_EXT_UTL.getTableElement(gUPGCurrencys, pIndex) || ', ';

834: ICX_POR_EXT_UTL.getTableElement(gUPGNegotiatedFlag, pIndex) || ', ';
835: xShot := xShot || ' gUPGLineTypeIds: ' ||
836: ICX_POR_EXT_UTL.getTableElement(gUPGLineTypeIds, pIndex) || ', ';
837: xShot := xShot || ' gUPGCurrencys: ' ||
838: ICX_POR_EXT_UTL.getTableElement(gUPGCurrencys, pIndex) || ', ';
839: xShot := xShot || ' gUPGUnitOfMeasures: ' ||
840: ICX_POR_EXT_UTL.getTableElement(gUPGUnitOfMeasures, pIndex) || ', ';
841: xShot := xShot || ' gUPGFunctionalPrices: ' ||
842: ICX_POR_EXT_UTL.getTableElement(gUPGFunctionalPrices, pIndex);

Line 840: ICX_POR_EXT_UTL.getTableElement(gUPGUnitOfMeasures, pIndex) || ', ';

836: ICX_POR_EXT_UTL.getTableElement(gUPGLineTypeIds, pIndex) || ', ';
837: xShot := xShot || ' gUPGCurrencys: ' ||
838: ICX_POR_EXT_UTL.getTableElement(gUPGCurrencys, pIndex) || ', ';
839: xShot := xShot || ' gUPGUnitOfMeasures: ' ||
840: ICX_POR_EXT_UTL.getTableElement(gUPGUnitOfMeasures, pIndex) || ', ';
841: xShot := xShot || ' gUPGFunctionalPrices: ' ||
842: ICX_POR_EXT_UTL.getTableElement(gUPGFunctionalPrices, pIndex);
843: ELSIF (pMode = 'INSERT_PRICES') THEN
844: -- Insert ICX_CAT_ITEM_PRICES

Line 842: ICX_POR_EXT_UTL.getTableElement(gUPGFunctionalPrices, pIndex);

838: ICX_POR_EXT_UTL.getTableElement(gUPGCurrencys, pIndex) || ', ';
839: xShot := xShot || ' gUPGUnitOfMeasures: ' ||
840: ICX_POR_EXT_UTL.getTableElement(gUPGUnitOfMeasures, pIndex) || ', ';
841: xShot := xShot || ' gUPGFunctionalPrices: ' ||
842: ICX_POR_EXT_UTL.getTableElement(gUPGFunctionalPrices, pIndex);
843: ELSIF (pMode = 'INSERT_PRICES') THEN
844: -- Insert ICX_CAT_ITEM_PRICES
845: xShot := xShot || ' gIPRtItemIds: ' ||
846: ICX_POR_EXT_UTL.getTableElement(gIPRtItemIds, pIndex) || ', ';

Line 846: ICX_POR_EXT_UTL.getTableElement(gIPRtItemIds, pIndex) || ', ';

842: ICX_POR_EXT_UTL.getTableElement(gUPGFunctionalPrices, pIndex);
843: ELSIF (pMode = 'INSERT_PRICES') THEN
844: -- Insert ICX_CAT_ITEM_PRICES
845: xShot := xShot || ' gIPRtItemIds: ' ||
846: ICX_POR_EXT_UTL.getTableElement(gIPRtItemIds, pIndex) || ', ';
847: xShot := xShot || ' gIPPriceTypes: ' ||
848: ICX_POR_EXT_UTL.getTableElement(gIPPriceTypes, pIndex) || ', ';
849: xShot := xShot || ' gIPAslIds: ' ||
850: ICX_POR_EXT_UTL.getTableElement(gIPAslIds, pIndex) || ', ';

Line 848: ICX_POR_EXT_UTL.getTableElement(gIPPriceTypes, pIndex) || ', ';

844: -- Insert ICX_CAT_ITEM_PRICES
845: xShot := xShot || ' gIPRtItemIds: ' ||
846: ICX_POR_EXT_UTL.getTableElement(gIPRtItemIds, pIndex) || ', ';
847: xShot := xShot || ' gIPPriceTypes: ' ||
848: ICX_POR_EXT_UTL.getTableElement(gIPPriceTypes, pIndex) || ', ';
849: xShot := xShot || ' gIPAslIds: ' ||
850: ICX_POR_EXT_UTL.getTableElement(gIPAslIds, pIndex) || ', ';
851: xShot := xShot || ' gIPSupplierSiteIds: ' ||
852: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteIds, pIndex) || ', ';

Line 850: ICX_POR_EXT_UTL.getTableElement(gIPAslIds, pIndex) || ', ';

846: ICX_POR_EXT_UTL.getTableElement(gIPRtItemIds, pIndex) || ', ';
847: xShot := xShot || ' gIPPriceTypes: ' ||
848: ICX_POR_EXT_UTL.getTableElement(gIPPriceTypes, pIndex) || ', ';
849: xShot := xShot || ' gIPAslIds: ' ||
850: ICX_POR_EXT_UTL.getTableElement(gIPAslIds, pIndex) || ', ';
851: xShot := xShot || ' gIPSupplierSiteIds: ' ||
852: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteIds, pIndex) || ', ';
853: xShot := xShot || ' gIPContractIds: ' ||
854: ICX_POR_EXT_UTL.getTableElement(gIPContractIds, pIndex) || ', ';

Line 852: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteIds, pIndex) || ', ';

848: ICX_POR_EXT_UTL.getTableElement(gIPPriceTypes, pIndex) || ', ';
849: xShot := xShot || ' gIPAslIds: ' ||
850: ICX_POR_EXT_UTL.getTableElement(gIPAslIds, pIndex) || ', ';
851: xShot := xShot || ' gIPSupplierSiteIds: ' ||
852: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteIds, pIndex) || ', ';
853: xShot := xShot || ' gIPContractIds: ' ||
854: ICX_POR_EXT_UTL.getTableElement(gIPContractIds, pIndex) || ', ';
855: xShot := xShot || ' gIPContractLineIds: ' ||
856: ICX_POR_EXT_UTL.getTableElement(gIPContractLineIds, pIndex) || ', ';

Line 854: ICX_POR_EXT_UTL.getTableElement(gIPContractIds, pIndex) || ', ';

850: ICX_POR_EXT_UTL.getTableElement(gIPAslIds, pIndex) || ', ';
851: xShot := xShot || ' gIPSupplierSiteIds: ' ||
852: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteIds, pIndex) || ', ';
853: xShot := xShot || ' gIPContractIds: ' ||
854: ICX_POR_EXT_UTL.getTableElement(gIPContractIds, pIndex) || ', ';
855: xShot := xShot || ' gIPContractLineIds: ' ||
856: ICX_POR_EXT_UTL.getTableElement(gIPContractLineIds, pIndex) || ', ';
857: xShot := xShot || ' gIPTemplateIds: ' ||
858: ICX_POR_EXT_UTL.getTableElement(gIPTemplateIds, pIndex) || ', ';

Line 856: ICX_POR_EXT_UTL.getTableElement(gIPContractLineIds, pIndex) || ', ';

852: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteIds, pIndex) || ', ';
853: xShot := xShot || ' gIPContractIds: ' ||
854: ICX_POR_EXT_UTL.getTableElement(gIPContractIds, pIndex) || ', ';
855: xShot := xShot || ' gIPContractLineIds: ' ||
856: ICX_POR_EXT_UTL.getTableElement(gIPContractLineIds, pIndex) || ', ';
857: xShot := xShot || ' gIPTemplateIds: ' ||
858: ICX_POR_EXT_UTL.getTableElement(gIPTemplateIds, pIndex) || ', ';
859: xShot := xShot || ' gIPTemplateLineIds: ' ||
860: ICX_POR_EXT_UTL.getTableElement(gIPTemplateLineIds, pIndex) || ', ';

Line 858: ICX_POR_EXT_UTL.getTableElement(gIPTemplateIds, pIndex) || ', ';

854: ICX_POR_EXT_UTL.getTableElement(gIPContractIds, pIndex) || ', ';
855: xShot := xShot || ' gIPContractLineIds: ' ||
856: ICX_POR_EXT_UTL.getTableElement(gIPContractLineIds, pIndex) || ', ';
857: xShot := xShot || ' gIPTemplateIds: ' ||
858: ICX_POR_EXT_UTL.getTableElement(gIPTemplateIds, pIndex) || ', ';
859: xShot := xShot || ' gIPTemplateLineIds: ' ||
860: ICX_POR_EXT_UTL.getTableElement(gIPTemplateLineIds, pIndex) || ', ';
861: xShot := xShot || ' gIPInventoryItemIds: ' ||
862: ICX_POR_EXT_UTL.getTableElement(gIPInventoryItemIds, pIndex) || ', ';

Line 860: ICX_POR_EXT_UTL.getTableElement(gIPTemplateLineIds, pIndex) || ', ';

856: ICX_POR_EXT_UTL.getTableElement(gIPContractLineIds, pIndex) || ', ';
857: xShot := xShot || ' gIPTemplateIds: ' ||
858: ICX_POR_EXT_UTL.getTableElement(gIPTemplateIds, pIndex) || ', ';
859: xShot := xShot || ' gIPTemplateLineIds: ' ||
860: ICX_POR_EXT_UTL.getTableElement(gIPTemplateLineIds, pIndex) || ', ';
861: xShot := xShot || ' gIPInventoryItemIds: ' ||
862: ICX_POR_EXT_UTL.getTableElement(gIPInventoryItemIds, pIndex) || ', ';
863: xShot := xShot || ' gIPMtlCategoryIds: ' ||
864: ICX_POR_EXT_UTL.getTableElement(gIPMtlCategoryIds, pIndex) || ', ';

Line 862: ICX_POR_EXT_UTL.getTableElement(gIPInventoryItemIds, pIndex) || ', ';

858: ICX_POR_EXT_UTL.getTableElement(gIPTemplateIds, pIndex) || ', ';
859: xShot := xShot || ' gIPTemplateLineIds: ' ||
860: ICX_POR_EXT_UTL.getTableElement(gIPTemplateLineIds, pIndex) || ', ';
861: xShot := xShot || ' gIPInventoryItemIds: ' ||
862: ICX_POR_EXT_UTL.getTableElement(gIPInventoryItemIds, pIndex) || ', ';
863: xShot := xShot || ' gIPMtlCategoryIds: ' ||
864: ICX_POR_EXT_UTL.getTableElement(gIPMtlCategoryIds, pIndex) || ', ';
865: xShot := xShot || ' gIPOrgIds: ' ||
866: ICX_POR_EXT_UTL.getTableElement(gIPOrgIds, pIndex) || ', ';

Line 864: ICX_POR_EXT_UTL.getTableElement(gIPMtlCategoryIds, pIndex) || ', ';

860: ICX_POR_EXT_UTL.getTableElement(gIPTemplateLineIds, pIndex) || ', ';
861: xShot := xShot || ' gIPInventoryItemIds: ' ||
862: ICX_POR_EXT_UTL.getTableElement(gIPInventoryItemIds, pIndex) || ', ';
863: xShot := xShot || ' gIPMtlCategoryIds: ' ||
864: ICX_POR_EXT_UTL.getTableElement(gIPMtlCategoryIds, pIndex) || ', ';
865: xShot := xShot || ' gIPOrgIds: ' ||
866: ICX_POR_EXT_UTL.getTableElement(gIPOrgIds, pIndex) || ', ';
867: xShot := xShot || ' gIPSearchTypes: ' ||
868: ICX_POR_EXT_UTL.getTableElement(gIPSearchTypes, pIndex) || ', ';

Line 866: ICX_POR_EXT_UTL.getTableElement(gIPOrgIds, pIndex) || ', ';

862: ICX_POR_EXT_UTL.getTableElement(gIPInventoryItemIds, pIndex) || ', ';
863: xShot := xShot || ' gIPMtlCategoryIds: ' ||
864: ICX_POR_EXT_UTL.getTableElement(gIPMtlCategoryIds, pIndex) || ', ';
865: xShot := xShot || ' gIPOrgIds: ' ||
866: ICX_POR_EXT_UTL.getTableElement(gIPOrgIds, pIndex) || ', ';
867: xShot := xShot || ' gIPSearchTypes: ' ||
868: ICX_POR_EXT_UTL.getTableElement(gIPSearchTypes, pIndex) || ', ';
869: xShot := xShot || ' gIPUnitPrices: ' ||
870: ICX_POR_EXT_UTL.getTableElement(gIPUnitPrices, pIndex) || ', ';

Line 868: ICX_POR_EXT_UTL.getTableElement(gIPSearchTypes, pIndex) || ', ';

864: ICX_POR_EXT_UTL.getTableElement(gIPMtlCategoryIds, pIndex) || ', ';
865: xShot := xShot || ' gIPOrgIds: ' ||
866: ICX_POR_EXT_UTL.getTableElement(gIPOrgIds, pIndex) || ', ';
867: xShot := xShot || ' gIPSearchTypes: ' ||
868: ICX_POR_EXT_UTL.getTableElement(gIPSearchTypes, pIndex) || ', ';
869: xShot := xShot || ' gIPUnitPrices: ' ||
870: ICX_POR_EXT_UTL.getTableElement(gIPUnitPrices, pIndex) || ', ';
871: --FPJ FPSL Extractor Changes
872: xShot := xShot || ' gIPValueBasis: ' ||

Line 870: ICX_POR_EXT_UTL.getTableElement(gIPUnitPrices, pIndex) || ', ';

866: ICX_POR_EXT_UTL.getTableElement(gIPOrgIds, pIndex) || ', ';
867: xShot := xShot || ' gIPSearchTypes: ' ||
868: ICX_POR_EXT_UTL.getTableElement(gIPSearchTypes, pIndex) || ', ';
869: xShot := xShot || ' gIPUnitPrices: ' ||
870: ICX_POR_EXT_UTL.getTableElement(gIPUnitPrices, pIndex) || ', ';
871: --FPJ FPSL Extractor Changes
872: xShot := xShot || ' gIPValueBasis: ' ||
873: ICX_POR_EXT_UTL.getTableElement(gIPValueBasis, pIndex) || ', ';
874: xShot := xShot || ' gIPPurchaseBasis: ' ||

Line 873: ICX_POR_EXT_UTL.getTableElement(gIPValueBasis, pIndex) || ', ';

869: xShot := xShot || ' gIPUnitPrices: ' ||
870: ICX_POR_EXT_UTL.getTableElement(gIPUnitPrices, pIndex) || ', ';
871: --FPJ FPSL Extractor Changes
872: xShot := xShot || ' gIPValueBasis: ' ||
873: ICX_POR_EXT_UTL.getTableElement(gIPValueBasis, pIndex) || ', ';
874: xShot := xShot || ' gIPPurchaseBasis: ' ||
875: ICX_POR_EXT_UTL.getTableElement(gIPPurchaseBasis, pIndex) || ', ';
876: xShot := xShot || ' gIPAllowPriceOverrideFlag: ' ||
877: ICX_POR_EXT_UTL.getTableElement(gIPAllowPriceOverrideFlag, pIndex)||', ';

Line 875: ICX_POR_EXT_UTL.getTableElement(gIPPurchaseBasis, pIndex) || ', ';

871: --FPJ FPSL Extractor Changes
872: xShot := xShot || ' gIPValueBasis: ' ||
873: ICX_POR_EXT_UTL.getTableElement(gIPValueBasis, pIndex) || ', ';
874: xShot := xShot || ' gIPPurchaseBasis: ' ||
875: ICX_POR_EXT_UTL.getTableElement(gIPPurchaseBasis, pIndex) || ', ';
876: xShot := xShot || ' gIPAllowPriceOverrideFlag: ' ||
877: ICX_POR_EXT_UTL.getTableElement(gIPAllowPriceOverrideFlag, pIndex)||', ';
878: xShot := xShot || ' gIPNotToExceedPrice: ' ||
879: ICX_POR_EXT_UTL.getTableElement(gIPNotToExceedPrice, pIndex) || ', ';

Line 877: ICX_POR_EXT_UTL.getTableElement(gIPAllowPriceOverrideFlag, pIndex)||', ';

873: ICX_POR_EXT_UTL.getTableElement(gIPValueBasis, pIndex) || ', ';
874: xShot := xShot || ' gIPPurchaseBasis: ' ||
875: ICX_POR_EXT_UTL.getTableElement(gIPPurchaseBasis, pIndex) || ', ';
876: xShot := xShot || ' gIPAllowPriceOverrideFlag: ' ||
877: ICX_POR_EXT_UTL.getTableElement(gIPAllowPriceOverrideFlag, pIndex)||', ';
878: xShot := xShot || ' gIPNotToExceedPrice: ' ||
879: ICX_POR_EXT_UTL.getTableElement(gIPNotToExceedPrice, pIndex) || ', ';
880: -- FPJ Bug# 3007068 sosingha: Extractor Changes For Kit Support Project
881: xShot := xShot || ' gIPSuggestedQuantities: ' ||

Line 879: ICX_POR_EXT_UTL.getTableElement(gIPNotToExceedPrice, pIndex) || ', ';

875: ICX_POR_EXT_UTL.getTableElement(gIPPurchaseBasis, pIndex) || ', ';
876: xShot := xShot || ' gIPAllowPriceOverrideFlag: ' ||
877: ICX_POR_EXT_UTL.getTableElement(gIPAllowPriceOverrideFlag, pIndex)||', ';
878: xShot := xShot || ' gIPNotToExceedPrice: ' ||
879: ICX_POR_EXT_UTL.getTableElement(gIPNotToExceedPrice, pIndex) || ', ';
880: -- FPJ Bug# 3007068 sosingha: Extractor Changes For Kit Support Project
881: xShot := xShot || ' gIPSuggestedQuantities: ' ||
882: ICX_POR_EXT_UTL.getTableElement(gIPSuggestedQuantities, pIndex) || ', ';
883: -- FPJ Bug# 3110297 jingyu Add negotiated flag

Line 882: ICX_POR_EXT_UTL.getTableElement(gIPSuggestedQuantities, pIndex) || ', ';

878: xShot := xShot || ' gIPNotToExceedPrice: ' ||
879: ICX_POR_EXT_UTL.getTableElement(gIPNotToExceedPrice, pIndex) || ', ';
880: -- FPJ Bug# 3007068 sosingha: Extractor Changes For Kit Support Project
881: xShot := xShot || ' gIPSuggestedQuantities: ' ||
882: ICX_POR_EXT_UTL.getTableElement(gIPSuggestedQuantities, pIndex) || ', ';
883: -- FPJ Bug# 3110297 jingyu Add negotiated flag
884: xShot := xShot || ' gIPNegotiatedFlag: ' ||
885: ICX_POR_EXT_UTL.getTableElement(gIPNegotiatedFlag, pIndex) || ', ';
886: xShot := xShot || ' gIPCurrencys: ' ||

Line 885: ICX_POR_EXT_UTL.getTableElement(gIPNegotiatedFlag, pIndex) || ', ';

881: xShot := xShot || ' gIPSuggestedQuantities: ' ||
882: ICX_POR_EXT_UTL.getTableElement(gIPSuggestedQuantities, pIndex) || ', ';
883: -- FPJ Bug# 3110297 jingyu Add negotiated flag
884: xShot := xShot || ' gIPNegotiatedFlag: ' ||
885: ICX_POR_EXT_UTL.getTableElement(gIPNegotiatedFlag, pIndex) || ', ';
886: xShot := xShot || ' gIPCurrencys: ' ||
887: ICX_POR_EXT_UTL.getTableElement(gIPCurrencys, pIndex) || ', ';
888: xShot := xShot || ' gIPUnitOfMeasures: ' ||
889: ICX_POR_EXT_UTL.getTableElement(gIPUnitOfMeasures, pIndex) || ', ';

Line 887: ICX_POR_EXT_UTL.getTableElement(gIPCurrencys, pIndex) || ', ';

883: -- FPJ Bug# 3110297 jingyu Add negotiated flag
884: xShot := xShot || ' gIPNegotiatedFlag: ' ||
885: ICX_POR_EXT_UTL.getTableElement(gIPNegotiatedFlag, pIndex) || ', ';
886: xShot := xShot || ' gIPCurrencys: ' ||
887: ICX_POR_EXT_UTL.getTableElement(gIPCurrencys, pIndex) || ', ';
888: xShot := xShot || ' gIPUnitOfMeasures: ' ||
889: ICX_POR_EXT_UTL.getTableElement(gIPUnitOfMeasures, pIndex) || ', ';
890: xShot := xShot || ' gIPFunctionalPrices: ' ||
891: ICX_POR_EXT_UTL.getTableElement(gIPFunctionalPrices, pIndex) || ', ';

Line 889: ICX_POR_EXT_UTL.getTableElement(gIPUnitOfMeasures, pIndex) || ', ';

885: ICX_POR_EXT_UTL.getTableElement(gIPNegotiatedFlag, pIndex) || ', ';
886: xShot := xShot || ' gIPCurrencys: ' ||
887: ICX_POR_EXT_UTL.getTableElement(gIPCurrencys, pIndex) || ', ';
888: xShot := xShot || ' gIPUnitOfMeasures: ' ||
889: ICX_POR_EXT_UTL.getTableElement(gIPUnitOfMeasures, pIndex) || ', ';
890: xShot := xShot || ' gIPFunctionalPrices: ' ||
891: ICX_POR_EXT_UTL.getTableElement(gIPFunctionalPrices, pIndex) || ', ';
892: xShot := xShot || ' gIPSupplierSiteCodes: ' ||
893: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteCodes, pIndex) || ', ';

Line 891: ICX_POR_EXT_UTL.getTableElement(gIPFunctionalPrices, pIndex) || ', ';

887: ICX_POR_EXT_UTL.getTableElement(gIPCurrencys, pIndex) || ', ';
888: xShot := xShot || ' gIPUnitOfMeasures: ' ||
889: ICX_POR_EXT_UTL.getTableElement(gIPUnitOfMeasures, pIndex) || ', ';
890: xShot := xShot || ' gIPFunctionalPrices: ' ||
891: ICX_POR_EXT_UTL.getTableElement(gIPFunctionalPrices, pIndex) || ', ';
892: xShot := xShot || ' gIPSupplierSiteCodes: ' ||
893: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteCodes, pIndex) || ', ';
894: xShot := xShot || ' gIPContractNums: ' ||
895: ICX_POR_EXT_UTL.getTableElement(gIPContractNums, pIndex) || ', ';

Line 893: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteCodes, pIndex) || ', ';

889: ICX_POR_EXT_UTL.getTableElement(gIPUnitOfMeasures, pIndex) || ', ';
890: xShot := xShot || ' gIPFunctionalPrices: ' ||
891: ICX_POR_EXT_UTL.getTableElement(gIPFunctionalPrices, pIndex) || ', ';
892: xShot := xShot || ' gIPSupplierSiteCodes: ' ||
893: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteCodes, pIndex) || ', ';
894: xShot := xShot || ' gIPContractNums: ' ||
895: ICX_POR_EXT_UTL.getTableElement(gIPContractNums, pIndex) || ', ';
896: xShot := xShot || ' gIPContractLineNums: ' ||
897: ICX_POR_EXT_UTL.getTableElement(gIPContractLineNums, pIndex) || ', ';

Line 895: ICX_POR_EXT_UTL.getTableElement(gIPContractNums, pIndex) || ', ';

891: ICX_POR_EXT_UTL.getTableElement(gIPFunctionalPrices, pIndex) || ', ';
892: xShot := xShot || ' gIPSupplierSiteCodes: ' ||
893: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteCodes, pIndex) || ', ';
894: xShot := xShot || ' gIPContractNums: ' ||
895: ICX_POR_EXT_UTL.getTableElement(gIPContractNums, pIndex) || ', ';
896: xShot := xShot || ' gIPContractLineNums: ' ||
897: ICX_POR_EXT_UTL.getTableElement(gIPContractLineNums, pIndex) || ', ';
898: xShot := xShot || ' gIpRateTypes: ' ||
899: ICX_POR_EXT_UTL.getTableElement(gIpRateTypes, pIndex) || ', ';

Line 897: ICX_POR_EXT_UTL.getTableElement(gIPContractLineNums, pIndex) || ', ';

893: ICX_POR_EXT_UTL.getTableElement(gIPSupplierSiteCodes, pIndex) || ', ';
894: xShot := xShot || ' gIPContractNums: ' ||
895: ICX_POR_EXT_UTL.getTableElement(gIPContractNums, pIndex) || ', ';
896: xShot := xShot || ' gIPContractLineNums: ' ||
897: ICX_POR_EXT_UTL.getTableElement(gIPContractLineNums, pIndex) || ', ';
898: xShot := xShot || ' gIpRateTypes: ' ||
899: ICX_POR_EXT_UTL.getTableElement(gIpRateTypes, pIndex) || ', ';
900: xShot := xShot || ' gIpRateDates: ' ||
901: ICX_POR_EXT_UTL.getTableElement(gIpRateDates, pIndex) || ', ';

Line 899: ICX_POR_EXT_UTL.getTableElement(gIpRateTypes, pIndex) || ', ';

895: ICX_POR_EXT_UTL.getTableElement(gIPContractNums, pIndex) || ', ';
896: xShot := xShot || ' gIPContractLineNums: ' ||
897: ICX_POR_EXT_UTL.getTableElement(gIPContractLineNums, pIndex) || ', ';
898: xShot := xShot || ' gIpRateTypes: ' ||
899: ICX_POR_EXT_UTL.getTableElement(gIpRateTypes, pIndex) || ', ';
900: xShot := xShot || ' gIpRateDates: ' ||
901: ICX_POR_EXT_UTL.getTableElement(gIpRateDates, pIndex) || ', ';
902: xShot := xShot || ' gIpRates: ' ||
903: ICX_POR_EXT_UTL.getTableElement(gIpRates, pIndex) || ', ';

Line 901: ICX_POR_EXT_UTL.getTableElement(gIpRateDates, pIndex) || ', ';

897: ICX_POR_EXT_UTL.getTableElement(gIPContractLineNums, pIndex) || ', ';
898: xShot := xShot || ' gIpRateTypes: ' ||
899: ICX_POR_EXT_UTL.getTableElement(gIpRateTypes, pIndex) || ', ';
900: xShot := xShot || ' gIpRateDates: ' ||
901: ICX_POR_EXT_UTL.getTableElement(gIpRateDates, pIndex) || ', ';
902: xShot := xShot || ' gIpRates: ' ||
903: ICX_POR_EXT_UTL.getTableElement(gIpRates, pIndex) || ', ';
904: xShot := xShot || ' gIpSupplierNumbers: ' ||
905: ICX_POR_EXT_UTL.getTableElement(gIpSupplierNumbers, pIndex) || ', ';

Line 903: ICX_POR_EXT_UTL.getTableElement(gIpRates, pIndex) || ', ';

899: ICX_POR_EXT_UTL.getTableElement(gIpRateTypes, pIndex) || ', ';
900: xShot := xShot || ' gIpRateDates: ' ||
901: ICX_POR_EXT_UTL.getTableElement(gIpRateDates, pIndex) || ', ';
902: xShot := xShot || ' gIpRates: ' ||
903: ICX_POR_EXT_UTL.getTableElement(gIpRates, pIndex) || ', ';
904: xShot := xShot || ' gIpSupplierNumbers: ' ||
905: ICX_POR_EXT_UTL.getTableElement(gIpSupplierNumbers, pIndex) || ', ';
906: xShot := xShot || ' gIpSupplierContactIds: ' ||
907: ICX_POR_EXT_UTL.getTableElement(gIpSupplierContactIds, pIndex) || ', ';

Line 905: ICX_POR_EXT_UTL.getTableElement(gIpSupplierNumbers, pIndex) || ', ';

901: ICX_POR_EXT_UTL.getTableElement(gIpRateDates, pIndex) || ', ';
902: xShot := xShot || ' gIpRates: ' ||
903: ICX_POR_EXT_UTL.getTableElement(gIpRates, pIndex) || ', ';
904: xShot := xShot || ' gIpSupplierNumbers: ' ||
905: ICX_POR_EXT_UTL.getTableElement(gIpSupplierNumbers, pIndex) || ', ';
906: xShot := xShot || ' gIpSupplierContactIds: ' ||
907: ICX_POR_EXT_UTL.getTableElement(gIpSupplierContactIds, pIndex) || ', ';
908: xShot := xShot || ' gIpItemRevisions: ' ||
909: ICX_POR_EXT_UTL.getTableElement(gIpItemRevisions, pIndex) || ', ';

Line 907: ICX_POR_EXT_UTL.getTableElement(gIpSupplierContactIds, pIndex) || ', ';

903: ICX_POR_EXT_UTL.getTableElement(gIpRates, pIndex) || ', ';
904: xShot := xShot || ' gIpSupplierNumbers: ' ||
905: ICX_POR_EXT_UTL.getTableElement(gIpSupplierNumbers, pIndex) || ', ';
906: xShot := xShot || ' gIpSupplierContactIds: ' ||
907: ICX_POR_EXT_UTL.getTableElement(gIpSupplierContactIds, pIndex) || ', ';
908: xShot := xShot || ' gIpItemRevisions: ' ||
909: ICX_POR_EXT_UTL.getTableElement(gIpItemRevisions, pIndex) || ', ';
910: xShot := xShot || ' gIpLineTypeIds: ' ||
911: ICX_POR_EXT_UTL.getTableElement(gIpLineTypeIds, pIndex) || ', ';

Line 909: ICX_POR_EXT_UTL.getTableElement(gIpItemRevisions, pIndex) || ', ';

905: ICX_POR_EXT_UTL.getTableElement(gIpSupplierNumbers, pIndex) || ', ';
906: xShot := xShot || ' gIpSupplierContactIds: ' ||
907: ICX_POR_EXT_UTL.getTableElement(gIpSupplierContactIds, pIndex) || ', ';
908: xShot := xShot || ' gIpItemRevisions: ' ||
909: ICX_POR_EXT_UTL.getTableElement(gIpItemRevisions, pIndex) || ', ';
910: xShot := xShot || ' gIpLineTypeIds: ' ||
911: ICX_POR_EXT_UTL.getTableElement(gIpLineTypeIds, pIndex) || ', ';
912: xShot := xShot || ' gIpBuyerIds: ' ||
913: ICX_POR_EXT_UTL.getTableElement(gIpBuyerIds, pIndex) || ', ';

Line 911: ICX_POR_EXT_UTL.getTableElement(gIpLineTypeIds, pIndex) || ', ';

907: ICX_POR_EXT_UTL.getTableElement(gIpSupplierContactIds, pIndex) || ', ';
908: xShot := xShot || ' gIpItemRevisions: ' ||
909: ICX_POR_EXT_UTL.getTableElement(gIpItemRevisions, pIndex) || ', ';
910: xShot := xShot || ' gIpLineTypeIds: ' ||
911: ICX_POR_EXT_UTL.getTableElement(gIpLineTypeIds, pIndex) || ', ';
912: xShot := xShot || ' gIpBuyerIds: ' ||
913: ICX_POR_EXT_UTL.getTableElement(gIpBuyerIds, pIndex) || ', ';
914: xShot := xShot || ' gIPActiveFlags: ' ||
915: ICX_POR_EXT_UTL.getTableElement(gIPActiveFlags, pIndex);

Line 913: ICX_POR_EXT_UTL.getTableElement(gIpBuyerIds, pIndex) || ', ';

909: ICX_POR_EXT_UTL.getTableElement(gIpItemRevisions, pIndex) || ', ';
910: xShot := xShot || ' gIpLineTypeIds: ' ||
911: ICX_POR_EXT_UTL.getTableElement(gIpLineTypeIds, pIndex) || ', ';
912: xShot := xShot || ' gIpBuyerIds: ' ||
913: ICX_POR_EXT_UTL.getTableElement(gIpBuyerIds, pIndex) || ', ';
914: xShot := xShot || ' gIPActiveFlags: ' ||
915: ICX_POR_EXT_UTL.getTableElement(gIPActiveFlags, pIndex);
916: xShot := xShot || ' gIPLastUpdateDates: ' ||
917: ICX_POR_EXT_UTL.getTableElement(gIPLastUpdateDates, pIndex);

Line 915: ICX_POR_EXT_UTL.getTableElement(gIPActiveFlags, pIndex);

911: ICX_POR_EXT_UTL.getTableElement(gIpLineTypeIds, pIndex) || ', ';
912: xShot := xShot || ' gIpBuyerIds: ' ||
913: ICX_POR_EXT_UTL.getTableElement(gIpBuyerIds, pIndex) || ', ';
914: xShot := xShot || ' gIPActiveFlags: ' ||
915: ICX_POR_EXT_UTL.getTableElement(gIPActiveFlags, pIndex);
916: xShot := xShot || ' gIPLastUpdateDates: ' ||
917: ICX_POR_EXT_UTL.getTableElement(gIPLastUpdateDates, pIndex);
918: ELSIF (pMode = 'INSERT_ITEMS_B') THEN
919: -- Insert ICX_CAT_ITEMS_B

Line 917: ICX_POR_EXT_UTL.getTableElement(gIPLastUpdateDates, pIndex);

913: ICX_POR_EXT_UTL.getTableElement(gIpBuyerIds, pIndex) || ', ';
914: xShot := xShot || ' gIPActiveFlags: ' ||
915: ICX_POR_EXT_UTL.getTableElement(gIPActiveFlags, pIndex);
916: xShot := xShot || ' gIPLastUpdateDates: ' ||
917: ICX_POR_EXT_UTL.getTableElement(gIPLastUpdateDates, pIndex);
918: ELSIF (pMode = 'INSERT_ITEMS_B') THEN
919: -- Insert ICX_CAT_ITEMS_B
920: xShot := xShot || ' gIBRtItemIds: ' ||
921: ICX_POR_EXT_UTL.getTableElement(gIBRtItemIds, pIndex) || ', ';

Line 921: ICX_POR_EXT_UTL.getTableElement(gIBRtItemIds, pIndex) || ', ';

917: ICX_POR_EXT_UTL.getTableElement(gIPLastUpdateDates, pIndex);
918: ELSIF (pMode = 'INSERT_ITEMS_B') THEN
919: -- Insert ICX_CAT_ITEMS_B
920: xShot := xShot || ' gIBRtItemIds: ' ||
921: ICX_POR_EXT_UTL.getTableElement(gIBRtItemIds, pIndex) || ', ';
922: xShot := xShot || ' gIBOrgIds: ' ||
923: ICX_POR_EXT_UTL.getTableElement(gIBOrgIds, pIndex) || ', ';
924: xShot := xShot || ' gIBSupplierIds: ' ||
925: ICX_POR_EXT_UTL.getTableElement(gIBSupplierIds, pIndex) || ', ';

Line 923: ICX_POR_EXT_UTL.getTableElement(gIBOrgIds, pIndex) || ', ';

919: -- Insert ICX_CAT_ITEMS_B
920: xShot := xShot || ' gIBRtItemIds: ' ||
921: ICX_POR_EXT_UTL.getTableElement(gIBRtItemIds, pIndex) || ', ';
922: xShot := xShot || ' gIBOrgIds: ' ||
923: ICX_POR_EXT_UTL.getTableElement(gIBOrgIds, pIndex) || ', ';
924: xShot := xShot || ' gIBSupplierIds: ' ||
925: ICX_POR_EXT_UTL.getTableElement(gIBSupplierIds, pIndex) || ', ';
926: xShot := xShot || ' gIBSuppliers: ' ||
927: ICX_POR_EXT_UTL.getTableElement(gIBSuppliers, pIndex) || ', ';

Line 925: ICX_POR_EXT_UTL.getTableElement(gIBSupplierIds, pIndex) || ', ';

921: ICX_POR_EXT_UTL.getTableElement(gIBRtItemIds, pIndex) || ', ';
922: xShot := xShot || ' gIBOrgIds: ' ||
923: ICX_POR_EXT_UTL.getTableElement(gIBOrgIds, pIndex) || ', ';
924: xShot := xShot || ' gIBSupplierIds: ' ||
925: ICX_POR_EXT_UTL.getTableElement(gIBSupplierIds, pIndex) || ', ';
926: xShot := xShot || ' gIBSuppliers: ' ||
927: ICX_POR_EXT_UTL.getTableElement(gIBSuppliers, pIndex) || ', ';
928: xShot := xShot || ' gIBSupplierPartNums: ' ||
929: ICX_POR_EXT_UTL.getTableElement(gIBSupplierPartNums, pIndex) || ', ';

Line 927: ICX_POR_EXT_UTL.getTableElement(gIBSuppliers, pIndex) || ', ';

923: ICX_POR_EXT_UTL.getTableElement(gIBOrgIds, pIndex) || ', ';
924: xShot := xShot || ' gIBSupplierIds: ' ||
925: ICX_POR_EXT_UTL.getTableElement(gIBSupplierIds, pIndex) || ', ';
926: xShot := xShot || ' gIBSuppliers: ' ||
927: ICX_POR_EXT_UTL.getTableElement(gIBSuppliers, pIndex) || ', ';
928: xShot := xShot || ' gIBSupplierPartNums: ' ||
929: ICX_POR_EXT_UTL.getTableElement(gIBSupplierPartNums, pIndex) || ', ';
930: xShot := xShot || ' gIBInternalItemIds: ' ||
931: ICX_POR_EXT_UTL.getTableElement(gIBInternalItemIds, pIndex) || ', ';

Line 929: ICX_POR_EXT_UTL.getTableElement(gIBSupplierPartNums, pIndex) || ', ';

925: ICX_POR_EXT_UTL.getTableElement(gIBSupplierIds, pIndex) || ', ';
926: xShot := xShot || ' gIBSuppliers: ' ||
927: ICX_POR_EXT_UTL.getTableElement(gIBSuppliers, pIndex) || ', ';
928: xShot := xShot || ' gIBSupplierPartNums: ' ||
929: ICX_POR_EXT_UTL.getTableElement(gIBSupplierPartNums, pIndex) || ', ';
930: xShot := xShot || ' gIBInternalItemIds: ' ||
931: ICX_POR_EXT_UTL.getTableElement(gIBInternalItemIds, pIndex) || ', ';
932: xShot := xShot || ' gIBInternalItemNums: ' ||
933: ICX_POR_EXT_UTL.getTableElement(gIBInternalItemNums, pIndex) || ', ';

Line 931: ICX_POR_EXT_UTL.getTableElement(gIBInternalItemIds, pIndex) || ', ';

927: ICX_POR_EXT_UTL.getTableElement(gIBSuppliers, pIndex) || ', ';
928: xShot := xShot || ' gIBSupplierPartNums: ' ||
929: ICX_POR_EXT_UTL.getTableElement(gIBSupplierPartNums, pIndex) || ', ';
930: xShot := xShot || ' gIBInternalItemIds: ' ||
931: ICX_POR_EXT_UTL.getTableElement(gIBInternalItemIds, pIndex) || ', ';
932: xShot := xShot || ' gIBInternalItemNums: ' ||
933: ICX_POR_EXT_UTL.getTableElement(gIBInternalItemNums, pIndex) || ', ';
934: ELSIF (pMode = 'UPDATE_ITEMS_B') THEN
935: -- Update ICX_CAT_ITEMS_B

Line 933: ICX_POR_EXT_UTL.getTableElement(gIBInternalItemNums, pIndex) || ', ';

929: ICX_POR_EXT_UTL.getTableElement(gIBSupplierPartNums, pIndex) || ', ';
930: xShot := xShot || ' gIBInternalItemIds: ' ||
931: ICX_POR_EXT_UTL.getTableElement(gIBInternalItemIds, pIndex) || ', ';
932: xShot := xShot || ' gIBInternalItemNums: ' ||
933: ICX_POR_EXT_UTL.getTableElement(gIBInternalItemNums, pIndex) || ', ';
934: ELSIF (pMode = 'UPDATE_ITEMS_B') THEN
935: -- Update ICX_CAT_ITEMS_B
936: xShot := xShot || ' gUBRtItemIds: ' ||
937: ICX_POR_EXT_UTL.getTableElement(gUBRtItemIds, pIndex) || ', ';

Line 937: ICX_POR_EXT_UTL.getTableElement(gUBRtItemIds, pIndex) || ', ';

933: ICX_POR_EXT_UTL.getTableElement(gIBInternalItemNums, pIndex) || ', ';
934: ELSIF (pMode = 'UPDATE_ITEMS_B') THEN
935: -- Update ICX_CAT_ITEMS_B
936: xShot := xShot || ' gUBRtItemIds: ' ||
937: ICX_POR_EXT_UTL.getTableElement(gUBRtItemIds, pIndex) || ', ';
938: xShot := xShot || ' gUBInternalItemNums: ' ||
939: ICX_POR_EXT_UTL.getTableElement(gUBInternalItemNums, pIndex) || ', ';
940: xShot := xShot || ' gUBExtractorUpdatedFlags: ' ||
941: ICX_POR_EXT_UTL.getTableElement(gUBExtractorUpdatedFlags, pIndex) || ', ';

Line 939: ICX_POR_EXT_UTL.getTableElement(gUBInternalItemNums, pIndex) || ', ';

935: -- Update ICX_CAT_ITEMS_B
936: xShot := xShot || ' gUBRtItemIds: ' ||
937: ICX_POR_EXT_UTL.getTableElement(gUBRtItemIds, pIndex) || ', ';
938: xShot := xShot || ' gUBInternalItemNums: ' ||
939: ICX_POR_EXT_UTL.getTableElement(gUBInternalItemNums, pIndex) || ', ';
940: xShot := xShot || ' gUBExtractorUpdatedFlags: ' ||
941: ICX_POR_EXT_UTL.getTableElement(gUBExtractorUpdatedFlags, pIndex) || ', ';
942: xShot := xShot || ' gUBJobNumbers: ' ||
943: ICX_POR_EXT_UTL.getTableElement(gUBJobNumbers, pIndex);

Line 941: ICX_POR_EXT_UTL.getTableElement(gUBExtractorUpdatedFlags, pIndex) || ', ';

937: ICX_POR_EXT_UTL.getTableElement(gUBRtItemIds, pIndex) || ', ';
938: xShot := xShot || ' gUBInternalItemNums: ' ||
939: ICX_POR_EXT_UTL.getTableElement(gUBInternalItemNums, pIndex) || ', ';
940: xShot := xShot || ' gUBExtractorUpdatedFlags: ' ||
941: ICX_POR_EXT_UTL.getTableElement(gUBExtractorUpdatedFlags, pIndex) || ', ';
942: xShot := xShot || ' gUBJobNumbers: ' ||
943: ICX_POR_EXT_UTL.getTableElement(gUBJobNumbers, pIndex);
944: ELSIF (pMode = 'INSERT_ITEMS_TLP') THEN
945: -- Insert ICX_CAT_ITEMS_TLP

Line 943: ICX_POR_EXT_UTL.getTableElement(gUBJobNumbers, pIndex);

939: ICX_POR_EXT_UTL.getTableElement(gUBInternalItemNums, pIndex) || ', ';
940: xShot := xShot || ' gUBExtractorUpdatedFlags: ' ||
941: ICX_POR_EXT_UTL.getTableElement(gUBExtractorUpdatedFlags, pIndex) || ', ';
942: xShot := xShot || ' gUBJobNumbers: ' ||
943: ICX_POR_EXT_UTL.getTableElement(gUBJobNumbers, pIndex);
944: ELSIF (pMode = 'INSERT_ITEMS_TLP') THEN
945: -- Insert ICX_CAT_ITEMS_TLP
946: xShot := xShot || ' gITRtItemIds: ' ||
947: ICX_POR_EXT_UTL.getTableElement(gITRtItemIds, pIndex) || ', ';

Line 947: ICX_POR_EXT_UTL.getTableElement(gITRtItemIds, pIndex) || ', ';

943: ICX_POR_EXT_UTL.getTableElement(gUBJobNumbers, pIndex);
944: ELSIF (pMode = 'INSERT_ITEMS_TLP') THEN
945: -- Insert ICX_CAT_ITEMS_TLP
946: xShot := xShot || ' gITRtItemIds: ' ||
947: ICX_POR_EXT_UTL.getTableElement(gITRtItemIds, pIndex) || ', ';
948: xShot := xShot || ' gITLanguages: ' ||
949: ICX_POR_EXT_UTL.getTableElement(gITLanguages, pIndex) || ', ';
950: xShot := xShot || ' gITOrgIds: ' ||
951: ICX_POR_EXT_UTL.getTableElement(gITOrgIds, pIndex) || ', ';

Line 949: ICX_POR_EXT_UTL.getTableElement(gITLanguages, pIndex) || ', ';

945: -- Insert ICX_CAT_ITEMS_TLP
946: xShot := xShot || ' gITRtItemIds: ' ||
947: ICX_POR_EXT_UTL.getTableElement(gITRtItemIds, pIndex) || ', ';
948: xShot := xShot || ' gITLanguages: ' ||
949: ICX_POR_EXT_UTL.getTableElement(gITLanguages, pIndex) || ', ';
950: xShot := xShot || ' gITOrgIds: ' ||
951: ICX_POR_EXT_UTL.getTableElement(gITOrgIds, pIndex) || ', ';
952: xShot := xShot || ' gITSupplierIds: ' ||
953: ICX_POR_EXT_UTL.getTableElement(gITSupplierIds, pIndex) || ', ';

Line 951: ICX_POR_EXT_UTL.getTableElement(gITOrgIds, pIndex) || ', ';

947: ICX_POR_EXT_UTL.getTableElement(gITRtItemIds, pIndex) || ', ';
948: xShot := xShot || ' gITLanguages: ' ||
949: ICX_POR_EXT_UTL.getTableElement(gITLanguages, pIndex) || ', ';
950: xShot := xShot || ' gITOrgIds: ' ||
951: ICX_POR_EXT_UTL.getTableElement(gITOrgIds, pIndex) || ', ';
952: xShot := xShot || ' gITSupplierIds: ' ||
953: ICX_POR_EXT_UTL.getTableElement(gITSupplierIds, pIndex) || ', ';
954: xShot := xShot || ' gITItemSourceTypes: ' ||
955: ICX_POR_EXT_UTL.getTableElement(gITItemSourceTypes, pIndex) || ', ';

Line 953: ICX_POR_EXT_UTL.getTableElement(gITSupplierIds, pIndex) || ', ';

949: ICX_POR_EXT_UTL.getTableElement(gITLanguages, pIndex) || ', ';
950: xShot := xShot || ' gITOrgIds: ' ||
951: ICX_POR_EXT_UTL.getTableElement(gITOrgIds, pIndex) || ', ';
952: xShot := xShot || ' gITSupplierIds: ' ||
953: ICX_POR_EXT_UTL.getTableElement(gITSupplierIds, pIndex) || ', ';
954: xShot := xShot || ' gITItemSourceTypes: ' ||
955: ICX_POR_EXT_UTL.getTableElement(gITItemSourceTypes, pIndex) || ', ';
956: xShot := xShot || ' gITSearchTypes: ' ||
957: ICX_POR_EXT_UTL.getTableElement(gITSearchTypes, pIndex) || ', ';

Line 955: ICX_POR_EXT_UTL.getTableElement(gITItemSourceTypes, pIndex) || ', ';

951: ICX_POR_EXT_UTL.getTableElement(gITOrgIds, pIndex) || ', ';
952: xShot := xShot || ' gITSupplierIds: ' ||
953: ICX_POR_EXT_UTL.getTableElement(gITSupplierIds, pIndex) || ', ';
954: xShot := xShot || ' gITItemSourceTypes: ' ||
955: ICX_POR_EXT_UTL.getTableElement(gITItemSourceTypes, pIndex) || ', ';
956: xShot := xShot || ' gITSearchTypes: ' ||
957: ICX_POR_EXT_UTL.getTableElement(gITSearchTypes, pIndex) || ', ';
958: xShot := xShot || ' gITPrimaryCategoryIds: ' ||
959: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryIds, pIndex) || ', ';

Line 957: ICX_POR_EXT_UTL.getTableElement(gITSearchTypes, pIndex) || ', ';

953: ICX_POR_EXT_UTL.getTableElement(gITSupplierIds, pIndex) || ', ';
954: xShot := xShot || ' gITItemSourceTypes: ' ||
955: ICX_POR_EXT_UTL.getTableElement(gITItemSourceTypes, pIndex) || ', ';
956: xShot := xShot || ' gITSearchTypes: ' ||
957: ICX_POR_EXT_UTL.getTableElement(gITSearchTypes, pIndex) || ', ';
958: xShot := xShot || ' gITPrimaryCategoryIds: ' ||
959: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryIds, pIndex) || ', ';
960: xShot := xShot || ' gITPrimaryCategoryNames: ' ||
961: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryNames, pIndex) || ', ';

Line 959: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryIds, pIndex) || ', ';

955: ICX_POR_EXT_UTL.getTableElement(gITItemSourceTypes, pIndex) || ', ';
956: xShot := xShot || ' gITSearchTypes: ' ||
957: ICX_POR_EXT_UTL.getTableElement(gITSearchTypes, pIndex) || ', ';
958: xShot := xShot || ' gITPrimaryCategoryIds: ' ||
959: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryIds, pIndex) || ', ';
960: xShot := xShot || ' gITPrimaryCategoryNames: ' ||
961: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryNames, pIndex) || ', ';
962: xShot := xShot || ' gITInternalItemIds: ' ||
963: ICX_POR_EXT_UTL.getTableElement(gITInternalItemIds, pIndex) || ', ';

Line 961: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryNames, pIndex) || ', ';

957: ICX_POR_EXT_UTL.getTableElement(gITSearchTypes, pIndex) || ', ';
958: xShot := xShot || ' gITPrimaryCategoryIds: ' ||
959: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryIds, pIndex) || ', ';
960: xShot := xShot || ' gITPrimaryCategoryNames: ' ||
961: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryNames, pIndex) || ', ';
962: xShot := xShot || ' gITInternalItemIds: ' ||
963: ICX_POR_EXT_UTL.getTableElement(gITInternalItemIds, pIndex) || ', ';
964: xShot := xShot || ' gITInternalItemNums: ' ||
965: ICX_POR_EXT_UTL.getTableElement(gITInternalItemNums, pIndex) || ', ';

Line 963: ICX_POR_EXT_UTL.getTableElement(gITInternalItemIds, pIndex) || ', ';

959: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryIds, pIndex) || ', ';
960: xShot := xShot || ' gITPrimaryCategoryNames: ' ||
961: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryNames, pIndex) || ', ';
962: xShot := xShot || ' gITInternalItemIds: ' ||
963: ICX_POR_EXT_UTL.getTableElement(gITInternalItemIds, pIndex) || ', ';
964: xShot := xShot || ' gITInternalItemNums: ' ||
965: ICX_POR_EXT_UTL.getTableElement(gITInternalItemNums, pIndex) || ', ';
966: xShot := xShot || ' gITSuppliers: ' ||
967: ICX_POR_EXT_UTL.getTableElement(gITSuppliers, pIndex) || ', ';

Line 965: ICX_POR_EXT_UTL.getTableElement(gITInternalItemNums, pIndex) || ', ';

961: ICX_POR_EXT_UTL.getTableElement(gITPrimaryCategoryNames, pIndex) || ', ';
962: xShot := xShot || ' gITInternalItemIds: ' ||
963: ICX_POR_EXT_UTL.getTableElement(gITInternalItemIds, pIndex) || ', ';
964: xShot := xShot || ' gITInternalItemNums: ' ||
965: ICX_POR_EXT_UTL.getTableElement(gITInternalItemNums, pIndex) || ', ';
966: xShot := xShot || ' gITSuppliers: ' ||
967: ICX_POR_EXT_UTL.getTableElement(gITSuppliers, pIndex) || ', ';
968: xShot := xShot || ' gITSupplierPartNums: ' ||
969: ICX_POR_EXT_UTL.getTableElement(gITSupplierPartNums, pIndex) || ', ';

Line 967: ICX_POR_EXT_UTL.getTableElement(gITSuppliers, pIndex) || ', ';

963: ICX_POR_EXT_UTL.getTableElement(gITInternalItemIds, pIndex) || ', ';
964: xShot := xShot || ' gITInternalItemNums: ' ||
965: ICX_POR_EXT_UTL.getTableElement(gITInternalItemNums, pIndex) || ', ';
966: xShot := xShot || ' gITSuppliers: ' ||
967: ICX_POR_EXT_UTL.getTableElement(gITSuppliers, pIndex) || ', ';
968: xShot := xShot || ' gITSupplierPartNums: ' ||
969: ICX_POR_EXT_UTL.getTableElement(gITSupplierPartNums, pIndex) || ', ';
970: xShot := xShot || ' gITDescriptions: ' ||
971: ICX_POR_EXT_UTL.getTableElement(gITDescriptions, pIndex) || ', ';

Line 969: ICX_POR_EXT_UTL.getTableElement(gITSupplierPartNums, pIndex) || ', ';

965: ICX_POR_EXT_UTL.getTableElement(gITInternalItemNums, pIndex) || ', ';
966: xShot := xShot || ' gITSuppliers: ' ||
967: ICX_POR_EXT_UTL.getTableElement(gITSuppliers, pIndex) || ', ';
968: xShot := xShot || ' gITSupplierPartNums: ' ||
969: ICX_POR_EXT_UTL.getTableElement(gITSupplierPartNums, pIndex) || ', ';
970: xShot := xShot || ' gITDescriptions: ' ||
971: ICX_POR_EXT_UTL.getTableElement(gITDescriptions, pIndex) || ', ';
972: xShot := xShot || ' gITPictures: ' ||
973: ICX_POR_EXT_UTL.getTableElement(gITPictures, pIndex) || ', ';

Line 971: ICX_POR_EXT_UTL.getTableElement(gITDescriptions, pIndex) || ', ';

967: ICX_POR_EXT_UTL.getTableElement(gITSuppliers, pIndex) || ', ';
968: xShot := xShot || ' gITSupplierPartNums: ' ||
969: ICX_POR_EXT_UTL.getTableElement(gITSupplierPartNums, pIndex) || ', ';
970: xShot := xShot || ' gITDescriptions: ' ||
971: ICX_POR_EXT_UTL.getTableElement(gITDescriptions, pIndex) || ', ';
972: xShot := xShot || ' gITPictures: ' ||
973: ICX_POR_EXT_UTL.getTableElement(gITPictures, pIndex) || ', ';
974: xShot := xShot || ' gITPictureURLs: ' ||
975: ICX_POR_EXT_UTL.getTableElement(gITPictureURLs, pIndex) || ', ';

Line 973: ICX_POR_EXT_UTL.getTableElement(gITPictures, pIndex) || ', ';

969: ICX_POR_EXT_UTL.getTableElement(gITSupplierPartNums, pIndex) || ', ';
970: xShot := xShot || ' gITDescriptions: ' ||
971: ICX_POR_EXT_UTL.getTableElement(gITDescriptions, pIndex) || ', ';
972: xShot := xShot || ' gITPictures: ' ||
973: ICX_POR_EXT_UTL.getTableElement(gITPictures, pIndex) || ', ';
974: xShot := xShot || ' gITPictureURLs: ' ||
975: ICX_POR_EXT_UTL.getTableElement(gITPictureURLs, pIndex) || ', ';
976: xShot := xShot || ' gITManufacturers: ' ||
977: ICX_POR_EXT_UTL.getTableElement(gITManufacturers, pIndex) || ', ';

Line 975: ICX_POR_EXT_UTL.getTableElement(gITPictureURLs, pIndex) || ', ';

971: ICX_POR_EXT_UTL.getTableElement(gITDescriptions, pIndex) || ', ';
972: xShot := xShot || ' gITPictures: ' ||
973: ICX_POR_EXT_UTL.getTableElement(gITPictures, pIndex) || ', ';
974: xShot := xShot || ' gITPictureURLs: ' ||
975: ICX_POR_EXT_UTL.getTableElement(gITPictureURLs, pIndex) || ', ';
976: xShot := xShot || ' gITManufacturers: ' ||
977: ICX_POR_EXT_UTL.getTableElement(gITManufacturers, pIndex) || ', ';
978: xShot := xShot || ' gITManufacturerPartNums: ' ||
979: ICX_POR_EXT_UTL.getTableElement(gITManufacturerPartNums, pIndex);

Line 977: ICX_POR_EXT_UTL.getTableElement(gITManufacturers, pIndex) || ', ';

973: ICX_POR_EXT_UTL.getTableElement(gITPictures, pIndex) || ', ';
974: xShot := xShot || ' gITPictureURLs: ' ||
975: ICX_POR_EXT_UTL.getTableElement(gITPictureURLs, pIndex) || ', ';
976: xShot := xShot || ' gITManufacturers: ' ||
977: ICX_POR_EXT_UTL.getTableElement(gITManufacturers, pIndex) || ', ';
978: xShot := xShot || ' gITManufacturerPartNums: ' ||
979: ICX_POR_EXT_UTL.getTableElement(gITManufacturerPartNums, pIndex);
980: ELSIF (pMode = 'UPDATE_ITEMS_TLP') THEN
981: -- Update ICX_CAT_ITEMS_TLP

Line 979: ICX_POR_EXT_UTL.getTableElement(gITManufacturerPartNums, pIndex);

975: ICX_POR_EXT_UTL.getTableElement(gITPictureURLs, pIndex) || ', ';
976: xShot := xShot || ' gITManufacturers: ' ||
977: ICX_POR_EXT_UTL.getTableElement(gITManufacturers, pIndex) || ', ';
978: xShot := xShot || ' gITManufacturerPartNums: ' ||
979: ICX_POR_EXT_UTL.getTableElement(gITManufacturerPartNums, pIndex);
980: ELSIF (pMode = 'UPDATE_ITEMS_TLP') THEN
981: -- Update ICX_CAT_ITEMS_TLP
982: xShot := xShot || ' gUTRtItemIds: ' ||
983: ICX_POR_EXT_UTL.getTableElement(gUTRtItemIds, pIndex) || ', ';

Line 983: ICX_POR_EXT_UTL.getTableElement(gUTRtItemIds, pIndex) || ', ';

979: ICX_POR_EXT_UTL.getTableElement(gITManufacturerPartNums, pIndex);
980: ELSIF (pMode = 'UPDATE_ITEMS_TLP') THEN
981: -- Update ICX_CAT_ITEMS_TLP
982: xShot := xShot || ' gUTRtItemIds: ' ||
983: ICX_POR_EXT_UTL.getTableElement(gUTRtItemIds, pIndex) || ', ';
984: xShot := xShot || ' gUTLanguages: ' ||
985: ICX_POR_EXT_UTL.getTableElement(gUTLanguages, pIndex) || ', ';
986: xShot := xShot || ' gUTItemSourceTypes: ' ||
987: ICX_POR_EXT_UTL.getTableElement(gUTItemSourceTypes, pIndex) || ', ';

Line 985: ICX_POR_EXT_UTL.getTableElement(gUTLanguages, pIndex) || ', ';

981: -- Update ICX_CAT_ITEMS_TLP
982: xShot := xShot || ' gUTRtItemIds: ' ||
983: ICX_POR_EXT_UTL.getTableElement(gUTRtItemIds, pIndex) || ', ';
984: xShot := xShot || ' gUTLanguages: ' ||
985: ICX_POR_EXT_UTL.getTableElement(gUTLanguages, pIndex) || ', ';
986: xShot := xShot || ' gUTItemSourceTypes: ' ||
987: ICX_POR_EXT_UTL.getTableElement(gUTItemSourceTypes, pIndex) || ', ';
988: xShot := xShot || ' gUTSearchTypes: ' ||
989: ICX_POR_EXT_UTL.getTableElement(gUTSearchTypes, pIndex) || ', ';

Line 987: ICX_POR_EXT_UTL.getTableElement(gUTItemSourceTypes, pIndex) || ', ';

983: ICX_POR_EXT_UTL.getTableElement(gUTRtItemIds, pIndex) || ', ';
984: xShot := xShot || ' gUTLanguages: ' ||
985: ICX_POR_EXT_UTL.getTableElement(gUTLanguages, pIndex) || ', ';
986: xShot := xShot || ' gUTItemSourceTypes: ' ||
987: ICX_POR_EXT_UTL.getTableElement(gUTItemSourceTypes, pIndex) || ', ';
988: xShot := xShot || ' gUTSearchTypes: ' ||
989: ICX_POR_EXT_UTL.getTableElement(gUTSearchTypes, pIndex) || ', ';
990: xShot := xShot || ' gUTPrimaryCategoryIds: ' ||
991: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryIds, pIndex) || ', ';

Line 989: ICX_POR_EXT_UTL.getTableElement(gUTSearchTypes, pIndex) || ', ';

985: ICX_POR_EXT_UTL.getTableElement(gUTLanguages, pIndex) || ', ';
986: xShot := xShot || ' gUTItemSourceTypes: ' ||
987: ICX_POR_EXT_UTL.getTableElement(gUTItemSourceTypes, pIndex) || ', ';
988: xShot := xShot || ' gUTSearchTypes: ' ||
989: ICX_POR_EXT_UTL.getTableElement(gUTSearchTypes, pIndex) || ', ';
990: xShot := xShot || ' gUTPrimaryCategoryIds: ' ||
991: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryIds, pIndex) || ', ';
992: xShot := xShot || ' gUTPrimaryCategoryNames: ' ||
993: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryNames, pIndex) || ', ';

Line 991: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryIds, pIndex) || ', ';

987: ICX_POR_EXT_UTL.getTableElement(gUTItemSourceTypes, pIndex) || ', ';
988: xShot := xShot || ' gUTSearchTypes: ' ||
989: ICX_POR_EXT_UTL.getTableElement(gUTSearchTypes, pIndex) || ', ';
990: xShot := xShot || ' gUTPrimaryCategoryIds: ' ||
991: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryIds, pIndex) || ', ';
992: xShot := xShot || ' gUTPrimaryCategoryNames: ' ||
993: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryNames, pIndex) || ', ';
994: xShot := xShot || ' gUTInternalItemNums: ' ||
995: ICX_POR_EXT_UTL.getTableElement(gUTInternalItemNums, pIndex) || ', ';

Line 993: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryNames, pIndex) || ', ';

989: ICX_POR_EXT_UTL.getTableElement(gUTSearchTypes, pIndex) || ', ';
990: xShot := xShot || ' gUTPrimaryCategoryIds: ' ||
991: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryIds, pIndex) || ', ';
992: xShot := xShot || ' gUTPrimaryCategoryNames: ' ||
993: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryNames, pIndex) || ', ';
994: xShot := xShot || ' gUTInternalItemNums: ' ||
995: ICX_POR_EXT_UTL.getTableElement(gUTInternalItemNums, pIndex) || ', ';
996: xShot := xShot || ' gUTDescriptions: ' ||
997: ICX_POR_EXT_UTL.getTableElement(gUTDescriptions, pIndex) || ', ';

Line 995: ICX_POR_EXT_UTL.getTableElement(gUTInternalItemNums, pIndex) || ', ';

991: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryIds, pIndex) || ', ';
992: xShot := xShot || ' gUTPrimaryCategoryNames: ' ||
993: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryNames, pIndex) || ', ';
994: xShot := xShot || ' gUTInternalItemNums: ' ||
995: ICX_POR_EXT_UTL.getTableElement(gUTInternalItemNums, pIndex) || ', ';
996: xShot := xShot || ' gUTDescriptions: ' ||
997: ICX_POR_EXT_UTL.getTableElement(gUTDescriptions, pIndex) || ', ';
998: xShot := xShot || ' gUTPictures: ' ||
999: ICX_POR_EXT_UTL.getTableElement(gUTPictures, pIndex) || ', ';

Line 997: ICX_POR_EXT_UTL.getTableElement(gUTDescriptions, pIndex) || ', ';

993: ICX_POR_EXT_UTL.getTableElement(gUTPrimaryCategoryNames, pIndex) || ', ';
994: xShot := xShot || ' gUTInternalItemNums: ' ||
995: ICX_POR_EXT_UTL.getTableElement(gUTInternalItemNums, pIndex) || ', ';
996: xShot := xShot || ' gUTDescriptions: ' ||
997: ICX_POR_EXT_UTL.getTableElement(gUTDescriptions, pIndex) || ', ';
998: xShot := xShot || ' gUTPictures: ' ||
999: ICX_POR_EXT_UTL.getTableElement(gUTPictures, pIndex) || ', ';
1000: xShot := xShot || ' gUTPictureURLs: ' ||
1001: ICX_POR_EXT_UTL.getTableElement(gUTPictureURLs, pIndex) || ', ';

Line 999: ICX_POR_EXT_UTL.getTableElement(gUTPictures, pIndex) || ', ';

995: ICX_POR_EXT_UTL.getTableElement(gUTInternalItemNums, pIndex) || ', ';
996: xShot := xShot || ' gUTDescriptions: ' ||
997: ICX_POR_EXT_UTL.getTableElement(gUTDescriptions, pIndex) || ', ';
998: xShot := xShot || ' gUTPictures: ' ||
999: ICX_POR_EXT_UTL.getTableElement(gUTPictures, pIndex) || ', ';
1000: xShot := xShot || ' gUTPictureURLs: ' ||
1001: ICX_POR_EXT_UTL.getTableElement(gUTPictureURLs, pIndex) || ', ';
1002: xShot := xShot || ' gUTManufacturers: ' ||
1003: ICX_POR_EXT_UTL.getTableElement(gUTManufacturers, pIndex) || ', ';

Line 1001: ICX_POR_EXT_UTL.getTableElement(gUTPictureURLs, pIndex) || ', ';

997: ICX_POR_EXT_UTL.getTableElement(gUTDescriptions, pIndex) || ', ';
998: xShot := xShot || ' gUTPictures: ' ||
999: ICX_POR_EXT_UTL.getTableElement(gUTPictures, pIndex) || ', ';
1000: xShot := xShot || ' gUTPictureURLs: ' ||
1001: ICX_POR_EXT_UTL.getTableElement(gUTPictureURLs, pIndex) || ', ';
1002: xShot := xShot || ' gUTManufacturers: ' ||
1003: ICX_POR_EXT_UTL.getTableElement(gUTManufacturers, pIndex) || ', ';
1004: xShot := xShot || ' gUTManufacturerPartNums: ' ||
1005: ICX_POR_EXT_UTL.getTableElement(gUTManufacturerPartNums, pIndex);

Line 1003: ICX_POR_EXT_UTL.getTableElement(gUTManufacturers, pIndex) || ', ';

999: ICX_POR_EXT_UTL.getTableElement(gUTPictures, pIndex) || ', ';
1000: xShot := xShot || ' gUTPictureURLs: ' ||
1001: ICX_POR_EXT_UTL.getTableElement(gUTPictureURLs, pIndex) || ', ';
1002: xShot := xShot || ' gUTManufacturers: ' ||
1003: ICX_POR_EXT_UTL.getTableElement(gUTManufacturers, pIndex) || ', ';
1004: xShot := xShot || ' gUTManufacturerPartNums: ' ||
1005: ICX_POR_EXT_UTL.getTableElement(gUTManufacturerPartNums, pIndex);
1006: ELSIF (pMode = 'INSERT_CATEGORY_ITEMS') THEN
1007: -- Insert ICX_CAT_CATEGORY_ITEMS

Line 1005: ICX_POR_EXT_UTL.getTableElement(gUTManufacturerPartNums, pIndex);

1001: ICX_POR_EXT_UTL.getTableElement(gUTPictureURLs, pIndex) || ', ';
1002: xShot := xShot || ' gUTManufacturers: ' ||
1003: ICX_POR_EXT_UTL.getTableElement(gUTManufacturers, pIndex) || ', ';
1004: xShot := xShot || ' gUTManufacturerPartNums: ' ||
1005: ICX_POR_EXT_UTL.getTableElement(gUTManufacturerPartNums, pIndex);
1006: ELSIF (pMode = 'INSERT_CATEGORY_ITEMS') THEN
1007: -- Insert ICX_CAT_CATEGORY_ITEMS
1008: xShot := xShot || ' gICRtItemIds: ' ||
1009: ICX_POR_EXT_UTL.getTableElement(gICRtItemIds, pIndex) || ', ';

Line 1009: ICX_POR_EXT_UTL.getTableElement(gICRtItemIds, pIndex) || ', ';

1005: ICX_POR_EXT_UTL.getTableElement(gUTManufacturerPartNums, pIndex);
1006: ELSIF (pMode = 'INSERT_CATEGORY_ITEMS') THEN
1007: -- Insert ICX_CAT_CATEGORY_ITEMS
1008: xShot := xShot || ' gICRtItemIds: ' ||
1009: ICX_POR_EXT_UTL.getTableElement(gICRtItemIds, pIndex) || ', ';
1010: xShot := xShot || ' gICRtCategoryIds: ' ||
1011: ICX_POR_EXT_UTL.getTableElement(gICRtCategoryIds, pIndex);
1012: ELSIF (pMode = 'UPDATE_CATEGORY_ITEMS') THEN
1013: -- Update ICX_CAT_CATEGORY_ITEMS

Line 1011: ICX_POR_EXT_UTL.getTableElement(gICRtCategoryIds, pIndex);

1007: -- Insert ICX_CAT_CATEGORY_ITEMS
1008: xShot := xShot || ' gICRtItemIds: ' ||
1009: ICX_POR_EXT_UTL.getTableElement(gICRtItemIds, pIndex) || ', ';
1010: xShot := xShot || ' gICRtCategoryIds: ' ||
1011: ICX_POR_EXT_UTL.getTableElement(gICRtCategoryIds, pIndex);
1012: ELSIF (pMode = 'UPDATE_CATEGORY_ITEMS') THEN
1013: -- Update ICX_CAT_CATEGORY_ITEMS
1014: xShot := xShot || ' gUCRtItemIds: ' ||
1015: ICX_POR_EXT_UTL.getTableElement(gUCRtItemIds, pIndex) || ', ';

Line 1015: ICX_POR_EXT_UTL.getTableElement(gUCRtItemIds, pIndex) || ', ';

1011: ICX_POR_EXT_UTL.getTableElement(gICRtCategoryIds, pIndex);
1012: ELSIF (pMode = 'UPDATE_CATEGORY_ITEMS') THEN
1013: -- Update ICX_CAT_CATEGORY_ITEMS
1014: xShot := xShot || ' gUCRtItemIds: ' ||
1015: ICX_POR_EXT_UTL.getTableElement(gUCRtItemIds, pIndex) || ', ';
1016: xShot := xShot || ' gUCRtCategoryIds: ' ||
1017: ICX_POR_EXT_UTL.getTableElement(gUCRtCategoryIds, pIndex) || ', ';
1018: xShot := xShot || ' gUCOldRtCategoryIds: ' ||
1019: ICX_POR_EXT_UTL.getTableElement(gUCOldRtCategoryIds, pIndex);

Line 1017: ICX_POR_EXT_UTL.getTableElement(gUCRtCategoryIds, pIndex) || ', ';

1013: -- Update ICX_CAT_CATEGORY_ITEMS
1014: xShot := xShot || ' gUCRtItemIds: ' ||
1015: ICX_POR_EXT_UTL.getTableElement(gUCRtItemIds, pIndex) || ', ';
1016: xShot := xShot || ' gUCRtCategoryIds: ' ||
1017: ICX_POR_EXT_UTL.getTableElement(gUCRtCategoryIds, pIndex) || ', ';
1018: xShot := xShot || ' gUCOldRtCategoryIds: ' ||
1019: ICX_POR_EXT_UTL.getTableElement(gUCOldRtCategoryIds, pIndex);
1020: ELSIF (pMode = 'INSERT_EXT_ITEMS') THEN
1021: -- Insert ICX_CAT_EXT_ITEMS_TLP

Line 1019: ICX_POR_EXT_UTL.getTableElement(gUCOldRtCategoryIds, pIndex);

1015: ICX_POR_EXT_UTL.getTableElement(gUCRtItemIds, pIndex) || ', ';
1016: xShot := xShot || ' gUCRtCategoryIds: ' ||
1017: ICX_POR_EXT_UTL.getTableElement(gUCRtCategoryIds, pIndex) || ', ';
1018: xShot := xShot || ' gUCOldRtCategoryIds: ' ||
1019: ICX_POR_EXT_UTL.getTableElement(gUCOldRtCategoryIds, pIndex);
1020: ELSIF (pMode = 'INSERT_EXT_ITEMS') THEN
1021: -- Insert ICX_CAT_EXT_ITEMS_TLP
1022: xShot := xShot || ' gIERtItemIds: ' ||
1023: ICX_POR_EXT_UTL.getTableElement(gIERtItemIds, pIndex) || ', ';

Line 1023: ICX_POR_EXT_UTL.getTableElement(gIERtItemIds, pIndex) || ', ';

1019: ICX_POR_EXT_UTL.getTableElement(gUCOldRtCategoryIds, pIndex);
1020: ELSIF (pMode = 'INSERT_EXT_ITEMS') THEN
1021: -- Insert ICX_CAT_EXT_ITEMS_TLP
1022: xShot := xShot || ' gIERtItemIds: ' ||
1023: ICX_POR_EXT_UTL.getTableElement(gIERtItemIds, pIndex) || ', ';
1024: xShot := xShot || ' gIEOrgIds: ' ||
1025: ICX_POR_EXT_UTL.getTableElement(gIEOrgIds, pIndex) || ', ';
1026: xShot := xShot || ' gIERtCategoryIds: ' ||
1027: ICX_POR_EXT_UTL.getTableElement(gIERtCategoryIds, pIndex);

Line 1025: ICX_POR_EXT_UTL.getTableElement(gIEOrgIds, pIndex) || ', ';

1021: -- Insert ICX_CAT_EXT_ITEMS_TLP
1022: xShot := xShot || ' gIERtItemIds: ' ||
1023: ICX_POR_EXT_UTL.getTableElement(gIERtItemIds, pIndex) || ', ';
1024: xShot := xShot || ' gIEOrgIds: ' ||
1025: ICX_POR_EXT_UTL.getTableElement(gIEOrgIds, pIndex) || ', ';
1026: xShot := xShot || ' gIERtCategoryIds: ' ||
1027: ICX_POR_EXT_UTL.getTableElement(gIERtCategoryIds, pIndex);
1028: ELSIF (pMode = 'UPDATE_EXT_ITEMS') THEN
1029: -- Update ICX_CAT_EXT_ITEMS_TLP

Line 1027: ICX_POR_EXT_UTL.getTableElement(gIERtCategoryIds, pIndex);

1023: ICX_POR_EXT_UTL.getTableElement(gIERtItemIds, pIndex) || ', ';
1024: xShot := xShot || ' gIEOrgIds: ' ||
1025: ICX_POR_EXT_UTL.getTableElement(gIEOrgIds, pIndex) || ', ';
1026: xShot := xShot || ' gIERtCategoryIds: ' ||
1027: ICX_POR_EXT_UTL.getTableElement(gIERtCategoryIds, pIndex);
1028: ELSIF (pMode = 'UPDATE_EXT_ITEMS') THEN
1029: -- Update ICX_CAT_EXT_ITEMS_TLP
1030: xShot := xShot || ' gUERtItemIds: ' ||
1031: ICX_POR_EXT_UTL.getTableElement(gUERtItemIds, pIndex) || ', ';

Line 1031: ICX_POR_EXT_UTL.getTableElement(gUERtItemIds, pIndex) || ', ';

1027: ICX_POR_EXT_UTL.getTableElement(gIERtCategoryIds, pIndex);
1028: ELSIF (pMode = 'UPDATE_EXT_ITEMS') THEN
1029: -- Update ICX_CAT_EXT_ITEMS_TLP
1030: xShot := xShot || ' gUERtItemIds: ' ||
1031: ICX_POR_EXT_UTL.getTableElement(gUERtItemIds, pIndex) || ', ';
1032: xShot := xShot || ' gUERtCategoryIds: ' ||
1033: ICX_POR_EXT_UTL.getTableElement(gUERtCategoryIds, pIndex) || ', ';
1034: xShot := xShot || ' gUEOldRtCategoryIds: ' ||
1035: ICX_POR_EXT_UTL.getTableElement(gUEOldRtCategoryIds, pIndex);

Line 1033: ICX_POR_EXT_UTL.getTableElement(gUERtCategoryIds, pIndex) || ', ';

1029: -- Update ICX_CAT_EXT_ITEMS_TLP
1030: xShot := xShot || ' gUERtItemIds: ' ||
1031: ICX_POR_EXT_UTL.getTableElement(gUERtItemIds, pIndex) || ', ';
1032: xShot := xShot || ' gUERtCategoryIds: ' ||
1033: ICX_POR_EXT_UTL.getTableElement(gUERtCategoryIds, pIndex) || ', ';
1034: xShot := xShot || ' gUEOldRtCategoryIds: ' ||
1035: ICX_POR_EXT_UTL.getTableElement(gUEOldRtCategoryIds, pIndex);
1036: ELSIF (pMode = 'DELETE_ITEM_PRICE') THEN
1037: -- Delete Item Price

Line 1035: ICX_POR_EXT_UTL.getTableElement(gUEOldRtCategoryIds, pIndex);

1031: ICX_POR_EXT_UTL.getTableElement(gUERtItemIds, pIndex) || ', ';
1032: xShot := xShot || ' gUERtCategoryIds: ' ||
1033: ICX_POR_EXT_UTL.getTableElement(gUERtCategoryIds, pIndex) || ', ';
1034: xShot := xShot || ' gUEOldRtCategoryIds: ' ||
1035: ICX_POR_EXT_UTL.getTableElement(gUEOldRtCategoryIds, pIndex);
1036: ELSIF (pMode = 'DELETE_ITEM_PRICE') THEN
1037: -- Delete Item Price
1038: xShot := xShot || ' gDPRowIds: ' ||
1039: ICX_POR_EXT_UTL.getTableElement(gDPRowIds, pIndex) || ', ';

Line 1039: ICX_POR_EXT_UTL.getTableElement(gDPRowIds, pIndex) || ', ';

1035: ICX_POR_EXT_UTL.getTableElement(gUEOldRtCategoryIds, pIndex);
1036: ELSIF (pMode = 'DELETE_ITEM_PRICE') THEN
1037: -- Delete Item Price
1038: xShot := xShot || ' gDPRowIds: ' ||
1039: ICX_POR_EXT_UTL.getTableElement(gDPRowIds, pIndex) || ', ';
1040: xShot := xShot || ' gDPTemplateCategoryIds: ' ||
1041: ICX_POR_EXT_UTL.getTableElement(gDPTemplateCategoryIds, pIndex) || ', ';
1042: xShot := xShot || ' gDPRtItemIds: ' ||
1043: ICX_POR_EXT_UTL.getTableElement(gDPRtItemIds, pIndex) || ', ';

Line 1041: ICX_POR_EXT_UTL.getTableElement(gDPTemplateCategoryIds, pIndex) || ', ';

1037: -- Delete Item Price
1038: xShot := xShot || ' gDPRowIds: ' ||
1039: ICX_POR_EXT_UTL.getTableElement(gDPRowIds, pIndex) || ', ';
1040: xShot := xShot || ' gDPTemplateCategoryIds: ' ||
1041: ICX_POR_EXT_UTL.getTableElement(gDPTemplateCategoryIds, pIndex) || ', ';
1042: xShot := xShot || ' gDPRtItemIds: ' ||
1043: ICX_POR_EXT_UTL.getTableElement(gDPRtItemIds, pIndex) || ', ';
1044: xShot := xShot || ' gDPInventoryItemIds: ' ||
1045: ICX_POR_EXT_UTL.getTableElement(gDPInventoryItemIds, pIndex) || ', ';

Line 1043: ICX_POR_EXT_UTL.getTableElement(gDPRtItemIds, pIndex) || ', ';

1039: ICX_POR_EXT_UTL.getTableElement(gDPRowIds, pIndex) || ', ';
1040: xShot := xShot || ' gDPTemplateCategoryIds: ' ||
1041: ICX_POR_EXT_UTL.getTableElement(gDPTemplateCategoryIds, pIndex) || ', ';
1042: xShot := xShot || ' gDPRtItemIds: ' ||
1043: ICX_POR_EXT_UTL.getTableElement(gDPRtItemIds, pIndex) || ', ';
1044: xShot := xShot || ' gDPInventoryItemIds: ' ||
1045: ICX_POR_EXT_UTL.getTableElement(gDPInventoryItemIds, pIndex) || ', ';
1046: xShot := xShot || ' gDPOrgIds: ' ||
1047: ICX_POR_EXT_UTL.getTableElement(gDPOrgIds, pIndex) || ', ';

Line 1045: ICX_POR_EXT_UTL.getTableElement(gDPInventoryItemIds, pIndex) || ', ';

1041: ICX_POR_EXT_UTL.getTableElement(gDPTemplateCategoryIds, pIndex) || ', ';
1042: xShot := xShot || ' gDPRtItemIds: ' ||
1043: ICX_POR_EXT_UTL.getTableElement(gDPRtItemIds, pIndex) || ', ';
1044: xShot := xShot || ' gDPInventoryItemIds: ' ||
1045: ICX_POR_EXT_UTL.getTableElement(gDPInventoryItemIds, pIndex) || ', ';
1046: xShot := xShot || ' gDPOrgIds: ' ||
1047: ICX_POR_EXT_UTL.getTableElement(gDPOrgIds, pIndex) || ', ';
1048: xShot := xShot || ' gDPLocalRtItemIds: ' ||
1049: ICX_POR_EXT_UTL.getTableElement(gDPLocalRtItemIds, pIndex);

Line 1047: ICX_POR_EXT_UTL.getTableElement(gDPOrgIds, pIndex) || ', ';

1043: ICX_POR_EXT_UTL.getTableElement(gDPRtItemIds, pIndex) || ', ';
1044: xShot := xShot || ' gDPInventoryItemIds: ' ||
1045: ICX_POR_EXT_UTL.getTableElement(gDPInventoryItemIds, pIndex) || ', ';
1046: xShot := xShot || ' gDPOrgIds: ' ||
1047: ICX_POR_EXT_UTL.getTableElement(gDPOrgIds, pIndex) || ', ';
1048: xShot := xShot || ' gDPLocalRtItemIds: ' ||
1049: ICX_POR_EXT_UTL.getTableElement(gDPLocalRtItemIds, pIndex);
1050: ELSIF (pMode = 'DELETE_ITEM_PRICE_GA') THEN
1051: -- Delete Item Price fro global agreement

Line 1049: ICX_POR_EXT_UTL.getTableElement(gDPLocalRtItemIds, pIndex);

1045: ICX_POR_EXT_UTL.getTableElement(gDPInventoryItemIds, pIndex) || ', ';
1046: xShot := xShot || ' gDPOrgIds: ' ||
1047: ICX_POR_EXT_UTL.getTableElement(gDPOrgIds, pIndex) || ', ';
1048: xShot := xShot || ' gDPLocalRtItemIds: ' ||
1049: ICX_POR_EXT_UTL.getTableElement(gDPLocalRtItemIds, pIndex);
1050: ELSIF (pMode = 'DELETE_ITEM_PRICE_GA') THEN
1051: -- Delete Item Price fro global agreement
1052: xShot := xShot || ' gDPGContractIds: ' ||
1053: ICX_POR_EXT_UTL.getTableElement(gDPGContractIds, pIndex)||', ';

Line 1053: ICX_POR_EXT_UTL.getTableElement(gDPGContractIds, pIndex)||', ';

1049: ICX_POR_EXT_UTL.getTableElement(gDPLocalRtItemIds, pIndex);
1050: ELSIF (pMode = 'DELETE_ITEM_PRICE_GA') THEN
1051: -- Delete Item Price fro global agreement
1052: xShot := xShot || ' gDPGContractIds: ' ||
1053: ICX_POR_EXT_UTL.getTableElement(gDPGContractIds, pIndex)||', ';
1054: xShot := xShot || ' gDPGContractLineIds: ' ||
1055: ICX_POR_EXT_UTL.getTableElement(gDPGContractLineIds, pIndex);
1056: ELSIF (pMode = 'DELETE_PURCHASING_ITEM') THEN
1057: -- Delete Item

Line 1055: ICX_POR_EXT_UTL.getTableElement(gDPGContractLineIds, pIndex);

1051: -- Delete Item Price fro global agreement
1052: xShot := xShot || ' gDPGContractIds: ' ||
1053: ICX_POR_EXT_UTL.getTableElement(gDPGContractIds, pIndex)||', ';
1054: xShot := xShot || ' gDPGContractLineIds: ' ||
1055: ICX_POR_EXT_UTL.getTableElement(gDPGContractLineIds, pIndex);
1056: ELSIF (pMode = 'DELETE_PURCHASING_ITEM') THEN
1057: -- Delete Item
1058: xShot := xShot || ' gDIPurchasingItemIds: ' ||
1059: ICX_POR_EXT_UTL.getTableElement(gDIPurchasingItemIds, pIndex) || ', ';

Line 1059: ICX_POR_EXT_UTL.getTableElement(gDIPurchasingItemIds, pIndex) || ', ';

1055: ICX_POR_EXT_UTL.getTableElement(gDPGContractLineIds, pIndex);
1056: ELSIF (pMode = 'DELETE_PURCHASING_ITEM') THEN
1057: -- Delete Item
1058: xShot := xShot || ' gDIPurchasingItemIds: ' ||
1059: ICX_POR_EXT_UTL.getTableElement(gDIPurchasingItemIds, pIndex) || ', ';
1060: xShot := xShot || ' gDIPurchasingOrgIds: ' ||
1061: ICX_POR_EXT_UTL.getTableElement(gDIPurchasingOrgIds, pIndex) || ', ';
1062: ELSIF (pMode = 'DELETE_NULL_PRICE_ITEM') THEN
1063: xShot := xShot || ' gDINullPriceItemIds: ' ||

Line 1061: ICX_POR_EXT_UTL.getTableElement(gDIPurchasingOrgIds, pIndex) || ', ';

1057: -- Delete Item
1058: xShot := xShot || ' gDIPurchasingItemIds: ' ||
1059: ICX_POR_EXT_UTL.getTableElement(gDIPurchasingItemIds, pIndex) || ', ';
1060: xShot := xShot || ' gDIPurchasingOrgIds: ' ||
1061: ICX_POR_EXT_UTL.getTableElement(gDIPurchasingOrgIds, pIndex) || ', ';
1062: ELSIF (pMode = 'DELETE_NULL_PRICE_ITEM') THEN
1063: xShot := xShot || ' gDINullPriceItemIds: ' ||
1064: ICX_POR_EXT_UTL.getTableElement(gDINullPriceItemIds, pIndex) || ', ';
1065: xShot := xShot || ' gDINullPriceOrgIds: ' ||

Line 1064: ICX_POR_EXT_UTL.getTableElement(gDINullPriceItemIds, pIndex) || ', ';

1060: xShot := xShot || ' gDIPurchasingOrgIds: ' ||
1061: ICX_POR_EXT_UTL.getTableElement(gDIPurchasingOrgIds, pIndex) || ', ';
1062: ELSIF (pMode = 'DELETE_NULL_PRICE_ITEM') THEN
1063: xShot := xShot || ' gDINullPriceItemIds: ' ||
1064: ICX_POR_EXT_UTL.getTableElement(gDINullPriceItemIds, pIndex) || ', ';
1065: xShot := xShot || ' gDINullPriceOrgIds: ' ||
1066: ICX_POR_EXT_UTL.getTableElement(gDINullPriceOrgIds, pIndex) || ', ';
1067: ELSIF (pMode = 'DELETE_INTERNAL_ITEM') THEN
1068: xShot := xShot || ' gDIInternalItemIds: ' ||

Line 1066: ICX_POR_EXT_UTL.getTableElement(gDINullPriceOrgIds, pIndex) || ', ';

1062: ELSIF (pMode = 'DELETE_NULL_PRICE_ITEM') THEN
1063: xShot := xShot || ' gDINullPriceItemIds: ' ||
1064: ICX_POR_EXT_UTL.getTableElement(gDINullPriceItemIds, pIndex) || ', ';
1065: xShot := xShot || ' gDINullPriceOrgIds: ' ||
1066: ICX_POR_EXT_UTL.getTableElement(gDINullPriceOrgIds, pIndex) || ', ';
1067: ELSIF (pMode = 'DELETE_INTERNAL_ITEM') THEN
1068: xShot := xShot || ' gDIInternalItemIds: ' ||
1069: ICX_POR_EXT_UTL.getTableElement(gDIInternalItemIds, pIndex) || ', ';
1070: xShot := xShot || ' gDIInternalOrgIds: ' ||

Line 1069: ICX_POR_EXT_UTL.getTableElement(gDIInternalItemIds, pIndex) || ', ';

1065: xShot := xShot || ' gDINullPriceOrgIds: ' ||
1066: ICX_POR_EXT_UTL.getTableElement(gDINullPriceOrgIds, pIndex) || ', ';
1067: ELSIF (pMode = 'DELETE_INTERNAL_ITEM') THEN
1068: xShot := xShot || ' gDIInternalItemIds: ' ||
1069: ICX_POR_EXT_UTL.getTableElement(gDIInternalItemIds, pIndex) || ', ';
1070: xShot := xShot || ' gDIInternalOrgIds: ' ||
1071: ICX_POR_EXT_UTL.getTableElement(gDIInternalOrgIds, pIndex);
1072: ELSIF (pMode = 'TOUCH_CLEANUP_ITEM') THEN
1073: -- Insert temporary table to cleanup item

Line 1071: ICX_POR_EXT_UTL.getTableElement(gDIInternalOrgIds, pIndex);

1067: ELSIF (pMode = 'DELETE_INTERNAL_ITEM') THEN
1068: xShot := xShot || ' gDIInternalItemIds: ' ||
1069: ICX_POR_EXT_UTL.getTableElement(gDIInternalItemIds, pIndex) || ', ';
1070: xShot := xShot || ' gDIInternalOrgIds: ' ||
1071: ICX_POR_EXT_UTL.getTableElement(gDIInternalOrgIds, pIndex);
1072: ELSIF (pMode = 'TOUCH_CLEANUP_ITEM') THEN
1073: -- Insert temporary table to cleanup item
1074: xShot := xShot || ' gCIRtItemIds: ' ||
1075: ICX_POR_EXT_UTL.getTableElement(gCIRtItemIds, pIndex);

Line 1075: ICX_POR_EXT_UTL.getTableElement(gCIRtItemIds, pIndex);

1071: ICX_POR_EXT_UTL.getTableElement(gDIInternalOrgIds, pIndex);
1072: ELSIF (pMode = 'TOUCH_CLEANUP_ITEM') THEN
1073: -- Insert temporary table to cleanup item
1074: xShot := xShot || ' gCIRtItemIds: ' ||
1075: ICX_POR_EXT_UTL.getTableElement(gCIRtItemIds, pIndex);
1076: ELSIF (pMode = 'TOUCH_UPDATED_GA') THEN
1077: -- Insert temporary table to update global agreement
1078: xShot := xShot || ' gUGAContractIds: ' ||
1079: ICX_POR_EXT_UTL.getTableElement(gUGAContractIds, pIndex)||', ';

Line 1079: ICX_POR_EXT_UTL.getTableElement(gUGAContractIds, pIndex)||', ';

1075: ICX_POR_EXT_UTL.getTableElement(gCIRtItemIds, pIndex);
1076: ELSIF (pMode = 'TOUCH_UPDATED_GA') THEN
1077: -- Insert temporary table to update global agreement
1078: xShot := xShot || ' gUGAContractIds: ' ||
1079: ICX_POR_EXT_UTL.getTableElement(gUGAContractIds, pIndex)||', ';
1080: xShot := xShot || ' gUGAContractLineIds: ' ||
1081: ICX_POR_EXT_UTL.getTableElement(gUGAContractLineIds, pIndex)||', ';
1082: ELSIF (pMode = 'TOUCH_ACTIVE_FLAG') THEN
1083: -- Insert temporary table to set active_flag

Line 1081: ICX_POR_EXT_UTL.getTableElement(gUGAContractLineIds, pIndex)||', ';

1077: -- Insert temporary table to update global agreement
1078: xShot := xShot || ' gUGAContractIds: ' ||
1079: ICX_POR_EXT_UTL.getTableElement(gUGAContractIds, pIndex)||', ';
1080: xShot := xShot || ' gUGAContractLineIds: ' ||
1081: ICX_POR_EXT_UTL.getTableElement(gUGAContractLineIds, pIndex)||', ';
1082: ELSIF (pMode = 'TOUCH_ACTIVE_FLAG') THEN
1083: -- Insert temporary table to set active_flag
1084: xShot := xShot || ' gTARtItemIds: ' ||
1085: ICX_POR_EXT_UTL.getTableElement(gTARtItemIds, pIndex);

Line 1085: ICX_POR_EXT_UTL.getTableElement(gTARtItemIds, pIndex);

1081: ICX_POR_EXT_UTL.getTableElement(gUGAContractLineIds, pIndex)||', ';
1082: ELSIF (pMode = 'TOUCH_ACTIVE_FLAG') THEN
1083: -- Insert temporary table to set active_flag
1084: xShot := xShot || ' gTARtItemIds: ' ||
1085: ICX_POR_EXT_UTL.getTableElement(gTARtItemIds, pIndex);
1086: ELSIF (pMode = 'TOUCH_ACTIVE_FLAG_INV') THEN
1087: -- Insert temporary table to set active_flag
1088: xShot := xShot || ' gTAInvItemIds: ' ||
1089: ICX_POR_EXT_UTL.getTableElement(gTAInvItemIds, pIndex) || ', ';

Line 1089: ICX_POR_EXT_UTL.getTableElement(gTAInvItemIds, pIndex) || ', ';

1085: ICX_POR_EXT_UTL.getTableElement(gTARtItemIds, pIndex);
1086: ELSIF (pMode = 'TOUCH_ACTIVE_FLAG_INV') THEN
1087: -- Insert temporary table to set active_flag
1088: xShot := xShot || ' gTAInvItemIds: ' ||
1089: ICX_POR_EXT_UTL.getTableElement(gTAInvItemIds, pIndex) || ', ';
1090: xShot := xShot || ' gTAInvOrgIds: ' ||
1091: ICX_POR_EXT_UTL.getTableElement(gTAInvOrgIds, pIndex);
1092: ELSIF (pMode = 'DELETE_ITEM_NOPRICE') THEN
1093: -- Delete Items without price

Line 1091: ICX_POR_EXT_UTL.getTableElement(gTAInvOrgIds, pIndex);

1087: -- Insert temporary table to set active_flag
1088: xShot := xShot || ' gTAInvItemIds: ' ||
1089: ICX_POR_EXT_UTL.getTableElement(gTAInvItemIds, pIndex) || ', ';
1090: xShot := xShot || ' gTAInvOrgIds: ' ||
1091: ICX_POR_EXT_UTL.getTableElement(gTAInvOrgIds, pIndex);
1092: ELSIF (pMode = 'DELETE_ITEM_NOPRICE') THEN
1093: -- Delete Items without price
1094: xShot := xShot || ' gDIRtItemIds: ' ||
1095: ICX_POR_EXT_UTL.getTableElement(gDIRtItemIds, pIndex);

Line 1095: ICX_POR_EXT_UTL.getTableElement(gDIRtItemIds, pIndex);

1091: ICX_POR_EXT_UTL.getTableElement(gTAInvOrgIds, pIndex);
1092: ELSIF (pMode = 'DELETE_ITEM_NOPRICE') THEN
1093: -- Delete Items without price
1094: xShot := xShot || ' gDIRtItemIds: ' ||
1095: ICX_POR_EXT_UTL.getTableElement(gDIRtItemIds, pIndex);
1096: ELSIF (pMode = 'UPDATE_PRICES_GA') THEN
1097: -- Update ICX_CAT_ITEM_PRICES for local global agreements
1098: xShot := xShot || ' gUPGASupplierSiteIds: ' ||
1099: ICX_POR_EXT_UTL.getTableElement(gUPGASupplierSiteIds, pIndex) || ', ';

Line 1099: ICX_POR_EXT_UTL.getTableElement(gUPGASupplierSiteIds, pIndex) || ', ';

1095: ICX_POR_EXT_UTL.getTableElement(gDIRtItemIds, pIndex);
1096: ELSIF (pMode = 'UPDATE_PRICES_GA') THEN
1097: -- Update ICX_CAT_ITEM_PRICES for local global agreements
1098: xShot := xShot || ' gUPGASupplierSiteIds: ' ||
1099: ICX_POR_EXT_UTL.getTableElement(gUPGASupplierSiteIds, pIndex) || ', ';
1100: xShot := xShot || ' gUPGAContractIds: ' ||
1101: ICX_POR_EXT_UTL.getTableElement(gUPGAContractIds, pIndex) || ', ';
1102: xShot := xShot || ' gUPGAContractLineIds: ' ||
1103: ICX_POR_EXT_UTL.getTableElement(gUPGAContractLineIds, pIndex) || ', ';

Line 1101: ICX_POR_EXT_UTL.getTableElement(gUPGAContractIds, pIndex) || ', ';

1097: -- Update ICX_CAT_ITEM_PRICES for local global agreements
1098: xShot := xShot || ' gUPGASupplierSiteIds: ' ||
1099: ICX_POR_EXT_UTL.getTableElement(gUPGASupplierSiteIds, pIndex) || ', ';
1100: xShot := xShot || ' gUPGAContractIds: ' ||
1101: ICX_POR_EXT_UTL.getTableElement(gUPGAContractIds, pIndex) || ', ';
1102: xShot := xShot || ' gUPGAContractLineIds: ' ||
1103: ICX_POR_EXT_UTL.getTableElement(gUPGAContractLineIds, pIndex) || ', ';
1104: xShot := xShot || ' gUPGAFunctionalPrices: ' ||
1105: ICX_POR_EXT_UTL.getTableElement(gUPGAFunctionalPrices, pIndex) || ', ';

Line 1103: ICX_POR_EXT_UTL.getTableElement(gUPGAContractLineIds, pIndex) || ', ';

1099: ICX_POR_EXT_UTL.getTableElement(gUPGASupplierSiteIds, pIndex) || ', ';
1100: xShot := xShot || ' gUPGAContractIds: ' ||
1101: ICX_POR_EXT_UTL.getTableElement(gUPGAContractIds, pIndex) || ', ';
1102: xShot := xShot || ' gUPGAContractLineIds: ' ||
1103: ICX_POR_EXT_UTL.getTableElement(gUPGAContractLineIds, pIndex) || ', ';
1104: xShot := xShot || ' gUPGAFunctionalPrices: ' ||
1105: ICX_POR_EXT_UTL.getTableElement(gUPGAFunctionalPrices, pIndex) || ', ';
1106: xShot := xShot || ' gUPGASupplierSiteCodes: ' ||
1107: ICX_POR_EXT_UTL.getTableElement(gUPGASupplierSiteCodes, pIndex);

Line 1105: ICX_POR_EXT_UTL.getTableElement(gUPGAFunctionalPrices, pIndex) || ', ';

1101: ICX_POR_EXT_UTL.getTableElement(gUPGAContractIds, pIndex) || ', ';
1102: xShot := xShot || ' gUPGAContractLineIds: ' ||
1103: ICX_POR_EXT_UTL.getTableElement(gUPGAContractLineIds, pIndex) || ', ';
1104: xShot := xShot || ' gUPGAFunctionalPrices: ' ||
1105: ICX_POR_EXT_UTL.getTableElement(gUPGAFunctionalPrices, pIndex) || ', ';
1106: xShot := xShot || ' gUPGASupplierSiteCodes: ' ||
1107: ICX_POR_EXT_UTL.getTableElement(gUPGASupplierSiteCodes, pIndex);
1108: xShot := xShot || ' gUPGAOrgIds: ' ||
1109: ICX_POR_EXT_UTL.getTableElement(gUPGAOrgIds, pIndex);

Line 1107: ICX_POR_EXT_UTL.getTableElement(gUPGASupplierSiteCodes, pIndex);

1103: ICX_POR_EXT_UTL.getTableElement(gUPGAContractLineIds, pIndex) || ', ';
1104: xShot := xShot || ' gUPGAFunctionalPrices: ' ||
1105: ICX_POR_EXT_UTL.getTableElement(gUPGAFunctionalPrices, pIndex) || ', ';
1106: xShot := xShot || ' gUPGASupplierSiteCodes: ' ||
1107: ICX_POR_EXT_UTL.getTableElement(gUPGASupplierSiteCodes, pIndex);
1108: xShot := xShot || ' gUPGAOrgIds: ' ||
1109: ICX_POR_EXT_UTL.getTableElement(gUPGAOrgIds, pIndex);
1110: ELSIF (pMode = 'INSERT_PRICES_GA') THEN
1111: -- Insert ICX_CAT_ITEM_PRICES for local global agreements

Line 1109: ICX_POR_EXT_UTL.getTableElement(gUPGAOrgIds, pIndex);

1105: ICX_POR_EXT_UTL.getTableElement(gUPGAFunctionalPrices, pIndex) || ', ';
1106: xShot := xShot || ' gUPGASupplierSiteCodes: ' ||
1107: ICX_POR_EXT_UTL.getTableElement(gUPGASupplierSiteCodes, pIndex);
1108: xShot := xShot || ' gUPGAOrgIds: ' ||
1109: ICX_POR_EXT_UTL.getTableElement(gUPGAOrgIds, pIndex);
1110: ELSIF (pMode = 'INSERT_PRICES_GA') THEN
1111: -- Insert ICX_CAT_ITEM_PRICES for local global agreements
1112: xShot := xShot || ' gIPGARtItemIds: ' ||
1113: ICX_POR_EXT_UTL.getTableElement(gIPGARtItemIds, pIndex) || ', ';

Line 1113: ICX_POR_EXT_UTL.getTableElement(gIPGARtItemIds, pIndex) || ', ';

1109: ICX_POR_EXT_UTL.getTableElement(gUPGAOrgIds, pIndex);
1110: ELSIF (pMode = 'INSERT_PRICES_GA') THEN
1111: -- Insert ICX_CAT_ITEM_PRICES for local global agreements
1112: xShot := xShot || ' gIPGARtItemIds: ' ||
1113: ICX_POR_EXT_UTL.getTableElement(gIPGARtItemIds, pIndex) || ', ';
1114: xShot := xShot || ' gIPGALocalRtItemIds: ' ||
1115: ICX_POR_EXT_UTL.getTableElement(gIPGALocalRtItemIds, pIndex) || ', ';
1116: xShot := xShot || ' gIPGASupplierSiteIds: ' ||
1117: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteIds, pIndex) || ', ';

Line 1115: ICX_POR_EXT_UTL.getTableElement(gIPGALocalRtItemIds, pIndex) || ', ';

1111: -- Insert ICX_CAT_ITEM_PRICES for local global agreements
1112: xShot := xShot || ' gIPGARtItemIds: ' ||
1113: ICX_POR_EXT_UTL.getTableElement(gIPGARtItemIds, pIndex) || ', ';
1114: xShot := xShot || ' gIPGALocalRtItemIds: ' ||
1115: ICX_POR_EXT_UTL.getTableElement(gIPGALocalRtItemIds, pIndex) || ', ';
1116: xShot := xShot || ' gIPGASupplierSiteIds: ' ||
1117: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteIds, pIndex) || ', ';
1118: xShot := xShot || ' gIPGAContractIds: ' ||
1119: ICX_POR_EXT_UTL.getTableElement(gIPGAContractIds, pIndex) || ', ';

Line 1117: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteIds, pIndex) || ', ';

1113: ICX_POR_EXT_UTL.getTableElement(gIPGARtItemIds, pIndex) || ', ';
1114: xShot := xShot || ' gIPGALocalRtItemIds: ' ||
1115: ICX_POR_EXT_UTL.getTableElement(gIPGALocalRtItemIds, pIndex) || ', ';
1116: xShot := xShot || ' gIPGASupplierSiteIds: ' ||
1117: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteIds, pIndex) || ', ';
1118: xShot := xShot || ' gIPGAContractIds: ' ||
1119: ICX_POR_EXT_UTL.getTableElement(gIPGAContractIds, pIndex) || ', ';
1120: xShot := xShot || ' gIPGAContractLineIds: ' ||
1121: ICX_POR_EXT_UTL.getTableElement(gIPGAContractLineIds, pIndex) || ', ';

Line 1119: ICX_POR_EXT_UTL.getTableElement(gIPGAContractIds, pIndex) || ', ';

1115: ICX_POR_EXT_UTL.getTableElement(gIPGALocalRtItemIds, pIndex) || ', ';
1116: xShot := xShot || ' gIPGASupplierSiteIds: ' ||
1117: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteIds, pIndex) || ', ';
1118: xShot := xShot || ' gIPGAContractIds: ' ||
1119: ICX_POR_EXT_UTL.getTableElement(gIPGAContractIds, pIndex) || ', ';
1120: xShot := xShot || ' gIPGAContractLineIds: ' ||
1121: ICX_POR_EXT_UTL.getTableElement(gIPGAContractLineIds, pIndex) || ', ';
1122: xShot := xShot || ' gIPGAInventoryItemIds: ' ||
1123: ICX_POR_EXT_UTL.getTableElement(gIPGAInventoryItemIds, pIndex) || ', ';

Line 1121: ICX_POR_EXT_UTL.getTableElement(gIPGAContractLineIds, pIndex) || ', ';

1117: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteIds, pIndex) || ', ';
1118: xShot := xShot || ' gIPGAContractIds: ' ||
1119: ICX_POR_EXT_UTL.getTableElement(gIPGAContractIds, pIndex) || ', ';
1120: xShot := xShot || ' gIPGAContractLineIds: ' ||
1121: ICX_POR_EXT_UTL.getTableElement(gIPGAContractLineIds, pIndex) || ', ';
1122: xShot := xShot || ' gIPGAInventoryItemIds: ' ||
1123: ICX_POR_EXT_UTL.getTableElement(gIPGAInventoryItemIds, pIndex) || ', ';
1124: xShot := xShot || ' gIPGAMtlCategoryIds: ' ||
1125: ICX_POR_EXT_UTL.getTableElement(gIPGAMtlCategoryIds, pIndex) || ', ';

Line 1123: ICX_POR_EXT_UTL.getTableElement(gIPGAInventoryItemIds, pIndex) || ', ';

1119: ICX_POR_EXT_UTL.getTableElement(gIPGAContractIds, pIndex) || ', ';
1120: xShot := xShot || ' gIPGAContractLineIds: ' ||
1121: ICX_POR_EXT_UTL.getTableElement(gIPGAContractLineIds, pIndex) || ', ';
1122: xShot := xShot || ' gIPGAInventoryItemIds: ' ||
1123: ICX_POR_EXT_UTL.getTableElement(gIPGAInventoryItemIds, pIndex) || ', ';
1124: xShot := xShot || ' gIPGAMtlCategoryIds: ' ||
1125: ICX_POR_EXT_UTL.getTableElement(gIPGAMtlCategoryIds, pIndex) || ', ';
1126: xShot := xShot || ' gIPGAOrgIds: ' ||
1127: ICX_POR_EXT_UTL.getTableElement(gIPGAOrgIds, pIndex) || ', ';

Line 1125: ICX_POR_EXT_UTL.getTableElement(gIPGAMtlCategoryIds, pIndex) || ', ';

1121: ICX_POR_EXT_UTL.getTableElement(gIPGAContractLineIds, pIndex) || ', ';
1122: xShot := xShot || ' gIPGAInventoryItemIds: ' ||
1123: ICX_POR_EXT_UTL.getTableElement(gIPGAInventoryItemIds, pIndex) || ', ';
1124: xShot := xShot || ' gIPGAMtlCategoryIds: ' ||
1125: ICX_POR_EXT_UTL.getTableElement(gIPGAMtlCategoryIds, pIndex) || ', ';
1126: xShot := xShot || ' gIPGAOrgIds: ' ||
1127: ICX_POR_EXT_UTL.getTableElement(gIPGAOrgIds, pIndex) || ', ';
1128: xShot := xShot || ' gIPGAUnitPrices: ' ||
1129: ICX_POR_EXT_UTL.getTableElement(gIPGAUnitPrices, pIndex) || ', ';

Line 1127: ICX_POR_EXT_UTL.getTableElement(gIPGAOrgIds, pIndex) || ', ';

1123: ICX_POR_EXT_UTL.getTableElement(gIPGAInventoryItemIds, pIndex) || ', ';
1124: xShot := xShot || ' gIPGAMtlCategoryIds: ' ||
1125: ICX_POR_EXT_UTL.getTableElement(gIPGAMtlCategoryIds, pIndex) || ', ';
1126: xShot := xShot || ' gIPGAOrgIds: ' ||
1127: ICX_POR_EXT_UTL.getTableElement(gIPGAOrgIds, pIndex) || ', ';
1128: xShot := xShot || ' gIPGAUnitPrices: ' ||
1129: ICX_POR_EXT_UTL.getTableElement(gIPGAUnitPrices, pIndex) || ', ';
1130: --FPJ FPSL Extractor Changes
1131: xShot := xShot || ' gIPGAValueBasis: ' ||

Line 1129: ICX_POR_EXT_UTL.getTableElement(gIPGAUnitPrices, pIndex) || ', ';

1125: ICX_POR_EXT_UTL.getTableElement(gIPGAMtlCategoryIds, pIndex) || ', ';
1126: xShot := xShot || ' gIPGAOrgIds: ' ||
1127: ICX_POR_EXT_UTL.getTableElement(gIPGAOrgIds, pIndex) || ', ';
1128: xShot := xShot || ' gIPGAUnitPrices: ' ||
1129: ICX_POR_EXT_UTL.getTableElement(gIPGAUnitPrices, pIndex) || ', ';
1130: --FPJ FPSL Extractor Changes
1131: xShot := xShot || ' gIPGAValueBasis: ' ||
1132: ICX_POR_EXT_UTL.getTableElement(gIPGAValueBasis, pIndex) || ', ';
1133: xShot := xShot || ' gIPGAPurchaseBasis: ' ||

Line 1132: ICX_POR_EXT_UTL.getTableElement(gIPGAValueBasis, pIndex) || ', ';

1128: xShot := xShot || ' gIPGAUnitPrices: ' ||
1129: ICX_POR_EXT_UTL.getTableElement(gIPGAUnitPrices, pIndex) || ', ';
1130: --FPJ FPSL Extractor Changes
1131: xShot := xShot || ' gIPGAValueBasis: ' ||
1132: ICX_POR_EXT_UTL.getTableElement(gIPGAValueBasis, pIndex) || ', ';
1133: xShot := xShot || ' gIPGAPurchaseBasis: ' ||
1134: ICX_POR_EXT_UTL.getTableElement(gIPGAPurchaseBasis, pIndex) || ', ';
1135: xShot := xShot || ' gIPGAAllowPriceOverrideFlag: ' ||
1136: ICX_POR_EXT_UTL.getTableElement(gIPGAAllowPriceOverrideFlag, pIndex)||', ';

Line 1134: ICX_POR_EXT_UTL.getTableElement(gIPGAPurchaseBasis, pIndex) || ', ';

1130: --FPJ FPSL Extractor Changes
1131: xShot := xShot || ' gIPGAValueBasis: ' ||
1132: ICX_POR_EXT_UTL.getTableElement(gIPGAValueBasis, pIndex) || ', ';
1133: xShot := xShot || ' gIPGAPurchaseBasis: ' ||
1134: ICX_POR_EXT_UTL.getTableElement(gIPGAPurchaseBasis, pIndex) || ', ';
1135: xShot := xShot || ' gIPGAAllowPriceOverrideFlag: ' ||
1136: ICX_POR_EXT_UTL.getTableElement(gIPGAAllowPriceOverrideFlag, pIndex)||', ';
1137: xShot := xShot || ' gIPGANotToExceedPrice: ' ||
1138: ICX_POR_EXT_UTL.getTableElement(gIPGANotToExceedPrice, pIndex) || ', ';

Line 1136: ICX_POR_EXT_UTL.getTableElement(gIPGAAllowPriceOverrideFlag, pIndex)||', ';

1132: ICX_POR_EXT_UTL.getTableElement(gIPGAValueBasis, pIndex) || ', ';
1133: xShot := xShot || ' gIPGAPurchaseBasis: ' ||
1134: ICX_POR_EXT_UTL.getTableElement(gIPGAPurchaseBasis, pIndex) || ', ';
1135: xShot := xShot || ' gIPGAAllowPriceOverrideFlag: ' ||
1136: ICX_POR_EXT_UTL.getTableElement(gIPGAAllowPriceOverrideFlag, pIndex)||', ';
1137: xShot := xShot || ' gIPGANotToExceedPrice: ' ||
1138: ICX_POR_EXT_UTL.getTableElement(gIPGANotToExceedPrice, pIndex) || ', ';
1139: -- FPJ Bug# 3110297 jingyu Add negotiated flag
1140: xShot := xShot || ' gIPGANegotiatedFlag: ' ||

Line 1138: ICX_POR_EXT_UTL.getTableElement(gIPGANotToExceedPrice, pIndex) || ', ';

1134: ICX_POR_EXT_UTL.getTableElement(gIPGAPurchaseBasis, pIndex) || ', ';
1135: xShot := xShot || ' gIPGAAllowPriceOverrideFlag: ' ||
1136: ICX_POR_EXT_UTL.getTableElement(gIPGAAllowPriceOverrideFlag, pIndex)||', ';
1137: xShot := xShot || ' gIPGANotToExceedPrice: ' ||
1138: ICX_POR_EXT_UTL.getTableElement(gIPGANotToExceedPrice, pIndex) || ', ';
1139: -- FPJ Bug# 3110297 jingyu Add negotiated flag
1140: xShot := xShot || ' gIPGANegotiatedFlag: ' ||
1141: ICX_POR_EXT_UTL.getTableElement(gIPGANegotiatedFlag, pIndex) || ', ';
1142: xShot := xShot || ' gIPGALineTypeIds: ' ||

Line 1141: ICX_POR_EXT_UTL.getTableElement(gIPGANegotiatedFlag, pIndex) || ', ';

1137: xShot := xShot || ' gIPGANotToExceedPrice: ' ||
1138: ICX_POR_EXT_UTL.getTableElement(gIPGANotToExceedPrice, pIndex) || ', ';
1139: -- FPJ Bug# 3110297 jingyu Add negotiated flag
1140: xShot := xShot || ' gIPGANegotiatedFlag: ' ||
1141: ICX_POR_EXT_UTL.getTableElement(gIPGANegotiatedFlag, pIndex) || ', ';
1142: xShot := xShot || ' gIPGALineTypeIds: ' ||
1143: ICX_POR_EXT_UTL.getTableElement(gIPGALineTypeIds, pIndex) || ', ';
1144: xShot := xShot || ' gIPGACurrencys: ' ||
1145: ICX_POR_EXT_UTL.getTableElement(gIPGACurrencys, pIndex) || ', ';

Line 1143: ICX_POR_EXT_UTL.getTableElement(gIPGALineTypeIds, pIndex) || ', ';

1139: -- FPJ Bug# 3110297 jingyu Add negotiated flag
1140: xShot := xShot || ' gIPGANegotiatedFlag: ' ||
1141: ICX_POR_EXT_UTL.getTableElement(gIPGANegotiatedFlag, pIndex) || ', ';
1142: xShot := xShot || ' gIPGALineTypeIds: ' ||
1143: ICX_POR_EXT_UTL.getTableElement(gIPGALineTypeIds, pIndex) || ', ';
1144: xShot := xShot || ' gIPGACurrencys: ' ||
1145: ICX_POR_EXT_UTL.getTableElement(gIPGACurrencys, pIndex) || ', ';
1146: xShot := xShot || ' gIPGAUnitOfMeasures: ' ||
1147: ICX_POR_EXT_UTL.getTableElement(gIPGAUnitOfMeasures, pIndex) || ', ';

Line 1145: ICX_POR_EXT_UTL.getTableElement(gIPGACurrencys, pIndex) || ', ';

1141: ICX_POR_EXT_UTL.getTableElement(gIPGANegotiatedFlag, pIndex) || ', ';
1142: xShot := xShot || ' gIPGALineTypeIds: ' ||
1143: ICX_POR_EXT_UTL.getTableElement(gIPGALineTypeIds, pIndex) || ', ';
1144: xShot := xShot || ' gIPGACurrencys: ' ||
1145: ICX_POR_EXT_UTL.getTableElement(gIPGACurrencys, pIndex) || ', ';
1146: xShot := xShot || ' gIPGAUnitOfMeasures: ' ||
1147: ICX_POR_EXT_UTL.getTableElement(gIPGAUnitOfMeasures, pIndex) || ', ';
1148: xShot := xShot || ' gIPGAFunctionalPrices: ' ||
1149: ICX_POR_EXT_UTL.getTableElement(gIPGAFunctionalPrices, pIndex) || ', ';

Line 1147: ICX_POR_EXT_UTL.getTableElement(gIPGAUnitOfMeasures, pIndex) || ', ';

1143: ICX_POR_EXT_UTL.getTableElement(gIPGALineTypeIds, pIndex) || ', ';
1144: xShot := xShot || ' gIPGACurrencys: ' ||
1145: ICX_POR_EXT_UTL.getTableElement(gIPGACurrencys, pIndex) || ', ';
1146: xShot := xShot || ' gIPGAUnitOfMeasures: ' ||
1147: ICX_POR_EXT_UTL.getTableElement(gIPGAUnitOfMeasures, pIndex) || ', ';
1148: xShot := xShot || ' gIPGAFunctionalPrices: ' ||
1149: ICX_POR_EXT_UTL.getTableElement(gIPGAFunctionalPrices, pIndex) || ', ';
1150: xShot := xShot || ' gIPGASupplierSiteCodes: ' ||
1151: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteCodes, pIndex) || ', ';

Line 1149: ICX_POR_EXT_UTL.getTableElement(gIPGAFunctionalPrices, pIndex) || ', ';

1145: ICX_POR_EXT_UTL.getTableElement(gIPGACurrencys, pIndex) || ', ';
1146: xShot := xShot || ' gIPGAUnitOfMeasures: ' ||
1147: ICX_POR_EXT_UTL.getTableElement(gIPGAUnitOfMeasures, pIndex) || ', ';
1148: xShot := xShot || ' gIPGAFunctionalPrices: ' ||
1149: ICX_POR_EXT_UTL.getTableElement(gIPGAFunctionalPrices, pIndex) || ', ';
1150: xShot := xShot || ' gIPGASupplierSiteCodes: ' ||
1151: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteCodes, pIndex) || ', ';
1152: xShot := xShot || ' gIPGAContractNums: ' ||
1153: ICX_POR_EXT_UTL.getTableElement(gIPGAContractNums, pIndex) || ', ';

Line 1151: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteCodes, pIndex) || ', ';

1147: ICX_POR_EXT_UTL.getTableElement(gIPGAUnitOfMeasures, pIndex) || ', ';
1148: xShot := xShot || ' gIPGAFunctionalPrices: ' ||
1149: ICX_POR_EXT_UTL.getTableElement(gIPGAFunctionalPrices, pIndex) || ', ';
1150: xShot := xShot || ' gIPGASupplierSiteCodes: ' ||
1151: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteCodes, pIndex) || ', ';
1152: xShot := xShot || ' gIPGAContractNums: ' ||
1153: ICX_POR_EXT_UTL.getTableElement(gIPGAContractNums, pIndex) || ', ';
1154: xShot := xShot || ' gIPGAContractLineNums: ' ||
1155: ICX_POR_EXT_UTL.getTableElement(gIPGAContractLineNums, pIndex);

Line 1153: ICX_POR_EXT_UTL.getTableElement(gIPGAContractNums, pIndex) || ', ';

1149: ICX_POR_EXT_UTL.getTableElement(gIPGAFunctionalPrices, pIndex) || ', ';
1150: xShot := xShot || ' gIPGASupplierSiteCodes: ' ||
1151: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteCodes, pIndex) || ', ';
1152: xShot := xShot || ' gIPGAContractNums: ' ||
1153: ICX_POR_EXT_UTL.getTableElement(gIPGAContractNums, pIndex) || ', ';
1154: xShot := xShot || ' gIPGAContractLineNums: ' ||
1155: ICX_POR_EXT_UTL.getTableElement(gIPGAContractLineNums, pIndex);
1156: ELSIF (pMode = 'SET_LOCAL_RT_ITEM_ID') THEN
1157: -- Set local rt_item_id for local global agreements

Line 1155: ICX_POR_EXT_UTL.getTableElement(gIPGAContractLineNums, pIndex);

1151: ICX_POR_EXT_UTL.getTableElement(gIPGASupplierSiteCodes, pIndex) || ', ';
1152: xShot := xShot || ' gIPGAContractNums: ' ||
1153: ICX_POR_EXT_UTL.getTableElement(gIPGAContractNums, pIndex) || ', ';
1154: xShot := xShot || ' gIPGAContractLineNums: ' ||
1155: ICX_POR_EXT_UTL.getTableElement(gIPGAContractLineNums, pIndex);
1156: ELSIF (pMode = 'SET_LOCAL_RT_ITEM_ID') THEN
1157: -- Set local rt_item_id for local global agreements
1158: xShot := xShot || ' gSLRRowIds: ' ||
1159: ICX_POR_EXT_UTL.getTableElement(gSLRRowIds, pIndex) || ', ';

Line 1159: ICX_POR_EXT_UTL.getTableElement(gSLRRowIds, pIndex) || ', ';

1155: ICX_POR_EXT_UTL.getTableElement(gIPGAContractLineNums, pIndex);
1156: ELSIF (pMode = 'SET_LOCAL_RT_ITEM_ID') THEN
1157: -- Set local rt_item_id for local global agreements
1158: xShot := xShot || ' gSLRRowIds: ' ||
1159: ICX_POR_EXT_UTL.getTableElement(gSLRRowIds, pIndex) || ', ';
1160: xShot := xShot || ' gSLRALocalRtItemIds: ' ||
1161: ICX_POR_EXT_UTL.getTableElement(gSLRALocalRtItemIds, pIndex);
1162: ELSIF (pMode = 'SET_ACTIVE_FLAG') THEN
1163: -- Set ICX_CAT_ITEM_PRICES.active_flag

Line 1161: ICX_POR_EXT_UTL.getTableElement(gSLRALocalRtItemIds, pIndex);

1157: -- Set local rt_item_id for local global agreements
1158: xShot := xShot || ' gSLRRowIds: ' ||
1159: ICX_POR_EXT_UTL.getTableElement(gSLRRowIds, pIndex) || ', ';
1160: xShot := xShot || ' gSLRALocalRtItemIds: ' ||
1161: ICX_POR_EXT_UTL.getTableElement(gSLRALocalRtItemIds, pIndex);
1162: ELSIF (pMode = 'SET_ACTIVE_FLAG') THEN
1163: -- Set ICX_CAT_ITEM_PRICES.active_flag
1164: xShot := xShot || ' gSAPriceTypes: ' ||
1165: ICX_POR_EXT_UTL.getTableElement(gSAPriceTypes, pIndex) || ', ';

Line 1165: ICX_POR_EXT_UTL.getTableElement(gSAPriceTypes, pIndex) || ', ';

1161: ICX_POR_EXT_UTL.getTableElement(gSLRALocalRtItemIds, pIndex);
1162: ELSIF (pMode = 'SET_ACTIVE_FLAG') THEN
1163: -- Set ICX_CAT_ITEM_PRICES.active_flag
1164: xShot := xShot || ' gSAPriceTypes: ' ||
1165: ICX_POR_EXT_UTL.getTableElement(gSAPriceTypes, pIndex) || ', ';
1166: xShot := xShot || ' gSARtItemIds: ' ||
1167: ICX_POR_EXT_UTL.getTableElement(gSARtItemIds, pIndex);
1168: xShot := xShot || ' gSARowIds: ' ||
1169: ICX_POR_EXT_UTL.getTableElement(gSARowIds, pIndex) || ', ';

Line 1167: ICX_POR_EXT_UTL.getTableElement(gSARtItemIds, pIndex);

1163: -- Set ICX_CAT_ITEM_PRICES.active_flag
1164: xShot := xShot || ' gSAPriceTypes: ' ||
1165: ICX_POR_EXT_UTL.getTableElement(gSAPriceTypes, pIndex) || ', ';
1166: xShot := xShot || ' gSARtItemIds: ' ||
1167: ICX_POR_EXT_UTL.getTableElement(gSARtItemIds, pIndex);
1168: xShot := xShot || ' gSARowIds: ' ||
1169: ICX_POR_EXT_UTL.getTableElement(gSARowIds, pIndex) || ', ';
1170: xShot := xShot || ' gSAActiveFlags: ' ||
1171: ICX_POR_EXT_UTL.getTableElement(gSAActiveFlags, pIndex) || ', ';

Line 1169: ICX_POR_EXT_UTL.getTableElement(gSARowIds, pIndex) || ', ';

1165: ICX_POR_EXT_UTL.getTableElement(gSAPriceTypes, pIndex) || ', ';
1166: xShot := xShot || ' gSARtItemIds: ' ||
1167: ICX_POR_EXT_UTL.getTableElement(gSARtItemIds, pIndex);
1168: xShot := xShot || ' gSARowIds: ' ||
1169: ICX_POR_EXT_UTL.getTableElement(gSARowIds, pIndex) || ', ';
1170: xShot := xShot || ' gSAActiveFlags: ' ||
1171: ICX_POR_EXT_UTL.getTableElement(gSAActiveFlags, pIndex) || ', ';
1172: END IF;
1173:

Line 1171: ICX_POR_EXT_UTL.getTableElement(gSAActiveFlags, pIndex) || ', ';

1167: ICX_POR_EXT_UTL.getTableElement(gSARtItemIds, pIndex);
1168: xShot := xShot || ' gSARowIds: ' ||
1169: ICX_POR_EXT_UTL.getTableElement(gSARowIds, pIndex) || ', ';
1170: xShot := xShot || ' gSAActiveFlags: ' ||
1171: ICX_POR_EXT_UTL.getTableElement(gSAActiveFlags, pIndex) || ', ';
1172: END IF;
1173:
1174: RETURN xShot;
1175: END snapShot;

Line 1527: xDBVersion NUMBER := ICX_POR_EXT_UTL.getDatabaseVersion;

1523: xString VARCHAR2(4000) := NULL;
1524: xTestMode VARCHAR2(1);
1525: cActivePriceItemAttributes TCursorType;
1526:
1527: xDBVersion NUMBER := ICX_POR_EXT_UTL.getDatabaseVersion;
1528:
1529: BEGIN
1530:
1531: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

Line 1531: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

1527: xDBVersion NUMBER := ICX_POR_EXT_UTL.getDatabaseVersion;
1528:
1529: BEGIN
1530:
1531: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1532: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1533: 'Enter setActivePriceItemAttributes()');
1534: END IF;
1535: xTestMode := ICX_POR_EXT_TEST.gTestMode;

Line 1532: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

1528:
1529: BEGIN
1530:
1531: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1532: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1533: 'Enter setActivePriceItemAttributes()');
1534: END IF;
1535: xTestMode := ICX_POR_EXT_TEST.gTestMode;
1536: xErrLoc := 100;

Line 1631: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

1627: ' AND p.active_flag = ''Y'' ' ||
1628: ' AND p.rt_item_id = i.rt_item_id ' ||
1629: ' AND p.price_type IN (''PURCHASING_ITEM'', ''INTERNAL_ITEM'') ';
1630:
1631: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1632: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1633: 'SQL Stmt for cActivePriceItemAttributes: '|| xString);
1634: END IF;
1635:

Line 1632: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

1628: ' AND p.rt_item_id = i.rt_item_id ' ||
1629: ' AND p.price_type IN (''PURCHASING_ITEM'', ''INTERNAL_ITEM'') ';
1630:
1631: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1632: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1633: 'SQL Stmt for cActivePriceItemAttributes: '|| xString);
1634: END IF;
1635:
1636: OPEN cActivePriceItemAttributes FOR xString;

Line 1645: FOR i IN 1..ICX_POR_EXT_UTL.gCommitSize LOOP

1641: xErrLoc := 150;
1642: EXIT WHEN cActivePriceItemAttributes%NOTFOUND;
1643: -- Oracle 8i doesn't support BULK Collect from dynamic SQL
1644: xErrLoc := 151;
1645: FOR i IN 1..ICX_POR_EXT_UTL.gCommitSize LOOP
1646: FETCH cActivePriceItemAttributes INTO
1647: xUPItemRtItemIds(i),
1648: xUPItemDescriptions(i),
1649: xUPItemPictures(i),

Line 1659: LIMIT ICX_POR_EXT_UTL.gCommitSize;

1655: FETCH cActivePriceItemAttributes
1656: BULK COLLECT INTO
1657: xUPItemRtItemIds, xUPItemDescriptions,
1658: xUPItemPictures, xUPItemPictureUrls
1659: LIMIT ICX_POR_EXT_UTL.gCommitSize;
1660: EXIT WHEN xUPItemRtItemIds.COUNT = 0;
1661: END IF;
1662:
1663: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

Line 1663: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

1659: LIMIT ICX_POR_EXT_UTL.gCommitSize;
1660: EXIT WHEN xUPItemRtItemIds.COUNT = 0;
1661: END IF;
1662:
1663: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1664: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1665: 'Count of RtItemIds, Descriptions, Pictures and PictureUrls:'
1666: ||to_char(xUPItemRtItemIds.COUNT) ||', '
1667: ||to_char(xUPItemDescriptions.COUNT) ||', '

Line 1664: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

1660: EXIT WHEN xUPItemRtItemIds.COUNT = 0;
1661: END IF;
1662:
1663: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1664: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1665: 'Count of RtItemIds, Descriptions, Pictures and PictureUrls:'
1666: ||to_char(xUPItemRtItemIds.COUNT) ||', '
1667: ||to_char(xUPItemDescriptions.COUNT) ||', '
1668: ||to_char(xUPItemPictures.COUNT) ||', '

Line 1690: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

1686: program_update_date = SYSDATE
1687: WHERE rt_item_id = xUPItemRtItemIds(i)
1688: AND language = ICX_POR_EXTRACTOR.gBaseLang;
1689:
1690: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1691: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1692: 'gExtractImageDet:'||gExtractImageDet ||
1693: ', sql%rowcount:' ||to_char(sql%rowcount));
1694: END IF;

Line 1691: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

1687: WHERE rt_item_id = xUPItemRtItemIds(i)
1688: AND language = ICX_POR_EXTRACTOR.gBaseLang;
1689:
1690: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1691: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1692: 'gExtractImageDet:'||gExtractImageDet ||
1693: ', sql%rowcount:' ||to_char(sql%rowcount));
1694: END IF;
1695: ELSE

Line 1709: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

1705: program_update_date = SYSDATE
1706: WHERE rt_item_id = xUPItemRtItemIds(i)
1707: AND language = ICX_POR_EXTRACTOR.gBaseLang;
1708:
1709: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1710: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1711: 'gExtractImageDet:'||gExtractImageDet ||
1712: ', sql%rowcount:' ||to_char(sql%rowcount));
1713: END IF;

Line 1710: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

1706: WHERE rt_item_id = xUPItemRtItemIds(i)
1707: AND language = ICX_POR_EXTRACTOR.gBaseLang;
1708:
1709: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1710: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1711: 'gExtractImageDet:'||gExtractImageDet ||
1712: ', sql%rowcount:' ||to_char(sql%rowcount));
1713: END IF;
1714: END IF;

Line 1716: ICX_POR_EXT_UTL.extAFCommit;

1712: ', sql%rowcount:' ||to_char(sql%rowcount));
1713: END IF;
1714: END IF;
1715:
1716: ICX_POR_EXT_UTL.extAFCommit;
1717: END LOOP;
1718:
1719: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1720: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

Line 1719: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

1715:
1716: ICX_POR_EXT_UTL.extAFCommit;
1717: END LOOP;
1718:
1719: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1720: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1721: 'Done setActivePriceItemAttributes()');
1722: END IF;
1723: EXCEPTION

Line 1720: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

1716: ICX_POR_EXT_UTL.extAFCommit;
1717: END LOOP;
1718:
1719: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1720: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1721: 'Done setActivePriceItemAttributes()');
1722: END IF;
1723: EXCEPTION
1724: when others then

Line 1725: ICX_POR_EXT_UTL.extRollback;

1721: 'Done setActivePriceItemAttributes()');
1722: END IF;
1723: EXCEPTION
1724: when others then
1725: ICX_POR_EXT_UTL.extRollback;
1726: IF (cActivePriceItemAttributes%ISOPEN) THEN
1727: CLOSE cActivePriceItemAttributes;
1728: END IF;
1729: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActivePriceItemAttributes -'||

Line 1729: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActivePriceItemAttributes -'||

1725: ICX_POR_EXT_UTL.extRollback;
1726: IF (cActivePriceItemAttributes%ISOPEN) THEN
1727: CLOSE cActivePriceItemAttributes;
1728: END IF;
1729: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActivePriceItemAttributes -'||
1730: xErrLoc||' '||SQLERRM);
1731:
1732: raise ICX_POR_EXT_UTL.gException;
1733:

Line 1732: raise ICX_POR_EXT_UTL.gException;

1728: END IF;
1729: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActivePriceItemAttributes -'||
1730: xErrLoc||' '||SQLERRM);
1731:
1732: raise ICX_POR_EXT_UTL.gException;
1733:
1734: END setActivePriceItemAttributes;
1735:
1736:

Line 1931: xHashSize := GREATEST(POWER(2,ROUND(LOG(2,ICX_POR_EXT_UTL.gCommitSize*10))),

1927: BEGIN
1928: xErrLoc := 100;
1929: -- Caculate hash size based on gCommitSize, but at least 1024
1930: -- A power of 2 for the hash_size parameter is best
1931: xHashSize := GREATEST(POWER(2,ROUND(LOG(2,ICX_POR_EXT_UTL.gCommitSize*10))),
1932: POWER(2, 10));
1933: xErrLoc := 200;
1934: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
1935: 'Cache hash size is ' || xHashSize);

Line 1934: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

1930: -- A power of 2 for the hash_size parameter is best
1931: xHashSize := GREATEST(POWER(2,ROUND(LOG(2,ICX_POR_EXT_UTL.gCommitSize*10))),
1932: POWER(2, 10));
1933: xErrLoc := 200;
1934: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
1935: 'Cache hash size is ' || xHashSize);
1936: setHashRange(1, xHashSize);
1937: END initCaches;
1938:

Line 1964: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

1960: xHashValue PLS_INTEGER;
1961: xItem tItemRecord;
1962: BEGIN
1963: xErrLoc := 100;
1964: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1965: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1966: 'Enter findItemCache()');
1967: END IF;
1968:

Line 1965: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

1961: xItem tItemRecord;
1962: BEGIN
1963: xErrLoc := 100;
1964: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
1965: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
1966: 'Enter findItemCache()');
1967: END IF;
1968:
1969: IF pItem.hash_value > NULL_NUMBER THEN

Line 1991: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

1987:
1988: xErrLoc := 200;
1989: xHashValue := getHashValue(xHashString);
1990:
1991: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
1992: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
1993: 'Hash value for ' || xHashString || ' is: ' || xHashValue);
1994: END IF;
1995:

Line 1992: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

1988: xErrLoc := 200;
1989: xHashValue := getHashValue(xHashString);
1990:
1991: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
1992: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
1993: 'Hash value for ' || xHashString || ' is: ' || xHashValue);
1994: END IF;
1995:
1996: xErrLoc := 300;

Line 2014: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN

2010: pItem.rt_item_id := xItem.rt_item_id;
2011: pItem.hash_value := xItem.hash_value;
2012: RETURN TRUE;
2013: ELSE
2014: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
2015: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
2016: 'Hash collision-' || xHashValue || '-: [' ||
2017: xHashString || '] ' || snapShotItemRecord(xItem));
2018: END IF;

Line 2015: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,

2011: pItem.hash_value := xItem.hash_value;
2012: RETURN TRUE;
2013: ELSE
2014: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
2015: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
2016: 'Hash collision-' || xHashValue || '-: [' ||
2017: xHashString || '] ' || snapShotItemRecord(xItem));
2018: END IF;
2019: xHashValue := xHashValue + 1;

Line 2030: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.findItemCache-'||

2026:
2027: RETURN FALSE;
2028: EXCEPTION
2029: when others then
2030: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.findItemCache-'||
2031: xErrLoc||' '||SQLERRM);
2032: raise ICX_POR_EXT_UTL.gException;
2033: END findItemCache;
2034:

Line 2032: raise ICX_POR_EXT_UTL.gException;

2028: EXCEPTION
2029: when others then
2030: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.findItemCache-'||
2031: xErrLoc||' '||SQLERRM);
2032: raise ICX_POR_EXT_UTL.gException;
2033: END findItemCache;
2034:
2035: PROCEDURE putItemCache(pItem IN tItemRecord) IS
2036: xErrLoc PLS_INTEGER := 100;

Line 2039: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

2035: PROCEDURE putItemCache(pItem IN tItemRecord) IS
2036: xErrLoc PLS_INTEGER := 100;
2037: BEGIN
2038: xErrLoc := 100;
2039: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
2040: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2041: 'Enter putItemCache()');
2042: END IF;
2043:

Line 2040: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2036: xErrLoc PLS_INTEGER := 100;
2037: BEGIN
2038: xErrLoc := 100;
2039: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
2040: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2041: 'Enter putItemCache()');
2042: END IF;
2043:
2044: IF (pItem.hash_value = NULL_NUMBER OR

Line 2047: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.ERROR_LEVEL,

2043:
2044: IF (pItem.hash_value = NULL_NUMBER OR
2045: pItem.rt_item_id = NULL_NUMBER)
2046: THEN
2047: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.ERROR_LEVEL,
2048: 'Should not cache item without caculating hash value and ' ||
2049: 'assigning rt_item_id');
2050: RETURN;
2051: END IF;

Line 2057: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.putItemCache-'||

2053: xErrLoc := 200;
2054: gItemCache(pItem.hash_value) := pItem;
2055: EXCEPTION
2056: when others then
2057: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.putItemCache-'||
2058: xErrLoc||' '||SQLERRM);
2059: raise ICX_POR_EXT_UTL.gException;
2060: END putItemCache;
2061:

Line 2059: raise ICX_POR_EXT_UTL.gException;

2055: EXCEPTION
2056: when others then
2057: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.putItemCache-'||
2058: xErrLoc||' '||SQLERRM);
2059: raise ICX_POR_EXT_UTL.gException;
2060: END putItemCache;
2061:
2062: --------------------------------------------------------------
2063: -- Process Batch Data --

Line 2073: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

2069: xContinue BOOLEAN := TRUE;
2070: xRtItemIds DBMS_SQL.NUMBER_TABLE;
2071: BEGIN
2072: xErrLoc := 100;
2073: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
2074: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2075: 'Enter processBatchData(' || pMode || ')-gTransactionCount: ' ||
2076: gTransactionCount);
2077: END IF;

Line 2074: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2070: xRtItemIds DBMS_SQL.NUMBER_TABLE;
2071: BEGIN
2072: xErrLoc := 100;
2073: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
2074: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2075: 'Enter processBatchData(' || pMode || ')-gTransactionCount: ' ||
2076: gTransactionCount);
2077: END IF;
2078:

Line 2080: gTransactionCount >= ICX_POR_EXT_UTL.gCommitSize)

2076: gTransactionCount);
2077: END IF;
2078:
2079: IF (pMode = 'OUTLOOP' OR
2080: gTransactionCount >= ICX_POR_EXT_UTL.gCommitSize)
2081: THEN
2082: xErrLoc := 200;
2083: gTransactionCount := 0;
2084:

Line 2087: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2083: gTransactionCount := 0;
2084:
2085: xActionMode := 'UPDATE_PRICES';
2086: -- Update ICX_CAT_ITEM_PRICES
2087: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2088: FOR i in 1..gUPRtItemIds.COUNT LOOP
2089: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2090: snapShot(i, xActionMode));
2091: END LOOP;

Line 2089: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2085: xActionMode := 'UPDATE_PRICES';
2086: -- Update ICX_CAT_ITEM_PRICES
2087: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2088: FOR i in 1..gUPRtItemIds.COUNT LOOP
2089: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2090: snapShot(i, xActionMode));
2091: END LOOP;
2092: END IF;
2093: FORALL i IN 1..gUPRtItemIds.COUNT

Line 2148: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2144:
2145: xErrLoc := 210;
2146: xActionMode := 'UPDATE_PRICES_G';
2147: -- Update ICX_CAT_ITEM_PRICES for global agreements
2148: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2149: FOR i in 1..gUPGRtItemIds.COUNT LOOP
2150: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2151: snapShot(i, xActionMode));
2152: END LOOP;

Line 2150: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2146: xActionMode := 'UPDATE_PRICES_G';
2147: -- Update ICX_CAT_ITEM_PRICES for global agreements
2148: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2149: FOR i in 1..gUPGRtItemIds.COUNT LOOP
2150: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2151: snapShot(i, xActionMode));
2152: END LOOP;
2153: END IF;
2154: FORALL i IN 1..gUPGRtItemIds.COUNT

Line 2190: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2186:
2187: xErrLoc := 220;
2188: xActionMode := 'INSERT_PRICES';
2189: -- Insert ICX_CAT_ITEM_PRICES
2190: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2191: FOR i in 1..gIPRtItemIds.COUNT LOOP
2192: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2193: snapShot(i, xActionMode));
2194: END LOOP;

Line 2192: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2188: xActionMode := 'INSERT_PRICES';
2189: -- Insert ICX_CAT_ITEM_PRICES
2190: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2191: FOR i in 1..gIPRtItemIds.COUNT LOOP
2192: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2193: snapShot(i, xActionMode));
2194: END LOOP;
2195: END IF;
2196: FORALL i IN 1..gIPRtItemIds.COUNT

Line 2256: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2252:
2253: xErrLoc := 240;
2254: xActionMode := 'INSERT_ITEMS_B';
2255: -- Insert ICX_CAT_ITEMS_B
2256: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2257: FOR i in 1..gIBRtItemIds.COUNT LOOP
2258: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2259: snapShot(i, xActionMode));
2260: END LOOP;

Line 2258: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2254: xActionMode := 'INSERT_ITEMS_B';
2255: -- Insert ICX_CAT_ITEMS_B
2256: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2257: FOR i in 1..gIBRtItemIds.COUNT LOOP
2258: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2259: snapShot(i, xActionMode));
2260: END LOOP;
2261: END IF;
2262: FORALL i IN 1..gIBRtItemIds.COUNT

Line 2286: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2282:
2283: xErrLoc := 260;
2284: xActionMode := 'UPDATE_ITEMS_B';
2285: -- Update ICX_CAT_ITEMS_B
2286: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2287: FOR i in 1..gUBRtItemIds.COUNT LOOP
2288: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2289: snapShot(i, xActionMode));
2290: END LOOP;

Line 2288: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2284: xActionMode := 'UPDATE_ITEMS_B';
2285: -- Update ICX_CAT_ITEMS_B
2286: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2287: FOR i in 1..gUBRtItemIds.COUNT LOOP
2288: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2289: snapShot(i, xActionMode));
2290: END LOOP;
2291: END IF;
2292: FORALL i IN 1..gUBRtItemIds.COUNT

Line 2313: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2309:
2310: xErrLoc := 280;
2311: xActionMode := 'INSERT_ITEMS_TLP';
2312: -- Insert ICX_CAT_ITEMS_TLP
2313: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2314: FOR i in 1..gITRtItemIds.COUNT LOOP
2315: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2316: snapShot(i, xActionMode));
2317: END LOOP;

Line 2315: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2311: xActionMode := 'INSERT_ITEMS_TLP';
2312: -- Insert ICX_CAT_ITEMS_TLP
2313: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2314: FOR i in 1..gITRtItemIds.COUNT LOOP
2315: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2316: snapShot(i, xActionMode));
2317: END LOOP;
2318: END IF;
2319: IF gExtractImageDet = 'Y' THEN

Line 2383: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2379:
2380: xErrLoc := 290;
2381: xActionMode := 'UPDATE_ITEMS_TLP';
2382: -- Update ICX_CAT_ITEMS_TLP
2383: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2384: FOR i in 1..gUTRtItemIds.COUNT LOOP
2385: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2386: snapShot(i, xActionMode));
2387: END LOOP;

Line 2385: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2381: xActionMode := 'UPDATE_ITEMS_TLP';
2382: -- Update ICX_CAT_ITEMS_TLP
2383: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2384: FOR i in 1..gUTRtItemIds.COUNT LOOP
2385: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2386: snapShot(i, xActionMode));
2387: END LOOP;
2388: END IF;
2389: IF gExtractImageDet = 'Y' THEN

Line 2441: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2437:
2438: xErrLoc := 300;
2439: xActionMode := 'INSERT_CATEGORY_ITEMS';
2440: -- Insert ICX_CAT_CATEGORY_ITEMS
2441: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2442: FOR i in 1..gICRtItemIds.COUNT LOOP
2443: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2444: snapShot(i, xActionMode));
2445: END LOOP;

Line 2443: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2439: xActionMode := 'INSERT_CATEGORY_ITEMS';
2440: -- Insert ICX_CAT_CATEGORY_ITEMS
2441: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2442: FOR i in 1..gICRtItemIds.COUNT LOOP
2443: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2444: snapShot(i, xActionMode));
2445: END LOOP;
2446: END IF;
2447: FORALL i IN 1..gICRtItemIds.COUNT

Line 2465: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2461:
2462: xErrLoc := 320;
2463: xActionMode := 'UPDATE_CATEGORY_ITEMS';
2464: -- Update ICX_CAT_CATEGORY_ITEMS
2465: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2466: FOR i in 1..gUCRtItemIds.COUNT LOOP
2467: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2468: snapShot(i, xActionMode));
2469: END LOOP;

Line 2467: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2463: xActionMode := 'UPDATE_CATEGORY_ITEMS';
2464: -- Update ICX_CAT_CATEGORY_ITEMS
2465: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2466: FOR i in 1..gUCRtItemIds.COUNT LOOP
2467: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2468: snapShot(i, xActionMode));
2469: END LOOP;
2470: END IF;
2471: FORALL i IN 1..gUCRtItemIds.COUNT

Line 2489: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2485:
2486: xErrLoc := 340;
2487: xActionMode := 'INSERT_EXT_ITEMS';
2488: -- Insert ICX_CAT_EXT_ITEMS_TLP
2489: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2490: FOR i in 1..gIERtItemIds.COUNT LOOP
2491: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2492: snapShot(i, xActionMode));
2493: END LOOP;

Line 2491: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2487: xActionMode := 'INSERT_EXT_ITEMS';
2488: -- Insert ICX_CAT_EXT_ITEMS_TLP
2489: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2490: FOR i in 1..gIERtItemIds.COUNT LOOP
2491: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2492: snapShot(i, xActionMode));
2493: END LOOP;
2494: END IF;
2495: FORALL i IN 1..gIERtItemIds.COUNT

Line 2521: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2517:
2518: xErrLoc := 360;
2519: xActionMode := 'UPDATE_EXT_ITEMS';
2520: -- Update ICX_CAT_EXT_ITEMS_TLP
2521: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2522: FOR i in 1..gUERtItemIds.COUNT LOOP
2523: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2524: snapShot(i, xActionMode));
2525: END LOOP;

Line 2523: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2519: xActionMode := 'UPDATE_EXT_ITEMS';
2520: -- Update ICX_CAT_EXT_ITEMS_TLP
2521: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2522: FOR i in 1..gUERtItemIds.COUNT LOOP
2523: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2524: snapShot(i, xActionMode));
2525: END LOOP;
2526: END IF;
2527: FORALL i IN 1..gUERtItemIds.COUNT

Line 2547: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2543:
2544: xErrLoc := 380;
2545: xActionMode := 'DELETE_ITEM_PRICE';
2546: -- Delete Item Price
2547: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2548: FOR i in 1..gDPRowIds.COUNT LOOP
2549: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2550: snapShot(i, xActionMode));
2551: END LOOP;

Line 2549: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2545: xActionMode := 'DELETE_ITEM_PRICE';
2546: -- Delete Item Price
2547: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2548: FOR i in 1..gDPRowIds.COUNT LOOP
2549: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2550: snapShot(i, xActionMode));
2551: END LOOP;
2552: END IF;
2553: FORALL i IN 1..gDPRowIds.COUNT

Line 2567: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2563:
2564: xErrLoc := 395;
2565: xActionMode := 'DELETE_ITEM_PRICE_GA';
2566: -- Delete Item Price
2567: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2568: FOR i in 1..gDPGContractLineIds.COUNT LOOP
2569: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2570: snapShot(i, xActionMode));
2571: END LOOP;

Line 2569: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2565: xActionMode := 'DELETE_ITEM_PRICE_GA';
2566: -- Delete Item Price
2567: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2568: FOR i in 1..gDPGContractLineIds.COUNT LOOP
2569: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2570: snapShot(i, xActionMode));
2571: END LOOP;
2572: END IF;
2573: xRtItemIds.DELETE;

Line 2592: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2588:
2589: xErrLoc := 400;
2590: xActionMode := 'UPDATE_PRICES_GA';
2591: -- Update ICX_CAT_ITEM_PRICES for local global agreements
2592: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2593: FOR i in 1..gUPGAContractLineIds.COUNT LOOP
2594: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2595: snapShot(i, xActionMode));
2596: END LOOP;

Line 2594: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2590: xActionMode := 'UPDATE_PRICES_GA';
2591: -- Update ICX_CAT_ITEM_PRICES for local global agreements
2592: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2593: FOR i in 1..gUPGAContractLineIds.COUNT LOOP
2594: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2595: snapShot(i, xActionMode));
2596: END LOOP;
2597: END IF;
2598: FORALL i IN 1..gUPGAContractLineIds.COUNT

Line 2627: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2623:
2624: xErrLoc := 420;
2625: xActionMode := 'INSERT_PRICES_GA';
2626: -- Insert ICX_CAT_ITEM_PRICES for local global agreements
2627: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2628: FOR i in 1..gIPGAContractLineIds.COUNT LOOP
2629: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2630: snapShot(i, xActionMode));
2631: END LOOP;

Line 2629: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2625: xActionMode := 'INSERT_PRICES_GA';
2626: -- Insert ICX_CAT_ITEM_PRICES for local global agreements
2627: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2628: FOR i in 1..gIPGAContractLineIds.COUNT LOOP
2629: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2630: snapShot(i, xActionMode));
2631: END LOOP;
2632: END IF;
2633: FORALL i IN 1..gIPGAContractLineIds.COUNT

Line 2700: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2696:
2697: xErrLoc := 440;
2698: xActionMode := 'SET_LOCAL_RT_ITEM_ID';
2699: -- Set local rt_item_id for local global agreements
2700: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2701: FOR i in 1..gSLRRowIds.COUNT LOOP
2702: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2703: snapShot(i, xActionMode));
2704: END LOOP;

Line 2702: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2698: xActionMode := 'SET_LOCAL_RT_ITEM_ID';
2699: -- Set local rt_item_id for local global agreements
2700: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2701: FOR i in 1..gSLRRowIds.COUNT LOOP
2702: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2703: snapShot(i, xActionMode));
2704: END LOOP;
2705: END IF;
2706: -- NOTE: we use local_rt_item_id to store local rt_item_id

Line 2716: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2712:
2713: xErrLoc := 450;
2714: xActionMode := 'TOUCH_CLEANUP_ITEM';
2715: -- Insert temporary table to cleanup items
2716: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2717: FOR i in 1..gCIRtItemIds.COUNT LOOP
2718: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2719: snapShot(i, xActionMode));
2720: END LOOP;

Line 2718: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2714: xActionMode := 'TOUCH_CLEANUP_ITEM';
2715: -- Insert temporary table to cleanup items
2716: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2717: FOR i in 1..gCIRtItemIds.COUNT LOOP
2718: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2719: snapShot(i, xActionMode));
2720: END LOOP;
2721: END IF;
2722: FORALL i IN 1..gCIRtItemIds.COUNT

Line 2731: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2727:
2728: xErrLoc := 460;
2729: xActionMode := 'TOUCH_UPDATED_GA';
2730: -- Insert temporary table to set updated GAs
2731: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2732: FOR i in 1..gUGAContractIds.COUNT LOOP
2733: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2734: snapShot(i, xActionMode));
2735: END LOOP;

Line 2733: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2729: xActionMode := 'TOUCH_UPDATED_GA';
2730: -- Insert temporary table to set updated GAs
2731: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2732: FOR i in 1..gUGAContractIds.COUNT LOOP
2733: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2734: snapShot(i, xActionMode));
2735: END LOOP;
2736: END IF;
2737: FORALL i IN 1..gUGAContractIds.COUNT

Line 2746: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2742:
2743: xErrLoc := 500;
2744: xActionMode := 'TOUCH_ACTIVE_FLAG';
2745: -- Insert temporary table to set active_flag
2746: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2747: FOR i in 1..gTARtItemIds.COUNT LOOP
2748: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2749: snapShot(i, xActionMode));
2750: END LOOP;

Line 2748: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2744: xActionMode := 'TOUCH_ACTIVE_FLAG';
2745: -- Insert temporary table to set active_flag
2746: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2747: FOR i in 1..gTARtItemIds.COUNT LOOP
2748: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2749: snapShot(i, xActionMode));
2750: END LOOP;
2751: END IF;
2752: FORALL i IN 1..gTARtItemIds.COUNT

Line 2761: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2757:
2758: xErrLoc := 510;
2759: xActionMode := 'TOUCH_ACTIVE_FLAG_INV';
2760: -- Insert temporary table to set active_flag
2761: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2762: FOR i in 1..gTAInvItemIds.COUNT LOOP
2763: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2764: snapShot(i, xActionMode));
2765: END LOOP;

Line 2763: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2759: xActionMode := 'TOUCH_ACTIVE_FLAG_INV';
2760: -- Insert temporary table to set active_flag
2761: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2762: FOR i in 1..gTAInvItemIds.COUNT LOOP
2763: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2764: snapShot(i, xActionMode));
2765: END LOOP;
2766: END IF;
2767: FORALL i IN 1..gTAInvItemIds.COUNT

Line 2778: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

2774: AND supplier IS NULL;
2775: clearTables(xActionMode);
2776:
2777: xErrLoc := 520;
2778: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
2779: 'Processed records: ' || gPriceRowCount);
2780: ICX_POR_EXT_UTL.extAFCommit;
2781:
2782: -- Need to clear the caches after commit

Line 2780: ICX_POR_EXT_UTL.extAFCommit;

2776:
2777: xErrLoc := 520;
2778: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
2779: 'Processed records: ' || gPriceRowCount);
2780: ICX_POR_EXT_UTL.extAFCommit;
2781:
2782: -- Need to clear the caches after commit
2783: clearCache;
2784: END IF; -- gTransactionCount >= ICX_POR_EXT_UTL.gCommitSize

Line 2784: END IF; -- gTransactionCount >= ICX_POR_EXT_UTL.gCommitSize

2780: ICX_POR_EXT_UTL.extAFCommit;
2781:
2782: -- Need to clear the caches after commit
2783: clearCache;
2784: END IF; -- gTransactionCount >= ICX_POR_EXT_UTL.gCommitSize
2785:
2786: xActionMode := 'DELETE_PURCHASING_ITEM';
2787: -- Delete Item
2788: IF (pMode = 'OUTLOOP' OR

Line 2789: gDIPurchasingItemIds.COUNT >= ICX_POR_EXT_UTL.gCommitSize)

2785:
2786: xActionMode := 'DELETE_PURCHASING_ITEM';
2787: -- Delete Item
2788: IF (pMode = 'OUTLOOP' OR
2789: gDIPurchasingItemIds.COUNT >= ICX_POR_EXT_UTL.gCommitSize)
2790: THEN
2791: xErrLoc := 540;
2792: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2793: FOR i in 1..gDIPurchasingItemIds.COUNT LOOP

Line 2792: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2788: IF (pMode = 'OUTLOOP' OR
2789: gDIPurchasingItemIds.COUNT >= ICX_POR_EXT_UTL.gCommitSize)
2790: THEN
2791: xErrLoc := 540;
2792: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2793: FOR i in 1..gDIPurchasingItemIds.COUNT LOOP
2794: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2795: snapShot(i, xActionMode));
2796: END LOOP;

Line 2794: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2790: THEN
2791: xErrLoc := 540;
2792: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2793: FOR i in 1..gDIPurchasingItemIds.COUNT LOOP
2794: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2795: snapShot(i, xActionMode));
2796: END LOOP;
2797: END IF;
2798:

Line 2808: AND rownum <= ICX_POR_EXT_UTL.gCommitSize

2804: WHERE inventory_item_id = gDIPurchasingItemIds(i)
2805: AND org_id = gDIPurchasingOrgIds(i)
2806: AND (search_type = 'SUPPLIER' OR
2807: price_type = 'PURCHASING_ITEM')
2808: AND rownum <= ICX_POR_EXT_UTL.gCommitSize
2809: RETURNING rt_item_id BULK COLLECT INTO xRtItemIds;
2810:
2811: IF (SQL%ROWCOUNT < ICX_POR_EXT_UTL.gCommitSize) THEN
2812: xContinue := FALSE;

Line 2811: IF (SQL%ROWCOUNT < ICX_POR_EXT_UTL.gCommitSize) THEN

2807: price_type = 'PURCHASING_ITEM')
2808: AND rownum <= ICX_POR_EXT_UTL.gCommitSize
2809: RETURNING rt_item_id BULK COLLECT INTO xRtItemIds;
2810:
2811: IF (SQL%ROWCOUNT < ICX_POR_EXT_UTL.gCommitSize) THEN
2812: xContinue := FALSE;
2813: END IF;
2814:
2815: xErrLoc := 545;

Line 2840: ICX_POR_EXT_UTL.extAFCommit;

2836: WHERE c.rt_category_id = ci.rt_category_id
2837: AND c.type = ICX_POR_EXT_CLASS.TEMPLATE_HEADER_TYPE);
2838:
2839: xErrLoc := 560;
2840: ICX_POR_EXT_UTL.extAFCommit;
2841: END LOOP;
2842:
2843: clearTables(xActionMode);
2844: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

Line 2844: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

2840: ICX_POR_EXT_UTL.extAFCommit;
2841: END LOOP;
2842:
2843: clearTables(xActionMode);
2844: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
2845: 'Processed records: ' || gPriceRowCount);
2846: END IF;
2847:
2848: xActionMode := 'DELETE_NULL_PRICE_ITEM';

Line 2850: gDINullPriceItemIds.COUNT >= ICX_POR_EXT_UTL.gCommitSize)

2846: END IF;
2847:
2848: xActionMode := 'DELETE_NULL_PRICE_ITEM';
2849: IF (pMode = 'OUTLOOP' OR
2850: gDINullPriceItemIds.COUNT >= ICX_POR_EXT_UTL.gCommitSize)
2851: THEN
2852: xErrLoc := 580;
2853: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2854: FOR i in 1..gDIPurchasingItemIds.COUNT LOOP

Line 2853: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2849: IF (pMode = 'OUTLOOP' OR
2850: gDINullPriceItemIds.COUNT >= ICX_POR_EXT_UTL.gCommitSize)
2851: THEN
2852: xErrLoc := 580;
2853: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2854: FOR i in 1..gDIPurchasingItemIds.COUNT LOOP
2855: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2856: snapShot(i, xActionMode));
2857: END LOOP;

Line 2855: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2851: THEN
2852: xErrLoc := 580;
2853: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2854: FOR i in 1..gDIPurchasingItemIds.COUNT LOOP
2855: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2856: snapShot(i, xActionMode));
2857: END LOOP;
2858: END IF;
2859:

Line 2868: AND rownum <= ICX_POR_EXT_UTL.gCommitSize

2864: DELETE FROM icx_cat_item_prices
2865: WHERE inventory_item_id = gDINullPriceItemIds(i)
2866: AND org_id = gDINullPriceOrgIds(i)
2867: AND price_type IN ('ASL', 'PURCHASING_ITEM')
2868: AND rownum <= ICX_POR_EXT_UTL.gCommitSize
2869: RETURNING rt_item_id BULK COLLECT INTO xRtItemIds;
2870:
2871: xErrLoc := 590;
2872: -- Insert temporary table to cleanup items

Line 2878: IF (SQL%ROWCOUNT < ICX_POR_EXT_UTL.gCommitSize) THEN

2874: INSERT INTO icx_cat_extract_gt
2875: (rt_item_id, type)
2876: VALUES (xRtItemIds(i), 'CLEANUP_ITEM');
2877:
2878: IF (SQL%ROWCOUNT < ICX_POR_EXT_UTL.gCommitSize) THEN
2879: xContinue := FALSE;
2880: END IF;
2881:
2882: xErrLoc := 600;

Line 2883: ICX_POR_EXT_UTL.extAFCommit;

2879: xContinue := FALSE;
2880: END IF;
2881:
2882: xErrLoc := 600;
2883: ICX_POR_EXT_UTL.extAFCommit;
2884: END LOOP;
2885:
2886: clearTables(xActionMode);
2887: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

Line 2887: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

2883: ICX_POR_EXT_UTL.extAFCommit;
2884: END LOOP;
2885:
2886: clearTables(xActionMode);
2887: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
2888: 'Processed records: ' || gPriceRowCount);
2889: END IF;
2890:
2891: xActionMode := 'DELETE_INTERNAL_ITEM';

Line 2893: gDIInternalItemIds.COUNT >= ICX_POR_EXT_UTL.gCommitSize)

2889: END IF;
2890:
2891: xActionMode := 'DELETE_INTERNAL_ITEM';
2892: IF (pMode = 'OUTLOOP' OR
2893: gDIInternalItemIds.COUNT >= ICX_POR_EXT_UTL.gCommitSize)
2894: THEN
2895: xErrLoc := 620;
2896: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2897: FOR i in 1..gDIPurchasingItemIds.COUNT LOOP

Line 2896: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

2892: IF (pMode = 'OUTLOOP' OR
2893: gDIInternalItemIds.COUNT >= ICX_POR_EXT_UTL.gCommitSize)
2894: THEN
2895: xErrLoc := 620;
2896: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2897: FOR i in 1..gDIPurchasingItemIds.COUNT LOOP
2898: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2899: snapShot(i, xActionMode));
2900: END LOOP;

Line 2898: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2894: THEN
2895: xErrLoc := 620;
2896: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
2897: FOR i in 1..gDIPurchasingItemIds.COUNT LOOP
2898: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2899: snapShot(i, xActionMode));
2900: END LOOP;
2901: END IF;
2902:

Line 2911: AND rownum <= ICX_POR_EXT_UTL.gCommitSize

2907: DELETE FROM icx_cat_item_prices
2908: WHERE inventory_item_id = gDIInternalItemIds(i)
2909: AND org_id = gDIInternalOrgIds(i)
2910: AND search_type = 'INTERNAL'
2911: AND rownum <= ICX_POR_EXT_UTL.gCommitSize
2912: RETURNING rt_item_id BULK COLLECT INTO xRtItemIds;
2913:
2914: xErrLoc := 630;
2915: -- Insert temporary table to cleanup items

Line 2921: IF (SQL%ROWCOUNT < ICX_POR_EXT_UTL.gCommitSize) THEN

2917: INSERT INTO icx_cat_extract_gt
2918: (rt_item_id, type)
2919: VALUES (xRtItemIds(i), 'CLEANUP_ITEM');
2920:
2921: IF (SQL%ROWCOUNT < ICX_POR_EXT_UTL.gCommitSize) THEN
2922: xContinue := FALSE;
2923: END IF;
2924:
2925: xErrLoc := 640;

Line 2926: ICX_POR_EXT_UTL.extAFCommit;

2922: xContinue := FALSE;
2923: END IF;
2924:
2925: xErrLoc := 640;
2926: ICX_POR_EXT_UTL.extAFCommit;
2927: END LOOP;
2928:
2929: clearTables(xActionMode);
2930: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

Line 2930: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

2926: ICX_POR_EXT_UTL.extAFCommit;
2927: END LOOP;
2928:
2929: clearTables(xActionMode);
2930: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
2931: 'Processed records: ' || gPriceRowCount);
2932: END IF;
2933:
2934: xErrLoc := 800;

Line 2935: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

2931: 'Processed records: ' || gPriceRowCount);
2932: END IF;
2933:
2934: xErrLoc := 800;
2935: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
2936: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2937: 'Leave processBatchData()');
2938: END IF;
2939: EXCEPTION

Line 2936: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2932: END IF;
2933:
2934: xErrLoc := 800;
2935: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
2936: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2937: 'Leave processBatchData()');
2938: END IF;
2939: EXCEPTION
2940: when ICX_POR_EXT_UTL.gException then

Line 2940: when ICX_POR_EXT_UTL.gException then

2936: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2937: 'Leave processBatchData()');
2938: END IF;
2939: EXCEPTION
2940: when ICX_POR_EXT_UTL.gException then
2941: -- rollback;
2942: ICX_POR_EXT_UTL.extRollback;
2943:
2944: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processBatchData-'||

Line 2942: ICX_POR_EXT_UTL.extRollback;

2938: END IF;
2939: EXCEPTION
2940: when ICX_POR_EXT_UTL.gException then
2941: -- rollback;
2942: ICX_POR_EXT_UTL.extRollback;
2943:
2944: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processBatchData-'||
2945: xErrLoc);
2946: raise ICX_POR_EXT_UTL.gException;

Line 2944: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processBatchData-'||

2940: when ICX_POR_EXT_UTL.gException then
2941: -- rollback;
2942: ICX_POR_EXT_UTL.extRollback;
2943:
2944: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processBatchData-'||
2945: xErrLoc);
2946: raise ICX_POR_EXT_UTL.gException;
2947: when others then
2948: -- rollback;

Line 2946: raise ICX_POR_EXT_UTL.gException;

2942: ICX_POR_EXT_UTL.extRollback;
2943:
2944: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processBatchData-'||
2945: xErrLoc);
2946: raise ICX_POR_EXT_UTL.gException;
2947: when others then
2948: -- rollback;
2949: ICX_POR_EXT_UTL.extRollback;
2950:

Line 2949: ICX_POR_EXT_UTL.extRollback;

2945: xErrLoc);
2946: raise ICX_POR_EXT_UTL.gException;
2947: when others then
2948: -- rollback;
2949: ICX_POR_EXT_UTL.extRollback;
2950:
2951: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processBatchData-'||
2952: xErrLoc||' '||SQLERRM);
2953: ICX_POR_EXT_UTL.pushError(snapShot(SQL%ROWCOUNT+1, xActionMode));

Line 2951: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processBatchData-'||

2947: when others then
2948: -- rollback;
2949: ICX_POR_EXT_UTL.extRollback;
2950:
2951: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processBatchData-'||
2952: xErrLoc||' '||SQLERRM);
2953: ICX_POR_EXT_UTL.pushError(snapShot(SQL%ROWCOUNT+1, xActionMode));
2954: raise ICX_POR_EXT_UTL.gException;
2955: END processBatchData;

Line 2953: ICX_POR_EXT_UTL.pushError(snapShot(SQL%ROWCOUNT+1, xActionMode));

2949: ICX_POR_EXT_UTL.extRollback;
2950:
2951: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processBatchData-'||
2952: xErrLoc||' '||SQLERRM);
2953: ICX_POR_EXT_UTL.pushError(snapShot(SQL%ROWCOUNT+1, xActionMode));
2954: raise ICX_POR_EXT_UTL.gException;
2955: END processBatchData;
2956:
2957: --------------------------------------------------------------

Line 2954: raise ICX_POR_EXT_UTL.gException;

2950:
2951: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processBatchData-'||
2952: xErrLoc||' '||SQLERRM);
2953: ICX_POR_EXT_UTL.pushError(snapShot(SQL%ROWCOUNT+1, xActionMode));
2954: raise ICX_POR_EXT_UTL.gException;
2955: END processBatchData;
2956:
2957: --------------------------------------------------------------
2958: -- Search Updated Price Rows Procedures --

Line 2966: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

2962: xErrLoc PLS_INTEGER := 100;
2963: xFoundItemCur tFoundItemCursor;
2964: BEGIN
2965: xErrLoc := 100;
2966: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
2967: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2968: 'Enter openItemCursor()');
2969: END IF;
2970:

Line 2967: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

2963: xFoundItemCur tFoundItemCursor;
2964: BEGIN
2965: xErrLoc := 100;
2966: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
2967: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
2968: 'Enter openItemCursor()');
2969: END IF;
2970:
2971: -- Inventory item with documents

Line 3205: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-openItemCursor-'||

3201: RETURN xFoundItemCur;
3202:
3203: EXCEPTION
3204: when others then
3205: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-openItemCursor-'||
3206: xErrLoc||' '||SQLERRM);
3207: raise ICX_POR_EXT_UTL.gException;
3208: END openItemCursor;
3209:

Line 3207: raise ICX_POR_EXT_UTL.gException;

3203: EXCEPTION
3204: when others then
3205: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-openItemCursor-'||
3206: xErrLoc||' '||SQLERRM);
3207: raise ICX_POR_EXT_UTL.gException;
3208: END openItemCursor;
3209:
3210: -- Find item record based on Item Uniqueness Rules
3211: --

Line 3257: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

3253: xStatus PLS_INTEGER := NULL_NUMBER;
3254: xRtItemId NUMBER;
3255: BEGIN
3256: xErrLoc := 100;
3257: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
3258: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
3259: 'Enter findItemRecord()');
3260: END IF;
3261:

Line 3258: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

3254: xRtItemId NUMBER;
3255: BEGIN
3256: xErrLoc := 100;
3257: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
3258: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
3259: 'Enter findItemRecord()');
3260: END IF;
3261:
3262: -- Check if Category/Template Header is extracted

Line 3288: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.ANLYS_LEVEL THEN

3284: ICX_POR_EXTRACTOR.gLoaderValue.load_internal_item) = 0
3285: THEN
3286: xErrLoc := 150;
3287: -- Report analysis message here
3288: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.ANLYS_LEVEL THEN
3289: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.ANLYS_LEVEL,
3290: getPriceReport);
3291: END IF;
3292: RETURN DELETE_PRICE;

Line 3289: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.ANLYS_LEVEL,

3285: THEN
3286: xErrLoc := 150;
3287: -- Report analysis message here
3288: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.ANLYS_LEVEL THEN
3289: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.ANLYS_LEVEL,
3290: getPriceReport);
3291: END IF;
3292: RETURN DELETE_PRICE;
3293: END IF;

Line 3296: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3292: RETURN DELETE_PRICE;
3293: END IF;
3294:
3295: -- Check cache
3296: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3297: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3298: 'Check from cache');
3299: END IF;
3300: xItem.org_id := gCurrentPrice.org_id;

Line 3297: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3293: END IF;
3294:
3295: -- Check cache
3296: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3297: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3298: 'Check from cache');
3299: END IF;
3300: xItem.org_id := gCurrentPrice.org_id;
3301: xItem.internal_item_id := gCurrentPrice.internal_item_id;

Line 3317: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3313: END IF;
3314: xItem.rt_item_id := NULL_NUMBER;
3315: xItem.hash_value := NULL_NUMBER;
3316:
3317: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3318: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3319: snapShotItemRecord(xItem));
3320: END IF;
3321:

Line 3318: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3314: xItem.rt_item_id := NULL_NUMBER;
3315: xItem.hash_value := NULL_NUMBER;
3316:
3317: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3318: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3319: snapShotItemRecord(xItem));
3320: END IF;
3321:
3322: xErrLoc := 200;

Line 3325: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3321:
3322: xErrLoc := 200;
3323: IF findItemCache(xItem) THEN
3324: xErrLoc := 200;
3325: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3326: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3327: 'found from cache: ' || snapShotItemRecord(xItem));
3328: END IF;
3329: gCurrentPrice.rt_item_id := xItem.rt_item_id;

Line 3326: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3322: xErrLoc := 200;
3323: IF findItemCache(xItem) THEN
3324: xErrLoc := 200;
3325: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3326: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3327: 'found from cache: ' || snapShotItemRecord(xItem));
3328: END IF;
3329: gCurrentPrice.rt_item_id := xItem.rt_item_id;
3330: xErrLoc := 220;

Line 3351: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3347: gCurrentPrice.supplier_part_num<> TO_CHAR(NULL_NUMBER) OR
3348: (gCurrentPrice.contract_line_id <> NULL_NUMBER AND
3349: gCurrentPrice.contract_line_id = gCurrentPrice.price_contract_line_id)))))
3350: THEN
3351: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3352: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3353: 'Old item record is matched with the price row');
3354: END IF;
3355: xErrLoc := 340;

Line 3352: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3348: (gCurrentPrice.contract_line_id <> NULL_NUMBER AND
3349: gCurrentPrice.contract_line_id = gCurrentPrice.price_contract_line_id)))))
3350: THEN
3351: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3352: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3353: 'Old item record is matched with the price row');
3354: END IF;
3355: xErrLoc := 340;
3356: gCurrentPrice.rt_item_id := gCurrentPrice.price_rt_item_id;

Line 3379: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3375: xErrLoc := 620;
3376: SELECT icx_por_itemid.nextval
3377: INTO xRtItemId
3378: FROM dual;
3379: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3380: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3381: 'Create new rt_item_id: ' || xRtItemId);
3382: END IF;
3383: xErrLoc := 640;

Line 3380: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3376: SELECT icx_por_itemid.nextval
3377: INTO xRtItemId
3378: FROM dual;
3379: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3380: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3381: 'Create new rt_item_id: ' || xRtItemId);
3382: END IF;
3383: xErrLoc := 640;
3384: gCurrentPrice.rt_item_id := xRtItemId;

Line 3389: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3385: RETURN NEW_ITEM;
3386: END IF;
3387:
3388: -- check the database
3389: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3390: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3391: 'Check from database');
3392: END IF;
3393:

Line 3390: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3386: END IF;
3387:
3388: -- check the database
3389: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3390: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3391: 'Check from database');
3392: END IF;
3393:
3394: -- Construct query to search database

Line 3399: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3395: xFoundItemCur := openItemCursor;
3396:
3397: xErrLoc := 420;
3398: FETCH xFoundItemCur INTO xFoundItem;
3399: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3400: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3401: 'xFoundItem[rt_item_id: ' || xFoundItem.rt_item_id ||
3402: ', primary_category_id: ' || xFoundItem.primary_category_id ||
3403: ', match_template_flag: ' || xFoundItem.match_template_flag ||

Line 3400: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3396:
3397: xErrLoc := 420;
3398: FETCH xFoundItemCur INTO xFoundItem;
3399: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3400: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3401: 'xFoundItem[rt_item_id: ' || xFoundItem.rt_item_id ||
3402: ', primary_category_id: ' || xFoundItem.primary_category_id ||
3403: ', match_template_flag: ' || xFoundItem.match_template_flag ||
3404: ']');

Line 3426: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3422:
3423: IF (xFoundItem.primary_category_id <> NULL_NUMBER OR
3424: gCurrentPrice.document_type = GLOBAL_AGREEMENT_TYPE)
3425: THEN
3426: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3427: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3428: 'Find matched item record from database: ' ||
3429: gCurrentPrice.rt_item_id);
3430: END IF;

Line 3427: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3423: IF (xFoundItem.primary_category_id <> NULL_NUMBER OR
3424: gCurrentPrice.document_type = GLOBAL_AGREEMENT_TYPE)
3425: THEN
3426: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3427: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3428: 'Find matched item record from database: ' ||
3429: gCurrentPrice.rt_item_id);
3430: END IF;
3431: xErrLoc := 540;

Line 3434: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3430: END IF;
3431: xErrLoc := 540;
3432: xStatus := ITEM_MATCH;
3433: ELSE
3434: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3435: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3436: 'Find matched local item record with global agreement from database: ' ||
3437: gCurrentPrice.rt_item_id);
3438: END IF;

Line 3435: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3431: xErrLoc := 540;
3432: xStatus := ITEM_MATCH;
3433: ELSE
3434: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3435: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3436: 'Find matched local item record with global agreement from database: ' ||
3437: gCurrentPrice.rt_item_id);
3438: END IF;
3439: xErrLoc := 560;

Line 3446: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3442: xStatus := NEW_GA_ITEM;
3443: END IF;
3444: ELSE
3445: xErrLoc := 600;
3446: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3447: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3448: 'Item record not found');
3449: END IF;
3450:

Line 3447: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3443: END IF;
3444: ELSE
3445: xErrLoc := 600;
3446: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3447: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3448: 'Item record not found');
3449: END IF;
3450:
3451: xErrLoc := 620;

Line 3455: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3451: xErrLoc := 620;
3452: SELECT icx_por_itemid.nextval
3453: INTO xRtItemId
3454: FROM dual;
3455: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3456: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3457: 'Create new rt_item_id: ' || xRtItemId);
3458: END IF;
3459: xErrLoc := 640;

Line 3456: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3452: SELECT icx_por_itemid.nextval
3453: INTO xRtItemId
3454: FROM dual;
3455: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3456: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3457: 'Create new rt_item_id: ' || xRtItemId);
3458: END IF;
3459: xErrLoc := 640;
3460: gCurrentPrice.rt_item_id := xRtItemId;

Line 3469: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3465:
3466: xErrLoc := 700;
3467: IF xStatus NOT IN (CACHE_MATCH, CACHE_PRICE_MATCH) THEN
3468: xItem.rt_item_id := gCurrentPrice.rt_item_id;
3469: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3470: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3471: 'Put item into cache: ' || snapShotItemRecord(xItem));
3472: END IF;
3473: putItemCache(xItem);

Line 3470: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3466: xErrLoc := 700;
3467: IF xStatus NOT IN (CACHE_MATCH, CACHE_PRICE_MATCH) THEN
3468: xItem.rt_item_id := gCurrentPrice.rt_item_id;
3469: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3470: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3471: 'Put item into cache: ' || snapShotItemRecord(xItem));
3472: END IF;
3473: putItemCache(xItem);
3474: END IF;

Line 3476: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

3472: END IF;
3473: putItemCache(xItem);
3474: END IF;
3475:
3476: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
3477: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
3478: 'Leave findItemRecord()');
3479: END IF;
3480: RETURN xStatus;

Line 3477: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

3473: putItemCache(xItem);
3474: END IF;
3475:
3476: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
3477: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
3478: 'Leave findItemRecord()');
3479: END IF;
3480: RETURN xStatus;
3481: EXCEPTION

Line 3482: when ICX_POR_EXT_UTL.gException then

3478: 'Leave findItemRecord()');
3479: END IF;
3480: RETURN xStatus;
3481: EXCEPTION
3482: when ICX_POR_EXT_UTL.gException then
3483: -- rollback;
3484: ICX_POR_EXT_UTL.extRollback;
3485:
3486: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-findItemRecord-'||

Line 3484: ICX_POR_EXT_UTL.extRollback;

3480: RETURN xStatus;
3481: EXCEPTION
3482: when ICX_POR_EXT_UTL.gException then
3483: -- rollback;
3484: ICX_POR_EXT_UTL.extRollback;
3485:
3486: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-findItemRecord-'||
3487: xErrLoc);
3488: raise ICX_POR_EXT_UTL.gException;

Line 3486: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-findItemRecord-'||

3482: when ICX_POR_EXT_UTL.gException then
3483: -- rollback;
3484: ICX_POR_EXT_UTL.extRollback;
3485:
3486: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-findItemRecord-'||
3487: xErrLoc);
3488: raise ICX_POR_EXT_UTL.gException;
3489: when others then
3490: -- rollback;

Line 3488: raise ICX_POR_EXT_UTL.gException;

3484: ICX_POR_EXT_UTL.extRollback;
3485:
3486: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-findItemRecord-'||
3487: xErrLoc);
3488: raise ICX_POR_EXT_UTL.gException;
3489: when others then
3490: -- rollback;
3491: ICX_POR_EXT_UTL.extRollback;
3492:

Line 3491: ICX_POR_EXT_UTL.extRollback;

3487: xErrLoc);
3488: raise ICX_POR_EXT_UTL.gException;
3489: when others then
3490: -- rollback;
3491: ICX_POR_EXT_UTL.extRollback;
3492:
3493: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-findItemRecord-'||
3494: xErrLoc||' '||SQLERRM);
3495: ICX_POR_EXT_UTL.pushError(snapShotPriceRow);

Line 3493: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-findItemRecord-'||

3489: when others then
3490: -- rollback;
3491: ICX_POR_EXT_UTL.extRollback;
3492:
3493: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-findItemRecord-'||
3494: xErrLoc||' '||SQLERRM);
3495: ICX_POR_EXT_UTL.pushError(snapShotPriceRow);
3496: raise ICX_POR_EXT_UTL.gException;
3497: END findItemRecord;

Line 3495: ICX_POR_EXT_UTL.pushError(snapShotPriceRow);

3491: ICX_POR_EXT_UTL.extRollback;
3492:
3493: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-findItemRecord-'||
3494: xErrLoc||' '||SQLERRM);
3495: ICX_POR_EXT_UTL.pushError(snapShotPriceRow);
3496: raise ICX_POR_EXT_UTL.gException;
3497: END findItemRecord;
3498:
3499: --------------------------------------------------------------

Line 3496: raise ICX_POR_EXT_UTL.gException;

3492:
3493: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-findItemRecord-'||
3494: xErrLoc||' '||SQLERRM);
3495: ICX_POR_EXT_UTL.pushError(snapShotPriceRow);
3496: raise ICX_POR_EXT_UTL.gException;
3497: END findItemRecord;
3498:
3499: --------------------------------------------------------------
3500: -- Process Updated Price Rows Procedures --

Line 3576: ICX_POR_EXT_UTL.extRollback;

3572:
3573: xErrLoc := 400;
3574: EXCEPTION
3575: when others then
3576: ICX_POR_EXT_UTL.extRollback;
3577: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemPrices-'||
3578: xErrLoc||' '||SQLERRM);
3579: raise ICX_POR_EXT_UTL.gException;
3580: END updateItemPrices;

Line 3577: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemPrices-'||

3573: xErrLoc := 400;
3574: EXCEPTION
3575: when others then
3576: ICX_POR_EXT_UTL.extRollback;
3577: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemPrices-'||
3578: xErrLoc||' '||SQLERRM);
3579: raise ICX_POR_EXT_UTL.gException;
3580: END updateItemPrices;
3581:

Line 3579: raise ICX_POR_EXT_UTL.gException;

3575: when others then
3576: ICX_POR_EXT_UTL.extRollback;
3577: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemPrices-'||
3578: xErrLoc||' '||SQLERRM);
3579: raise ICX_POR_EXT_UTL.gException;
3580: END updateItemPrices;
3581:
3582: PROCEDURE insertItemPrices IS
3583: xErrLoc PLS_INTEGER := 100;

Line 3631: ICX_POR_EXT_UTL.extRollback;

3627:
3628: xErrLoc := 400;
3629: EXCEPTION
3630: when others then
3631: ICX_POR_EXT_UTL.extRollback;
3632: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemPrices-'||
3633: xErrLoc||' '||SQLERRM);
3634: raise ICX_POR_EXT_UTL.gException;
3635: END insertItemPrices;

Line 3632: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemPrices-'||

3628: xErrLoc := 400;
3629: EXCEPTION
3630: when others then
3631: ICX_POR_EXT_UTL.extRollback;
3632: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemPrices-'||
3633: xErrLoc||' '||SQLERRM);
3634: raise ICX_POR_EXT_UTL.gException;
3635: END insertItemPrices;
3636:

Line 3634: raise ICX_POR_EXT_UTL.gException;

3630: when others then
3631: ICX_POR_EXT_UTL.extRollback;
3632: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemPrices-'||
3633: xErrLoc||' '||SQLERRM);
3634: raise ICX_POR_EXT_UTL.gException;
3635: END insertItemPrices;
3636:
3637: PROCEDURE insertItemsB IS
3638: xErrLoc PLS_INTEGER := 100;

Line 3663: ICX_POR_EXT_UTL.extRollback;

3659:
3660: xErrLoc := 400;
3661: EXCEPTION
3662: when others then
3663: ICX_POR_EXT_UTL.extRollback;
3664: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemsB-'||
3665: xErrLoc||' '||SQLERRM);
3666: raise ICX_POR_EXT_UTL.gException;
3667: END insertItemsB;

Line 3664: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemsB-'||

3660: xErrLoc := 400;
3661: EXCEPTION
3662: when others then
3663: ICX_POR_EXT_UTL.extRollback;
3664: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemsB-'||
3665: xErrLoc||' '||SQLERRM);
3666: raise ICX_POR_EXT_UTL.gException;
3667: END insertItemsB;
3668:

Line 3666: raise ICX_POR_EXT_UTL.gException;

3662: when others then
3663: ICX_POR_EXT_UTL.extRollback;
3664: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemsB-'||
3665: xErrLoc||' '||SQLERRM);
3666: raise ICX_POR_EXT_UTL.gException;
3667: END insertItemsB;
3668:
3669: PROCEDURE updateItemsB IS
3670: xErrLoc PLS_INTEGER := 100;

Line 3685: ICX_POR_EXT_UTL.extRollback;

3681: gUBJobNumbers(xIndex) := ICX_POR_EXTRACTOR.gJobNum;
3682: xErrLoc := 400;
3683: EXCEPTION
3684: when others then
3685: ICX_POR_EXT_UTL.extRollback;
3686: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemsB-'||
3687: xErrLoc||' '||SQLERRM);
3688: raise ICX_POR_EXT_UTL.gException;
3689: END updateItemsB;

Line 3686: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemsB-'||

3682: xErrLoc := 400;
3683: EXCEPTION
3684: when others then
3685: ICX_POR_EXT_UTL.extRollback;
3686: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemsB-'||
3687: xErrLoc||' '||SQLERRM);
3688: raise ICX_POR_EXT_UTL.gException;
3689: END updateItemsB;
3690:

Line 3688: raise ICX_POR_EXT_UTL.gException;

3684: when others then
3685: ICX_POR_EXT_UTL.extRollback;
3686: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemsB-'||
3687: xErrLoc||' '||SQLERRM);
3688: raise ICX_POR_EXT_UTL.gException;
3689: END updateItemsB;
3690:
3691: PROCEDURE insertItemsTLP IS
3692: xString VARCHAR2(2000);

Line 3731: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3727: 'AND m.language IN (SELECT language_code ' ||
3728: 'FROM fnd_languages ' ||
3729: 'WHERE installed_flag IN (''B'', ''I'')) ';
3730:
3731: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3732: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3733: 'Query for translation: ' || xString);
3734: END IF;
3735:

Line 3732: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3728: 'FROM fnd_languages ' ||
3729: 'WHERE installed_flag IN (''B'', ''I'')) ';
3730:
3731: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3732: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3733: 'Query for translation: ' || xString);
3734: END IF;
3735:
3736: xErrLoc := 200;

Line 3802: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3798: xString := xString || ', ''I'')';
3799: ELSE
3800: xString := xString || ')';
3801: END IF;
3802: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3803: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3804: 'Query for translation : ' || xString);
3805: END IF;
3806: OPEN cTranslations FOR xString;

Line 3803: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3799: ELSE
3800: xString := xString || ')';
3801: END IF;
3802: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3803: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3804: 'Query for translation : ' || xString);
3805: END IF;
3806: OPEN cTranslations FOR xString;
3807: LOOP

Line 3842: ICX_POR_EXT_UTL.extRollback;

3838: END IF;
3839: xErrLoc := 400;
3840: EXCEPTION
3841: when others then
3842: ICX_POR_EXT_UTL.extRollback;
3843: IF (cTranslations%ISOPEN) THEN
3844: CLOSE cTranslations;
3845: END IF;
3846:

Line 3847: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemsTLP-'||

3843: IF (cTranslations%ISOPEN) THEN
3844: CLOSE cTranslations;
3845: END IF;
3846:
3847: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemsTLP-'||
3848: xErrLoc||' '||SQLERRM);
3849: raise ICX_POR_EXT_UTL.gException;
3850: END insertItemsTLP;
3851:

Line 3849: raise ICX_POR_EXT_UTL.gException;

3845: END IF;
3846:
3847: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemsTLP-'||
3848: xErrLoc||' '||SQLERRM);
3849: raise ICX_POR_EXT_UTL.gException;
3850: END insertItemsTLP;
3851:
3852: PROCEDURE updateItemsTLP IS
3853: xString VARCHAR2(2000);

Line 3897: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3893: 'WHERE installed_flag IN (''B'', ''I'')) ' ||
3894: 'AND m.language = t.language (+) ' ||
3895: 'AND t.rt_item_id (+) = :rt_item_id';
3896:
3897: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3898: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3899: 'Query for translation: ' || xString);
3900: END IF;
3901:

Line 3898: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3894: 'AND m.language = t.language (+) ' ||
3895: 'AND t.rt_item_id (+) = :rt_item_id';
3896:
3897: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3898: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3899: 'Query for translation: ' || xString);
3900: END IF;
3901:
3902: xErrLoc := 200;

Line 3916: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3912:
3913: xErrLoc := 210;
3914: IF (xRtItemId IS NULL) THEN
3915: -- No such translation exists
3916: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3917: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3918: 'No translation for ' || xLanguage);
3919: END IF;
3920: xErrLoc := 220;

Line 3917: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3913: xErrLoc := 210;
3914: IF (xRtItemId IS NULL) THEN
3915: -- No such translation exists
3916: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3917: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3918: 'No translation for ' || xLanguage);
3919: END IF;
3920: xErrLoc := 220;
3921: gTransactionCount := gTransactionCount + 1;

Line 3991: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

3987: ELSE
3988: xString := xString || ')';
3989: END IF;
3990:
3991: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3992: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3993: 'Query for translation: ' || xString);
3994: END IF;
3995:

Line 3992: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

3988: xString := xString || ')';
3989: END IF;
3990:
3991: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
3992: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
3993: 'Query for translation: ' || xString);
3994: END IF;
3995:
3996: OPEN cTranslations FOR xString

Line 4004: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

4000: FETCH cTranslations INTO xLanguage, xRtItemId;
4001: EXIT WHEN cTranslations%NOTFOUND;
4002:
4003: IF (xRtItemId IS NULL) THEN
4004: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4005: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4006: 'No translation for ' || xLanguage);
4007: END IF;
4008:

Line 4005: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

4001: EXIT WHEN cTranslations%NOTFOUND;
4002:
4003: IF (xRtItemId IS NULL) THEN
4004: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4005: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4006: 'No translation for ' || xLanguage);
4007: END IF;
4008:
4009: xErrLoc := 300;

Line 4059: ICX_POR_EXT_UTL.extRollback;

4055: END IF;
4056: xErrLoc := 400;
4057: EXCEPTION
4058: when others then
4059: ICX_POR_EXT_UTL.extRollback;
4060: IF (cTranslations%ISOPEN) THEN
4061: CLOSE cTranslations;
4062: END IF;
4063: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemsTLP-'||

Line 4063: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemsTLP-'||

4059: ICX_POR_EXT_UTL.extRollback;
4060: IF (cTranslations%ISOPEN) THEN
4061: CLOSE cTranslations;
4062: END IF;
4063: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemsTLP-'||
4064: xErrLoc||' '||SQLERRM);
4065: raise ICX_POR_EXT_UTL.gException;
4066: END updateItemsTLP;
4067:

Line 4065: raise ICX_POR_EXT_UTL.gException;

4061: CLOSE cTranslations;
4062: END IF;
4063: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemsTLP-'||
4064: xErrLoc||' '||SQLERRM);
4065: raise ICX_POR_EXT_UTL.gException;
4066: END updateItemsTLP;
4067:
4068: -- bug 2925403
4069: PROCEDURE insertExtItemsTLP IS

Line 4103: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

4099: 'AND m.language IN (SELECT language_code ' ||
4100: 'FROM fnd_languages ' ||
4101: 'WHERE installed_flag IN (''B'', ''I'')) ';
4102:
4103: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4104: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4105: 'Query for translation: ' || xString);
4106: END IF;
4107:

Line 4104: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

4100: 'FROM fnd_languages ' ||
4101: 'WHERE installed_flag IN (''B'', ''I'')) ';
4102:
4103: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4104: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4105: 'Query for translation: ' || xString);
4106: END IF;
4107:
4108: xErrLoc := 200;

Line 4141: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

4137: xString := xString || ', ''I'')';
4138: ELSE
4139: xString := xString || ')';
4140: END IF;
4141: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4142: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4143: 'Query for translation: ' || xString);
4144: END IF;
4145: OPEN cTranslations FOR xString;

Line 4142: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

4138: ELSE
4139: xString := xString || ')';
4140: END IF;
4141: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4142: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4143: 'Query for translation: ' || xString);
4144: END IF;
4145: OPEN cTranslations FOR xString;
4146: LOOP

Line 4165: ICX_POR_EXT_UTL.extRollback;

4161:
4162: xErrLoc := 400;
4163: EXCEPTION
4164: when others then
4165: ICX_POR_EXT_UTL.extRollback;
4166: IF (cTranslations%ISOPEN) THEN
4167: CLOSE cTranslations;
4168: END IF;
4169:

Line 4170: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertExtItemsTLP-'||

4166: IF (cTranslations%ISOPEN) THEN
4167: CLOSE cTranslations;
4168: END IF;
4169:
4170: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertExtItemsTLP-'||
4171: xErrLoc||' '||SQLERRM);
4172: raise ICX_POR_EXT_UTL.gException;
4173: END insertExtItemsTLP;
4174:

Line 4172: raise ICX_POR_EXT_UTL.gException;

4168: END IF;
4169:
4170: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertExtItemsTLP-'||
4171: xErrLoc||' '||SQLERRM);
4172: raise ICX_POR_EXT_UTL.gException;
4173: END insertExtItemsTLP;
4174:
4175: -- bug 2925403
4176: PROCEDURE updateExtItemsTLP IS

Line 4215: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

4211: 'WHERE installed_flag IN (''B'', ''I'')) ' ||
4212: 'AND m.language = t.language (+) ' ||
4213: 'AND t.rt_item_id (+) = :rt_item_id';
4214:
4215: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4216: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4217: 'Query for translation: ' || xString);
4218: END IF;
4219:

Line 4216: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

4212: 'AND m.language = t.language (+) ' ||
4213: 'AND t.rt_item_id (+) = :rt_item_id';
4214:
4215: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4216: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4217: 'Query for translation: ' || xString);
4218: END IF;
4219:
4220: xErrLoc := 200;

Line 4233: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

4229:
4230: xErrLoc := 210;
4231: IF (xRtItemId IS NULL) THEN
4232: -- No such translation exists
4233: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4234: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4235: 'No translation for ' || xLanguage);
4236: END IF;
4237: xErrLoc := 220;

Line 4234: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

4230: xErrLoc := 210;
4231: IF (xRtItemId IS NULL) THEN
4232: -- No such translation exists
4233: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4234: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4235: 'No translation for ' || xLanguage);
4236: END IF;
4237: xErrLoc := 220;
4238: gTransactionCount := gTransactionCount + 1;

Line 4277: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

4273: ELSE
4274: xString := xString || ')';
4275: END IF;
4276:
4277: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4278: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4279: 'Query for translation: ' || xString);
4280: END IF;
4281:

Line 4278: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

4274: xString := xString || ')';
4275: END IF;
4276:
4277: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4278: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4279: 'Query for translation: ' || xString);
4280: END IF;
4281:
4282: OPEN cTranslations FOR xString

Line 4292: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

4288:
4289: xErrLoc := 300;
4290: IF (xRtItemId IS NULL) THEN
4291: -- No such translation exists
4292: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4293: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4294: 'No translation for ' || xLanguage);
4295: END IF;
4296:

Line 4293: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

4289: xErrLoc := 300;
4290: IF (xRtItemId IS NULL) THEN
4291: -- No such translation exists
4292: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4293: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4294: 'No translation for ' || xLanguage);
4295: END IF;
4296:
4297: gTransactionCount := gTransactionCount + 1;

Line 4323: ICX_POR_EXT_UTL.extRollback;

4319: END IF;
4320: xErrLoc := 400;
4321: EXCEPTION
4322: when others then
4323: ICX_POR_EXT_UTL.extRollback;
4324: IF (cTranslations%ISOPEN) THEN
4325: CLOSE cTranslations;
4326: END IF;
4327:

Line 4328: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateExtItemsTLP-'||

4324: IF (cTranslations%ISOPEN) THEN
4325: CLOSE cTranslations;
4326: END IF;
4327:
4328: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateExtItemsTLP-'||
4329: xErrLoc||' '||SQLERRM);
4330: raise ICX_POR_EXT_UTL.gException;
4331: END updateExtItemsTLP;
4332:

Line 4330: raise ICX_POR_EXT_UTL.gException;

4326: END IF;
4327:
4328: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateExtItemsTLP-'||
4329: xErrLoc||' '||SQLERRM);
4330: raise ICX_POR_EXT_UTL.gException;
4331: END updateExtItemsTLP;
4332:
4333: PROCEDURE insertPrimaryCategoryItems IS
4334: xErrLoc PLS_INTEGER := 100;

Line 4355: ICX_POR_EXT_UTL.pushError(

4351: gIERtCategoryIds(xIndex) := gCurrentPrice.primary_category_id;
4352: */
4353: EXCEPTION
4354: when others then
4355: ICX_POR_EXT_UTL.pushError(
4356: 'ICX_POR_EXT_ITEM.insertPrimaryCategoryItems-'||
4357: xErrLoc||' '||SQLERRM);
4358: raise ICX_POR_EXT_UTL.gException;
4359: END insertPrimaryCategoryItems;

Line 4358: raise ICX_POR_EXT_UTL.gException;

4354: when others then
4355: ICX_POR_EXT_UTL.pushError(
4356: 'ICX_POR_EXT_ITEM.insertPrimaryCategoryItems-'||
4357: xErrLoc||' '||SQLERRM);
4358: raise ICX_POR_EXT_UTL.gException;
4359: END insertPrimaryCategoryItems;
4360:
4361: PROCEDURE updatePrimaryCategoryItems IS
4362: xErrLoc PLS_INTEGER := 100;

Line 4384: ICX_POR_EXT_UTL.pushError(

4380: gUEOldRtCategoryIds(xIndex) := gCurrentPrice.match_primary_category_id;
4381: */
4382: EXCEPTION
4383: when others then
4384: ICX_POR_EXT_UTL.pushError(
4385: 'ICX_POR_EXT_ITEM.updatePrimaryCategoryItems-'||
4386: xErrLoc||' '||SQLERRM);
4387: raise ICX_POR_EXT_UTL.gException;
4388: END updatePrimaryCategoryItems;

Line 4387: raise ICX_POR_EXT_UTL.gException;

4383: when others then
4384: ICX_POR_EXT_UTL.pushError(
4385: 'ICX_POR_EXT_ITEM.updatePrimaryCategoryItems-'||
4386: xErrLoc||' '||SQLERRM);
4387: raise ICX_POR_EXT_UTL.gException;
4388: END updatePrimaryCategoryItems;
4389:
4390: PROCEDURE insertTemplateCategoryItems IS
4391: xErrLoc PLS_INTEGER := 100;

Line 4403: ICX_POR_EXT_UTL.pushError(

4399:
4400: xErrLoc := 400;
4401: EXCEPTION
4402: when others then
4403: ICX_POR_EXT_UTL.pushError(
4404: 'ICX_POR_EXT_ITEM.insertTemplateCategoryItems-'||
4405: xErrLoc||' '||SQLERRM);
4406: raise ICX_POR_EXT_UTL.gException;
4407: END insertTemplateCategoryItems;

Line 4406: raise ICX_POR_EXT_UTL.gException;

4402: when others then
4403: ICX_POR_EXT_UTL.pushError(
4404: 'ICX_POR_EXT_ITEM.insertTemplateCategoryItems-'||
4405: xErrLoc||' '||SQLERRM);
4406: raise ICX_POR_EXT_UTL.gException;
4407: END insertTemplateCategoryItems;
4408:
4409: PROCEDURE touchCleanupItem(pRtItemId IN NUMBER) IS
4410: xErrLoc PLS_INTEGER := 100;

Line 4418: ICX_POR_EXT_UTL.pushError(

4414: xIndex := gCIRtItemIds.COUNT + 1;
4415: gCIRtItemIds(xIndex) := pRtItemId;
4416: EXCEPTION
4417: when others then
4418: ICX_POR_EXT_UTL.pushError(
4419: 'ICX_POR_EXT_ITEM.touchCleanupItem-'||
4420: xErrLoc||' '||SQLERRM);
4421: raise ICX_POR_EXT_UTL.gException;
4422: END touchCleanupItem;

Line 4421: raise ICX_POR_EXT_UTL.gException;

4417: when others then
4418: ICX_POR_EXT_UTL.pushError(
4419: 'ICX_POR_EXT_ITEM.touchCleanupItem-'||
4420: xErrLoc||' '||SQLERRM);
4421: raise ICX_POR_EXT_UTL.gException;
4422: END touchCleanupItem;
4423:
4424: PROCEDURE touchUpdatedGA(pContractId IN NUMBER,
4425: pContractLineId IN NUMBER)

Line 4436: ICX_POR_EXT_UTL.pushError(

4432: gUGAContractIds(xIndex) := pContractId;
4433: gUGAContractLineIds(xIndex) := pContractLineId;
4434: EXCEPTION
4435: when others then
4436: ICX_POR_EXT_UTL.pushError(
4437: 'ICX_POR_EXT_ITEM.touchUpdatedGA-'||
4438: xErrLoc||' '||SQLERRM);
4439: raise ICX_POR_EXT_UTL.gException;
4440: END touchUpdatedGA;

Line 4439: raise ICX_POR_EXT_UTL.gException;

4435: when others then
4436: ICX_POR_EXT_UTL.pushError(
4437: 'ICX_POR_EXT_ITEM.touchUpdatedGA-'||
4438: xErrLoc||' '||SQLERRM);
4439: raise ICX_POR_EXT_UTL.gException;
4440: END touchUpdatedGA;
4441:
4442: PROCEDURE touchRtItemActiveFlag(pRtItemId IN NUMBER) IS
4443: xErrLoc PLS_INTEGER := 100;

Line 4451: ICX_POR_EXT_UTL.pushError(

4447: xIndex := gTARtItemIds.COUNT + 1;
4448: gTARtItemIds(xIndex) := pRtItemId;
4449: EXCEPTION
4450: when others then
4451: ICX_POR_EXT_UTL.pushError(
4452: 'ICX_POR_EXT_ITEM.touchRtItemActiveFlag-'||
4453: xErrLoc||' '||SQLERRM);
4454: raise ICX_POR_EXT_UTL.gException;
4455: END touchRtItemActiveFlag;

Line 4454: raise ICX_POR_EXT_UTL.gException;

4450: when others then
4451: ICX_POR_EXT_UTL.pushError(
4452: 'ICX_POR_EXT_ITEM.touchRtItemActiveFlag-'||
4453: xErrLoc||' '||SQLERRM);
4454: raise ICX_POR_EXT_UTL.gException;
4455: END touchRtItemActiveFlag;
4456:
4457: PROCEDURE touchInvItemActiveFlag IS
4458: xErrLoc PLS_INTEGER := 100;

Line 4471: ICX_POR_EXT_UTL.pushError(

4467: gTAInvOrgIds(xIndex) := gCurrentPrice.org_id;
4468: END IF;
4469: EXCEPTION
4470: when others then
4471: ICX_POR_EXT_UTL.pushError(
4472: 'ICX_POR_EXT_ITEM.touchInvItemActiveFlag-'||
4473: xErrLoc||' '||SQLERRM);
4474: raise ICX_POR_EXT_UTL.gException;
4475: END touchInvItemActiveFlag;

Line 4474: raise ICX_POR_EXT_UTL.gException;

4470: when others then
4471: ICX_POR_EXT_UTL.pushError(
4472: 'ICX_POR_EXT_ITEM.touchInvItemActiveFlag-'||
4473: xErrLoc||' '||SQLERRM);
4474: raise ICX_POR_EXT_UTL.gException;
4475: END touchInvItemActiveFlag;
4476:
4477: PROCEDURE deleteItemPrices IS
4478: xErrLoc PLS_INTEGER := 100;

Line 4482: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

4478: xErrLoc PLS_INTEGER := 100;
4479: xIndex PLS_INTEGER := 0;
4480: BEGIN
4481: xErrLoc := 100;
4482: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4483: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4484: 'Enter deleteItemPrices()');
4485: END IF;
4486:

Line 4483: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

4479: xIndex PLS_INTEGER := 0;
4480: BEGIN
4481: xErrLoc := 100;
4482: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4483: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4484: 'Enter deleteItemPrices()');
4485: END IF;
4486:
4487: xErrLoc := 200;

Line 4512: ICX_POR_EXT_UTL.extRollback;

4508:
4509: xErrLoc := 500;
4510: EXCEPTION
4511: when others then
4512: ICX_POR_EXT_UTL.extRollback;
4513: ICX_POR_EXT_UTL.pushError(
4514: 'ICX_POR_EXT_ITEM.deleteItemPrices-'||
4515: xErrLoc||' '||SQLERRM);
4516: raise ICX_POR_EXT_UTL.gException;

Line 4513: ICX_POR_EXT_UTL.pushError(

4509: xErrLoc := 500;
4510: EXCEPTION
4511: when others then
4512: ICX_POR_EXT_UTL.extRollback;
4513: ICX_POR_EXT_UTL.pushError(
4514: 'ICX_POR_EXT_ITEM.deleteItemPrices-'||
4515: xErrLoc||' '||SQLERRM);
4516: raise ICX_POR_EXT_UTL.gException;
4517: END deleteItemPrices;

Line 4516: raise ICX_POR_EXT_UTL.gException;

4512: ICX_POR_EXT_UTL.extRollback;
4513: ICX_POR_EXT_UTL.pushError(
4514: 'ICX_POR_EXT_ITEM.deleteItemPrices-'||
4515: xErrLoc||' '||SQLERRM);
4516: raise ICX_POR_EXT_UTL.gException;
4517: END deleteItemPrices;
4518:
4519: PROCEDURE deleteItem IS
4520: xErrLoc PLS_INTEGER := 100;

Line 4524: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

4520: xErrLoc PLS_INTEGER := 100;
4521: xIndex PLS_INTEGER := 0;
4522: BEGIN
4523: xErrLoc := 100;
4524: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4525: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4526: 'Enter deleteItem()');
4527: END IF;
4528:

Line 4525: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

4521: xIndex PLS_INTEGER := 0;
4522: BEGIN
4523: xErrLoc := 100;
4524: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4525: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4526: 'Enter deleteItem()');
4527: END IF;
4528:
4529: -- Delete all price rows from ICX_CAT_ITEM_PRICES for an inventory item.

Line 4553: ICX_POR_EXT_UTL.extRollback;

4549:
4550: xErrLoc := 400;
4551: EXCEPTION
4552: when others then
4553: ICX_POR_EXT_UTL.extRollback;
4554: ICX_POR_EXT_UTL.pushError(
4555: 'ICX_POR_EXT_ITEM.deleteItem-'||
4556: xErrLoc||' '||SQLERRM);
4557: raise ICX_POR_EXT_UTL.gException;

Line 4554: ICX_POR_EXT_UTL.pushError(

4550: xErrLoc := 400;
4551: EXCEPTION
4552: when others then
4553: ICX_POR_EXT_UTL.extRollback;
4554: ICX_POR_EXT_UTL.pushError(
4555: 'ICX_POR_EXT_ITEM.deleteItem-'||
4556: xErrLoc||' '||SQLERRM);
4557: raise ICX_POR_EXT_UTL.gException;
4558: END deleteItem;

Line 4557: raise ICX_POR_EXT_UTL.gException;

4553: ICX_POR_EXT_UTL.extRollback;
4554: ICX_POR_EXT_UTL.pushError(
4555: 'ICX_POR_EXT_ITEM.deleteItem-'||
4556: xErrLoc||' '||SQLERRM);
4557: raise ICX_POR_EXT_UTL.gException;
4558: END deleteItem;
4559:
4560: PROCEDURE updateItemPricesGA IS
4561: xErrLoc PLS_INTEGER := 100;

Line 4565: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

4561: xErrLoc PLS_INTEGER := 100;
4562: xIndex PLS_INTEGER := 0;
4563: BEGIN
4564: xErrLoc := 100;
4565: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4566: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4567: 'Enter updateItemPricesGA()');
4568: END IF;
4569:

Line 4566: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

4562: xIndex PLS_INTEGER := 0;
4563: BEGIN
4564: xErrLoc := 100;
4565: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4566: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4567: 'Enter updateItemPricesGA()');
4568: END IF;
4569:
4570: xErrLoc := 200;

Line 4589: ICX_POR_EXT_UTL.extRollback;

4585:
4586: xErrLoc := 400;
4587: EXCEPTION
4588: when others then
4589: ICX_POR_EXT_UTL.extRollback;
4590: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemPricesGA-'||
4591: xErrLoc||' '||SQLERRM);
4592: raise ICX_POR_EXT_UTL.gException;
4593: END updateItemPricesGA;

Line 4590: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemPricesGA-'||

4586: xErrLoc := 400;
4587: EXCEPTION
4588: when others then
4589: ICX_POR_EXT_UTL.extRollback;
4590: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemPricesGA-'||
4591: xErrLoc||' '||SQLERRM);
4592: raise ICX_POR_EXT_UTL.gException;
4593: END updateItemPricesGA;
4594:

Line 4592: raise ICX_POR_EXT_UTL.gException;

4588: when others then
4589: ICX_POR_EXT_UTL.extRollback;
4590: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updateItemPricesGA-'||
4591: xErrLoc||' '||SQLERRM);
4592: raise ICX_POR_EXT_UTL.gException;
4593: END updateItemPricesGA;
4594:
4595: PROCEDURE insertItemPricesGA IS
4596: xErrLoc PLS_INTEGER := 100;

Line 4600: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

4596: xErrLoc PLS_INTEGER := 100;
4597: xIndex PLS_INTEGER := 0;
4598: BEGIN
4599: xErrLoc := 100;
4600: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4601: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4602: 'Enter insertItemPricesGA()');
4603: END IF;
4604:

Line 4601: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

4597: xIndex PLS_INTEGER := 0;
4598: BEGIN
4599: xErrLoc := 100;
4600: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4601: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4602: 'Enter insertItemPricesGA()');
4603: END IF;
4604:
4605: xErrLoc := 200;

Line 4639: ICX_POR_EXT_UTL.extRollback;

4635:
4636: xErrLoc := 400;
4637: EXCEPTION
4638: when others then
4639: ICX_POR_EXT_UTL.extRollback;
4640: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemPricesGA-'||
4641: xErrLoc||' '||SQLERRM);
4642: raise ICX_POR_EXT_UTL.gException;
4643: END insertItemPricesGA;

Line 4640: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemPricesGA-'||

4636: xErrLoc := 400;
4637: EXCEPTION
4638: when others then
4639: ICX_POR_EXT_UTL.extRollback;
4640: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemPricesGA-'||
4641: xErrLoc||' '||SQLERRM);
4642: raise ICX_POR_EXT_UTL.gException;
4643: END insertItemPricesGA;
4644:

Line 4642: raise ICX_POR_EXT_UTL.gException;

4638: when others then
4639: ICX_POR_EXT_UTL.extRollback;
4640: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.insertItemPricesGA-'||
4641: xErrLoc||' '||SQLERRM);
4642: raise ICX_POR_EXT_UTL.gException;
4643: END insertItemPricesGA;
4644:
4645: PROCEDURE setLocalRtItemId IS
4646: xErrLoc PLS_INTEGER := 100;

Line 4650: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

4646: xErrLoc PLS_INTEGER := 100;
4647: xIndex PLS_INTEGER := 0;
4648: BEGIN
4649: xErrLoc := 100;
4650: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4651: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4652: 'Enter setLocalRtItemId()');
4653: END IF;
4654:

Line 4651: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

4647: xIndex PLS_INTEGER := 0;
4648: BEGIN
4649: xErrLoc := 100;
4650: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4651: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4652: 'Enter setLocalRtItemId()');
4653: END IF;
4654:
4655: xErrLoc := 200;

Line 4663: ICX_POR_EXT_UTL.extRollback;

4659:
4660: xErrLoc := 500;
4661: EXCEPTION
4662: when others then
4663: ICX_POR_EXT_UTL.extRollback;
4664: ICX_POR_EXT_UTL.pushError(
4665: 'ICX_POR_EXT_ITEM.setLocalRtItemId-'||
4666: xErrLoc||' '||SQLERRM);
4667: raise ICX_POR_EXT_UTL.gException;

Line 4664: ICX_POR_EXT_UTL.pushError(

4660: xErrLoc := 500;
4661: EXCEPTION
4662: when others then
4663: ICX_POR_EXT_UTL.extRollback;
4664: ICX_POR_EXT_UTL.pushError(
4665: 'ICX_POR_EXT_ITEM.setLocalRtItemId-'||
4666: xErrLoc||' '||SQLERRM);
4667: raise ICX_POR_EXT_UTL.gException;
4668: END setLocalRtItemId;

Line 4667: raise ICX_POR_EXT_UTL.gException;

4663: ICX_POR_EXT_UTL.extRollback;
4664: ICX_POR_EXT_UTL.pushError(
4665: 'ICX_POR_EXT_ITEM.setLocalRtItemId-'||
4666: xErrLoc||' '||SQLERRM);
4667: raise ICX_POR_EXT_UTL.gException;
4668: END setLocalRtItemId;
4669:
4670: -- Process price row
4671: -- ___________________________________________________________

Line 4758: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

4754: xItemStatus PLS_INTEGER;
4755: BEGIN
4756:
4757: xErrLoc := 100;
4758: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4759: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4760: 'Enter processPriceRow()');
4761: END IF;
4762:

Line 4759: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

4755: BEGIN
4756:
4757: xErrLoc := 100;
4758: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4759: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4760: 'Enter processPriceRow()');
4761: END IF;
4762:
4763: xItemStatus := findItemRecord;

Line 4765: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

4761: END IF;
4762:
4763: xItemStatus := findItemRecord;
4764:
4765: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4766: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4767: 'Process price for ' || snapShotPriceRow ||
4768: ', item status: ' || getItemStatusString(xItemStatus));
4769: END IF;

Line 4766: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

4762:
4763: xItemStatus := findItemRecord;
4764:
4765: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
4766: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
4767: 'Process price for ' || snapShotPriceRow ||
4768: ', item status: ' || getItemStatusString(xItemStatus));
4769: END IF;
4770:

Line 4982: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

4978: END IF;
4979:
4980: END IF;
4981:
4982: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4983: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4984: 'Leave processPriceRow()');
4985: END IF;
4986: xErrLoc := 900;

Line 4983: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

4979:
4980: END IF;
4981:
4982: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
4983: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
4984: 'Leave processPriceRow()');
4985: END IF;
4986: xErrLoc := 900;
4987:

Line 4989: when ICX_POR_EXT_UTL.gException then

4985: END IF;
4986: xErrLoc := 900;
4987:
4988: EXCEPTION
4989: when ICX_POR_EXT_UTL.gException then
4990: -- rollback;
4991: ICX_POR_EXT_UTL.extRollback;
4992:
4993: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-processPriceRow-'||

Line 4991: ICX_POR_EXT_UTL.extRollback;

4987:
4988: EXCEPTION
4989: when ICX_POR_EXT_UTL.gException then
4990: -- rollback;
4991: ICX_POR_EXT_UTL.extRollback;
4992:
4993: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-processPriceRow-'||
4994: xErrLoc);
4995: raise ICX_POR_EXT_UTL.gException;

Line 4993: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-processPriceRow-'||

4989: when ICX_POR_EXT_UTL.gException then
4990: -- rollback;
4991: ICX_POR_EXT_UTL.extRollback;
4992:
4993: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-processPriceRow-'||
4994: xErrLoc);
4995: raise ICX_POR_EXT_UTL.gException;
4996: when others then
4997: -- rollback;

Line 4995: raise ICX_POR_EXT_UTL.gException;

4991: ICX_POR_EXT_UTL.extRollback;
4992:
4993: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-processPriceRow-'||
4994: xErrLoc);
4995: raise ICX_POR_EXT_UTL.gException;
4996: when others then
4997: -- rollback;
4998: ICX_POR_EXT_UTL.extRollback;
4999:

Line 4998: ICX_POR_EXT_UTL.extRollback;

4994: xErrLoc);
4995: raise ICX_POR_EXT_UTL.gException;
4996: when others then
4997: -- rollback;
4998: ICX_POR_EXT_UTL.extRollback;
4999:
5000: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-processPriceRow-'||
5001: xErrLoc||' '||SQLERRM);
5002: ICX_POR_EXT_UTL.pushError(snapShotPriceRow);

Line 5000: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-processPriceRow-'||

4996: when others then
4997: -- rollback;
4998: ICX_POR_EXT_UTL.extRollback;
4999:
5000: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-processPriceRow-'||
5001: xErrLoc||' '||SQLERRM);
5002: ICX_POR_EXT_UTL.pushError(snapShotPriceRow);
5003: raise ICX_POR_EXT_UTL.gException;
5004: END processPriceRow;

Line 5002: ICX_POR_EXT_UTL.pushError(snapShotPriceRow);

4998: ICX_POR_EXT_UTL.extRollback;
4999:
5000: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-processPriceRow-'||
5001: xErrLoc||' '||SQLERRM);
5002: ICX_POR_EXT_UTL.pushError(snapShotPriceRow);
5003: raise ICX_POR_EXT_UTL.gException;
5004: END processPriceRow;
5005:
5006: --------------------------------------------------------------

Line 5003: raise ICX_POR_EXT_UTL.gException;

4999:
5000: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM-processPriceRow-'||
5001: xErrLoc||' '||SQLERRM);
5002: ICX_POR_EXT_UTL.pushError(snapShotPriceRow);
5003: raise ICX_POR_EXT_UTL.gException;
5004: END processPriceRow;
5005:
5006: --------------------------------------------------------------
5007: -- Main Procedures --

Line 5114: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

5110: l_price_rowid DBMS_SQL.UROWID_TABLE;
5111:
5112: BEGIN
5113: xErrLoc := 100;
5114: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
5115: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
5116: 'Enter extractPriceRows()');
5117: END IF;
5118:

Line 5115: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

5111:
5112: BEGIN
5113: xErrLoc := 100;
5114: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
5115: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
5116: 'Enter extractPriceRows()');
5117: END IF;
5118:
5119: xErrLoc := 150;

Line 5208: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN

5204: l_price_rowid.DELETE;
5205:
5206: xErrLoc := 220;
5207:
5208: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
5209: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
5210: 'Start to fetch price row');
5211: END IF;
5212: xErrLoc := 221;

Line 5209: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,

5205:
5206: xErrLoc := 220;
5207:
5208: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
5209: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
5210: 'Start to fetch price row');
5211: END IF;
5212: xErrLoc := 221;
5213: --Bug#3277977

Line 5216: IF (ICX_POR_EXT_UTL.getDatabaseVersion < 9.0) THEN

5212: xErrLoc := 221;
5213: --Bug#3277977
5214: BEGIN
5215: xErrLoc := 222;
5216: IF (ICX_POR_EXT_UTL.getDatabaseVersion < 9.0) THEN
5217: xErrLoc := 150;
5218: EXIT WHEN cUpdatedPriceRows%NOTFOUND;
5219: -- Oracle 8i doesn't support BULK Collect from dynamic SQL
5220: xErrLoc := 151;

Line 5221: FOR i IN 1..ICX_POR_EXT_UTL.gCommitSize LOOP

5217: xErrLoc := 150;
5218: EXIT WHEN cUpdatedPriceRows%NOTFOUND;
5219: -- Oracle 8i doesn't support BULK Collect from dynamic SQL
5220: xErrLoc := 151;
5221: FOR i IN 1..ICX_POR_EXT_UTL.gCommitSize LOOP
5222: FETCH cUpdatedPriceRows INTO
5223: l_document_type(i), l_last_update_date(i), l_org_id(i),
5224: l_supplier_id(i), l_supplier(i), l_supplier_site_code(i),
5225: l_supplier_part_num(i), l_internal_item_id(i), l_internal_item_num(i),

Line 5283: LIMIT ICX_POR_EXT_UTL.gCommitSize;

5279: l_price_rt_item_id, l_price_internal_item_id, l_price_supplier_id,
5280: l_price_supplier_part_num, l_price_contract_line_id,
5281: l_price_mtl_category_id, l_match_primary_category_id, l_rt_item_id,
5282: l_local_rt_item_id, l_match_template_flag, l_active_flag, l_price_rowid
5283: LIMIT ICX_POR_EXT_UTL.gCommitSize;
5284: EXIT WHEN l_document_type.COUNT = 0;
5285: END IF;
5286:
5287: xErrLoc := 240;

Line 5360: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

5356: gCurrentPrice.price_rowid := l_price_rowid(i);
5357:
5358: xErrLoc := 250;
5359:
5360: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
5361: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
5362: snapShotPriceRow);
5363: END IF;
5364: gPriceRowCount := gPriceRowCount + 1;

Line 5361: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

5357:
5358: xErrLoc := 250;
5359:
5360: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
5361: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
5362: snapShotPriceRow);
5363: END IF;
5364: gPriceRowCount := gPriceRowCount + 1;
5365: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

Line 5365: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

5361: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
5362: snapShotPriceRow);
5363: END IF;
5364: gPriceRowCount := gPriceRowCount + 1;
5365: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
5366: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
5367: 'Processing price row: ' || gPriceRowCount);
5368: END IF;
5369:

Line 5366: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

5362: snapShotPriceRow);
5363: END IF;
5364: gPriceRowCount := gPriceRowCount + 1;
5365: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
5366: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
5367: 'Processing price row: ' || gPriceRowCount);
5368: END IF;
5369:
5370: xErrLoc := 260;

Line 5383: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

5379: --Bug#3277977
5380: xErrLoc := 282;
5381: EXCEPTION
5382: when snap_shot_too_old then
5383: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
5384: 'ORA-01555: snapshot too old: caught at '||
5385: 'ICX_POR_EXT_ITEM.extractPriceRows-'||xErrLoc ||
5386: ', Total processed price rows: ' || gPriceRowCount ||
5387: ', SQLERRM:' ||SQLERRM ||

Line 5390: ICX_POR_EXT_UTL.extAFCommit;

5386: ', Total processed price rows: ' || gPriceRowCount ||
5387: ', SQLERRM:' ||SQLERRM ||
5388: '; so close the cursor and reopen the cursor-');
5389: xErrLoc := 283;
5390: ICX_POR_EXT_UTL.extAFCommit;
5391: IF (cUpdatedPriceRows%ISOPEN) THEN
5392: xErrLoc := 284;
5393: CLOSE cUpdatedPriceRows;
5394: xErrLoc := 285;

Line 5406: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

5402: xErrLoc := 300;
5403: processBatchData('OUTLOOP');
5404:
5405: xErrLoc := 350;
5406: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
5407: 'Total processed price rows: ' || gPriceRowCount);
5408:
5409: --Bug#3277977
5410: --Add the close cursor after checking if the cursor is open.

Line 5418: when ICX_POR_EXT_UTL.gException then

5414: CLOSE cUpdatedPriceRows;
5415: END IF;
5416: xErrLoc := 500;
5417: EXCEPTION
5418: when ICX_POR_EXT_UTL.gException then
5419: ICX_POR_EXT_UTL.extRollback;
5420: IF (cUpdatedPriceRows%ISOPEN) THEN
5421: CLOSE cUpdatedPriceRows;
5422: END IF;

Line 5419: ICX_POR_EXT_UTL.extRollback;

5415: END IF;
5416: xErrLoc := 500;
5417: EXCEPTION
5418: when ICX_POR_EXT_UTL.gException then
5419: ICX_POR_EXT_UTL.extRollback;
5420: IF (cUpdatedPriceRows%ISOPEN) THEN
5421: CLOSE cUpdatedPriceRows;
5422: END IF;
5423:

Line 5424: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractPriceRows-'||

5420: IF (cUpdatedPriceRows%ISOPEN) THEN
5421: CLOSE cUpdatedPriceRows;
5422: END IF;
5423:
5424: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractPriceRows-'||
5425: xErrLoc);
5426: raise ICX_POR_EXT_UTL.gException;
5427: when others then
5428: ICX_POR_EXT_UTL.extRollback;

Line 5426: raise ICX_POR_EXT_UTL.gException;

5422: END IF;
5423:
5424: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractPriceRows-'||
5425: xErrLoc);
5426: raise ICX_POR_EXT_UTL.gException;
5427: when others then
5428: ICX_POR_EXT_UTL.extRollback;
5429: IF (cUpdatedPriceRows%ISOPEN) THEN
5430: CLOSE cUpdatedPriceRows;

Line 5428: ICX_POR_EXT_UTL.extRollback;

5424: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractPriceRows-'||
5425: xErrLoc);
5426: raise ICX_POR_EXT_UTL.gException;
5427: when others then
5428: ICX_POR_EXT_UTL.extRollback;
5429: IF (cUpdatedPriceRows%ISOPEN) THEN
5430: CLOSE cUpdatedPriceRows;
5431: END IF;
5432: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractPriceRows-'||

Line 5432: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractPriceRows-'||

5428: ICX_POR_EXT_UTL.extRollback;
5429: IF (cUpdatedPriceRows%ISOPEN) THEN
5430: CLOSE cUpdatedPriceRows;
5431: END IF;
5432: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractPriceRows-'||
5433: xErrLoc||
5434: ', Total processed price rows: ' || gPriceRowCount ||' '||SQLERRM);
5435:
5436: raise ICX_POR_EXT_UTL.gException;

Line 5436: raise ICX_POR_EXT_UTL.gException;

5432: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractPriceRows-'||
5433: xErrLoc||
5434: ', Total processed price rows: ' || gPriceRowCount ||' '||SQLERRM);
5435:
5436: raise ICX_POR_EXT_UTL.gException;
5437: END extractPriceRows;
5438:
5439: -- Bug : 3345608
5440: --

Line 5484: ICX_POR_EXT_UTL.pushError('Invalid rate type. The default rate type for ' ||

5480:
5481: IF x_conversion_type = 'User' THEN
5482:
5483: -- Format the error message
5484: ICX_POR_EXT_UTL.pushError('Invalid rate type. The default rate type for ' ||
5485: l_owning_ou_name || ' Operating Unit is set to "User Specified Rate Type" ' ||
5486: 'on the Purchasing Options form. Please specify a valid default rate type and ' ||
5487: 're-run the Extraction Process.');
5488: xErrLoc := 220;

Line 5489: RAISE ICX_POR_EXT_UTL.gException;

5485: l_owning_ou_name || ' Operating Unit is set to "User Specified Rate Type" ' ||
5486: 'on the Purchasing Options form. Please specify a valid default rate type and ' ||
5487: 're-run the Extraction Process.');
5488: xErrLoc := 220;
5489: RAISE ICX_POR_EXT_UTL.gException;
5490: END IF;
5491:
5492: xErrLoc := 300;
5493: rate := GL_CURRENCY_API.get_rate(x_set_of_books_id, x_from_currency,

Line 5515: ICX_POR_EXT_UTL.pushError('Error while processing the Global Blanket ' ||

5511: WHERE CONVERSION_TYPE = x_conversion_type;
5512:
5513:
5514: -- Format the error message
5515: ICX_POR_EXT_UTL.pushError('Error while processing the Global Blanket ' ||
5516: 'Agreement [Segment1: ' || x_segment1 || ' owned by the Operating ' ||
5517: 'Unit: ' || l_owning_ou_name || ']');
5518:
5519: ICX_POR_EXT_UTL.pushError('The default rate type for the ' ||

Line 5519: ICX_POR_EXT_UTL.pushError('The default rate type for the ' ||

5515: ICX_POR_EXT_UTL.pushError('Error while processing the Global Blanket ' ||
5516: 'Agreement [Segment1: ' || x_segment1 || ' owned by the Operating ' ||
5517: 'Unit: ' || l_owning_ou_name || ']');
5518:
5519: ICX_POR_EXT_UTL.pushError('The default rate type for the ' ||
5520: 'Organization ' || l_owning_ou_name || ' is ' || l_user_conv_type ||
5521: ', and the Daily Rate is not defined between ' || x_from_currency ||
5522: ' and ' || l_to_currency || ' for ' || l_user_conv_type || '. Please ' ||
5523: 'specify the daily rate value and re-run the Extraction Process.');

Line 5525: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.getRate-' || xErrLoc);

5521: ', and the Daily Rate is not defined between ' || x_from_currency ||
5522: ' and ' || l_to_currency || ' for ' || l_user_conv_type || '. Please ' ||
5523: 'specify the daily rate value and re-run the Extraction Process.');
5524:
5525: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.getRate-' || xErrLoc);
5526: raise ICX_POR_EXT_UTL.gException;
5527:
5528: when others then
5529: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.getRate-' || xErrLoc);

Line 5526: raise ICX_POR_EXT_UTL.gException;

5522: ' and ' || l_to_currency || ' for ' || l_user_conv_type || '. Please ' ||
5523: 'specify the daily rate value and re-run the Extraction Process.');
5524:
5525: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.getRate-' || xErrLoc);
5526: raise ICX_POR_EXT_UTL.gException;
5527:
5528: when others then
5529: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.getRate-' || xErrLoc);
5530: raise ICX_POR_EXT_UTL.gException;

Line 5529: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.getRate-' || xErrLoc);

5525: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.getRate-' || xErrLoc);
5526: raise ICX_POR_EXT_UTL.gException;
5527:
5528: when others then
5529: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.getRate-' || xErrLoc);
5530: raise ICX_POR_EXT_UTL.gException;
5531: END getRate;
5532:
5533: -- Open item prices cursor

Line 5530: raise ICX_POR_EXT_UTL.gException;

5526: raise ICX_POR_EXT_UTL.gException;
5527:
5528: when others then
5529: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.getRate-' || xErrLoc);
5530: raise ICX_POR_EXT_UTL.gException;
5531: END getRate;
5532:
5533: -- Open item prices cursor
5534: --Bug#3277977

Line 6423: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN

6419: 'FROM ('||xViewStr||xViewStr2||') doc, '||
6420: xFromStr||xWhereStr;
6421:
6422: xErrLoc := 520;
6423: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
6424: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
6425: 'Query for item extraction: '|| pSqlString);
6426: END IF;
6427:

Line 6424: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,

6420: xFromStr||xWhereStr;
6421:
6422: xErrLoc := 520;
6423: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
6424: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
6425: 'Query for item extraction: '|| pSqlString);
6426: END IF;
6427:
6428: ELSIF pType = 'GLOBAL_AGREEMENT' THEN

Line 6734: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN

6730: xFromStr || xWhereStr ||
6731: ' UNION ALL ' || xString;
6732:
6733: xErrLoc := 750;
6734: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
6735: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
6736: 'Query for global agreement extraction: ' || pSqlString);
6737: END IF;
6738:

Line 6735: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,

6731: ' UNION ALL ' || xString;
6732:
6733: xErrLoc := 750;
6734: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
6735: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
6736: 'Query for global agreement extraction: ' || pSqlString);
6737: END IF;
6738:
6739: END IF;

Line 6744: when ICX_POR_EXT_UTL.gException then

6740:
6741: xErrLoc := 800;
6742:
6743: EXCEPTION
6744: when ICX_POR_EXT_UTL.gException then
6745: -- rollback;
6746: ICX_POR_EXT_UTL.extRollback;
6747:
6748: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.openPriceCursor-'||

Line 6746: ICX_POR_EXT_UTL.extRollback;

6742:
6743: EXCEPTION
6744: when ICX_POR_EXT_UTL.gException then
6745: -- rollback;
6746: ICX_POR_EXT_UTL.extRollback;
6747:
6748: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.openPriceCursor-'||
6749: xErrLoc);
6750: raise ICX_POR_EXT_UTL.gException;

Line 6748: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.openPriceCursor-'||

6744: when ICX_POR_EXT_UTL.gException then
6745: -- rollback;
6746: ICX_POR_EXT_UTL.extRollback;
6747:
6748: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.openPriceCursor-'||
6749: xErrLoc);
6750: raise ICX_POR_EXT_UTL.gException;
6751: when others then
6752: -- rollback;

Line 6750: raise ICX_POR_EXT_UTL.gException;

6746: ICX_POR_EXT_UTL.extRollback;
6747:
6748: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.openPriceCursor-'||
6749: xErrLoc);
6750: raise ICX_POR_EXT_UTL.gException;
6751: when others then
6752: -- rollback;
6753: ICX_POR_EXT_UTL.extRollback;
6754: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.openPriceCursor-'||

Line 6753: ICX_POR_EXT_UTL.extRollback;

6749: xErrLoc);
6750: raise ICX_POR_EXT_UTL.gException;
6751: when others then
6752: -- rollback;
6753: ICX_POR_EXT_UTL.extRollback;
6754: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.openPriceCursor-'||
6755: xErrLoc||' '||SQLERRM);
6756: raise ICX_POR_EXT_UTL.gException;
6757: END openPriceCursor;

Line 6754: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.openPriceCursor-'||

6750: raise ICX_POR_EXT_UTL.gException;
6751: when others then
6752: -- rollback;
6753: ICX_POR_EXT_UTL.extRollback;
6754: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.openPriceCursor-'||
6755: xErrLoc||' '||SQLERRM);
6756: raise ICX_POR_EXT_UTL.gException;
6757: END openPriceCursor;
6758:

Line 6756: raise ICX_POR_EXT_UTL.gException;

6752: -- rollback;
6753: ICX_POR_EXT_UTL.extRollback;
6754: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.openPriceCursor-'||
6755: xErrLoc||' '||SQLERRM);
6756: raise ICX_POR_EXT_UTL.gException;
6757: END openPriceCursor;
6758:
6759: -- Extract vendor name changes
6760: PROCEDURE extractVendorNames IS

Line 6781: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

6777: xErrLoc := 100;
6778: xIndex := 1;
6779:
6780: xErrLoc := 110;
6781: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
6782: 'Handling vendors with name changed.');
6783:
6784: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
6785: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

Line 6784: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

6780: xErrLoc := 110;
6781: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
6782: 'Handling vendors with name changed.');
6783:
6784: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
6785: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
6786: 'Enter extractVendorNames()');
6787: END IF;
6788:

Line 6785: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

6781: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
6782: 'Handling vendors with name changed.');
6783:
6784: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
6785: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
6786: 'Enter extractVendorNames()');
6787: END IF;
6788:
6789: xCommitSize := ICX_POR_EXT_UTL.gCommitSize/

Line 6789: xCommitSize := ICX_POR_EXT_UTL.gCommitSize/

6785: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
6786: 'Enter extractVendorNames()');
6787: END IF;
6788:
6789: xCommitSize := ICX_POR_EXT_UTL.gCommitSize/
6790: (ICX_POR_EXTRACTOR.gInstalledLanguageCount+1);
6791:
6792: xErrLoc := 120;
6793: xString :=

Line 6813: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN

6809: 'WHERE i.supplier_id = v.vendor_id ' ||
6810: 'AND i.supplier = v.vendor_name)';
6811:
6812: xErrLoc := 140;
6813: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
6814: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
6815: 'Query for updated vendor names: ' || xString);
6816: END IF;
6817: xErrLoc := 150;

Line 6814: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,

6810: 'AND i.supplier = v.vendor_name)';
6811:
6812: xErrLoc := 140;
6813: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
6814: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
6815: 'Query for updated vendor names: ' || xString);
6816: END IF;
6817: xErrLoc := 150;
6818: OPEN cUpdatedVendorNames FOR xString;

Line 6830: IF (ICX_POR_EXT_UTL.getDatabaseVersion < 9.0) THEN

6826: 3. While updating icx_cat_items_tlp we can utilize forall instead of processing one vendor at a time
6827: anyway we will be processing only 2500 rows at a time, since we have the rownum constraint.
6828: */
6829: xErrLoc := 160;
6830: IF (ICX_POR_EXT_UTL.getDatabaseVersion < 9.0) THEN
6831: xErrLoc := 165;
6832: LOOP
6833: FETCH cUpdatedVendorNames INTO xVendorId(xIndex), xVendorName(xIndex);
6834: EXIT WHEN cUpdatedVendorNames%NOTFOUND;

Line 6844: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

6840: INTO xVendorId, xVendorName;
6841: END IF;
6842:
6843: xErrLoc := 180;
6844: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
6845: xErrLoc := 190;
6846: IF ( xVendorId.COUNT > 0 ) THEN
6847: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6848: 'List of Vendor Id and Names from extractVendorNames cursor...');

Line 6847: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

6843: xErrLoc := 180;
6844: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
6845: xErrLoc := 190;
6846: IF ( xVendorId.COUNT > 0 ) THEN
6847: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6848: 'List of Vendor Id and Names from extractVendorNames cursor...');
6849: END IF;
6850: xErrLoc := 195;
6851: FOR i in 1..xVendorId.COUNT LOOP

Line 6852: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

6848: 'List of Vendor Id and Names from extractVendorNames cursor...');
6849: END IF;
6850: xErrLoc := 195;
6851: FOR i in 1..xVendorId.COUNT LOOP
6852: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6853: 'vendor_id: '|| ICX_POR_EXT_UTL.getTableElement(xVendorId, i) ||
6854: ', vendor_name: '|| ICX_POR_EXT_UTL.getTableElement(xVendorName, i) );
6855: END LOOP;
6856: END IF;

Line 6853: 'vendor_id: '|| ICX_POR_EXT_UTL.getTableElement(xVendorId, i) ||

6849: END IF;
6850: xErrLoc := 195;
6851: FOR i in 1..xVendorId.COUNT LOOP
6852: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6853: 'vendor_id: '|| ICX_POR_EXT_UTL.getTableElement(xVendorId, i) ||
6854: ', vendor_name: '|| ICX_POR_EXT_UTL.getTableElement(xVendorName, i) );
6855: END LOOP;
6856: END IF;
6857:

Line 6854: ', vendor_name: '|| ICX_POR_EXT_UTL.getTableElement(xVendorName, i) );

6850: xErrLoc := 195;
6851: FOR i in 1..xVendorId.COUNT LOOP
6852: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6853: 'vendor_id: '|| ICX_POR_EXT_UTL.getTableElement(xVendorId, i) ||
6854: ', vendor_name: '|| ICX_POR_EXT_UTL.getTableElement(xVendorName, i) );
6855: END LOOP;
6856: END IF;
6857:
6858: xErrLoc := 196;

Line 6908: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

6904: program_update_date = SYSDATE
6905: WHERE rt_item_id = xRtItemIds(i);
6906:
6907: xErrLoc := 300;
6908: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
6909: 'Number of processed items in batch: '|| xRowCount ||
6910: ', for vendor name change: ' || SQL%ROWCOUNT);
6911: FND_CONCURRENT.AF_COMMIT;
6912: END LOOP;

Line 6920: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

6916: xErrLoc := 410;
6917: CLOSE cUpdatedVendorNames;
6918: END IF;
6919:
6920: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
6921: 'Total Number of batches processed for vendor name change : ' || xRowCount);
6922:
6923: xErrLoc := 500;
6924:

Line 6930: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

6926: xIndex := 1;
6927: xRowCount := 0;
6928:
6929: xErrLoc := 510;
6930: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
6931: 'Handling vendor sites with name changed.');
6932:
6933: xErrLoc := 520;
6934: xString :=

Line 6955: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

6951: ' WHERE ip.supplier_site_id = vs.vendor_site_id )';
6952:
6953:
6954: xErrLoc := 530;
6955: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
6956: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6957: 'Query for updated vendor site names: ' || xString);
6958: END IF;
6959:

Line 6956: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

6952:
6953:
6954: xErrLoc := 530;
6955: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
6956: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6957: 'Query for updated vendor site names: ' || xString);
6958: END IF;
6959:
6960: xErrLoc := 540;

Line 6963: IF (ICX_POR_EXT_UTL.getDatabaseVersion < 9.0) THEN

6959:
6960: xErrLoc := 540;
6961: OPEN cUpdatedVendorSites FOR xString;
6962: xErrLoc := 550;
6963: IF (ICX_POR_EXT_UTL.getDatabaseVersion < 9.0) THEN
6964: xErrLoc := 560;
6965: LOOP
6966: FETCH cUpdatedVendorSites INTO xVendorSiteIds(xIndex), xVendorSiteNames(xIndex);
6967: EXIT WHEN cUpdatedVendorSites%NOTFOUND;

Line 6977: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN

6973: INTO xVendorSiteIds, xVendorSiteNames;
6974: END IF;
6975:
6976: xErrLoc := 580;
6977: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
6978: xErrLoc := 590;
6979: IF ( xVendorSiteIds.COUNT > 0 ) THEN
6980: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6981: 'List of Vendor Site Id and Names from extractVendorSiteNames cursor...');

Line 6980: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

6976: xErrLoc := 580;
6977: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DEBUG_LEVEL THEN
6978: xErrLoc := 590;
6979: IF ( xVendorSiteIds.COUNT > 0 ) THEN
6980: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6981: 'List of Vendor Site Id and Names from extractVendorSiteNames cursor...');
6982: END IF;
6983: xErrLoc := 600;
6984: FOR i in 1..xVendorSiteIds.COUNT LOOP

Line 6985: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,

6981: 'List of Vendor Site Id and Names from extractVendorSiteNames cursor...');
6982: END IF;
6983: xErrLoc := 600;
6984: FOR i in 1..xVendorSiteIds.COUNT LOOP
6985: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6986: 'vendor_site_id: '|| ICX_POR_EXT_UTL.getTableElement(xVendorSiteIds, i) ||
6987: ', vendor_site_name: '|| ICX_POR_EXT_UTL.getTableElement(xVendorSiteNames, i) );
6988: END LOOP;
6989: END IF;

Line 6986: 'vendor_site_id: '|| ICX_POR_EXT_UTL.getTableElement(xVendorSiteIds, i) ||

6982: END IF;
6983: xErrLoc := 600;
6984: FOR i in 1..xVendorSiteIds.COUNT LOOP
6985: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6986: 'vendor_site_id: '|| ICX_POR_EXT_UTL.getTableElement(xVendorSiteIds, i) ||
6987: ', vendor_site_name: '|| ICX_POR_EXT_UTL.getTableElement(xVendorSiteNames, i) );
6988: END LOOP;
6989: END IF;
6990:

Line 6987: ', vendor_site_name: '|| ICX_POR_EXT_UTL.getTableElement(xVendorSiteNames, i) );

6983: xErrLoc := 600;
6984: FOR i in 1..xVendorSiteIds.COUNT LOOP
6985: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DEBUG_LEVEL,
6986: 'vendor_site_id: '|| ICX_POR_EXT_UTL.getTableElement(xVendorSiteIds, i) ||
6987: ', vendor_site_name: '|| ICX_POR_EXT_UTL.getTableElement(xVendorSiteNames, i) );
6988: END LOOP;
6989: END IF;
6990:
6991: xErrLoc := 610;

Line 7021: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7017: xErrLoc := 650;
7018: xRowCount := xRowCount + 1;
7019:
7020: xErrLoc := 660;
7021: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7022: 'Number of processed items in batch: '|| xRowCount ||
7023: ', for vendor site name change: ' || SQL%ROWCOUNT);
7024: FND_CONCURRENT.AF_COMMIT;
7025: END LOOP;

Line 7033: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7029: xErrLoc := 680;
7030: CLOSE cUpdatedVendorSites;
7031: END IF;
7032: xErrLoc := 690;
7033: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7034: 'Total Number of batches processed for vendor sites name change : ' || xRowCount);
7035:
7036:
7037: EXCEPTION

Line 7038: when ICX_POR_EXT_UTL.gException then

7034: 'Total Number of batches processed for vendor sites name change : ' || xRowCount);
7035:
7036:
7037: EXCEPTION
7038: when ICX_POR_EXT_UTL.gException then
7039: ICX_POR_EXT_UTL.extRollback;
7040:
7041: IF (cUpdatedVendorNames%ISOPEN) THEN
7042: CLOSE cUpdatedVendorNames;

Line 7039: ICX_POR_EXT_UTL.extRollback;

7035:
7036:
7037: EXCEPTION
7038: when ICX_POR_EXT_UTL.gException then
7039: ICX_POR_EXT_UTL.extRollback;
7040:
7041: IF (cUpdatedVendorNames%ISOPEN) THEN
7042: CLOSE cUpdatedVendorNames;
7043: END IF;

Line 7044: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractVendorNames-'||

7040:
7041: IF (cUpdatedVendorNames%ISOPEN) THEN
7042: CLOSE cUpdatedVendorNames;
7043: END IF;
7044: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractVendorNames-'||
7045: xErrLoc);
7046: raise ICX_POR_EXT_UTL.gException;
7047: when others then
7048: ICX_POR_EXT_UTL.extRollback;

Line 7046: raise ICX_POR_EXT_UTL.gException;

7042: CLOSE cUpdatedVendorNames;
7043: END IF;
7044: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractVendorNames-'||
7045: xErrLoc);
7046: raise ICX_POR_EXT_UTL.gException;
7047: when others then
7048: ICX_POR_EXT_UTL.extRollback;
7049:
7050: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractVendorNames-'||

Line 7048: ICX_POR_EXT_UTL.extRollback;

7044: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractVendorNames-'||
7045: xErrLoc);
7046: raise ICX_POR_EXT_UTL.gException;
7047: when others then
7048: ICX_POR_EXT_UTL.extRollback;
7049:
7050: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractVendorNames-'||
7051: xErrLoc||' '||SQLERRM);
7052:

Line 7050: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractVendorNames-'||

7046: raise ICX_POR_EXT_UTL.gException;
7047: when others then
7048: ICX_POR_EXT_UTL.extRollback;
7049:
7050: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractVendorNames-'||
7051: xErrLoc||' '||SQLERRM);
7052:
7053: raise ICX_POR_EXT_UTL.gException;
7054: END extractVendorNames;

Line 7053: raise ICX_POR_EXT_UTL.gException;

7049:
7050: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractVendorNames-'||
7051: xErrLoc||' '||SQLERRM);
7052:
7053: raise ICX_POR_EXT_UTL.gException;
7054: END extractVendorNames;
7055:
7056: -- Truncate global temporary table
7057: PROCEDURE truncateTempTable(pType IN VARCHAR2) IS

Line 7062: xIcxSchema := ICX_POR_EXT_UTL.getIcxSchema;

7058: xErrLoc PLS_INTEGER := 100;
7059: xIcxSchema VARCHAR2(20);
7060: BEGIN
7061: xErrLoc := 100;
7062: xIcxSchema := ICX_POR_EXT_UTL.getIcxSchema;
7063: xErrLoc := 120;
7064: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
7065: 'Truncate global temporary table');
7066: xErrLoc := 160;

Line 7064: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,

7060: BEGIN
7061: xErrLoc := 100;
7062: xIcxSchema := ICX_POR_EXT_UTL.getIcxSchema;
7063: xErrLoc := 120;
7064: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
7065: 'Truncate global temporary table');
7066: xErrLoc := 160;
7067: EXECUTE IMMEDIATE
7068: 'TRUNCATE TABLE '||xIcxSchema||'.icx_cat_extract_gt';

Line 7077: ICX_POR_EXT_UTL.extRollback;

7073: END IF;
7074: xErrLoc := 300;
7075: EXCEPTION
7076: when others then
7077: ICX_POR_EXT_UTL.extRollback;
7078: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.truncateTempTable-'||
7079: xErrLoc||' '||SQLERRM);
7080: raise ICX_POR_EXT_UTL.gException;
7081: END truncateTempTable;

Line 7078: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.truncateTempTable-'||

7074: xErrLoc := 300;
7075: EXCEPTION
7076: when others then
7077: ICX_POR_EXT_UTL.extRollback;
7078: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.truncateTempTable-'||
7079: xErrLoc||' '||SQLERRM);
7080: raise ICX_POR_EXT_UTL.gException;
7081: END truncateTempTable;
7082:

Line 7080: raise ICX_POR_EXT_UTL.gException;

7076: when others then
7077: ICX_POR_EXT_UTL.extRollback;
7078: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.truncateTempTable-'||
7079: xErrLoc||' '||SQLERRM);
7080: raise ICX_POR_EXT_UTL.gException;
7081: END truncateTempTable;
7082:
7083: --Cleanup Items without prices
7084: PROCEDURE cleanupItems IS

Line 7098: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7094: FROM icx_cat_item_prices p
7095: WHERE p.rt_item_id = i.rt_item_id);
7096: BEGIN
7097: xErrLoc := 100;
7098: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7099: 'Cleanup items without price.');
7100:
7101: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7102: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

Line 7101: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

7097: xErrLoc := 100;
7098: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7099: 'Cleanup items without price.');
7100:
7101: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7102: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7103: 'Enter cleanupItems()');
7104: END IF;
7105:

Line 7102: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

7098: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7099: 'Cleanup items without price.');
7100:
7101: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7102: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7103: 'Enter cleanupItems()');
7104: END IF;
7105:
7106: xErrLoc := 150;

Line 7118: LIMIT ICX_POR_EXT_UTL.gCommitSize;

7114: clearTables(xActionMode);
7115: xErrLoc := 200;
7116: FETCH cItemNoPrices
7117: BULK COLLECT INTO gDIRtItemIds
7118: LIMIT ICX_POR_EXT_UTL.gCommitSize;
7119: EXIT WHEN gDIRtItemIds.COUNT = 0;
7120: xRowCount := xRowCount + gDIRtItemIds.COUNT;
7121:
7122: xErrLoc := 220;

Line 7123: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

7119: EXIT WHEN gDIRtItemIds.COUNT = 0;
7120: xRowCount := xRowCount + gDIRtItemIds.COUNT;
7121:
7122: xErrLoc := 220;
7123: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
7124: FOR i in 1..gDIRtItemIds.COUNT LOOP
7125: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7126: snapShot(i, xActionMode));
7127: END LOOP;

Line 7125: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

7121:
7122: xErrLoc := 220;
7123: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
7124: FOR i in 1..gDIRtItemIds.COUNT LOOP
7125: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7126: snapShot(i, xActionMode));
7127: END LOOP;
7128: END IF;
7129:

Line 7131: ICX_POR_DELETE_CATALOG.setCommitSize(ICX_POR_EXT_UTL.gCommitSize);

7127: END LOOP;
7128: END IF;
7129:
7130: xErrLoc := 240;
7131: ICX_POR_DELETE_CATALOG.setCommitSize(ICX_POR_EXT_UTL.gCommitSize);
7132:
7133: xErrLoc := 300;
7134: ICX_POR_DELETE_CATALOG.deleteCommonTables(gDIRtItemIds,
7135: ICX_POR_DELETE_CATALOG.ITEM_TABLE_LAST);

Line 7138: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7134: ICX_POR_DELETE_CATALOG.deleteCommonTables(gDIRtItemIds,
7135: ICX_POR_DELETE_CATALOG.ITEM_TABLE_LAST);
7136:
7137: xErrLoc := 340;
7138: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7139: 'Processed records: ' || xRowCount);
7140: ICX_POR_EXT_UTL.extAFCommit;
7141: END LOOP;
7142:

Line 7140: ICX_POR_EXT_UTL.extAFCommit;

7136:
7137: xErrLoc := 340;
7138: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7139: 'Processed records: ' || xRowCount);
7140: ICX_POR_EXT_UTL.extAFCommit;
7141: END LOOP;
7142:
7143: xErrLoc := 400;
7144: CLOSE cItemNoPrices;

Line 7146: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7142:
7143: xErrLoc := 400;
7144: CLOSE cItemNoPrices;
7145:
7146: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7147: 'Total deleted items without price : ' || xRowCount);
7148:
7149: xErrLoc := 500;
7150: EXCEPTION

Line 7151: when ICX_POR_EXT_UTL.gException then

7147: 'Total deleted items without price : ' || xRowCount);
7148:
7149: xErrLoc := 500;
7150: EXCEPTION
7151: when ICX_POR_EXT_UTL.gException then
7152: ICX_POR_EXT_UTL.extRollback;
7153:
7154: IF (cItemNoPrices%ISOPEN) THEN
7155: CLOSE cItemNoPrices;

Line 7152: ICX_POR_EXT_UTL.extRollback;

7148:
7149: xErrLoc := 500;
7150: EXCEPTION
7151: when ICX_POR_EXT_UTL.gException then
7152: ICX_POR_EXT_UTL.extRollback;
7153:
7154: IF (cItemNoPrices%ISOPEN) THEN
7155: CLOSE cItemNoPrices;
7156: END IF;

Line 7157: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupItems-'||

7153:
7154: IF (cItemNoPrices%ISOPEN) THEN
7155: CLOSE cItemNoPrices;
7156: END IF;
7157: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupItems-'||
7158: xErrLoc);
7159: raise ICX_POR_EXT_UTL.gException;
7160: when others then
7161: ICX_POR_EXT_UTL.extRollback;

Line 7159: raise ICX_POR_EXT_UTL.gException;

7155: CLOSE cItemNoPrices;
7156: END IF;
7157: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupItems-'||
7158: xErrLoc);
7159: raise ICX_POR_EXT_UTL.gException;
7160: when others then
7161: ICX_POR_EXT_UTL.extRollback;
7162: IF (cItemNoPrices%ISOPEN) THEN
7163: CLOSE cItemNoPrices;

Line 7161: ICX_POR_EXT_UTL.extRollback;

7157: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupItems-'||
7158: xErrLoc);
7159: raise ICX_POR_EXT_UTL.gException;
7160: when others then
7161: ICX_POR_EXT_UTL.extRollback;
7162: IF (cItemNoPrices%ISOPEN) THEN
7163: CLOSE cItemNoPrices;
7164: END IF;
7165: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupItems-'||

Line 7165: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupItems-'||

7161: ICX_POR_EXT_UTL.extRollback;
7162: IF (cItemNoPrices%ISOPEN) THEN
7163: CLOSE cItemNoPrices;
7164: END IF;
7165: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupItems-'||
7166: xErrLoc||' '||SQLERRM);
7167:
7168: raise ICX_POR_EXT_UTL.gException;
7169: END cleanupItems;

Line 7168: raise ICX_POR_EXT_UTL.gException;

7164: END IF;
7165: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupItems-'||
7166: xErrLoc||' '||SQLERRM);
7167:
7168: raise ICX_POR_EXT_UTL.gException;
7169: END cleanupItems;
7170:
7171: PROCEDURE setActiveFlags IS
7172: xErrLoc PLS_INTEGER := 100;

Line 7197: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7193: AND nvl(p.request_id, ICX_POR_EXT_ITEM.AF_NEW_PRICE_TEMP_REQUEST_ID) <>
7194: ICX_POR_EXT_ITEM.AF_CURRENT_REQUEST_ID; -- Bug # 3542291
7195: BEGIN
7196: xErrLoc := 100;
7197: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7198: 'Set active flags.');
7199:
7200: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7201: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

Line 7200: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

7196: xErrLoc := 100;
7197: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7198: 'Set active flags.');
7199:
7200: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7201: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7202: 'Enter setActiveFlags()');
7203: END IF;
7204:

Line 7201: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

7197: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7198: 'Set active flags.');
7199:
7200: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7201: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7202: 'Enter setActiveFlags()');
7203: END IF;
7204:
7205: xErrLoc := 150;

Line 7220: LIMIT ICX_POR_EXT_UTL.gCommitSize;

7216: xErrLoc := 200;
7217: FETCH cActiveFlagPrices
7218: BULK COLLECT INTO gSAPriceTypes, gSARtItemIds, gSARowIds,
7219: gSAActiveFlags
7220: LIMIT ICX_POR_EXT_UTL.gCommitSize;
7221: EXIT WHEN gSARtItemIds.COUNT = 0;
7222: xRowCount := xRowCount + gSARtItemIds.COUNT;
7223:
7224: xErrLoc := 220;

Line 7225: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

7221: EXIT WHEN gSARtItemIds.COUNT = 0;
7222: xRowCount := xRowCount + gSARtItemIds.COUNT;
7223:
7224: xErrLoc := 220;
7225: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
7226: FOR i in 1..gSARtItemIds.COUNT LOOP
7227: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7228: snapShot(i, xActionMode));
7229: END LOOP;

Line 7227: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

7223:
7224: xErrLoc := 220;
7225: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
7226: FOR i in 1..gSARtItemIds.COUNT LOOP
7227: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7228: snapShot(i, xActionMode));
7229: END LOOP;
7230: END IF;
7231:

Line 7246: ICX_POR_EXT_UTL.extAFCommit;

7242: program_id = ICX_POR_EXTRACTOR.gProgramId,
7243: program_update_date = SYSDATE
7244: WHERE rowid = gSARowIds(i);
7245:
7246: ICX_POR_EXT_UTL.extAFCommit;
7247:
7248: EXCEPTION
7249: when snap_shot_too_old then
7250: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

Line 7250: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7246: ICX_POR_EXT_UTL.extAFCommit;
7247:
7248: EXCEPTION
7249: when snap_shot_too_old then
7250: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7251: 'ORA-01555: snapshot too old: caught at '||
7252: 'ICX_POR_EXT_ITEM.setActiveFlags-'||xErrLoc ||
7253: ', Total processed rows to set active flag: ' || xRowCount ||
7254: ', SQLERRM:' ||SQLERRM ||

Line 7257: ICX_POR_EXT_UTL.extAFCommit;

7253: ', Total processed rows to set active flag: ' || xRowCount ||
7254: ', SQLERRM:' ||SQLERRM ||
7255: '; so close the cursor and reopen the cursor-');
7256: xErrLoc := 440;
7257: ICX_POR_EXT_UTL.extAFCommit;
7258: IF (cActiveFlagPrices%ISOPEN) THEN
7259: xErrLoc := 450;
7260: CLOSE cActiveFlagPrices;
7261: xErrLoc := 460;

Line 7267: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7263: END IF;
7264: END;
7265: END LOOP;
7266:
7267: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7268: 'Total processed rows to set active flag: ' || xRowCount);
7269:
7270:
7271: xErrLoc := 300;

Line 7277: when ICX_POR_EXT_UTL.gException then

7273: setActivePriceItemAttributes();
7274:
7275: xErrLoc := 500;
7276: EXCEPTION
7277: when ICX_POR_EXT_UTL.gException then
7278: ICX_POR_EXT_UTL.extRollback;
7279:
7280: IF (cActiveFlagPrices%ISOPEN) THEN
7281: CLOSE cActiveFlagPrices;

Line 7278: ICX_POR_EXT_UTL.extRollback;

7274:
7275: xErrLoc := 500;
7276: EXCEPTION
7277: when ICX_POR_EXT_UTL.gException then
7278: ICX_POR_EXT_UTL.extRollback;
7279:
7280: IF (cActiveFlagPrices%ISOPEN) THEN
7281: CLOSE cActiveFlagPrices;
7282: END IF;

Line 7283: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActiveFlags-'||

7279:
7280: IF (cActiveFlagPrices%ISOPEN) THEN
7281: CLOSE cActiveFlagPrices;
7282: END IF;
7283: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActiveFlags-'||
7284: xErrLoc);
7285: raise ICX_POR_EXT_UTL.gException;
7286: when others then
7287: ICX_POR_EXT_UTL.extRollback;

Line 7285: raise ICX_POR_EXT_UTL.gException;

7281: CLOSE cActiveFlagPrices;
7282: END IF;
7283: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActiveFlags-'||
7284: xErrLoc);
7285: raise ICX_POR_EXT_UTL.gException;
7286: when others then
7287: ICX_POR_EXT_UTL.extRollback;
7288: IF (cActiveFlagPrices%ISOPEN) THEN
7289: CLOSE cActiveFlagPrices;

Line 7287: ICX_POR_EXT_UTL.extRollback;

7283: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActiveFlags-'||
7284: xErrLoc);
7285: raise ICX_POR_EXT_UTL.gException;
7286: when others then
7287: ICX_POR_EXT_UTL.extRollback;
7288: IF (cActiveFlagPrices%ISOPEN) THEN
7289: CLOSE cActiveFlagPrices;
7290: END IF;
7291: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActiveFlags-'||

Line 7291: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActiveFlags-'||

7287: ICX_POR_EXT_UTL.extRollback;
7288: IF (cActiveFlagPrices%ISOPEN) THEN
7289: CLOSE cActiveFlagPrices;
7290: END IF;
7291: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActiveFlags-'||
7292: xErrLoc||' '||SQLERRM);
7293:
7294: raise ICX_POR_EXT_UTL.gException;
7295: END setActiveFlags;

Line 7294: raise ICX_POR_EXT_UTL.gException;

7290: END IF;
7291: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.setActiveFlags-'||
7292: xErrLoc||' '||SQLERRM);
7293:
7294: raise ICX_POR_EXT_UTL.gException;
7295: END setActiveFlags;
7296:
7297: -- Process item price rows
7298: PROCEDURE processItemData (pType IN VARCHAR2) IS

Line 7306: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7302: --Added xSqlString to hold sql string passed from openPriceCursors
7303: xSqlString VARCHAR2(25000) := NULL;
7304: BEGIN
7305: xErrLoc := 100;
7306: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7307: 'Start to process ' || pType);
7308: --Bug#3277977
7309: --Added xSqlString to hold sql string passed from openPriceCursors
7310: --openPriceCursor(pType, cPriceRows);

Line 7360: ICX_POR_EXT_UTL.extRollback;

7356: xErrLoc := 300;
7357: gTotalCount := gTotalCount + gPriceRowCount;
7358: EXCEPTION
7359: when others then
7360: ICX_POR_EXT_UTL.extRollback;
7361: IF (cPriceRows%ISOPEN) THEN
7362: CLOSE cPriceRows;
7363: END IF;
7364: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processItemData-'||

Line 7364: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processItemData-'||

7360: ICX_POR_EXT_UTL.extRollback;
7361: IF (cPriceRows%ISOPEN) THEN
7362: CLOSE cPriceRows;
7363: END IF;
7364: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processItemData-'||
7365: xErrLoc||' '||SQLERRM);
7366: raise ICX_POR_EXT_UTL.gException;
7367: END processItemData;
7368:

Line 7366: raise ICX_POR_EXT_UTL.gException;

7362: CLOSE cPriceRows;
7363: END IF;
7364: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.processItemData-'||
7365: xErrLoc||' '||SQLERRM);
7366: raise ICX_POR_EXT_UTL.gException;
7367: END processItemData;
7368:
7369: --Cleanup Invalid Prices
7370: PROCEDURE cleanupPrices IS

Line 7378: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7374: cInvalidPrices tCursorType;
7375: xString VARCHAR2(2000);
7376: BEGIN
7377: xErrLoc := 100;
7378: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7379: 'Cleanup invalid prices.');
7380:
7381: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7382: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

Line 7381: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

7377: xErrLoc := 100;
7378: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7379: 'Cleanup invalid prices.');
7380:
7381: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7382: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7383: 'Enter cleanupPrices()');
7384: END IF;
7385:

Line 7382: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

7378: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7379: 'Cleanup invalid prices.');
7380:
7381: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7382: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7383: 'Enter cleanupPrices()');
7384: END IF;
7385:
7386: xErrLoc := 150;

Line 7414: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN

7410: 'AND p.last_updated_by = '||ICX_POR_EXT_TEST.TEST_USER_ID||' ';
7411: END IF;
7412:
7413: xErrLoc := 160;
7414: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
7415: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
7416: 'Query for invalid prices: ' || xString);
7417: END IF;
7418: OPEN cInvalidPrices FOR xString;

Line 7415: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,

7411: END IF;
7412:
7413: xErrLoc := 160;
7414: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.INFO_LEVEL THEN
7415: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.INFO_LEVEL,
7416: 'Query for invalid prices: ' || xString);
7417: END IF;
7418: OPEN cInvalidPrices FOR xString;
7419:

Line 7424: IF (ICX_POR_EXT_UTL.getDatabaseVersion < 9.0) THEN

7420: xErrLoc := 180;
7421: LOOP
7422: clearTables(xActionMode);
7423: xErrLoc := 200;
7424: IF (ICX_POR_EXT_UTL.getDatabaseVersion < 9.0) THEN
7425: xErrLoc := 210;
7426: EXIT WHEN cInvalidPrices%NOTFOUND;
7427: FOR i IN 1..ICX_POR_EXT_UTL.gCommitSize LOOP
7428: FETCH cInvalidPrices INTO

Line 7427: FOR i IN 1..ICX_POR_EXT_UTL.gCommitSize LOOP

7423: xErrLoc := 200;
7424: IF (ICX_POR_EXT_UTL.getDatabaseVersion < 9.0) THEN
7425: xErrLoc := 210;
7426: EXIT WHEN cInvalidPrices%NOTFOUND;
7427: FOR i IN 1..ICX_POR_EXT_UTL.gCommitSize LOOP
7428: FETCH cInvalidPrices INTO
7429: gDPRowIds(i), gDPRtItemIds(i),
7430: gDPTemplateCategoryIds(i),
7431: gDPInventoryItemIds(i), gDPOrgIds(i),

Line 7442: LIMIT ICX_POR_EXT_UTL.gCommitSize;

7438: BULK COLLECT INTO gDPRowIds, gDPRtItemIds,
7439: gDPTemplateCategoryIds,
7440: gDPInventoryItemIds, gDPOrgIds,
7441: gDPLocalRtItemIds
7442: LIMIT ICX_POR_EXT_UTL.gCommitSize;
7443: EXIT WHEN gDPRowIds.COUNT = 0;
7444: END IF;
7445: xRowCount := xRowCount + gDPRowIds.COUNT;
7446:

Line 7448: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN

7444: END IF;
7445: xRowCount := xRowCount + gDPRowIds.COUNT;
7446:
7447: xErrLoc := 220;
7448: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
7449: FOR i in 1..gDPRowIds.COUNT LOOP
7450: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7451: snapShot(i, xActionMode));
7452: END LOOP;

Line 7450: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

7446:
7447: xErrLoc := 220;
7448: IF (ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL) THEN
7449: FOR i in 1..gDPRowIds.COUNT LOOP
7450: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7451: snapShot(i, xActionMode));
7452: END LOOP;
7453: END IF;
7454:

Line 7500: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7496:
7497: clearTables(xActionMode);
7498:
7499: xErrLoc := 300;
7500: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7501: 'Processed records: ' || xRowCount);
7502: ICX_POR_EXT_UTL.extAFCommit;
7503: END LOOP;
7504:

Line 7502: ICX_POR_EXT_UTL.extAFCommit;

7498:
7499: xErrLoc := 300;
7500: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7501: 'Processed records: ' || xRowCount);
7502: ICX_POR_EXT_UTL.extAFCommit;
7503: END LOOP;
7504:
7505: xErrLoc := 400;
7506: CLOSE cInvalidPrices;

Line 7508: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7504:
7505: xErrLoc := 400;
7506: CLOSE cInvalidPrices;
7507:
7508: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7509: 'Total deleted invalid price rows : ' || xRowCount);
7510:
7511: xErrLoc := 420;
7512: cleanupItems;

Line 7522: when ICX_POR_EXT_UTL.gException then

7518: xErrLoc := 460;
7519: truncateTempTable('NOGA');
7520: xErrLoc := 500;
7521: EXCEPTION
7522: when ICX_POR_EXT_UTL.gException then
7523: ICX_POR_EXT_UTL.extRollback;
7524:
7525: IF (cInvalidPrices%ISOPEN) THEN
7526: CLOSE cInvalidPrices;

Line 7523: ICX_POR_EXT_UTL.extRollback;

7519: truncateTempTable('NOGA');
7520: xErrLoc := 500;
7521: EXCEPTION
7522: when ICX_POR_EXT_UTL.gException then
7523: ICX_POR_EXT_UTL.extRollback;
7524:
7525: IF (cInvalidPrices%ISOPEN) THEN
7526: CLOSE cInvalidPrices;
7527: END IF;

Line 7528: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupPrices-'||

7524:
7525: IF (cInvalidPrices%ISOPEN) THEN
7526: CLOSE cInvalidPrices;
7527: END IF;
7528: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupPrices-'||
7529: xErrLoc);
7530: raise ICX_POR_EXT_UTL.gException;
7531: when others then
7532: ICX_POR_EXT_UTL.extRollback;

Line 7530: raise ICX_POR_EXT_UTL.gException;

7526: CLOSE cInvalidPrices;
7527: END IF;
7528: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupPrices-'||
7529: xErrLoc);
7530: raise ICX_POR_EXT_UTL.gException;
7531: when others then
7532: ICX_POR_EXT_UTL.extRollback;
7533: IF (cInvalidPrices%ISOPEN) THEN
7534: CLOSE cInvalidPrices;

Line 7532: ICX_POR_EXT_UTL.extRollback;

7528: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupPrices-'||
7529: xErrLoc);
7530: raise ICX_POR_EXT_UTL.gException;
7531: when others then
7532: ICX_POR_EXT_UTL.extRollback;
7533: IF (cInvalidPrices%ISOPEN) THEN
7534: CLOSE cInvalidPrices;
7535: END IF;
7536: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupPrices-'||

Line 7536: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupPrices-'||

7532: ICX_POR_EXT_UTL.extRollback;
7533: IF (cInvalidPrices%ISOPEN) THEN
7534: CLOSE cInvalidPrices;
7535: END IF;
7536: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupPrices-'||
7537: xErrLoc||' '||SQLERRM);
7538:
7539: raise ICX_POR_EXT_UTL.gException;
7540: END cleanupPrices;

Line 7539: raise ICX_POR_EXT_UTL.gException;

7535: END IF;
7536: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.cleanupPrices-'||
7537: xErrLoc||' '||SQLERRM);
7538:
7539: raise ICX_POR_EXT_UTL.gException;
7540: END cleanupPrices;
7541:
7542: -- Extract item data
7543: PROCEDURE extractItemData IS

Line 7546: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7542: -- Extract item data
7543: PROCEDURE extractItemData IS
7544: xErrLoc PLS_INTEGER := 100;
7545: BEGIN
7546: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7547: 'Extract item data');
7548:
7549: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7550: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

Line 7549: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN

7545: BEGIN
7546: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7547: 'Extract item data');
7548:
7549: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7550: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7551: 'Enter extractItemData()');
7552: END IF;
7553:

Line 7550: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,

7546: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7547: 'Extract item data');
7548:
7549: IF ICX_POR_EXT_UTL.gDebugLevel >= ICX_POR_EXT_UTL.DETIL_LEVEL THEN
7550: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.DETIL_LEVEL,
7551: 'Enter extractItemData()');
7552: END IF;
7553:
7554: xErrLoc := 100;

Line 7573: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7569: into gMultiOrgFlag
7570: from fnd_product_groups;
7571:
7572: xErrLoc := 120;
7573: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7574: 'Multi Org Flag: ' || gMultiOrgFlag);
7575:
7576: xErrLoc := 150;
7577: FND_PROFILE.GET('POR_EXTRACT_A13_AND_A14',gExtractImageDet);

Line 7578: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7574: 'Multi Org Flag: ' || gMultiOrgFlag);
7575:
7576: xErrLoc := 150;
7577: FND_PROFILE.GET('POR_EXTRACT_A13_AND_A14',gExtractImageDet);
7578: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7579: 'Profile option POR_EXTRACT_A13_AND_A14: ' || gExtractImageDet);
7580:
7581: xErrLoc := 200;
7582: extractVendorNames;

Line 7609: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,

7605: processItemData('ITEM');
7606: xErrLoc := 440;
7607: ICX_POR_EXTRACTOR.setLastRunDates('ITEM');
7608: xErrLoc := 460;
7609: ICX_POR_EXT_UTL.debug(ICX_POR_EXT_UTL.MUST_LEVEL,
7610: 'All updated price rows processing done: ' || gTotalCount);
7611: xErrLoc := 480;
7612: IF ICX_POR_EXTRACTOR.gLoaderValue.cleanup_flag = 'Y' THEN
7613: cleanupPrices;

Line 7622: ICX_POR_EXT_UTL.extRollback;

7618: xErrLoc := 500;
7619: truncateTempTable('ALL');
7620: EXCEPTION
7621: when others then
7622: ICX_POR_EXT_UTL.extRollback;
7623: updatePriceRequestIds;
7624: truncateTempTable('ALL');
7625: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractItemData-'||
7626: xErrLoc||' '||SQLERRM);

Line 7625: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractItemData-'||

7621: when others then
7622: ICX_POR_EXT_UTL.extRollback;
7623: updatePriceRequestIds;
7624: truncateTempTable('ALL');
7625: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractItemData-'||
7626: xErrLoc||' '||SQLERRM);
7627: raise ICX_POR_EXT_UTL.gException;
7628: END extractItemData;
7629:

Line 7627: raise ICX_POR_EXT_UTL.gException;

7623: updatePriceRequestIds;
7624: truncateTempTable('ALL');
7625: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.extractItemData-'||
7626: xErrLoc||' '||SQLERRM);
7627: raise ICX_POR_EXT_UTL.gException;
7628: END extractItemData;
7629:
7630: -- Bug#3352834
7631: -- Update Request Ids.

Line 7657: ICX_POR_EXT_UTL.extRollback;

7653: COMMIT;
7654:
7655: EXCEPTION
7656: when others then
7657: ICX_POR_EXT_UTL.extRollback;
7658:
7659: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updatePriceRequestIds -'||
7660: xErrLoc||' '||SQLERRM);
7661:

Line 7659: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updatePriceRequestIds -'||

7655: EXCEPTION
7656: when others then
7657: ICX_POR_EXT_UTL.extRollback;
7658:
7659: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updatePriceRequestIds -'||
7660: xErrLoc||' '||SQLERRM);
7661:
7662: raise ICX_POR_EXT_UTL.gException;
7663: END updatePriceRequestIds;

Line 7662: raise ICX_POR_EXT_UTL.gException;

7658:
7659: ICX_POR_EXT_UTL.pushError('ICX_POR_EXT_ITEM.updatePriceRequestIds -'||
7660: xErrLoc||' '||SQLERRM);
7661:
7662: raise ICX_POR_EXT_UTL.gException;
7663: END updatePriceRequestIds;
7664:
7665: END ICX_POR_EXT_ITEM;