DBA Data[Home] [Help]

APPS.CSD_ESTIMATE_UTILS_PVT dependencies on CSD_PROCESS_UTIL

Line 513: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.repair_line_id,

509:
510: BEGIN
511:
512: -- Check the required parameters
513: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.repair_line_id,
514: p_param_name => 'REPAIR_LINE_ID',
515: p_api_name => l_api_name);
516: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.lead_time,
517: p_param_name => 'LEAD_TIME',

Line 516: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.lead_time,

512: -- Check the required parameters
513: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.repair_line_id,
514: p_param_name => 'REPAIR_LINE_ID',
515: p_api_name => l_api_name);
516: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.lead_time,
517: p_param_name => 'LEAD_TIME',
518: p_api_name => l_api_name);
519: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.lead_time_uom,
520: p_param_name => 'LEAD_TIME_UOM',

Line 519: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.lead_time_uom,

515: p_api_name => l_api_name);
516: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.lead_time,
517: p_param_name => 'LEAD_TIME',
518: p_api_name => l_api_name);
519: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.lead_time_uom,
520: p_param_name => 'LEAD_TIME_UOM',
521: p_api_name => l_api_name);
522:
523: -- Validate repair line id

Line 618: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.work_summary,

614:
615: BEGIN
616: -- If the summary is null even after SR summary is defaulted, then
617: -- it is an error.
618: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.work_summary,
619: p_param_name => 'SUMMARY',
620: p_api_name => l_api_name);
621:
622: --Validate input status

Line 850: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_line_id,

846: l_order_number varchar2(30);
847:
848: BEGIN
849: -- Check the required parameters
850: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_line_id,
851: p_param_name => 'REPAIR_LINE_ID',
852: p_api_name => l_api_name);
853: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_estimate_id,
854: p_param_name => 'REPAIR_ESTIMATE_ID',

Line 853: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_estimate_id,

849: -- Check the required parameters
850: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_line_id,
851: p_param_name => 'REPAIR_LINE_ID',
852: p_api_name => l_api_name);
853: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_estimate_id,
854: p_param_name => 'REPAIR_ESTIMATE_ID',
855: p_api_name => l_api_name);
856: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.inventory_item_id,
857: p_param_name => 'INVENTORY_ITEM_ID',

Line 856: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.inventory_item_id,

852: p_api_name => l_api_name);
853: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_estimate_id,
854: p_param_name => 'REPAIR_ESTIMATE_ID',
855: p_api_name => l_api_name);
856: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.inventory_item_id,
857: p_param_name => 'INVENTORY_ITEM_ID',
858: p_api_name => l_api_name);
859: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.price_list_id,
860: p_param_name => 'PRICE_LIST_ID',

Line 859: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.price_list_id,

855: p_api_name => l_api_name);
856: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.inventory_item_id,
857: p_param_name => 'INVENTORY_ITEM_ID',
858: p_api_name => l_api_name);
859: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.price_list_id,
860: p_param_name => 'PRICE_LIST_ID',
861: p_api_name => l_api_name);
862: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.unit_of_measure_code,
863: p_param_name => 'UNIT_OF_MEASURE_CODE',

Line 862: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.unit_of_measure_code,

858: p_api_name => l_api_name);
859: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.price_list_id,
860: p_param_name => 'PRICE_LIST_ID',
861: p_api_name => l_api_name);
862: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.unit_of_measure_code,
863: p_param_name => 'UNIT_OF_MEASURE_CODE',
864: p_api_name => l_api_name);
865: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.estimate_quantity,
866: p_param_name => 'ESTIMATE_QUANTITY',

Line 865: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.estimate_quantity,

861: p_api_name => l_api_name);
862: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.unit_of_measure_code,
863: p_param_name => 'UNIT_OF_MEASURE_CODE',
864: p_api_name => l_api_name);
865: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.estimate_quantity,
866: p_param_name => 'ESTIMATE_QUANTITY',
867: p_api_name => l_api_name);
868:
869: --------------------------------------------------------------------

Line 893: Csd_Process_Util.VALIDATE_INVENTORY_ITEM_ID(p_estimate_line_rec.inventory_item_id)) THEN

889: --------------------------------------------------------------------
890: -- Validate inventory item id
891: --------------------------------------------------------------------
892: IF (NOT
893: Csd_Process_Util.VALIDATE_INVENTORY_ITEM_ID(p_estimate_line_rec.inventory_item_id)) THEN
894: debug('Invalid Inventory item[' ||
895: p_estimate_line_rec.inventory_item_id || ']');
896: RAISE Fnd_Api.G_EXC_ERROR;
897: END IF;

Line 1010: l_pricing_rec Csd_Process_Util.PRICING_ATTR_REC;

1006: l_billing_Type VARCHAR2(1);
1007: l_no_charge_flag VARCHAR2(1);
1008: l_repair_Type_id NUMBER;
1009: l_contract_line_id NUMBER;
1010: l_pricing_rec Csd_Process_Util.PRICING_ATTR_REC;
1011: l_return_status varchar2(1);
1012: l_msg_Count NUMBER;
1013: l_msg_data VARCHAR2(4000);
1014:

Line 1091: px_estimate_line_rec.organization_id := Csd_Process_Util.get_org_id(px_estimate_line_rec.incident_id);

1087:
1088: --------------------------------------------------------------------
1089: -- Get the operating unit from the incident id.
1090: --------------------------------------------------------------------
1091: px_estimate_line_rec.organization_id := Csd_Process_Util.get_org_id(px_estimate_line_rec.incident_id);
1092: IF (px_estimate_line_rec.organization_id = -1) THEN
1093: debug('incident_id[' || px_estimate_line_rec.incident_id ||
1094: '] is invlaid');
1095: RAISE Fnd_Api.G_EXC_ERROR;

Line 1149: Csd_Process_Util.GET_CHARGE_SELLING_PRICE(p_inventory_item_id => px_estimate_line_rec.inventory_item_id,

1145: -- Get selling price if it is null
1146: ---------------------------------------------------------------------
1147: IF (px_estimate_line_rec.selling_price IS NULL) THEN
1148: l_pricing_rec := get_pricing_rec(px_estimate_line_rec);
1149: Csd_Process_Util.GET_CHARGE_SELLING_PRICE(p_inventory_item_id => px_estimate_line_rec.inventory_item_id,
1150:
1151: p_price_list_header_id => px_estimate_line_rec.price_list_id,
1152: p_unit_of_measure_code => px_estimate_line_rec.unit_of_measure_code,
1153: p_currency_code => px_estimate_line_rec.currency_code,

Line 1350: RETURN Csd_Process_Util.PRICING_ATTR_REC IS

1346: /* */
1347: /* Change History : Created 25th June2005 by Vijay */
1348: /*------------------------------------------------------------------------*/
1349: FUNCTION get_pricing_rec(p_estimate_line_rec IN Csd_Repair_Estimate_Pub.ESTIMATE_LINE_REC)
1350: RETURN Csd_Process_Util.PRICING_ATTR_REC IS
1351: l_pricing_rec Csd_Process_Util.PRICING_ATTR_REC;
1352: BEGIN
1353: l_pricing_rec.pricing_context := p_estimate_line_rec.pricing_context;
1354: l_pricing_rec.pricing_attribute1 := p_estimate_line_rec.pricing_attribute1;

Line 1351: l_pricing_rec Csd_Process_Util.PRICING_ATTR_REC;

1347: /* Change History : Created 25th June2005 by Vijay */
1348: /*------------------------------------------------------------------------*/
1349: FUNCTION get_pricing_rec(p_estimate_line_rec IN Csd_Repair_Estimate_Pub.ESTIMATE_LINE_REC)
1350: RETURN Csd_Process_Util.PRICING_ATTR_REC IS
1351: l_pricing_rec Csd_Process_Util.PRICING_ATTR_REC;
1352: BEGIN
1353: l_pricing_rec.pricing_context := p_estimate_line_rec.pricing_context;
1354: l_pricing_rec.pricing_attribute1 := p_estimate_line_rec.pricing_attribute1;
1355: l_pricing_rec.pricing_attribute2 := p_estimate_line_rec.pricing_attribute2;