Add RecordTypeId for Person Accounts in Salesforce Account Service
- Updated SalesforceAccountService to include RecordTypeId for Person Accounts, ensuring proper handling of account types during creation. - This addition enhances the integration with Salesforce by specifying the required record type for accounts, improving data accuracy and compliance with Salesforce requirements.
This commit is contained in:
parent
a8580b0d61
commit
3fb1de27d5
@ -181,6 +181,8 @@ export class SalesforceAccountService {
|
||||
// Portal tracking fields
|
||||
[this.portalStatusField]: "Active",
|
||||
[this.portalSourceField]: "Portal Checkout",
|
||||
// Record type for Person Accounts (required)
|
||||
RecordTypeId: "0122w000000YjPHAA0",
|
||||
};
|
||||
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user