DBA Data[Home] [Help]

APPS.AR_INVOICE_TABLE_HANDLER dependencies on AR_INVOICE_API_PUB

Line 95: ar_invoice_api_pub.g_api_outputs.batch_id := p_batch_id;

91: THEN
92: return;
93: END IF;
94:
95: ar_invoice_api_pub.g_api_outputs.batch_id := p_batch_id;
96:
97: IF pg_debug = 'Y'
98: THEN
99: ar_invoice_utils.debug ('Before calling AR_TRX_BULK_PROCESS_HEADER.insert_row (-)' );

Line 223: p_batch_source_rec IN AR_INVOICE_API_PUB.batch_source_rec_type,

219:
220: PROCEDURE create_batch(
221: p_trx_system_parameters_rec IN AR_INVOICE_DEFAULT_PVT.trx_system_parameters_rec_type,
222: p_trx_profile_rec IN AR_INVOICE_DEFAULT_PVT.trx_profile_rec_type,
223: p_batch_source_rec IN AR_INVOICE_API_PUB.batch_source_rec_type,
224: p_batch_id OUT NOCOPY NUMBER,
225: x_errmsg OUT NOCOPY VARCHAR2,
226: x_return_status OUT NOCOPY VARCHAR2 ) IS
227:

Line 443: p_batch_source_rec IN AR_INVOICE_API_PUB.batch_source_rec_type,

439:
440: PROCEDURE INSERT_ROW(
441: p_trx_system_parameters_rec IN AR_INVOICE_DEFAULT_PVT.trx_system_parameters_rec_type,
442: p_trx_profile_rec IN AR_INVOICE_DEFAULT_PVT.trx_profile_rec_type,
443: p_batch_source_rec IN AR_INVOICE_API_PUB.batch_source_rec_type,
444: x_errmsg OUT NOCOPY VARCHAR2,
445: x_return_status OUT NOCOPY VARCHAR2) AS
446:
447: l_cust_trx_id NUMBER;

Line 556: AR_INVOICE_API_PUB.g_customer_trx_id := ar_trx_header_rec.customer_trx_id;

552:
553: -- populate g_customer_trx_id. This is out parameter
554: -- in case the API is called for a singel invoice. Otherwise
555: -- the latest value will be stored in this global value.
556: AR_INVOICE_API_PUB.g_customer_trx_id := ar_trx_header_rec.customer_trx_id;
557:
558: IF pg_debug = 'Y'
559: THEN
560: ar_invoice_utils.debug ('In Header Loop' );

Line 583: IF ar_invoice_api_pub.g_dist_exist

579: ar_invoice_utils.debug ('calling auto accounting (+)' );
580: END IF;
581:
582: /* 5921925 - Do not call insert unless there were dists rows */
583: IF ar_invoice_api_pub.g_dist_exist
584: THEN
585: BEGIN
586: FOR ar_trx_dist_rec IN ar_trx_dist_c
587: LOOP

Line 660: IF NOT ar_invoice_api_pub.g_sc_exist

656: -- before defaulting check whether user has passed
657: -- sales credit or not. If user has passed sales credit
658: -- then don't default the sales credit.
659:
660: IF NOT ar_invoice_api_pub.g_sc_exist
661: THEN
662: generate_default_salescredit(
663: p_cust_trx_id => l_cust_trx_id,
664: p_cust_trx_line_id => l_customer_trx_line_id,

Line 773: IF ar_invoice_api_pub.g_dist_exist

769: GOTO main_loop;
770: END IF;
771:
772: -- call distributions
773: IF ar_invoice_api_pub.g_dist_exist
774: THEN
775: INSERT_TRX_DIST( p_trx_dist_id => null,
776: p_batch_id => l_batch_id,
777: x_errmsg => x_errmsg,

Line 786: IF ar_invoice_api_pub.g_sc_exist

782: return;
783: END IF;
784: END IF;
785:
786: IF ar_invoice_api_pub.g_sc_exist
787: THEN
788: INSERT_TRX_SALESCR ( p_trx_salescredit_id => null,
789: p_batch_id => l_batch_id,
790: x_errmsg => x_errmsg,