534: al_count :=0;
535:
536: AR_RECEIPT_API_PUB.apply
537: ( p_api_version => 1.0,
538: p_init_msg_list => FND_API.G_TRUE,
539: p_commit => FND_API.G_FALSE,
540: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
541: x_return_status => al_return_status,
542: x_msg_count => al_msg_count,
535:
536: AR_RECEIPT_API_PUB.apply
537: ( p_api_version => 1.0,
538: p_init_msg_list => FND_API.G_TRUE,
539: p_commit => FND_API.G_FALSE,
540: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
541: x_return_status => al_return_status,
542: x_msg_count => al_msg_count,
543: x_msg_data => al_msg_data,
536: AR_RECEIPT_API_PUB.apply
537: ( p_api_version => 1.0,
538: p_init_msg_list => FND_API.G_TRUE,
539: p_commit => FND_API.G_FALSE,
540: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
541: x_return_status => al_return_status,
542: x_msg_count => al_msg_count,
543: x_msg_data => al_msg_data,
544: p_receipt_number => PS.rec_num,
571:
572: LOOP
573: IF nvl(al_count,0) < al_msg_count THEN
574: al_count := nvl(al_count,0) +1 ;
575: al_msg_data :=FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
576:
577: arp_standard.debug ( 'the number is ' || al_count );
578: arp_standard.debug ( 'the message data is ' || al_msg_data );
579:
694:
695: /*------------------------------------------------------+
696: | Check the return status from Process_Payment |
697: +------------------------------------------------------*/
698: IF pl_return_status <> FND_API.G_RET_STS_SUCCESS THEN
699:
700: l_pay_process_fail := 'Y';
701:
702: IF pl_msg_count = 1 Then
738:
739: LOOP
740: IF nvl(pl_count,0) < pl_msg_count THEN
741: pl_count := nvl(pl_count,0) +1 ;
742: pl_msg_data :=FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
743:
744: arp_standard.debug ( 'the number is ' || pl_count );
745: arp_standard.debug ( 'the message data is ' || pl_msg_data );
746:
2032: /* Bug 6843312: Added p_customer_site_use_id => R2.pay_site_use_id in call to create_cash API */
2033:
2034: AR_RECEIPT_API_PUB.create_cash
2035: ( p_api_version => 1.0,
2036: p_init_msg_list => FND_API.G_TRUE,
2037: p_commit => FND_API.G_FALSE,
2038: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2039: x_return_status => l_return_status,
2040: x_msg_count => l_msg_count,
2033:
2034: AR_RECEIPT_API_PUB.create_cash
2035: ( p_api_version => 1.0,
2036: p_init_msg_list => FND_API.G_TRUE,
2037: p_commit => FND_API.G_FALSE,
2038: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2039: x_return_status => l_return_status,
2040: x_msg_count => l_msg_count,
2041: x_msg_data => l_msg_data,
2034: AR_RECEIPT_API_PUB.create_cash
2035: ( p_api_version => 1.0,
2036: p_init_msg_list => FND_API.G_TRUE,
2037: p_commit => FND_API.G_FALSE,
2038: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2039: x_return_status => l_return_status,
2040: x_msg_count => l_msg_count,
2041: x_msg_data => l_msg_data,
2042: /** Changes for Bug 7313058 Start Here **/
2094:
2095: LOOP
2096: IF nvl(l_count,0) < l_msg_count THEN
2097: l_count := nvl(l_count,0) +1 ;
2098: l_msg_data :=FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
2099:
2100: arp_standard.debug ( 'the number is ' || l_count );
2101: arp_standard.debug ( 'the message data is ' || l_msg_data );
2102:
2333:
2334:
2335: AR_RECEIPT_API_PUB.create_cash
2336: ( p_api_version => 1.0,
2337: p_init_msg_list => FND_API.G_TRUE,
2338: p_commit => FND_API.G_FALSE,
2339: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2340: x_return_status => l_return_status,
2341: x_msg_count => l_msg_count,
2334:
2335: AR_RECEIPT_API_PUB.create_cash
2336: ( p_api_version => 1.0,
2337: p_init_msg_list => FND_API.G_TRUE,
2338: p_commit => FND_API.G_FALSE,
2339: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2340: x_return_status => l_return_status,
2341: x_msg_count => l_msg_count,
2342: x_msg_data => l_msg_data,
2335: AR_RECEIPT_API_PUB.create_cash
2336: ( p_api_version => 1.0,
2337: p_init_msg_list => FND_API.G_TRUE,
2338: p_commit => FND_API.G_FALSE,
2339: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2340: x_return_status => l_return_status,
2341: x_msg_count => l_msg_count,
2342: x_msg_data => l_msg_data,
2343: /** Changes for Bug 7313058 Start Here **/
2385:
2386: LOOP
2387: IF nvl(l_count,0) < l_msg_count THEN
2388: l_count := nvl(l_count,0) +1 ;
2389: l_msg_data :=FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
2390:
2391: arp_standard.debug ( 'the number is ' || l_count );
2392: arp_standard.debug ( 'the message data is ' || l_msg_data );
2393:
2621:
2622:
2623: AR_RECEIPT_API_PUB.create_cash
2624: ( p_api_version => 1.0,
2625: p_init_msg_list => FND_API.G_TRUE,
2626: p_commit => FND_API.G_FALSE,
2627: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2628: x_return_status => l_return_status,
2629: x_msg_count => l_msg_count,
2622:
2623: AR_RECEIPT_API_PUB.create_cash
2624: ( p_api_version => 1.0,
2625: p_init_msg_list => FND_API.G_TRUE,
2626: p_commit => FND_API.G_FALSE,
2627: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2628: x_return_status => l_return_status,
2629: x_msg_count => l_msg_count,
2630: x_msg_data => l_msg_data,
2623: AR_RECEIPT_API_PUB.create_cash
2624: ( p_api_version => 1.0,
2625: p_init_msg_list => FND_API.G_TRUE,
2626: p_commit => FND_API.G_FALSE,
2627: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2628: x_return_status => l_return_status,
2629: x_msg_count => l_msg_count,
2630: x_msg_data => l_msg_data,
2631: /** Changes for Bug 7313058 Start Here **/
2676:
2677: LOOP
2678: IF nvl(l_count,0) < l_msg_count THEN
2679: l_count := nvl(l_count,0) +1 ;
2680: l_msg_data :=FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
2681:
2682: arp_standard.debug ( 'the number is ' || l_count );
2683: arp_standard.debug ( 'the message data is ' || l_msg_data );
2684:
2912:
2913:
2914: AR_RECEIPT_API_PUB.create_cash
2915: ( p_api_version => 1.0,
2916: p_init_msg_list => FND_API.G_TRUE,
2917: p_commit => FND_API.G_FALSE,
2918: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2919: x_return_status => l_return_status,
2920: x_msg_count => l_msg_count,
2913:
2914: AR_RECEIPT_API_PUB.create_cash
2915: ( p_api_version => 1.0,
2916: p_init_msg_list => FND_API.G_TRUE,
2917: p_commit => FND_API.G_FALSE,
2918: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2919: x_return_status => l_return_status,
2920: x_msg_count => l_msg_count,
2921: x_msg_data => l_msg_data,
2914: AR_RECEIPT_API_PUB.create_cash
2915: ( p_api_version => 1.0,
2916: p_init_msg_list => FND_API.G_TRUE,
2917: p_commit => FND_API.G_FALSE,
2918: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
2919: x_return_status => l_return_status,
2920: x_msg_count => l_msg_count,
2921: x_msg_data => l_msg_data,
2922: /** Changes for Bug 7313058 Start Here **/
2969:
2970: LOOP
2971: IF nvl(l_count,0) < l_msg_count THEN
2972: l_count := nvl(l_count,0) +1 ;
2973: l_msg_data :=FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
2974:
2975: arp_standard.debug ( 'the number is ' || l_count );
2976: arp_standard.debug ( 'the message data is ' || l_msg_data );
2977:
3200:
3201:
3202: AR_RECEIPT_API_PUB.create_cash
3203: ( p_api_version => 1.0,
3204: p_init_msg_list => FND_API.G_TRUE,
3205: p_commit => FND_API.G_FALSE,
3206: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
3207: x_return_status => l_return_status,
3208: x_msg_count => l_msg_count,
3201:
3202: AR_RECEIPT_API_PUB.create_cash
3203: ( p_api_version => 1.0,
3204: p_init_msg_list => FND_API.G_TRUE,
3205: p_commit => FND_API.G_FALSE,
3206: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
3207: x_return_status => l_return_status,
3208: x_msg_count => l_msg_count,
3209: x_msg_data => l_msg_data,
3202: AR_RECEIPT_API_PUB.create_cash
3203: ( p_api_version => 1.0,
3204: p_init_msg_list => FND_API.G_TRUE,
3205: p_commit => FND_API.G_FALSE,
3206: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
3207: x_return_status => l_return_status,
3208: x_msg_count => l_msg_count,
3209: x_msg_data => l_msg_data,
3210: /** Changes for Bug 7313058 Start Here **/
3256:
3257: LOOP
3258: IF nvl(l_count,0) < l_msg_count THEN
3259: l_count := nvl(l_count,0) +1 ;
3260: l_msg_data :=FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
3261:
3262: arp_standard.debug ( 'the number is ' || l_count );
3263: arp_standard.debug ( 'the message data is ' || l_msg_data );
3264:
3471: IF l_err_code <> 'ARZCAR_CUST_MIN_AMT' OR l_err_code IS NULL THEN --Condition as per Bug:5346610
3472:
3473: AR_RECEIPT_API_PUB.create_cash
3474: ( p_api_version => 1.0,
3475: p_init_msg_list => FND_API.G_TRUE,
3476: p_commit => FND_API.G_FALSE,
3477: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
3478: x_return_status => l_return_status,
3479: x_msg_count => l_msg_count,
3472:
3473: AR_RECEIPT_API_PUB.create_cash
3474: ( p_api_version => 1.0,
3475: p_init_msg_list => FND_API.G_TRUE,
3476: p_commit => FND_API.G_FALSE,
3477: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
3478: x_return_status => l_return_status,
3479: x_msg_count => l_msg_count,
3480: x_msg_data => l_msg_data,
3473: AR_RECEIPT_API_PUB.create_cash
3474: ( p_api_version => 1.0,
3475: p_init_msg_list => FND_API.G_TRUE,
3476: p_commit => FND_API.G_FALSE,
3477: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
3478: x_return_status => l_return_status,
3479: x_msg_count => l_msg_count,
3480: x_msg_data => l_msg_data,
3481: /** Changes for Bug 7313058 Start Here **/
3522: ELSIF l_msg_count > 1 Then
3523: LOOP
3524: IF nvl(l_count,0) < l_msg_count THEN
3525: l_count := nvl(l_count,0) +1 ;
3526: l_msg_data :=FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
3527:
3528: arp_standard.debug ( 'the number is ' || l_count );
3529: arp_standard.debug ( 'the message data is ' || l_msg_data );
3530:
3736: IF l_err_code <> 'ARZCAR_CUST_MIN_AMT' OR l_err_code IS NULL THEN --Condition as per Bug:5346610
3737:
3738: AR_RECEIPT_API_PUB.create_cash
3739: ( p_api_version => 1.0,
3740: p_init_msg_list => FND_API.G_TRUE,
3741: p_commit => FND_API.G_FALSE,
3742: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
3743: x_return_status => l_return_status,
3744: x_msg_count => l_msg_count,
3737:
3738: AR_RECEIPT_API_PUB.create_cash
3739: ( p_api_version => 1.0,
3740: p_init_msg_list => FND_API.G_TRUE,
3741: p_commit => FND_API.G_FALSE,
3742: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
3743: x_return_status => l_return_status,
3744: x_msg_count => l_msg_count,
3745: x_msg_data => l_msg_data,
3738: AR_RECEIPT_API_PUB.create_cash
3739: ( p_api_version => 1.0,
3740: p_init_msg_list => FND_API.G_TRUE,
3741: p_commit => FND_API.G_FALSE,
3742: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
3743: x_return_status => l_return_status,
3744: x_msg_count => l_msg_count,
3745: x_msg_data => l_msg_data,
3746: /** Changes for Bug 7313058 Start Here **/
3787: ELSIF l_msg_count > 1 Then
3788: LOOP
3789: IF nvl(l_count,0) < l_msg_count THEN
3790: l_count := nvl(l_count,0) +1 ;
3791: l_msg_data :=FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
3792:
3793: arp_standard.debug ( 'the number is ' || l_count );
3794: arp_standard.debug ( 'the message data is ' || l_msg_data );
3795:
4001: IF l_err_code <> 'ARZCAR_CUST_MIN_AMT' OR l_err_code IS NULL THEN --Condition as per Bug:5346610
4002:
4003: AR_RECEIPT_API_PUB.create_cash
4004: ( p_api_version => 1.0,
4005: p_init_msg_list => FND_API.G_TRUE,
4006: p_commit => FND_API.G_FALSE,
4007: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
4008: x_return_status => l_return_status,
4009: x_msg_count => l_msg_count,
4002:
4003: AR_RECEIPT_API_PUB.create_cash
4004: ( p_api_version => 1.0,
4005: p_init_msg_list => FND_API.G_TRUE,
4006: p_commit => FND_API.G_FALSE,
4007: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
4008: x_return_status => l_return_status,
4009: x_msg_count => l_msg_count,
4010: x_msg_data => l_msg_data,
4003: AR_RECEIPT_API_PUB.create_cash
4004: ( p_api_version => 1.0,
4005: p_init_msg_list => FND_API.G_TRUE,
4006: p_commit => FND_API.G_FALSE,
4007: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
4008: x_return_status => l_return_status,
4009: x_msg_count => l_msg_count,
4010: x_msg_data => l_msg_data,
4011: /** Changes for Bug 7313058 Start Here **/
4052: ELSIF l_msg_count > 1 Then
4053: LOOP
4054: IF nvl(l_count,0) < l_msg_count THEN
4055: l_count := nvl(l_count,0) +1 ;
4056: l_msg_data :=FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
4057:
4058: arp_standard.debug ( 'the number is ' || l_count );
4059: arp_standard.debug ( 'the message data is ' || l_msg_data );
4060:
4587:
4588:
4589: AR_RECEIPT_API_PUB.unapply
4590: ( p_api_version => 1.0,
4591: p_init_msg_list => FND_API.G_TRUE,
4592: p_commit => FND_API.G_FALSE,
4593: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
4594: x_return_status => ul_return_status,
4595: x_msg_count => ul_msg_count,
4588:
4589: AR_RECEIPT_API_PUB.unapply
4590: ( p_api_version => 1.0,
4591: p_init_msg_list => FND_API.G_TRUE,
4592: p_commit => FND_API.G_FALSE,
4593: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
4594: x_return_status => ul_return_status,
4595: x_msg_count => ul_msg_count,
4596: x_msg_data => ul_msg_data,
4589: AR_RECEIPT_API_PUB.unapply
4590: ( p_api_version => 1.0,
4591: p_init_msg_list => FND_API.G_TRUE,
4592: p_commit => FND_API.G_FALSE,
4593: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
4594: x_return_status => ul_return_status,
4595: x_msg_count => ul_msg_count,
4596: x_msg_data => ul_msg_data,
4597: p_receipt_number => PS.rec_num,
4617: LOOP
4618: IF nvl(ul_count,0) < ul_msg_count THEN
4619:
4620: ul_count := nvl(ul_count,0) +1 ;
4621: ul_msg_data :=FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
4622:
4623: arp_standard.debug ( 'the number is ' || ul_count );
4624: arp_standard.debug ( 'the message data is ' || ul_msg_data );
4625: