45: /* description : Gets the price list from contract (default */
46: /* contract if null), if not, default price list */
47: /* from profile option. */
48: /* */
49: /* p_api_version Standard IN param */
50: /* p_init_msg_list Standard IN param */
51: /* p_repair_type_id Repair Type ID */
52: /* p_repair_line_id Repair Line ID */
53: /* p_contract_line_id Contract Line ID */
46: /* contract if null), if not, default price list */
47: /* from profile option. */
48: /* */
49: /* p_api_version Standard IN param */
50: /* p_init_msg_list Standard IN param */
51: /* p_repair_type_id Repair Type ID */
52: /* p_repair_line_id Repair Line ID */
53: /* p_contract_line_id Contract Line ID */
54: /* p_currency_code RO Currency */
51: /* p_repair_type_id Repair Type ID */
52: /* p_repair_line_id Repair Line ID */
53: /* p_contract_line_id Contract Line ID */
54: /* p_currency_code RO Currency */
55: /* x_return_status Standard OUT param */
56: /* x_msg_count Standard OUT param */
57: /* x_msg_data Standard OUT param */
58: /* */
59: /*----------------------------------------------------------------*/
52: /* p_repair_line_id Repair Line ID */
53: /* p_contract_line_id Contract Line ID */
54: /* p_currency_code RO Currency */
55: /* x_return_status Standard OUT param */
56: /* x_msg_count Standard OUT param */
57: /* x_msg_data Standard OUT param */
58: /* */
59: /*----------------------------------------------------------------*/
60: PROCEDURE Get_DefaultPriceList
53: /* p_contract_line_id Contract Line ID */
54: /* p_currency_code RO Currency */
55: /* x_return_status Standard OUT param */
56: /* x_msg_count Standard OUT param */
57: /* x_msg_data Standard OUT param */
58: /* */
59: /*----------------------------------------------------------------*/
60: PROCEDURE Get_DefaultPriceList
61: (
119: /* procedure name: Get_ContractPriceList */
120: /* description : procedure used to get ets the price list */
121: /* specified by the contract */
122: /* */
123: /* p_api_version Standard IN param */
124: /* p_init_msg_list Standard IN param */
125: /* p_contract_line_id Contract Line ID */
126: /* p_repair_type_id Repair Type ID */
127: /* p_currency_code RO Currency */
120: /* description : procedure used to get ets the price list */
121: /* specified by the contract */
122: /* */
123: /* p_api_version Standard IN param */
124: /* p_init_msg_list Standard IN param */
125: /* p_contract_line_id Contract Line ID */
126: /* p_repair_type_id Repair Type ID */
127: /* p_currency_code RO Currency */
128: /* x_contract_validated Whether the contract can be used */
127: /* p_currency_code RO Currency */
128: /* x_contract_validated Whether the contract can be used */
129: /* x_contract_pl_id Contract Price List ID */
130: /* x_billing_pl_id Billing Price List ID */
131: /* x_return_status Standard OUT param */
132: /* x_msg_count Standard OUT param */
133: /* x_msg_data Standard OUT param */
134: /* */
135: /*----------------------------------------------------------------*/
128: /* x_contract_validated Whether the contract can be used */
129: /* x_contract_pl_id Contract Price List ID */
130: /* x_billing_pl_id Billing Price List ID */
131: /* x_return_status Standard OUT param */
132: /* x_msg_count Standard OUT param */
133: /* x_msg_data Standard OUT param */
134: /* */
135: /*----------------------------------------------------------------*/
136: PROCEDURE Get_ContractPriceList
129: /* x_contract_pl_id Contract Price List ID */
130: /* x_billing_pl_id Billing Price List ID */
131: /* x_return_status Standard OUT param */
132: /* x_msg_count Standard OUT param */
133: /* x_msg_data Standard OUT param */
134: /* */
135: /*----------------------------------------------------------------*/
136: PROCEDURE Get_ContractPriceList
137: (
152: /* procedure name: Validate_Contract */
153: /* description : Checks the currency of the contract to see if */
154: /* it matches the one for repair order */
155: /* */
156: /* p_api_version Standard IN param */
157: /* p_init_msg_list Standard IN param */
158: /* p_contract_line_id Contract Line ID to check currency*/
159: /* p_repair_type_id Repair Type ID to get contract PL */
160: /* p_ro_currency_code RO currency code */
153: /* description : Checks the currency of the contract to see if */
154: /* it matches the one for repair order */
155: /* */
156: /* p_api_version Standard IN param */
157: /* p_init_msg_list Standard IN param */
158: /* p_contract_line_id Contract Line ID to check currency*/
159: /* p_repair_type_id Repair Type ID to get contract PL */
160: /* p_ro_currency_code RO currency code */
161: /* x_contract_currency_code Contract PriceList Currency */
159: /* p_repair_type_id Repair Type ID to get contract PL */
160: /* p_ro_currency_code RO currency code */
161: /* x_contract_currency_code Contract PriceList Currency */
162: /* x_contract_validated Whether the contract can be used */
163: /* x_return_status Standard OUT param */
164: /* x_msg_count Standard OUT param */
165: /* x_msg_data Standard OUT param */
166: /* */
167: /*----------------------------------------------------------------*/
160: /* p_ro_currency_code RO currency code */
161: /* x_contract_currency_code Contract PriceList Currency */
162: /* x_contract_validated Whether the contract can be used */
163: /* x_return_status Standard OUT param */
164: /* x_msg_count Standard OUT param */
165: /* x_msg_data Standard OUT param */
166: /* */
167: /*----------------------------------------------------------------*/
168:
161: /* x_contract_currency_code Contract PriceList Currency */
162: /* x_contract_validated Whether the contract can be used */
163: /* x_return_status Standard OUT param */
164: /* x_msg_count Standard OUT param */
165: /* x_msg_data Standard OUT param */
166: /* */
167: /*----------------------------------------------------------------*/
168:
169: PROCEDURE Validate_Contract
201: /* procedure name: Get_DiscountedPrice */
202: /* description : procedure used to get the discounted price */
203: /* for applying a contract */
204: /* */
205: /* p_api_version Standard IN param */
206: /* p_init_msg_list Standard IN param */
207: /* p_contract_line_id Contract Line ID */
208: /* p_repair_type_id Repair Type ID */
209: /* p_txn_billing_type_id Transaction Billing Type ID */
202: /* description : procedure used to get the discounted price */
203: /* for applying a contract */
204: /* */
205: /* p_api_version Standard IN param */
206: /* p_init_msg_list Standard IN param */
207: /* p_contract_line_id Contract Line ID */
208: /* p_repair_type_id Repair Type ID */
209: /* p_txn_billing_type_id Transaction Billing Type ID */
210: /* p_coverage_txn_grp_id Coverage Transaction Group ID */
210: /* p_coverage_txn_grp_id Coverage Transaction Group ID */
211: /* p_extended_price Extended Price */
212: /* p_no_charge_flag No Charge Flag */
213: /* x_discounted_price Discounted Price */
214: /* x_return_status Standard OUT param */
215: /* x_msg_count Standard OUT param */
216: /* x_msg_data Standard OUT param */
217: /* */
218: /*----------------------------------------------------------------*/
211: /* p_extended_price Extended Price */
212: /* p_no_charge_flag No Charge Flag */
213: /* x_discounted_price Discounted Price */
214: /* x_return_status Standard OUT param */
215: /* x_msg_count Standard OUT param */
216: /* x_msg_data Standard OUT param */
217: /* */
218: /*----------------------------------------------------------------*/
219: PROCEDURE Get_DiscountedPrice
212: /* p_no_charge_flag No Charge Flag */
213: /* x_discounted_price Discounted Price */
214: /* x_return_status Standard OUT param */
215: /* x_msg_count Standard OUT param */
216: /* x_msg_data Standard OUT param */
217: /* */
218: /*----------------------------------------------------------------*/
219: PROCEDURE Get_DiscountedPrice
220: (
238: /* for a given contract line and business process */
239: /* */
240: /* p_contract_line_id Contract Line ID */
241: /* p_business_process_id Business process ID */
242: /* x_return_status Standard OUT param */
243: /* x_msg_count Standard OUT param */
244: /* x_msg_data Standard OUT param */
245: /* x_contract_id Contract ID */
246: /* x_contract_number Contract Number */
239: /* */
240: /* p_contract_line_id Contract Line ID */
241: /* p_business_process_id Business process ID */
242: /* x_return_status Standard OUT param */
243: /* x_msg_count Standard OUT param */
244: /* x_msg_data Standard OUT param */
245: /* x_contract_id Contract ID */
246: /* x_contract_number Contract Number */
247: /* x_coverage_id Coverage ID */
240: /* p_contract_line_id Contract Line ID */
241: /* p_business_process_id Business process ID */
242: /* x_return_status Standard OUT param */
243: /* x_msg_count Standard OUT param */
244: /* x_msg_data Standard OUT param */
245: /* x_contract_id Contract ID */
246: /* x_contract_number Contract Number */
247: /* x_coverage_id Coverage ID */
248: /* x_coverage_txn_grp_id Coverage Transaction Group ID */