AccountingFieldMapping
Represents the accounting field mappings to organize
your data and bring it to ledger entry records.
Parent Type
This type extends the Metadata metadata type and inherits its fullName field.
File Suffix and Directory Location
AccountingFieldMapping components have the suffix .accountingFieldMapping and are stored in the accountingFieldMappings folder.
Version
AccountingFieldMapping components are available in API version 58.0 and later.
Fields
Field Name | Description |
---|---|
accountingModelConfig |
|
isForAllocationType |
|
isForPaymentType |
|
isForTransactionType |
|
isProtected |
|
mappingBehavior |
|
masterLabel |
|
sourceField |
|
targetField |
|
Declarative Metadata Sample Definition
The following is an example of an AccountingFieldMapping component.
<?xml version="1.0" encoding="UTF-8"?>
<AccountingFieldMapping xmlns="http://soap.sforce.com/2006/04/metadata">
<accountingModelConfig>ModelConfigOne</accountingModelConfig>
<fullName>FieldMappingOne</fullName>
<masterLabel>FieldMappingOne</masterLabel>
<isForAllocationType>true</isForAllocationType>
<isForPaymentType>true</isForPaymentType>
<isForTransactionType>true</isForTransactionType>
<mappingBehavior>PointInTime</mappingBehavior>
<sourceField>TransactionJournal.MappingTargetOne__c</sourceField>
<targetField>MappingTargetOne__c</targetField>
<isProtected>false</isProtected>
</AccountingFieldMapping>
The following is an example package.xml that references the previous definition.
<?xml version="1.0" encoding="UTF-8"?>
<Package
xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>FieldMappingOne</members>
<name>AccountingFieldMapping</name>
</types>
<version>58.0</version>
</Package>
Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.