DBA Data[Home] [Help]

APPS.PA_PROJECT_PUB dependencies on PA_CUSTOMER_INFO

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

3545: l_bill_to_contact_id := NULL;
3546: l_ship_to_contact_id := NULL;
3547: End If;
3548: /** end of chnages for tracking bug by aditi **/
3549: ----dbms_output.put_line('Before calling pa_customer_info.get_customer_info');
3550: ----dbms_output.put_line('Value of l_bill_to_contact_id '||l_bill_to_contact_id);
3551: ----dbms_output.put_line('Value of l_ship_to_contact_id '||l_ship_to_contact_id);
3552:
3553: /* Code changes end for tracking bug */

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

3754:
3755: --if condition introduced for bug 5731766
3756: --dbms_output.put_line('Value of l_source_project_type '||l_proj_type_class);
3757: If nvl(l_proj_type_class,'NONE') = 'CONTRACT' then
3758: pa_customer_info.get_customer_info( X_project_ID => l_project_id --CAR changes
3759: ,X_Customer_Id => l_in_customer_id -- l_project_in_rec.customer_id tracking
3760: ,X_Bill_To_Customer_Id => l_bill_to_customer_id -- 4193743 l_project_in_rec.bill_to_customer_id -- car changes
3761: ,X_Ship_To_Customer_Id => l_ship_to_customer_id -- 4193743 l_project_in_rec.ship_to_customer_id -- car changes
3762: ,X_Bill_To_Address_Id => l_bill_to_address_id

Line 3936: pa_customer_info.create_customer_contacts

3932: END IF;
3933: --sunkalya:federal changes bug#5511353
3934: ----dbms_output.put_line('Before Calling create_customer_contacts');
3935:
3936: pa_customer_info.create_customer_contacts
3937: ( l_project_id
3938: ,l_in_customer_id -- l_project_in_rec.customer_id
3939: ,l_project_relationship_code -- l_relationship_type tracking
3940: --Bug 3279981

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

19258: ,p_attribute5 => '');
19259: RAISE FND_API.G_EXC_ERROR;
19260: END IF;
19261:
19262: pa_customer_info.get_customer_info( X_project_ID => l_project_id,
19263: X_Customer_Id => p_project_in.customer_id
19264: ,X_Bill_To_Customer_Id => l_bill_to_customer_id
19265: ,X_Ship_To_Customer_Id => l_ship_to_customer_id
19266: ,X_Bill_To_Address_Id => l_bill_to_address_id

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

19892: l_bill_to_contact_id := NULL;
19893: l_ship_to_contact_id := NULL;
19894: End If;
19895: /** end of chnages for tracking bug by aditi **/
19896: ----dbms_output.put_line('Before calling pa_customer_info.get_customer_info');
19897: ----dbms_output.put_line('Value of l_bill_to_contact_id '||l_bill_to_contact_id);
19898: ----dbms_output.put_line('Value of l_ship_to_contact_id '||l_ship_to_contact_id);
19899:
19900: /* Start of changes for bug 5482997 */

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

19909:
19910: /* End of changes for bug 5482997 */
19911:
19912:
19913: pa_customer_info.get_customer_info( X_project_ID => l_project_id,
19914: X_Customer_Id => p_customers_in(i).customer_id -- p_project_in.customer_id tracking
19915: ,X_Bill_To_Customer_Id => l_bill_to_customer_id
19916: ,X_Ship_To_Customer_Id => l_ship_to_customer_id
19917: ,X_Bill_To_Address_Id => l_bill_to_address_id

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

19923: ,X_Err_Stack => l_err_stack
19924: ,p_calling_module => 'AMG' --Added for Bug#4770535
19925: );
19926:
19927: ----dbms_output.put_line('After calling pa_customer_info.get_customer_info'||l_err_code);
19928: --dbms_output.put_line('Value of l_bill_to_address_id '||l_bill_to_address_id);
19929: --dbms_output.put_line('Value of l_ship_to_address_id '||l_ship_to_address_id);
19930:
19931: -- For this API,error code 10 is a warning.Anything above 10 is an error

Line 20178: pa_customer_info.Create_Customer_Contacts

20174:
20175: ----dbms_output.put_line('After calling CREATE_PROJECT_CUSTOMER x_return_status X_MSG_DATA'||x_return_status||'e'||X_MSG_DATA);
20176:
20177: /* call to create_customer_contacts added for tracking bug by aditi */
20178: pa_customer_info.Create_Customer_Contacts
20179: ( X_Project_Id => l_project_id,
20180: X_Customer_Id => p_customers_in(i).customer_id,
20181: X_Project_Relation_Code => p_customers_in(i).project_relationship_code,
20182: X_Customer_Bill_Split => p_customers_in(i).customer_bill_split,

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

20318: IF Cur_Customer_rec.Customer_Bill_Split is not null THEN
20319: l_customer_bill_split := Cur_Customer_rec.Customer_Bill_Split;
20320: END IF;
20321: Else
20322: If (pa_customer_info.revenue_accrued_or_billed(l_project_id)) then
20323: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_ERROR)
20324: THEN
20325: pa_utils.add_message
20326: ( p_app_short_name => 'PA'-- new message for bug 3326468

Line 20365: PA_CUSTOMER_INFO.CHECK_RECEIVER_PROJ_ENTERABLE

20361: END IF;
20362: RAISE FND_API.G_EXC_ERROR;
20363: ELSE /* l_bill_another_project_flag = 'Y' */
20364: l_receiver_task_id := p_customers_in(i).receiver_task_id;
20365: PA_CUSTOMER_INFO.CHECK_RECEIVER_PROJ_ENTERABLE
20366: (p_project_id => l_project_id
20367: ,p_customer_id => p_customers_in(i).customer_id
20368: ,p_receiver_task_id => l_receiver_task_id
20369: ,x_bill_another_project_flag => l_bill_another_project_flag

Line 20410: PA_CUSTOMER_INFO.CHECK_RECEIVER_PROJ_ENTERABLE

20406: END IF;
20407: RAISE FND_API.G_EXC_ERROR;
20408: ELSE /* l_bill_another_project_flag = 'Y' */
20409: l_receiver_task_id := p_customers_in(i).receiver_task_id;
20410: PA_CUSTOMER_INFO.CHECK_RECEIVER_PROJ_ENTERABLE
20411: (p_project_id => l_project_id
20412: ,p_customer_id => p_customers_in(i).customer_id
20413: ,p_receiver_task_id => l_receiver_task_id
20414: ,x_bill_another_project_flag => l_bill_another_project_flag

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

20496: End If;
20497:
20498: /** end of chnages for tracking bug by aditi **/
20499:
20500: ----dbms_output.put_line('Before calling pa_customer_info.get_customer_info');
20501: ----dbms_output.put_line('Value of l_bill_to_contact_id '||l_bill_to_contact_id);
20502: ----dbms_output.put_line('Value of l_ship_to_contact_id '||l_ship_to_contact_id);
20503:
20504: pa_customer_info.get_customer_info( X_project_ID => l_project_id

Line 20504: pa_customer_info.get_customer_info( X_project_ID => l_project_id

20500: ----dbms_output.put_line('Before calling pa_customer_info.get_customer_info');
20501: ----dbms_output.put_line('Value of l_bill_to_contact_id '||l_bill_to_contact_id);
20502: ----dbms_output.put_line('Value of l_ship_to_contact_id '||l_ship_to_contact_id);
20503:
20504: pa_customer_info.get_customer_info( X_project_ID => l_project_id
20505: ,X_Customer_Id => p_customers_in(i).customer_id
20506: ,X_Bill_To_Customer_Id => l_bill_to_customer_id
20507: ,X_Ship_To_Customer_Id => l_ship_to_customer_id
20508: ,X_Bill_To_Address_Id => l_bill_to_address_id

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

20514: ,X_Err_Stack => l_err_stack
20515: ,p_calling_module => 'AMG' --added for bug#4770535
20516: );
20517:
20518: ----dbms_output.put_line('After calling pa_customer_info.get_customer_info'||l_err_code);
20519:
20520:
20521: -- For this API,error code 10 is a warning.Anything above 10 is an error
20522: IF l_err_code > 10

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

20768: end if;
20769:
20770: -- End of addition for bug 5554475
20771:
20772: /* Added Call to pa_customer_info.Create_Customer_Contacts. We only will be adding new contacts.
20773: There are no attrbutes that can be updated in a contact. Hence, the call below will suffice.
20774: It will check if the customer already exists, then Insert into pa_project_customers will
20775: be skipped and data will only be inserted into pa_project_contacts */
20776:

Line 20777: pa_customer_info.Create_Customer_Contacts

20773: There are no attrbutes that can be updated in a contact. Hence, the call below will suffice.
20774: It will check if the customer already exists, then Insert into pa_project_customers will
20775: be skipped and data will only be inserted into pa_project_contacts */
20776:
20777: pa_customer_info.Create_Customer_Contacts
20778: ( X_Project_Id => l_project_id,
20779: X_Customer_Id => p_customers_in(i).customer_id,
20780: X_Project_Relation_Code => p_customers_in(i).project_relationship_code,
20781: X_Customer_Bill_Split => p_customers_in(i).customer_bill_split,

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

20868: i := p_customers_in.first;
20869:
20870: IF p_customers_in.exists(i)
20871: THEN
20872: tot_contribution := pa_customer_info.check_proj_tot_contribution(l_project_id,l_valid_proj_flag);
20873: IF l_valid_proj_flag THEN
20874: ----dbms_output.put_line('Value of tot_contribution'||tot_contribution);
20875: IF (tot_contribution <> 0 AND tot_contribution <> 100) OR
20876: (tot_contribution <> 100) OR