12: IF to_number(p_reporting_level) = 1000 THEN
13: l_ld_sp:= mo_utils.check_ledger_in_sp(TO_NUMBER(p_reporting_entity_id));
14:
15: IF l_ld_sp = 'N' THEN
16: FND_MESSAGE.SET_NAME('FND','FND_MO_RPT_PARTIAL_LEDGER');
17: rp_message := FND_MESSAGE.get;
18: END IF;
19: END IF;
20: /*End bug 4327441*/
13: l_ld_sp:= mo_utils.check_ledger_in_sp(TO_NUMBER(p_reporting_entity_id));
14:
15: IF l_ld_sp = 'N' THEN
16: FND_MESSAGE.SET_NAME('FND','FND_MO_RPT_PARTIAL_LEDGER');
17: rp_message := FND_MESSAGE.get;
18: END IF;
19: END IF;
20: /*End bug 4327441*/
21: /* For Bug:4942083 - To display a notification that the report will not
19: END IF;
20: /*End bug 4327441*/
21: /* For Bug:4942083 - To display a notification that the report will not
22: include transaction for which accounting has not been run */
23: FND_MESSAGE.SET_NAME('AR','AR_REPORT_ACC_NOT_GEN');
24: cp_acc_message := FND_MESSAGE.get;
25: /* Changes for Bug:4942083 ends */
26:
27:
20: /*End bug 4327441*/
21: /* For Bug:4942083 - To display a notification that the report will not
22: include transaction for which accounting has not been run */
23: FND_MESSAGE.SET_NAME('AR','AR_REPORT_ACC_NOT_GEN');
24: cp_acc_message := FND_MESSAGE.get;
25: /* Changes for Bug:4942083 ends */
26:
27:
28: DECLARE