DBA Data[Home] [Help]

APPS.PA_PROJECT_PUB dependencies on PA_CUSTOMER_INFO

Line 3635: ----dbms_output.put_line('Before calling pa_customer_info.get_customer_info');

3631: l_bill_to_contact_id := NULL;
3632: l_ship_to_contact_id := NULL;
3633: End If;
3634: /** end of chnages for tracking bug by aditi **/
3635: ----dbms_output.put_line('Before calling pa_customer_info.get_customer_info');
3636: ----dbms_output.put_line('Value of l_bill_to_contact_id '||l_bill_to_contact_id);
3637: ----dbms_output.put_line('Value of l_ship_to_contact_id '||l_ship_to_contact_id);
3638:
3639: /* Code changes end for tracking bug */

Line 3844: pa_customer_info.get_customer_info( X_project_ID => l_project_id --CAR changes

3840:
3841: --if condition introduced for bug 5731766
3842: --dbms_output.put_line('Value of l_source_project_type '||l_proj_type_class);
3843: If nvl(l_proj_type_class,'NONE') = 'CONTRACT' then
3844: pa_customer_info.get_customer_info( X_project_ID => l_project_id --CAR changes
3845: ,X_Customer_Id => l_in_customer_id -- l_project_in_rec.customer_id tracking
3846: ,X_Bill_To_Customer_Id => l_bill_to_customer_id -- 4193743 l_project_in_rec.bill_to_customer_id -- car changes
3847: ,X_Ship_To_Customer_Id => l_ship_to_customer_id -- 4193743 l_project_in_rec.ship_to_customer_id -- car changes
3848: ,X_Bill_To_Address_Id => l_bill_to_address_id

Line 4022: pa_customer_info.create_customer_contacts

4018: END IF;
4019: --sunkalya:federal changes bug#5511353
4020: ----dbms_output.put_line('Before Calling create_customer_contacts');
4021:
4022: pa_customer_info.create_customer_contacts
4023: ( l_project_id
4024: ,l_in_customer_id -- l_project_in_rec.customer_id
4025: ,l_project_relationship_code -- l_relationship_type tracking
4026: --Bug 3279981

Line 19660: pa_customer_info.get_customer_info( X_project_ID => l_project_id,

19656: ,p_attribute5 => '');
19657: RAISE FND_API.G_EXC_ERROR;
19658: END IF;
19659:
19660: pa_customer_info.get_customer_info( X_project_ID => l_project_id,
19661: X_Customer_Id => p_project_in.customer_id
19662: ,X_Bill_To_Customer_Id => l_bill_to_customer_id
19663: ,X_Ship_To_Customer_Id => l_ship_to_customer_id
19664: ,X_Bill_To_Address_Id => l_bill_to_address_id

Line 20297: ----dbms_output.put_line('Before calling pa_customer_info.get_customer_info');

20293: l_bill_to_contact_id := NULL;
20294: l_ship_to_contact_id := NULL;
20295: End If;
20296: /** end of chnages for tracking bug by aditi **/
20297: ----dbms_output.put_line('Before calling pa_customer_info.get_customer_info');
20298: ----dbms_output.put_line('Value of l_bill_to_contact_id '||l_bill_to_contact_id);
20299: ----dbms_output.put_line('Value of l_ship_to_contact_id '||l_ship_to_contact_id);
20300:
20301: /* Start of changes for bug 5482997 */

Line 20314: pa_customer_info.get_customer_info( X_project_ID => l_project_id,

20310:
20311: /* End of changes for bug 5482997 */
20312:
20313:
20314: pa_customer_info.get_customer_info( X_project_ID => l_project_id,
20315: X_Customer_Id => p_customers_in(i).customer_id -- p_project_in.customer_id tracking
20316: ,X_Bill_To_Customer_Id => l_bill_to_customer_id
20317: ,X_Ship_To_Customer_Id => l_ship_to_customer_id
20318: ,X_Bill_To_Address_Id => l_bill_to_address_id

Line 20328: ----dbms_output.put_line('After calling pa_customer_info.get_customer_info'||l_err_code);

20324: ,X_Err_Stack => l_err_stack
20325: ,p_calling_module => 'AMG' --Added for Bug#4770535
20326: );
20327:
20328: ----dbms_output.put_line('After calling pa_customer_info.get_customer_info'||l_err_code);
20329: --dbms_output.put_line('Value of l_bill_to_address_id '||l_bill_to_address_id);
20330: --dbms_output.put_line('Value of l_ship_to_address_id '||l_ship_to_address_id);
20331:
20332: -- For this API,error code 10 is a warning.Anything above 10 is an error

Line 20579: pa_customer_info.Create_Customer_Contacts

20575:
20576: ----dbms_output.put_line('After calling CREATE_PROJECT_CUSTOMER x_return_status X_MSG_DATA'||x_return_status||'e'||X_MSG_DATA);
20577:
20578: /* call to create_customer_contacts added for tracking bug by aditi */
20579: pa_customer_info.Create_Customer_Contacts
20580: ( X_Project_Id => l_project_id,
20581: X_Customer_Id => p_customers_in(i).customer_id,
20582: X_Project_Relation_Code => p_customers_in(i).project_relationship_code,
20583: X_Customer_Bill_Split => p_customers_in(i).customer_bill_split,

Line 20723: If (pa_customer_info.revenue_accrued_or_billed(l_project_id)) then

20719: IF Cur_Customer_rec.Customer_Bill_Split is not null THEN
20720: l_customer_bill_split := Cur_Customer_rec.Customer_Bill_Split;
20721: END IF;
20722: Else
20723: If (pa_customer_info.revenue_accrued_or_billed(l_project_id)) then
20724: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_ERROR)
20725: THEN
20726: pa_utils.add_message
20727: ( p_app_short_name => 'PA'-- new message for bug 3326468

Line 20766: PA_CUSTOMER_INFO.CHECK_RECEIVER_PROJ_ENTERABLE

20762: END IF;
20763: RAISE FND_API.G_EXC_ERROR;
20764: ELSE /* l_bill_another_project_flag = 'Y' */
20765: l_receiver_task_id := p_customers_in(i).receiver_task_id;
20766: PA_CUSTOMER_INFO.CHECK_RECEIVER_PROJ_ENTERABLE
20767: (p_project_id => l_project_id
20768: ,p_customer_id => p_customers_in(i).customer_id
20769: ,p_receiver_task_id => l_receiver_task_id
20770: ,x_bill_another_project_flag => l_bill_another_project_flag

Line 20811: PA_CUSTOMER_INFO.CHECK_RECEIVER_PROJ_ENTERABLE

20807: END IF;
20808: RAISE FND_API.G_EXC_ERROR;
20809: ELSE /* l_bill_another_project_flag = 'Y' */
20810: l_receiver_task_id := p_customers_in(i).receiver_task_id;
20811: PA_CUSTOMER_INFO.CHECK_RECEIVER_PROJ_ENTERABLE
20812: (p_project_id => l_project_id
20813: ,p_customer_id => p_customers_in(i).customer_id
20814: ,p_receiver_task_id => l_receiver_task_id
20815: ,x_bill_another_project_flag => l_bill_another_project_flag

Line 20901: ----dbms_output.put_line('Before calling pa_customer_info.get_customer_info');

20897: End If;
20898:
20899: /** end of chnages for tracking bug by aditi **/
20900:
20901: ----dbms_output.put_line('Before calling pa_customer_info.get_customer_info');
20902: ----dbms_output.put_line('Value of l_bill_to_contact_id '||l_bill_to_contact_id);
20903: ----dbms_output.put_line('Value of l_ship_to_contact_id '||l_ship_to_contact_id);
20904:
20905: pa_customer_info.get_customer_info( X_project_ID => l_project_id

Line 20905: pa_customer_info.get_customer_info( X_project_ID => l_project_id

20901: ----dbms_output.put_line('Before calling pa_customer_info.get_customer_info');
20902: ----dbms_output.put_line('Value of l_bill_to_contact_id '||l_bill_to_contact_id);
20903: ----dbms_output.put_line('Value of l_ship_to_contact_id '||l_ship_to_contact_id);
20904:
20905: pa_customer_info.get_customer_info( X_project_ID => l_project_id
20906: ,X_Customer_Id => p_customers_in(i).customer_id
20907: ,X_Bill_To_Customer_Id => l_bill_to_customer_id
20908: ,X_Ship_To_Customer_Id => l_ship_to_customer_id
20909: ,X_Bill_To_Address_Id => l_bill_to_address_id

Line 20919: ----dbms_output.put_line('After calling pa_customer_info.get_customer_info'||l_err_code);

20915: ,X_Err_Stack => l_err_stack
20916: ,p_calling_module => 'AMG' --added for bug#4770535
20917: );
20918:
20919: ----dbms_output.put_line('After calling pa_customer_info.get_customer_info'||l_err_code);
20920:
20921:
20922: -- For this API,error code 10 is a warning.Anything above 10 is an error
20923: IF l_err_code > 10

Line 21173: /* Added Call to pa_customer_info.Create_Customer_Contacts. We only will be adding new contacts.

21169: end if;
21170:
21171: -- End of addition for bug 5554475
21172:
21173: /* Added Call to pa_customer_info.Create_Customer_Contacts. We only will be adding new contacts.
21174: There are no attrbutes that can be updated in a contact. Hence, the call below will suffice.
21175: It will check if the customer already exists, then Insert into pa_project_customers will
21176: be skipped and data will only be inserted into pa_project_contacts */
21177:

Line 21178: pa_customer_info.Create_Customer_Contacts

21174: There are no attrbutes that can be updated in a contact. Hence, the call below will suffice.
21175: It will check if the customer already exists, then Insert into pa_project_customers will
21176: be skipped and data will only be inserted into pa_project_contacts */
21177:
21178: pa_customer_info.Create_Customer_Contacts
21179: ( X_Project_Id => l_project_id,
21180: X_Customer_Id => p_customers_in(i).customer_id,
21181: X_Project_Relation_Code => p_customers_in(i).project_relationship_code,
21182: X_Customer_Bill_Split => p_customers_in(i).customer_bill_split,

Line 21273: tot_contribution := pa_customer_info.check_proj_tot_contribution(l_project_id,l_valid_proj_flag);

21269: i := p_customers_in.first;
21270:
21271: IF p_customers_in.exists(i)
21272: THEN
21273: tot_contribution := pa_customer_info.check_proj_tot_contribution(l_project_id,l_valid_proj_flag);
21274: IF l_valid_proj_flag THEN
21275: ----dbms_output.put_line('Value of tot_contribution'||tot_contribution);
21276: IF (tot_contribution <> 0 AND tot_contribution <> 100) OR
21277: /*(tot_contribution <> 100) OR Commented the condition for Bug 10416869 */