Codeunit CCS DIS Mapping Value Mgt.
codeunit 5100927 "CCS DIS Mapping Value Mgt."
Properties
Name |
Value |
EventSubscriberInstance |
Manual |
Methods
GetFieldValue
public "CCS DIS Mapping Value Mgt." GetFieldValue(MappingCode: Code[20]; VersionNo: Integer; RepositoryCode: Code[20]; FldName: Text; FldFormatString: Text; ConversionCode: Code[20]; var FldValue: Variant; Source: RecordId): None
Returns the value of a field from a mapping repository.
Parameters
Name |
Type |
Description |
MappingCode |
Code[20] |
The mapping code to identify the mapping repository. |
VersionNo |
Integer |
The version number to identify the mapping repository. |
RepositoryCode |
Code[20] |
The repository code to identify the mapping repository. |
FldName |
Text |
The name of the field. |
FldFormatString |
Text |
The format string to format the value. |
ConversionCode |
Code[20] |
The conversion code to convert the value. |
FldValue |
Variant |
Returns the formatted and converted value. |
Source |
RecordId |
The source record to store into a variable for extensibilty. |
Return Value
None
Events
event "CCS DIS Mapping Value Mgt." OnAfterCalculateFormula(MappingCode: Code[20]; VersionNo: Integer; Formula: Text; FldFormatString: Text; ConversionCode: Code[20]; var FldValue: Variant)
The event is fired after a formula value was calculated.
The value is converted and formatted.
Parameters
Name |
Type |
Description |
MappingCode |
Code[20] |
The mapping code to identify the mapping. |
VersionNo |
Integer |
The version number to identify the mapping version. |
Formula |
Text |
The formula original value. The formula can contain variables. |
FldFormatString |
Text |
The format string the value was formatted with. |
ConversionCode |
Code[20] |
The conversion code the value was converted with. |
FldValue |
Variant |
The converted and formatted value as return. |
Attributes
Name |
Arguments |
IntegrationEvent |
False, False |
event "CCS DIS Mapping Value Mgt." OnAfterDoFormatting(FldFormatString: Text; var FldValue: Variant)
The event is fired after the value was formatted.
Parameters
Name |
Type |
Description |
FldFormatString |
Text |
The format string to format the value. |
FldValue |
Variant |
The formatted value. If FldFormatString was empty, the value might be different than text data type. |
Attributes
Name |
Arguments |
IntegrationEvent |
False, False |
OnAfterGetConstValue
event "CCS DIS Mapping Value Mgt." OnAfterGetConstValue(MappingCode: Code[20]; VersionNo: Integer; ConstValue: Text; FldFormatString: Text; ConversionCode: Code[20]; var FldValue: Variant)
The event is fired after a constant value was retrieved.
All variables are solved, the value is converted and formatted.
Parameters
Name |
Type |
Description |
MappingCode |
Code[20] |
The mapping code to identify the mapping. |
VersionNo |
Integer |
The version number to identify the mapping version. |
ConstValue |
Text |
The configured constant original value. The value can contain variables. |
FldFormatString |
Text |
The format string the value was formatted with. |
ConversionCode |
Code[20] |
The conversion code the value was converted with. |
FldValue |
Variant |
The solved, converted and formatted value as return. |
Attributes
Name |
Arguments |
IntegrationEvent |
False, False |
OnAfterGetFieldValue
event "CCS DIS Mapping Value Mgt." OnAfterGetFieldValue(MappingCode: Code[20]; VersionNo: Integer; RepositoryCode: Code[20]; FldName: Text; FldFormatString: Text; ConversionCode: Code[20]; var FldValue: Variant)
The event is fired after a field value from a repository was retrieved.
The value is converted and formatted.
Parameters
Name |
Type |
Description |
MappingCode |
Code[20] |
The mapping code to identify the mapping. |
VersionNo |
Integer |
The version number to identify the mapping version. |
RepositoryCode |
Code[20] |
The repository code to identify the repository. |
FldName |
Text |
Defines the field from the repository. |
FldFormatString |
Text |
The format string the value was formatted with. |
ConversionCode |
Code[20] |
The conversion code the value was converted with. |
FldValue |
Variant |
The converted and formatted value as return. |
Attributes
Name |
Arguments |
IntegrationEvent |
False, False |
OnAfterGetPartnerValue
event "CCS DIS Mapping Value Mgt." OnAfterGetPartnerValue(MappingCode: Code[20]; VersionNo: Integer; FldNoTxt: Text; FldFormatString: Text; ConversionCode: Code[20]; var FldValue: Variant)
The event is fired after a value from the mapping partner was retrieved.
The value is converted and formatted.
Parameters
Name |
Type |
Description |
MappingCode |
Code[20] |
The mapping code to identify the mapping. |
VersionNo |
Integer |
The version number to identify the mapping version. |
FldNoTxt |
Text |
The field number of the partner table to retrieve the value from. |
FldFormatString |
Text |
The format string the value was formatted with. |
ConversionCode |
Code[20] |
The conversion code the value was converted with. |
FldValue |
Variant |
The converted and formatted value as return. |
Attributes
Name |
Arguments |
IntegrationEvent |
False, False |
event "CCS DIS Mapping Value Mgt." OnBeforeCalculateFormula(var MappingCode: Code[20]; var VersionNo: Integer; var Formula: Text; var FldFormatString: Text; var ConversionCode: Code[20])
The event is fired before calculating a formula value.
No conversion and no formatting was done.
Parameters
Name |
Type |
Description |
MappingCode |
Code[20] |
The mapping code to identify the mapping. |
VersionNo |
Integer |
The version number to identify the mapping version. |
Formula |
Text |
The formula to be calculated. The formula can contain variables. |
FldFormatString |
Text |
The format string to format the value. |
ConversionCode |
Code[20] |
The conversion code to convert the value. |
Attributes
Name |
Arguments |
IntegrationEvent |
False, False |
event "CCS DIS Mapping Value Mgt." OnBeforeDoFormatting(var FldFormatString: Text; var FldValue: Variant)
The event is fired before the value is formatted.
Parameters
Name |
Type |
Description |
FldFormatString |
Text |
The format string to format the value. |
FldValue |
Variant |
The value to be formatted. |
Attributes
Name |
Arguments |
IntegrationEvent |
False, False |
OnBeforeGetConstValue
event "CCS DIS Mapping Value Mgt." OnBeforeGetConstValue(var MappingCode: Code[20]; var VersionNo: Integer; var ConstValue: Text; var FldFormatString: Text; var ConversionCode: Code[20])
The event is fired before retrieving a constant value.
No variable has been solved, no conversion and no formatting done.
Parameters
Name |
Type |
Description |
MappingCode |
Code[20] |
The mapping code to identify the mapping. |
VersionNo |
Integer |
The version number to identify the mapping version. |
ConstValue |
Text |
The configured constant value. The value can contain variables. |
FldFormatString |
Text |
The format string to format the value. |
ConversionCode |
Code[20] |
The conversion code to convert the value. |
Attributes
Name |
Arguments |
IntegrationEvent |
False, False |
OnBeforeGetFieldValue
event "CCS DIS Mapping Value Mgt." OnBeforeGetFieldValue(var MappingCode: Code[20]; var VersionNo: Integer; var RepositoryCode: Code[20]; var FldName: Text; var FldFormatString: Text; var ConversionCode: Code[20])
The event is fired before retrieving a field value from a repository.
No conversion and no formatting was done.
Parameters
Name |
Type |
Description |
MappingCode |
Code[20] |
The mapping code to identify the mapping. |
VersionNo |
Integer |
The version number to identify the mapping version. |
RepositoryCode |
Code[20] |
The repository code to identify the repository. |
FldName |
Text |
Defines the field from the repository to retrieve the value from. |
FldFormatString |
Text |
The format string to format the value. |
ConversionCode |
Code[20] |
The conversion code to convert the value. |
Attributes
Name |
Arguments |
IntegrationEvent |
False, False |
OnBeforeGetPartnerValue
event "CCS DIS Mapping Value Mgt." OnBeforeGetPartnerValue(var MappingCode: Code[20]; var VersionNo: Integer; var FldNoTxt: Text; var FldFormatString: Text; var ConversionCode: Code[20])
The event is fired before retrieving a value from the mapping partner.
No conversion and no formatting was done.
Parameters
Name |
Type |
Description |
MappingCode |
Code[20] |
The mapping code to identify the mapping. |
VersionNo |
Integer |
The version number to identify the mapping version. |
FldNoTxt |
Text |
The field number of the partner table to retrieve the value from. |
FldFormatString |
Text |
The format string to format the value. |
ConversionCode |
Code[20] |
The conversion code to convert the value. |
Attributes
Name |
Arguments |
IntegrationEvent |
False, False |