Table Field Mapping

[
UpgradeScriptDescriptionAttribute("@SYS136813"),
UpgradeScriptStageAttribute(ReleaseUpdateScriptStage::PreSync),
UpgradeScriptTypeAttribute(ReleaseUpdateScriptType::SharedScript),
UpgradeScriptTableAttribute('CompanyInfo', false, false, false, false)
]
void updateMappingCompanyInfo()
{
ReleaseUpdateBulkCopyMap::addFieldNameMapping(#companyInfoTableName#dataAreaIdFieldName,#companyInfoTableName,#dataAreaFieldName,NoYes::No);
ReleaseUpdateDB::addBulkCopyFieldOption(#companyInfoTableName,#modifiedDateTimeFieldName, ReleaseUpdateBulkCopyFieldOption::DoNotCopy);
ReleaseUpdateDB::addBulkCopyFieldOption(#companyInfoTableName,#modifiedByFieldName, ReleaseUpdateBulkCopyFieldOption::DoNotCopy);

}

Comments

Popular posts from this blog

D365: SSRS Report Development/ Customization

D365: X++ code to add custom lookup on worker to show specific workers team workers only

Dynamics ax 2012: Sample code for fetching records in tmp table using query and Insert record set