If you’ve migrated from IFS SaM to Embedded CRM, how did you migrate contacts for prospects? If you change a SaM company from “not linked” to “prospect”, it doesn’t migrate contacts.
If you have scripts you can attach, that would be fantastic.
If you’ve migrated from IFS SaM to Embedded CRM, how did you migrate contacts for prospects? If you change a SaM company from “not linked” to “prospect”, it doesn’t migrate contacts.
If you have scripts you can attach, that would be fantastic.
Bump
Hey Kevin - Let me see if I can find someone from IFS to help. Leaving this up in case customers or partners have advice!
My working idea so far is to migrate those Sales and Marketing Companies as Customers first, then when the migration is complete, do UPDATE
queries against CUSTOMER_INFO_TAB.CUSTOMER_CATEGORY
and VMO_COMPANY_TAB.IDCODCCA
to demote them back to P:rospects.
This feels less invasive than writing directly to the tables to create Person and Customer Contact records. I’m trying to reinvent the fewest wheels.
Hi
Any thoughts and help on this or any member who could assist?
Thanks & Best Regards,
Yasas
Thanks. We saw that and addressed it by adding the basic data.
DECLARE
info_ VARCHAR2(32767);
objid_ VARCHAR2(32767);
objversion_ VARCHAR2(32767);
attr_ VARCHAR2(32767);
BEGIN
BEGIN
client_sys.clear_attr(attr_);
client_sys.add_to_attr('IDCOD', 'cca.PC', attr_);
client_sys.add_to_attr('IDCNA', 'CCA', attr_);
vmo_base_code_api.new__(info_, objid_, objversion_, attr_, 'DO');
EXCEPTION WHEN OTHERS THEN
dbms_output.put_line('ERROR calling vmo_base_code_api.new__: ' || SQLERRM);
END;
BEGIN
client_sys.clear_attr(attr_);
client_sys.add_to_attr('IDCOD', 'cca.PC', attr_);
client_sys.add_to_attr('IDLNG', 'en', attr_);
client_sys.add_to_attr('CODEDESC', 'Prospect', attr_);
client_sys.add_to_attr('SORTORDER', 0, attr_);
vmo_base_codedesc_api.new__(info_, objid_, objversion_, attr_, 'DO');
EXCEPTION WHEN OTHERS THEN
dbms_output.put_line('ERROR calling vmo_base_codedesc_api.new__: ' || SQLERRM);
END;
BEGIN
client_sys.clear_attr(attr_);
client_sys.add_to_attr('IDCOD', 'cca.PC', attr_);
client_sys.add_to_attr('IDLNG', 'pro', attr_);
client_sys.add_to_attr('CODEDESC', 'Prospect', attr_);
client_sys.add_to_attr('SORTORDER', 0, attr_);
vmo_base_codedesc_api.new__(info_, objid_, objversion_, attr_, 'DO');
EXCEPTION WHEN OTHERS THEN
dbms_output.put_line('ERROR calling vmo_base_codedesc_api.new__: ' || SQLERRM);
END;
END;
/
COMMIT;
Any further thoughts on Contacts, anyone?
Bump
To link a contact to Apps, the contact must be assigned an address ID. That address comes from VMO_ADDRESS.
Inside SaM, when you link a Company in the GUI, it does more than just create the Customer and change the state field. It also creates records in VMO_ADDRESS. The creation of the VMO_ADDRESS records doesn’t come from a trigger; that’s an explicit call made by the application.
In order to replicate this in a script, I’m now calling VMO_ADDRESS_API.NEW__ to create the addresses after changing the company status but changing the contact status.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.