You need to sign in to do that
Don't have an account?
sudhirn@merunetworks.com
Create account from custom object
I am create a new account based on custom object data. I am creating a prospect account record type. I am trying to pass ship to address information but account is not allowing to create. please advice how to create ship to address.
I am creating account using trigger
Thanks
Sudhir
I am creating account using trigger
* Create Account */ Account acc = new Account(); acc.RecordTypeId = AccountRecordTypeID.Id; // Prospect record type acc.name = Deal.customer_name__c; acc.Industry = Deal.Industry__c; acc.Website = Deal.Company_Url__c; acc.Type = 'Prospect'; //acc.ShippingStreet = Deal.Address_Line1__c; //acc.ShippingCity = Deal.City__c; //acc.ShippingState = Deal.State__c; //acc.ShippingPostalCode = Deal.Zip_Postal_Code__c; //acc.ShippingCountry = Deal.Country__c;
Thanks
Sudhir
Thanks
Sid
be something like acc.RecordTypeId = Deal.Id?
Assuming you are linking the Account to the deal. If you provided all the code, it might be easier to diagnois