15709: CLOSE c1;
15710:
15711: IF l_rev_rec_req THEN
15712: IF PG_DEBUG = 'Y' THEN
15713: localdebug(' Executing Rev Rec - calling ARP_AUTO_RULE.create_distributions');
15714: END IF;
15715: l_sum_dist := ARP_AUTO_RULE.create_distributions
15716: ( p_commit => 'N',
15717: p_debug => 'N',
15711: IF l_rev_rec_req THEN
15712: IF PG_DEBUG = 'Y' THEN
15713: localdebug(' Executing Rev Rec - calling ARP_AUTO_RULE.create_distributions');
15714: END IF;
15715: l_sum_dist := ARP_AUTO_RULE.create_distributions
15716: ( p_commit => 'N',
15717: p_debug => 'N',
15718: p_trx_id => p_customer_trx_id);
15719: IF PG_DEBUG = 'Y' THEN
15812:
15813:
15814: IF l_rev_rec_req THEN
15815: IF PG_DEBUG = 'Y' THEN
15816: localdebug(' Executing Rev Rec - calling ARP_AUTO_RULE.create_distributions');
15817: END IF;
15818: x_sum_dist := ARP_AUTO_RULE.create_distributions
15819: ( p_commit => 'N',
15820: p_debug => 'N',
15814: IF l_rev_rec_req THEN
15815: IF PG_DEBUG = 'Y' THEN
15816: localdebug(' Executing Rev Rec - calling ARP_AUTO_RULE.create_distributions');
15817: END IF;
15818: x_sum_dist := ARP_AUTO_RULE.create_distributions
15819: ( p_commit => 'N',
15820: p_debug => 'N',
15821: p_trx_id => p_customer_trx_id);
15822: IF x_sum_dist < 0 THEN