Search Results for

    Show / Hide Table of Contents

    Codeunit CCS DIS Mapping Table Mgt.

    codeunit 5100935 "CCS DIS Mapping Table Mgt."
    

    Methods

    LookupField

    public "CCS DIS Mapping Table Mgt." LookupField(TableId: Integer; var FldNoText: Text[250]): Boolean
    

    Opens a modal page in lookup mode, filtered on a table.

    Parameters
    Name Type Description
    TableId Integer The table to filter all fields for.
    FldNoText Text[250] The field number as text, to get.
    Return Value

    Boolean

    Returns true, if the page was confirmed with OK.

    LookupPage

    public "CCS DIS Mapping Table Mgt." LookupPage(var PgId: Integer; var PgCaption: Text): Boolean
    

    Opens a modal page in lookup mode, filtered on all pages.

    Parameters
    Name Type Description
    PgId Integer The page to get and set the current pointer.
    PgCaption Text The page caption as return value.
    Return Value

    Boolean

    Returns true, if the page was confirmed with OK.

    LookupTable

    public "CCS DIS Mapping Table Mgt." LookupTable(var TblId: Integer; var TblCaption: Text): Boolean
    

    Opens a modal page in lookup mode, filtered on all tables.

    Parameters
    Name Type Description
    TblId Integer The table to get and set the current pointer.
    TblCaption Text The table caption as return value.
    Return Value

    Boolean

    Returns true, if the page was confirmed with OK.

    RecordsToXmlNode

    public "CCS DIS Mapping Table Mgt." RecordsToXmlNode(var ParentNode: XmlNode; NodeName: Text; RecRelatedVariant: Variant): None
    

    Converts all filtered records and their fields into a XML node.

    Parameters
    Name Type Description
    ParentNode XmlNode Returns a parent node containing all records.
    NodeName Text The name of all created record nodes.
    RecRelatedVariant Variant The filtered record to loop through.
    Return Value

    None

    RecordToXmlNode

    public "CCS DIS Mapping Table Mgt." RecordToXmlNode(RecRelatedVariant: Variant; NodeName: Text; var Node: XmlNode): None
    

    Converts the field values for a record reference into a XML node.

    Parameters
    Name Type Description
    RecRelatedVariant Variant The record to convert the fields from.
    NodeName Text The name of the XML node.
    Node XmlNode Returns the node containing all fields as XML values.
    Return Value

    None

    XmlNodesToRecordRef

    public "CCS DIS Mapping Table Mgt." XmlNodesToRecordRef(var ParentNode: XmlNode; NodeName: Text; var RecRef: RecordRef): None
    

    Converts a XML node containing records and their fields into a record reference.
    Runs Insert(false) for each created record in the reference.

    Parameters
    Name Type Description
    ParentNode XmlNode The parent node containing the records as nodes.
    NodeName Text The name of record nodes in the parent node.
    RecRef RecordRef The created record reference.
    Return Value

    None

    XmlNodeToRecordRef

    public "CCS DIS Mapping Table Mgt." XmlNodeToRecordRef(var Node: XmlNode; var RecRef: RecordRef): None
    

    Converts a XML node (all its field values) into a record reference.

    Parameters
    Name Type Description
    Node XmlNode The XML node with all field values.
    RecRef RecordRef The created record reference.
    Return Value

    None

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