Search Results for

    Show / Hide Table of Contents

    Codeunit CCS DIS Mapping Register Mgt.

    codeunit 5100926 "CCS DIS Mapping Register Mgt."
    
    Warning

    This codeunit is pending obsolete. Use interface mapping logic. 2.7

    Properties

    Name Value
    ObsoleteState Pending
    ObsoleteReason Use interface mapping logic.
    ObsoleteTag 2.7
    SingleInstance 1

    Methods

    AddRepositoryFieldStructure

    public "CCS DIS Mapping Register Mgt." AddRepositoryFieldStructure(var Value: Record "CCS DIS Mapping Repository Fld" temporary): None
    

    Adds a field structure for a repository.
    The records will be copied to the global register.
    The field structure is used to identify data types or parenting.

    Parameters
    Name Type Description
    Value Record "CCS DIS Mapping Repository Fld" temporary The repository field structure.
    Return Value

    None

    GetBreakLoop

    public "CCS DIS Mapping Register Mgt." GetBreakLoop(MappingLine: Record "CCS DIS Mapping Line"): Boolean
    

    Returns if a break loop was realized for a mapping line.

    Parameters
    Name Type Description
    MappingLine Record "CCS DIS Mapping Line" The mapping line to check the break loop for.
    Return Value

    Boolean

    Return true if the loop broke or has to break.

    GetBreakLoopRegister

    public "CCS DIS Mapping Register Mgt." GetBreakLoopRegister(): Dictionary of [Text, Boolean]
    

    Returns the break loop register.

    Return Value

    Dictionary of [Text, Boolean]

    The dictionary of mapping line record IDs and break loop values.

    GetCustomRecordIndex

    public "CCS DIS Mapping Register Mgt." GetCustomRecordIndex(RepositoryCode: Code[20]): Integer
    

    Returns the record index for a custom repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Return Value

    Integer

    Returns the record index.

    GetCustomRecordIndexRegister

    public "CCS DIS Mapping Register Mgt." GetCustomRecordIndexRegister(): Dictionary of [Text, Integer]
    

    Returns the custom record index register.

    Return Value

    Dictionary of [Text, Integer]

    The dictionary of indexes.

    GetEntryRecordId

    public "CCS DIS Mapping Register Mgt." GetEntryRecordId(var Value: RecordId): None
    

    Returns the record ID of the mapping entry.

    Parameters
    Name Type Description
    Value RecordId The record ID.
    Return Value

    None

    GetJsonIndexRegister

    public "CCS DIS Mapping Register Mgt." GetJsonIndexRegister(): Dictionary of [Text, Integer]
    

    Returns the JSON index register.

    Return Value

    Dictionary of [Text, Integer]

    The dictionary of indexes.

    GetJsonRecordIndex

    public "CCS DIS Mapping Register Mgt." GetJsonRecordIndex(RepositoryCode: Code[20]; var Value: Integer): Boolean
    

    Returns the JSON token index for a repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Value Integer The JSON token index from the register.
    Return Value

    Boolean

    Returns true, if the the index was found.

    GetJsonRecordIndex

    public "CCS DIS Mapping Register Mgt." GetJsonRecordIndex(RepositoryCode: Code[20]): Integer
    

    Returns the JSON token index for a repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Return Value

    Integer

    Returns the JSON token index.

    GetJsonRepository

    public "CCS DIS Mapping Register Mgt." GetJsonRepository(var Value: JsonToken): None
    

    Returns the JSON repository.

    Parameters
    Name Type Description
    Value JsonToken The JSON repository.
    Return Value

    None

    GetJsonRepositoryCount

    public "CCS DIS Mapping Register Mgt." GetJsonRepositoryCount(): Integer
    

    Counts the top level token in the JSON repository.

    Return Value

    Integer

    The number of token.

    GetRecordPoolEntry

    public "CCS DIS Mapping Register Mgt." GetRecordPoolEntry(RecordPoolCode: Code[20]; var TempEntry: Record "CCS DIS Record Pool Entry" temporary): None
    

    Returns the record pool entry from the register.

    Parameters
    Name Type Description
    RecordPoolCode Code[20] The record pool code to search in the register.
    TempEntry Record "CCS DIS Record Pool Entry" temporary Returns the record pool entry.
    Return Value

    None

    GetRecordPoolRepository

    public "CCS DIS Mapping Register Mgt." GetRecordPoolRepository(var Value: Record "CCS DIS Record Pool Entry" temporary): None
    

    Returns the record pool repository.

    Parameters
    Name Type Description
    Value Record "CCS DIS Record Pool Entry" temporary The record pool repository.
    Return Value

    None

    GetRecordPoolXmlRepository

    public "CCS DIS Mapping Register Mgt." GetRecordPoolXmlRepository(var Value: XmlElement): None
    

    Returns the record pool XML repository.
    The record pool XML repository contains all record pool XML nodes to enable filtering.

    Parameters
    Name Type Description
    Value XmlElement The record pool XML repository.
    Return Value

    None

    GetRecPoolLoopDisrupted

    public "CCS DIS Mapping Register Mgt." GetRecPoolLoopDisrupted(): Boolean
    

    Returns true if any of the record pool repositories has realized a break loop.
    This information is necessary to identify if more records are in the record pool and the partner mapping might need to be re-processed.

    Return Value

    Boolean

    Returns true or false.

    GetRecRef

    public "CCS DIS Mapping Register Mgt." GetRecRef(RepositoryCode: Code[20]; var Value: RecordRef): None
    

    Returns the record reference for a repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Value RecordRef The record from the register.
    Return Value

    None

    GetRecRefRegister

    public "CCS DIS Mapping Register Mgt." GetRecRefRegister(var Register: array[250] of RecordRef; var Indexer: List of [Text]): None
    

    Returns the record reference register and the indexer.

    Parameters
    Name Type Description
    Register array[250] of RecordRef The record reference register.
    Indexer List of [Text] The record reference indexer to identify the repositories.
    Return Value

    None

    GetRepositoryField

    public "CCS DIS Mapping Register Mgt." GetRepositoryField(RepositoryCode: Code[20]; FldName: Text; var TempField: Record "CCS DIS Mapping Repository Fld" temporary): Boolean
    

    Returns a field from the repository field register.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code.
    FldName Text The name of the field.
    TempField Record "CCS DIS Mapping Repository Fld" temporary Returns the repository field.
    Return Value

    Boolean

    Returns true if the field was found.

    GetVariable

    public "CCS DIS Mapping Register Mgt." GetVariable(Variable: Text; var Value: Variant): None
    

    Returns the value of a variable from the register.

    Parameters
    Name Type Description
    Variable Text The name of the variable.
    Value Variant Returns the value.
    Return Value

    None

    GetVariableAsInteger

    public "CCS DIS Mapping Register Mgt." GetVariableAsInteger(Variable: Text): Integer
    

    Returns the value of a variable from the register as integer.
    If the evaluation into an integer fails, the integer will be 0. Runs no UI error on evaluating.

    Parameters
    Name Type Description
    Variable Text The name of the variable.
    Return Value

    Integer

    The integer value of the variable.

    GetVariableAsText

    public "CCS DIS Mapping Register Mgt." GetVariableAsText(Variable: Text): Text
    

    Returns the value of a variable from the register as text.

    Parameters
    Name Type Description
    Variable Text The name of the variable.
    Return Value

    Text

    The textual value of the variable.

    GetVariableRegister

    public "CCS DIS Mapping Register Mgt." GetVariableRegister(var Register: array[250] of Codeunit "CCS DIS Mapping Register Var."; var Indexer: List of [Text]): None
    

    Returns the variable register and indexer.

    Parameters
    Name Type Description
    Register array[250] of Codeunit "CCS DIS Mapping Register Var." The variable register.
    Indexer List of [Text] The indexer to identify the repositories.
    Return Value

    None

    GetXmlNode

    public "CCS DIS Mapping Register Mgt." GetXmlNode(RepositoryCode: Code[20]; var Value: XmlNode): Boolean
    

    Returns the XML node for a repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Value XmlNode The XML node from the register.
    Return Value

    Boolean

    GetXmlNodeRegister

    public "CCS DIS Mapping Register Mgt." GetXmlNodeRegister(): Dictionary of [Text, XmlNode]
    

    Returns the XML node register.

    Return Value

    Dictionary of [Text, XmlNode]

    The dictionary of nodes.

    GetXmlRepository

    public "CCS DIS Mapping Register Mgt." GetXmlRepository(): XmlElement
    

    Returns the XML repository.

    Return Value

    XmlElement

    The XML repository.

    GetXmlRepositoryCount

    public "CCS DIS Mapping Register Mgt." GetXmlRepositoryCount(): Integer
    

    Counts the top level nodes in the XML repository.

    Return Value

    Integer

    The number of nodes.

    RemoveCustomRecordIndex

    public "CCS DIS Mapping Register Mgt." RemoveCustomRecordIndex(RepositoryCode: Code[20]): None
    

    Removes the record index for a custom repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Return Value

    None

    RemoveJsonRecordIndex

    public "CCS DIS Mapping Register Mgt." RemoveJsonRecordIndex(RepositoryCode: Code[20]): None
    

    Removes the JSON token index for a repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Return Value

    None

    RemoveRecRef

    public "CCS DIS Mapping Register Mgt." RemoveRecRef(RepositoryCode: Code[20]): None
    

    Removes the record reference for a repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Return Value

    None

    RemoveVariable

    public "CCS DIS Mapping Register Mgt." RemoveVariable(Variable: Text): None
    

    Removes a variable value from the register.

    Parameters
    Name Type Description
    Variable Text The name of the variable.
    Return Value

    None

    RemoveXmlNode

    public "CCS DIS Mapping Register Mgt." RemoveXmlNode(RepositoryCode: Code[20]): None
    

    Removes a XML node for a repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Return Value

    None

    SetBreakLoop

    public "CCS DIS Mapping Register Mgt." SetBreakLoop(MappingLine: Record "CCS DIS Mapping Line"): None
    

    Sets that a break loop for a mapping line should be realized.

    Parameters
    Name Type Description
    MappingLine Record "CCS DIS Mapping Line" The mapping line the loop should break.
    Return Value

    None

    SetCustomRecordIndex

    public "CCS DIS Mapping Register Mgt." SetCustomRecordIndex(RepositoryCode: Code[20]; Value: Integer): None
    

    Sets the record index for a custom repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Value Integer The record index.
    Return Value

    None

    SetEntryRecordId

    public "CCS DIS Mapping Register Mgt." SetEntryRecordId(Value: RecordId): None
    

    Sets the record ID for the mapping entry.

    Parameters
    Name Type Description
    Value RecordId The record ID.
    Return Value

    None

    SetJsonRecordIndex

    public "CCS DIS Mapping Register Mgt." SetJsonRecordIndex(RepositoryCode: Code[20]; Value: Integer): None
    

    Sets the JSON token index for a repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Value Integer The JSON token index for the register.
    Return Value

    None

    SetJsonRepository

    public "CCS DIS Mapping Register Mgt." SetJsonRepository(var Value: JsonToken): None
    

    Sets the JSON repository.

    Parameters
    Name Type Description
    Value JsonToken The JSON repository.
    Return Value

    None

    SetRecordPoolEntry

    public "CCS DIS Mapping Register Mgt." SetRecordPoolEntry(RecordPoolCode: Code[20]; var TempEntry: Record "CCS DIS Record Pool Entry" temporary): None
    

    Sets the record pool entry for the repository.

    Parameters
    Name Type Description
    RecordPoolCode Code[20] The record pool code for the register.
    TempEntry Record "CCS DIS Record Pool Entry" temporary The record pool entry.
    Return Value

    None

    SetRecordPoolRepository

    public "CCS DIS Mapping Register Mgt." SetRecordPoolRepository(var Value: Record "CCS DIS Record Pool Entry" temporary): None
    

    Sets the record pool repository.

    Parameters
    Name Type Description
    Value Record "CCS DIS Record Pool Entry" temporary The record pool repository.
    Return Value

    None

    SetRecordPoolXmlRepository

    public "CCS DIS Mapping Register Mgt." SetRecordPoolXmlRepository(var Value: XmlElement): None
    

    Sets the record pool XML repository.

    Parameters
    Name Type Description
    Value XmlElement The record pool XML repository
    Return Value

    None

    SetRecPoolLoopDisrupted

    public "CCS DIS Mapping Register Mgt." SetRecPoolLoopDisrupted(LoopHasNextRecord: Boolean): None
    

    Sets if any record pool loop was discrupted and has more records to be processed.

    Parameters
    Name Type Description
    LoopHasNextRecord Boolean The record pool loop disrupted value.
    Return Value

    None

    SetRecRef

    public "CCS DIS Mapping Register Mgt." SetRecRef(RepositoryCode: Code[20]; var Value: RecordRef): None
    

    Sets the record reference for a repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Value RecordRef The record for the register.
    Return Value

    None

    SetVariable

    public "CCS DIS Mapping Register Mgt." SetVariable(Variable: Text; Value: Variant): None
    

    Sets the value of a variable in the register.

    Parameters
    Name Type Description
    Variable Text The name of the variable.
    Value Variant The value of the variable.
    Return Value

    None

    SetXmlNode

    public "CCS DIS Mapping Register Mgt." SetXmlNode(RepositoryCode: Code[20]; Value: XmlNode): None
    

    Sets the XML node for a repository.

    Parameters
    Name Type Description
    RepositoryCode Code[20] The repository code for the register.
    Value XmlNode The XML node for the register.
    Return Value

    None

    SetXmlRepository

    public "CCS DIS Mapping Register Mgt." SetXmlRepository(var Value: XmlElement): None
    

    Sets the XML repository.

    Parameters
    Name Type Description
    Value XmlElement The XML repository.
    Return Value

    None

    In This Article
    Back to top 2025 © COSMO CONSULT - Data protection - Imprint