ReleaseUpdateDB::addBulkCopyFieldOption Method [AX 2012]
Specifies options for field processing during bulk copy.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
server public static void addBulkCopyFieldOption(
str _tableName,
str _fieldName,
ReleaseUpdateBulkCopyFieldOption _fieldOptions,
[boolean skipValidate])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static void addBulkCopyFieldOption(
str _tableName,
str _fieldName,
ReleaseUpdateBulkCopyFieldOption _fieldOptions)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static void addBulkCopyFieldOption(
str _tableName,
str _fieldName,
ReleaseUpdateBulkCopyFieldOption _fieldOptions)
Microsoft Dynamics AX 2012 (FPK)
server public static void addBulkCopyFieldOption(
str _tableName,
str _fieldName,
ReleaseUpdateBulkCopyFieldOption _fieldOptions)
Microsoft Dynamics AX 2012 (SYS)
server public static void addBulkCopyFieldOption(
str _tableName,
str _fieldName,
ReleaseUpdateBulkCopyFieldOption _fieldOptions)
Run On
Server
Parameters
- _tableName
Type: str
The name of the table that contains the field.
- _fieldName
Type: str
The name of the field to apply the option to.
- _fieldOptions
Type: ReleaseUpdateBulkCopyFieldOption Enumeration
The ReleaseUpdateBulkCOpyFieldOption value to apply.
- skipValidate
Type: boolean
Exceptions
Exception | Condition |
---|---|
Error | The table name or field name is not found. |
Remarks
Call this method during a pre-synchronization script to specify that certain operations should be performed on a field during bulk copy. For example, use the LTrimTarget option to specify that the source field value should be left trimmed when it is copied to the target field.