2727: x_msg_count OUT NOCOPY NUMBER,
2728: x_msg_data OUT NOCOPY VARCHAR2
2729: ) IS
2730:
2731: p_control_rec oe_create_account_info.control_rec_type;
2732: p_account_tbl oe_create_account_info.account_tbl;
2733: p_contact_tbl oe_create_account_info.contact_tbl;
2734: p_site_tbl oe_create_account_info.site_tbl_type;
2735: p_line_site_tbl oe_create_account_info.site_tbl_type;
2728: x_msg_data OUT NOCOPY VARCHAR2
2729: ) IS
2730:
2731: p_control_rec oe_create_account_info.control_rec_type;
2732: p_account_tbl oe_create_account_info.account_tbl;
2733: p_contact_tbl oe_create_account_info.contact_tbl;
2734: p_site_tbl oe_create_account_info.site_tbl_type;
2735: p_line_site_tbl oe_create_account_info.site_tbl_type;
2736: p_party_customer_rec oe_create_account_info.party_customer_rec;
2729: ) IS
2730:
2731: p_control_rec oe_create_account_info.control_rec_type;
2732: p_account_tbl oe_create_account_info.account_tbl;
2733: p_contact_tbl oe_create_account_info.contact_tbl;
2734: p_site_tbl oe_create_account_info.site_tbl_type;
2735: p_line_site_tbl oe_create_account_info.site_tbl_type;
2736: p_party_customer_rec oe_create_account_info.party_customer_rec;
2737:
2730:
2731: p_control_rec oe_create_account_info.control_rec_type;
2732: p_account_tbl oe_create_account_info.account_tbl;
2733: p_contact_tbl oe_create_account_info.contact_tbl;
2734: p_site_tbl oe_create_account_info.site_tbl_type;
2735: p_line_site_tbl oe_create_account_info.site_tbl_type;
2736: p_party_customer_rec oe_create_account_info.party_customer_rec;
2737:
2738: l_cust_account_role_id number;
2731: p_control_rec oe_create_account_info.control_rec_type;
2732: p_account_tbl oe_create_account_info.account_tbl;
2733: p_contact_tbl oe_create_account_info.contact_tbl;
2734: p_site_tbl oe_create_account_info.site_tbl_type;
2735: p_line_site_tbl oe_create_account_info.site_tbl_type;
2736: p_party_customer_rec oe_create_account_info.party_customer_rec;
2737:
2738: l_cust_account_role_id number;
2739: l_multiple_sold_to varchar2(32000);
2732: p_account_tbl oe_create_account_info.account_tbl;
2733: p_contact_tbl oe_create_account_info.contact_tbl;
2734: p_site_tbl oe_create_account_info.site_tbl_type;
2735: p_line_site_tbl oe_create_account_info.site_tbl_type;
2736: p_party_customer_rec oe_create_account_info.party_customer_rec;
2737:
2738: l_cust_account_role_id number;
2739: l_multiple_sold_to varchar2(32000);
2740: l_sold_to_org_id VARCHAR2(80);
2772:
2773: l_debug_level NUMBER := oe_debug_pub.g_debug_level;
2774:
2775: BEGIN
2776: --oe_create_account_info.set_debug_on();
2777:
2778: IF l_debug_level > 0 THEN
2779: oe_debug_pub.add(' AAC:Inside Process Order: Automatic Account Creation');
2780: oe_debug_pub.add(' operation='||p_header_rec.operation);
3327: IF l_debug_level > 0 THEN
3328: oe_debug_pub.add('AAC: before calling Create_Account_layer for header level site creation{ ');
3329: END IF;
3330:
3331: oe_create_account_info.Create_Account_Layer(
3332: p_control_rec =>p_control_rec
3333: ,x_return_status =>x_return_status
3334: ,x_msg_count =>x_msg_count
3335: ,x_msg_data =>x_Msg_data
4057:
4058: IF l_debug_level > 0 THEN
4059: oe_debug_pub.add('AAC: line: calling Create_Account_Layer...');
4060: END IF;
4061: oe_create_account_info.Create_Account_Layer(
4062: p_control_rec =>p_control_rec
4063: ,x_return_status =>x_return_status
4064: ,x_msg_count =>x_msg_count
4065: ,x_msg_data =>x_Msg_data