Hi,
I have issue with $ADD
clause containing Conditional compilation.$END
of conditional compilation is not generated in code.
@Overtake Core
PROCEDURE Validate_Payment_Plan_Amount (
company_ IN VARCHAR2,
invoice_id_ IN NUMBER,
known_p_dom_amount_ IN NUMBER DEFAULT NULL )
IS
$ADD
$IF Component_Payled_SYS.INSTALLED $THEN
CURSOR get_czsk_sum_dom_amount IS
SELECT
full_dom_amount
FROM
ledger_item_tab
WHERE
invoice_id = invoice_id_
AND company = company_;
$END
$END
BEGIN
...
!!!Package Body PAYMENT_PLAN_API Created With Compilation Errors
PLS-00177: '$IF' preprocessor directive does not end properly error at line no :3820
$APPEND
works well
@Overtake Core
PROCEDURE Validate_Payment_Plan_Amount (
company_ IN VARCHAR2,
invoice_id_ IN NUMBER,
known_p_dom_amount_ IN NUMBER DEFAULT NULL )
IS
$SEARCH
tax_curr_rate_ NUMBER;
$APPEND
$IF Component_Payled_SYS.INSTALLED $THEN
CURSOR get_czsk_sum_dom_amount IS
SELECT
full_dom_amount
FROM
ledger_item_tab
WHERE
invoice_id = invoice_id_
AND company = company_;
$END
$END
BEGIN
...
IFS Developer Studio 22.2.9114 (Build 2022-11-15 08:07)
22R2 GA (same with EA)
SU 22.2.1