227: /*-----------------------------------------------+
228: | Data Validation |
229: +-----------------------------------------------*/
230:
231: AR_BILLS_CREATION_VAL_PVT.Validate_Create_BR_Header(l_trx_rec, l_gl_date);
232:
233:
234: /*-----------------------------------------------+
235: | Call the Entity Handler |
440: /*-----------------------------------------------+
441: | ======== START OF API BODY ============ |
442: +-----------------------------------------------*/
443:
444: AR_BILLS_CREATION_VAL_PVT.Validate_Customer_Trx_ID (p_customer_trx_id);
445:
446: /*-----------------------------------------------+
447: | Data preparation |
448: +-----------------------------------------------*/
500: /*-----------------------------------------------+
501: | Data Validation |
502: +-----------------------------------------------*/
503:
504: AR_BILLS_CREATION_VAL_PVT.Validate_Update_BR_Header (l_trx_rec, l_gl_date);
505:
506:
507: /*-----------------------------------------------+
508: | Call the Entity Handler for BR Header |
975: /*-----------------------------------------------+
976: | ======== START OF API BODY ============ |
977: +-----------------------------------------------*/
978:
979: AR_BILLS_CREATION_VAL_PVT.Validate_Customer_Trx_ID (p_customer_trx_id);
980:
981: /*-----------------------------------------------+
982: | Data preparation |
983: +-----------------------------------------------*/
1191: /*-----------------------------------------------+
1192: | Validation of the Input parameters |
1193: +-----------------------------------------------*/
1194:
1195: AR_BILLS_CREATION_VAL_PVT.Validate_Customer_Trx_ID (p_customer_trx_id);
1196: AR_BILLS_MAINTAIN_VAL_PVT.Validate_Payment_schedule_ID (p_br_ref_payment_schedule_id);
1197:
1198:
1199: -- Fetch the BR transaction information
1253: /*-----------------------------------------------+
1254: | Data Validation |
1255: +-----------------------------------------------*/
1256:
1257: AR_BILLS_CREATION_VAL_PVT.Validate_BR_Assignment (l_trl_rec ,
1258: l_ps_rec ,
1259: l_trx_rec ,
1260: l_br_rec );
1261:
1270: /*-----------------------------------------------+
1271: | Transaction History Entity Handler |
1272: +-----------------------------------------------*/
1273:
1274: IF (AR_BILLS_CREATION_VAL_PVT.Is_transaction_BR (l_trx_rec.cust_trx_type_id))
1275: THEN
1276:
1277: /*----------------------------------------------+
1278: | If the transaction to be exchanged is a BR, |
1491: /*-----------------------------------------------+
1492: | Data preparation |
1493: +----------------------------------------------*/
1494:
1495: AR_BILLS_CREATION_VAL_PVT.Validate_Customer_trx_line_id (p_customer_trx_line_id);
1496:
1497: ARP_CTL_PKG.lock_fetch_p (l_trl_rec, p_customer_trx_line_id);
1498:
1499: l_trl_rec.extended_amount := p_assigned_amount ;
1540: /*-----------------------------------------------+
1541: | Data Validation |
1542: +-----------------------------------------------*/
1543:
1544: AR_BILLS_CREATION_VAL_PVT.Validate_BR_Assignment (l_trl_rec ,
1545: l_ps_rec ,
1546: l_trx_rec ,
1547: l_br_rec );
1548:
1696: /*-----------------------------------------------+
1697: | Data preparation |
1698: +----------------------------------------------*/
1699:
1700: AR_BILLS_CREATION_VAL_PVT.Validate_Customer_trx_line_id (p_customer_trx_line_id);
1701:
1702: -- Fetch the Assignment information
1703: arp_ctl_pkg.fetch_p (l_trl_rec, p_customer_trx_line_id);
1704:
1711: +-----------------------------------------------*/
1712:
1713: -- Validate the status of the BR (must be INCOMPLETE)
1714:
1715: AR_BILLS_CREATION_VAL_PVT.Validate_BR_Status (l_trl_rec.customer_trx_id);
1716:
1717:
1718: /*-----------------------------------------------+
1719: | Call the Entity Handler |
1889: /*-----------------------------------------------+
1890: | Data preparation |
1891: +-----------------------------------------------*/
1892:
1893: AR_BILLS_CREATION_VAL_PVT.Validate_Customer_trx_line_id (p_customer_trx_line_id);
1894:
1895: arp_ctl_pkg.set_to_dummy (l_trl_rec);
1896:
1897: l_trl_rec.customer_trx_id := p_customer_trx_id ;