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: /*
517: -- swai: bug 9462862 - lead time and uom are not required fields

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

514: p_param_name => 'REPAIR_LINE_ID',
515: p_api_name => l_api_name);
516: /*
517: -- swai: bug 9462862 - lead time and uom are not required fields
518: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.lead_time,
519: p_param_name => 'LEAD_TIME',
520: p_api_name => l_api_name);
521: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.lead_time_uom,
522: p_param_name => 'LEAD_TIME_UOM',

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

517: -- swai: bug 9462862 - lead time and uom are not required fields
518: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.lead_time,
519: p_param_name => 'LEAD_TIME',
520: p_api_name => l_api_name);
521: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_hdr_rec.lead_time_uom,
522: p_param_name => 'LEAD_TIME_UOM',
523: p_api_name => l_api_name);
524: */
525: -- Validate repair line id

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

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

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

871: l_order_number varchar2(30);
872:
873: BEGIN
874: -- Check the required parameters
875: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_line_id,
876: p_param_name => 'REPAIR_LINE_ID',
877: p_api_name => l_api_name);
878: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_estimate_id,
879: p_param_name => 'REPAIR_ESTIMATE_ID',

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

874: -- Check the required parameters
875: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_line_id,
876: p_param_name => 'REPAIR_LINE_ID',
877: p_api_name => l_api_name);
878: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_estimate_id,
879: p_param_name => 'REPAIR_ESTIMATE_ID',
880: p_api_name => l_api_name);
881: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.inventory_item_id,
882: p_param_name => 'INVENTORY_ITEM_ID',

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

877: p_api_name => l_api_name);
878: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.repair_estimate_id,
879: p_param_name => 'REPAIR_ESTIMATE_ID',
880: p_api_name => l_api_name);
881: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.inventory_item_id,
882: p_param_name => 'INVENTORY_ITEM_ID',
883: p_api_name => l_api_name);
884: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.price_list_id,
885: p_param_name => 'PRICE_LIST_ID',

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

880: p_api_name => l_api_name);
881: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.inventory_item_id,
882: p_param_name => 'INVENTORY_ITEM_ID',
883: p_api_name => l_api_name);
884: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.price_list_id,
885: p_param_name => 'PRICE_LIST_ID',
886: p_api_name => l_api_name);
887: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.unit_of_measure_code,
888: p_param_name => 'UNIT_OF_MEASURE_CODE',

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

883: p_api_name => l_api_name);
884: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.price_list_id,
885: p_param_name => 'PRICE_LIST_ID',
886: p_api_name => l_api_name);
887: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.unit_of_measure_code,
888: p_param_name => 'UNIT_OF_MEASURE_CODE',
889: p_api_name => l_api_name);
890: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.estimate_quantity,
891: p_param_name => 'ESTIMATE_QUANTITY',

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

886: p_api_name => l_api_name);
887: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.unit_of_measure_code,
888: p_param_name => 'UNIT_OF_MEASURE_CODE',
889: p_api_name => l_api_name);
890: Csd_Process_Util.Check_Reqd_Param(p_param_value => p_estimate_line_rec.estimate_quantity,
891: p_param_name => 'ESTIMATE_QUANTITY',
892: p_api_name => l_api_name);
893:
894: --------------------------------------------------------------------

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

914: --------------------------------------------------------------------
915: -- Validate inventory item id
916: --------------------------------------------------------------------
917: IF (NOT
918: Csd_Process_Util.VALIDATE_INVENTORY_ITEM_ID(p_estimate_line_rec.inventory_item_id)) THEN
919: debug('Invalid Inventory item[' ||
920: p_estimate_line_rec.inventory_item_id || ']');
921: RAISE Fnd_Api.G_EXC_ERROR;
922: END IF;

Line 1035: l_pricing_rec Csd_Process_Util.PRICING_ATTR_REC;

1031: l_billing_Type VARCHAR2(1);
1032: l_no_charge_flag VARCHAR2(1);
1033: l_repair_Type_id NUMBER;
1034: l_contract_line_id NUMBER;
1035: l_pricing_rec Csd_Process_Util.PRICING_ATTR_REC;
1036: l_return_status varchar2(1);
1037: l_msg_Count NUMBER;
1038: l_msg_data VARCHAR2(4000);
1039:

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

1112:
1113: --------------------------------------------------------------------
1114: -- Get the operating unit from the incident id.
1115: --------------------------------------------------------------------
1116: px_estimate_line_rec.organization_id := Csd_Process_Util.get_org_id(px_estimate_line_rec.incident_id);
1117: IF (px_estimate_line_rec.organization_id = -1) THEN
1118: debug('incident_id[' || px_estimate_line_rec.incident_id ||
1119: '] is invlaid');
1120: RAISE Fnd_Api.G_EXC_ERROR;

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

1170: -- Get selling price if it is null
1171: ---------------------------------------------------------------------
1172: IF (px_estimate_line_rec.selling_price IS NULL) THEN
1173: l_pricing_rec := get_pricing_rec(px_estimate_line_rec);
1174: Csd_Process_Util.GET_CHARGE_SELLING_PRICE(p_inventory_item_id => px_estimate_line_rec.inventory_item_id,
1175:
1176: p_price_list_header_id => px_estimate_line_rec.price_list_id,
1177: p_unit_of_measure_code => px_estimate_line_rec.unit_of_measure_code,
1178: p_currency_code => px_estimate_line_rec.currency_code,

Line 1375: RETURN Csd_Process_Util.PRICING_ATTR_REC IS

1371: /* */
1372: /* Change History : Created 25th June2005 by Vijay */
1373: /*------------------------------------------------------------------------*/
1374: FUNCTION get_pricing_rec(p_estimate_line_rec IN Csd_Repair_Estimate_Pub.ESTIMATE_LINE_REC)
1375: RETURN Csd_Process_Util.PRICING_ATTR_REC IS
1376: l_pricing_rec Csd_Process_Util.PRICING_ATTR_REC;
1377: BEGIN
1378: l_pricing_rec.pricing_context := p_estimate_line_rec.pricing_context;
1379: l_pricing_rec.pricing_attribute1 := p_estimate_line_rec.pricing_attribute1;

Line 1376: l_pricing_rec Csd_Process_Util.PRICING_ATTR_REC;

1372: /* Change History : Created 25th June2005 by Vijay */
1373: /*------------------------------------------------------------------------*/
1374: FUNCTION get_pricing_rec(p_estimate_line_rec IN Csd_Repair_Estimate_Pub.ESTIMATE_LINE_REC)
1375: RETURN Csd_Process_Util.PRICING_ATTR_REC IS
1376: l_pricing_rec Csd_Process_Util.PRICING_ATTR_REC;
1377: BEGIN
1378: l_pricing_rec.pricing_context := p_estimate_line_rec.pricing_context;
1379: l_pricing_rec.pricing_attribute1 := p_estimate_line_rec.pricing_attribute1;
1380: l_pricing_rec.pricing_attribute2 := p_estimate_line_rec.pricing_attribute2;