Академический Документы
Профессиональный Документы
Культура Документы
Set Profile Option ‘HZ: Generate Party Number’ to blank at site level
(Set this profile option back to Yes when conversion is done)
Set this value so that Party number is system generated.
3. Format the data file as in the given attached format(.csv). (See sample file
“CM_Conv.csv” in share point)
4. Put the file in Dropzone (anywhere) and give permission to that file chmod 777
5. Run the data load program (select the correct file path) from the corresponding ou
customer master batch scheduler responsibility (BCI CM Conversion Data Load).
You can get the Cross_Reference file from the utl file path. For RICE it is
/RICE/d13/oratmp (or linux in /EBSTST/applmgr/applptmp )
This program will generate the cross reference file and also update staging table
County,Site_code, Address1,Telphone,Ship_to,bill_to,contact reference.
Notes: Truncate all the temp and staging tables before processing ,take a back-up if
needed.
If not the final request set will read all the records from these tables and update Customer
Master.
This set is for updating the attributes ,freight_terms ..etc from bciar_cm_temp_table_01
p_cust_site_use_rec.attribute1 := r1.admin_to_site;
p_cust_site_use_rec.attribute2 := r1.freight_consignee;
p_cust_site_use_rec.attribute3 := r1.grouping;
p_cust_site_use_rec.attribute4 := r1.grouping_number;
p_cust_site_use_rec.attribute5 := r1.use_dealer_name;
p_cust_site_use_rec.attribute6 := r1.dealer_commission_bill_to;
p_cust_site_use_rec.attribute10 := r1.dealer_commission_bill_to_2;
p_cust_site_use_rec.attribute7 := r1.radioactive_license_no;
p_cust_site_use_rec.attribute8 := r1.radioactive_license_exp_date;
p_cust_site_use_rec.attribute9 := r1.reporting_country_code;
Notes:
1. Org_id is not getting populated
2. Truncate the temp tables before starting the process.
3. DQM Synchronization Program – Run this program in test instances ,should be
already scheduled in Prod.
My Comment
BCI CM Conversion Data Load Program to load data to basic staging table BCI_CM_conversion_data. (Select
the correct file path with file name as parameter to this program from the corresponding Customer master Batch
Scheduler responsibility)
BCI CM Conversion Create References This program validate data and inserting cross references to
BCIAR_GLOBAL_CM_XREF table and creates cross reference file (outbound). As a process this will also update
status to staging table BCI_CM_conversion_data.
BCI CM Conversion Split Data This program will split data into BCI custom tables
bci.bciar_customer_master_02 and bci.bciar_cm_temp_table_01.
BCI - AR Customer Validation Program This program validates the customer information in staging table and
insert records to interface tables.
BCI - AR Customer Master Update Set Request Set for Updating Customer Master
BCI - AR Update Customer Relationship To update customer details when parent customer and related
customer are provided in the data file.
BCI - AR Create Customer Relationship To create customer relation when customer has more than one parent
BCI - AR Update Customer Site Use To update customer payment and freight terms at site level
BCIAR Update Customer Master To update customer account for additional fields (Credit Hold, GSA, Sales
Channel, Site aggregation) mentioned in the data file
Request
bci_cm_conversion.
Table: BCIAR_GLOBAL_CM_XREF
1. bciar_customer_master_02
2. bciar_cm_temp_table_01
---Staging Table
GENOMICS_10019_28340
Executable : BCIAR_UPD_CUSTACCT
Executable : BCIAR_UPD_CUSTACCT_NEW
Procedure : bci_cm_conversion_pkg.update_customer_accnt
select distinct
customer_reference,customer_name,customer_number,
from bciar_cm_temp_table_01
order by customer_reference;
hz_cust_account_v2pub.update_cust_account
Replacement:
Table Name :
RA_CUSTOMERS_INTERFACE_ALL
INSERT_UPDATE_FLAG
cursor c_custrel_record is
select distinct parent_reference_01, parent_reference_02, parent_reference_03,
parent_reference_04, parent_reference_05,parent_reference_06,
parent_reference_13, parent_reference_14,parent_reference_15,
parent_reference_19, parent_reference_20,
customer_reference,customer_number
from bciar_cm_temp_table_01
order by customer_reference;
Procedure : bciar_insert_cust_relate
HZ_CUST_ACCOUNT_V2PUB.create_cust_acct_relate(
'T',
p_cust_acct_relate_type,
x_return_status,
x_msg_count,
x_msg_data);
BCIAR_UPD_PARTY.sql
cursor c_party_record is
tax_registration_number,tax_payer_id, category_code,duns_number
from bciar_cm_temp_table_01
order by customer_reference;
hz_party_v2pub.update_organization(
'T',
p_organization_rec,
p_party_object_version_number,
x_profile_id,
x_return_status,
x_msg_count,
x_msg_data)
bciar_upd_site_contact.sql
hz_cust_account_role_v2pub.create_role_responsibility(
'T',
p_role_responsibility_rec,
x_responsibility_id,
x_return_status,
x_msg_count,
x_msg_data);
BCIARCOL_CUST_UPDATE_PKB.bciarcol_update_cust_profile