DBA Data[Home] [Help]

APPS.OTA_TFL_API_BUSINESS_RULES dependencies on STANDARD

Line 8: g_standard varchar2(40) := 'STANDARD';

4: --
5: -- Global package name
6: --
7: g_package varchar2(33) := ' ota_tfl_api_business_rules.';
8: g_standard varchar2(40) := 'STANDARD';
9: g_pre_payment varchar2(40) := 'PRE-PAYMENT';
10: g_pre_purchase_payment varchar2(40) := 'PRE-PURCHASE PAYMENT';
11: g_pre_purchase_use varchar2(40) := 'PRE-PURCHASE USE';
12: --

Line 124: (p_receivable_type = g_standard OR

120: If (p_finance_header_type = 'P' AND p_finance_line_type <> 'V'
121: )
122: OR
123: ( p_finance_line_type <> 'E' and
124: (p_receivable_type = g_standard OR
125: p_receivable_type = g_pre_payment OR
126: p_receivable_type = g_pre_purchase_use)
127: )
128: OR

Line 196: elsif p_receivable_type in (g_standard,g_pre_payment)

192: and p_booking_deal_type <> 'P' then
193: fnd_message.set_name('OTA','OTA_13456_TFL_WRONG_DEAL_TYPE');
194: fnd_message.raise_error;
195: --
196: elsif p_receivable_type in (g_standard,g_pre_payment)
197: and p_booking_deal_type <> 'D' then
198: fnd_message.set_name('OTA','OTA_13456_TFL_WRONG_DEAL_TYPE');
199: fnd_message.raise_error;
200: --

Line 560: ,p_standard_amount in number

556: --
557: Procedure check_pre_purchase_units
558: (
559: p_finance_line_type in varchar2
560: ,p_standard_amount in number
561: ,p_money_amount in number
562: ,p_unitary_amount in number
563: ,p_booking_deal_id in number
564: ) is

Line 726: ,p_standard_amount in number

722: --
723: Procedure check_type_and_amounts
724: (
725: p_finance_line_type in varchar2
726: ,p_standard_amount in number
727: ,p_money_amount in number
728: ,p_unitary_amount in number
729: ,p_booking_deal_id in number
730: ,p_finance_header_id in number

Line 751: If p_finance_line_type in ('E','R') and p_standard_amount is null Then

747: fetch csr_header_type into v_finance_header_type;
748: close csr_header_type;
749: end if;
750: --
751: If p_finance_line_type in ('E','R') and p_standard_amount is null Then
752: fnd_message.set_name('OTA','OTA_13454_TFL_ST_AMNT_REQ');
753: fnd_message.raise_error;
754: elsif p_finance_line_type in ('V','P') and p_standard_amount is not null then
755: fnd_message.set_name('OTA','OTA_13464_TFL_ST_AMNT_NULL');

Line 754: elsif p_finance_line_type in ('V','P') and p_standard_amount is not null then

750: --
751: If p_finance_line_type in ('E','R') and p_standard_amount is null Then
752: fnd_message.set_name('OTA','OTA_13454_TFL_ST_AMNT_REQ');
753: fnd_message.raise_error;
754: elsif p_finance_line_type in ('V','P') and p_standard_amount is not null then
755: fnd_message.set_name('OTA','OTA_13464_TFL_ST_AMNT_NULL');
756: fnd_message.raise_error;
757: end if;
758: --

Line 771: ,p_standard_amount

767: end if;
768: --
769: if p_finance_line_type in ('E','P') and p_booking_deal_id is not null then
770: check_pre_purchase_units(p_finance_line_type
771: ,p_standard_amount
772: ,p_money_amount
773: ,p_unitary_amount
774: ,p_booking_deal_id
775: );

Line 782: or p_standard_amount is not null

778: if p_finance_line_type is not null and
779: v_finance_header_type <> 'CT' and
780: p_finance_line_type not in ('E','P','R','V') and
781: ( p_unitary_amount is not null
782: or p_standard_amount is not null
783: or p_money_amount is null) then
784: fnd_message.set_name('OTA','OTA_13589_USER_FIN_TYPE_ERROR');
785: fnd_message.raise_error;
786: end if;