Interface CCS DIS Mapping Repository
interface "CCS DIS Mapping Repository"
Methods
CreateFieldStructure
public "CCS DIS Mapping Repository" CreateFieldStructure(var ToMappingRepository: Record "CCS DIS Mapping Repository"; FromMappingRepository: Record "CCS DIS Mapping Repository"): None
Create a mapping field structure in the ToMappingRepository
Parameters
Name | Type | Description |
---|---|---|
ToMappingRepository | Record "CCS DIS Mapping Repository" |
|
FromMappingRepository | Record "CCS DIS Mapping Repository" |
Return Value
None
Delete
public "CCS DIS Mapping Repository" Delete(MappingLine: Record "CCS DIS Mapping Line"): None
Delete the current record in the repository.
Parameters
Name | Type | Description |
---|---|---|
MappingLine | Record "CCS DIS Mapping Line" |
Return Value
None
DisposeComponents
public "CCS DIS Mapping Repository" DisposeComponents(var MappingEntry: Record "CCS DIS Mapping Entry"): None
Dispose a repository for a mapping entry.
Parameters
Name | Type | Description |
---|---|---|
MappingEntry | Record "CCS DIS Mapping Entry" |
The current mapping entry. |
Return Value
None
Filter
public "CCS DIS Mapping Repository" Filter(MappingLine: Record "CCS DIS Mapping Line"; var RecordSet: Interface "CCS DIS Record Set Interface"): None
Filter the repository and return a record set.
Parameters
Name | Type | Description |
---|---|---|
MappingLine | Record "CCS DIS Mapping Line" |
The current mapping line. |
RecordSet | Interface "CCS DIS Record Set Interface" |
The filtered record set to loop for. |
Return Value
None
GetFieldList
public "CCS DIS Mapping Repository" GetFieldList(MappingRepository: Record "CCS DIS Mapping Repository"): Dictionary of [Text, Text]
Returns the field list for Transfer Field settings.
Parameters
Name | Type | Description |
---|---|---|
MappingRepository | Record "CCS DIS Mapping Repository" |
Return Value
Dictionary of [Text, Text]
GetFieldValue
public "CCS DIS Mapping Repository" GetFieldValue(MappingRepository: Record "CCS DIS Mapping Repository"; FldName: Text; var FldValue: Variant): None
Return the field value of a repositories's field.
Parameters
Name | Type | Description |
---|---|---|
MappingRepository | Record "CCS DIS Mapping Repository" |
The current repository. |
FldName | Text |
The field name. |
FldValue | Variant |
The field value to be returned. |
Return Value
None
GetListName
public "CCS DIS Mapping Repository" GetListName(MappingRepository: Record "CCS DIS Mapping Repository"): Text
Is used to identify the list in the conversion table name and field name settings.
Parameters
Name | Type | Description |
---|---|---|
MappingRepository | Record "CCS DIS Mapping Repository" |
Return Value
Text
InitializeComponents
public "CCS DIS Mapping Repository" InitializeComponents(var MappingEntry: Record "CCS DIS Mapping Entry"): None
Initialize a repository for a mapping entry.
Parameters
Name | Type | Description |
---|---|---|
MappingEntry | Record "CCS DIS Mapping Entry" |
The current mapping entry. |
Return Value
None
Insert
public "CCS DIS Mapping Repository" Insert(MappingLine: Record "CCS DIS Mapping Line"): None
Insert a record into the repository.
Parameters
Name | Type | Description |
---|---|---|
MappingLine | Record "CCS DIS Mapping Line" |
The current mapping line. |
Return Value
None
Processed
public "CCS DIS Mapping Repository" Processed(MappingLine: Record "CCS DIS Mapping Line"): None
Set the current record in the repository as processed.
Parameters
Name | Type | Description |
---|---|---|
MappingLine | Record "CCS DIS Mapping Line" |
The current mapping line. |
Return Value
None
Rename
public "CCS DIS Mapping Repository" Rename(MappingLine: Record "CCS DIS Mapping Line"): None
Rename the current recird in the repository.
Parameters
Name | Type | Description |
---|---|---|
MappingLine | Record "CCS DIS Mapping Line" |
The current mapping line. |
Return Value
None
Solve
public "CCS DIS Mapping Repository" Solve(var MappingRepository: Record "CCS DIS Mapping Repository"): None
Solves values like record pool table number to repository table number.
Parameters
Name | Type | Description |
---|---|---|
MappingRepository | Record "CCS DIS Mapping Repository" |
Return Value
None
Update
public "CCS DIS Mapping Repository" Update(MappingLine: Record "CCS DIS Mapping Line"): None
Update the current record in the repository.
Parameters
Name | Type | Description |
---|---|---|
MappingLine | Record "CCS DIS Mapping Line" |
The current mapping line. |
Return Value
None
ValidateConstValue
public "CCS DIS Mapping Repository" ValidateConstValue(MappingRepository: Record "CCS DIS Mapping Repository"; RecField: Text; var ValueField: Text[250]; var ValueFieldCaption: Text[80]; OutputFormatProperty: Integer): None
Validates a const value to plain text value on mapping configuration pages.
Parameters
Name | Type | Description |
---|---|---|
MappingRepository | Record "CCS DIS Mapping Repository" |
|
RecField | Text |
|
ValueField | Text[250] |
|
ValueFieldCaption | Text[80] |
|
OutputFormatProperty | Integer |
Return Value
None
ValidateFieldValue
public "CCS DIS Mapping Repository" ValidateFieldValue(MappingRepository: Record "CCS DIS Mapping Repository"; var ValueField: Text[250]; var ValueFieldCaption: Text[80]): None
Validates the field value to plain text value on mapping configuration pages.
Parameters
Name | Type | Description |
---|---|---|
MappingRepository | Record "CCS DIS Mapping Repository" |
|
ValueField | Text[250] |
|
ValueFieldCaption | Text[80] |
Return Value
None
ValidateRepository
public "CCS DIS Mapping Repository" ValidateRepository(MappingRepository: Record "CCS DIS Mapping Repository"): None
Validate the mapping repository on mapping release.
Throw an error if repository is not valid.
Parameters
Name | Type | Description |
---|---|---|
MappingRepository | Record "CCS DIS Mapping Repository" |
Return Value
None