317: l_tilv_rec.KLE_ID := l_fin_asset_id;
318: --20-jun-07 ansethur added for R12B Billing Architecture project
319: l_tilv_rec.TXL_AR_LINE_NUMBER :=1;
320: --20-jun-07 ansethur added for R12B Billing Architecture project
321: /*-- Start of wraper code generated automatically by Debug code generator for okl_txl_ar_inv_lns_pub.insert_txl_ar_inv_lns
322: IF(IS_DEBUG_PROCEDURE_ON) THEN
323: BEGIN
324: OKL_DEBUG_PUB.LOG_DEBUG(L_LEVEL_PROCEDURE,L_MODULE,'Begin Debug OKLRUBBB.pls call okl_txl_ar_inv_lns_pub.insert_txl_ar_inv_lns ');
325: END;
320: --20-jun-07 ansethur added for R12B Billing Architecture project
321: /*-- Start of wraper code generated automatically by Debug code generator for okl_txl_ar_inv_lns_pub.insert_txl_ar_inv_lns
322: IF(IS_DEBUG_PROCEDURE_ON) THEN
323: BEGIN
324: OKL_DEBUG_PUB.LOG_DEBUG(L_LEVEL_PROCEDURE,L_MODULE,'Begin Debug OKLRUBBB.pls call okl_txl_ar_inv_lns_pub.insert_txl_ar_inv_lns ');
325: END;
326: END IF;
327: okl_txl_ar_inv_lns_pub.insert_txl_ar_inv_lns(
328: l_api_version
323: BEGIN
324: OKL_DEBUG_PUB.LOG_DEBUG(L_LEVEL_PROCEDURE,L_MODULE,'Begin Debug OKLRUBBB.pls call okl_txl_ar_inv_lns_pub.insert_txl_ar_inv_lns ');
325: END;
326: END IF;
327: okl_txl_ar_inv_lns_pub.insert_txl_ar_inv_lns(
328: l_api_version
329: ,l_init_msg_list
330: ,l_return_status
331: ,l_msg_count
333: ,l_tilv_rec
334: ,lx_tilv_rec);
335: IF(IS_DEBUG_PROCEDURE_ON) THEN
336: BEGIN
337: OKL_DEBUG_PUB.LOG_DEBUG(L_LEVEL_PROCEDURE,L_MODULE,'End Debug OKLRUBBB.pls call okl_txl_ar_inv_lns_pub.insert_txl_ar_inv_lns ');
338: END;
339: END IF;
340: -- End of wraper code generated automatically by Debug code generator for okl_txl_ar_inv_lns_pub.insert_txl_ar_inv_lns
341:
336: BEGIN
337: OKL_DEBUG_PUB.LOG_DEBUG(L_LEVEL_PROCEDURE,L_MODULE,'End Debug OKLRUBBB.pls call okl_txl_ar_inv_lns_pub.insert_txl_ar_inv_lns ');
338: END;
339: END IF;
340: -- End of wraper code generated automatically by Debug code generator for okl_txl_ar_inv_lns_pub.insert_txl_ar_inv_lns
341:
342: IF (l_return_status = 'S' ) THEN
343: FND_FILE.PUT_LINE (FND_FILE.OUTPUT, ' ... Internal TXN Lines Created.');
344: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
899: u_taiv_rec Okl_Trx_Ar_Invoices_Pub.taiv_rec_type;
900: r_taiv_rec Okl_Trx_Ar_Invoices_Pub.taiv_rec_type;
901:
902: -- Transaction lines
903: i_tilv_rec Okl_Txl_Ar_Inv_Lns_Pub.tilv_rec_type;
904: u_tilv_rec Okl_Txl_Ar_Inv_Lns_Pub.tilv_rec_type;
905: r_tilv_rec Okl_Txl_Ar_Inv_Lns_Pub.tilv_rec_type;
906:
907: -- Transaction line details
900: r_taiv_rec Okl_Trx_Ar_Invoices_Pub.taiv_rec_type;
901:
902: -- Transaction lines
903: i_tilv_rec Okl_Txl_Ar_Inv_Lns_Pub.tilv_rec_type;
904: u_tilv_rec Okl_Txl_Ar_Inv_Lns_Pub.tilv_rec_type;
905: r_tilv_rec Okl_Txl_Ar_Inv_Lns_Pub.tilv_rec_type;
906:
907: -- Transaction line details
908: i_tldv_rec Okl_Txd_Ar_Ln_Dtls_Pub.tldv_rec_type;
901:
902: -- Transaction lines
903: i_tilv_rec Okl_Txl_Ar_Inv_Lns_Pub.tilv_rec_type;
904: u_tilv_rec Okl_Txl_Ar_Inv_Lns_Pub.tilv_rec_type;
905: r_tilv_rec Okl_Txl_Ar_Inv_Lns_Pub.tilv_rec_type;
906:
907: -- Transaction line details
908: i_tldv_rec Okl_Txd_Ar_Ln_Dtls_Pub.tldv_rec_type;
909: u_tldv_rec Okl_Txd_Ar_Ln_Dtls_Pub.tldv_rec_type;
1169:
1170: u_tilv_rec.id := l_line_id;
1171: u_tilv_rec.amount := l_line_amount;
1172:
1173: Okl_Txl_Ar_Inv_Lns_Pub.update_txl_ar_inv_lns
1174: (p_api_version
1175: ,p_init_msg_list
1176: ,l_return_status
1177: ,x_msg_count
1213:
1214: ---------------------------------------------
1215: -- Insert transaction line record
1216: ---------------------------------------------
1217: Okl_Txl_Ar_Inv_Lns_Pub.insert_txl_ar_inv_lns
1218: (p_api_version
1219: ,p_init_msg_list
1220: ,l_return_status
1221: ,x_msg_count
1446:
1447: u_tilv_rec.id := l_line_id;
1448: u_tilv_rec.amount := l_line_amount;
1449:
1450: Okl_Txl_Ar_Inv_Lns_Pub.update_txl_ar_inv_lns
1451: (p_api_version
1452: ,p_init_msg_list
1453: ,l_return_status
1454: ,x_msg_count