Codeunit 18126201 EOS EX082 E-AD Management

Codeunit 18126201 EOS EX082 E-AD Management

Codeunit EOS EX082 E-AD Management (ID 18126201).

Methods

CheckEad

procedure CheckEad(EadEntryNo: Integer; HideError: Boolean): Boolean

CheckEad.

Parameters / Return Value

  • EadEntryNo Integer

    Integer.

  • HideError Boolean

    Boolean.

  • Returns Boolean

    Return value of type Boolean.


ReleaseSalesOrder

procedure ReleaseSalesOrder(SalesHeader: Record "Sales Header")

ReleaseSalesOrder for test field to generate e-document

Parameters / Return Value

  • SalesHeader Record "Sales Header"

    Record “Sales Header”.


CreateEADFromSalesOrder

procedure CreateEADFromSalesOrder(DocumentType: Integer; DocumentNo: Code[20]; OpenPage: Boolean)

CreateEADFromSalesOrder. Insert E-AD Record in Header and Line from Sales Order

Parameters / Return Value

  • DocumentType Integer

    Integer.

  • DocumentNo Code[20]

    Code[20].

  • OpenPage Boolean

    Boolean.


CreateEADFromSalesShipment

procedure CreateEADFromSalesShipment(DocumentNo: Code[20]; OpenPage: Boolean)

CreateEADFromSalesShipment. Insert E-AD Record in Header and Line from Sales Shipment

Parameters / Return Value

  • DocumentNo Code[20]

    Code[20].

  • OpenPage Boolean

    Boolean.


CreateEADFromSalesInvoice

procedure CreateEADFromSalesInvoice(DocumentNo: Code[20]; OpenPage: Boolean)

CreateEADFromSalesInvoice. Insert E-AD Record in Header and Line from Sales Invoice

Parameters / Return Value

  • DocumentNo Code[20]

    Code[20].

  • OpenPage Boolean

    Boolean.


ReleaseTransferOrder

procedure ReleaseTransferOrder(TransferHeader: Record "Transfer Header")

ReleaseTransferOrder.

Parameters / Return Value

  • TransferHeader Record "Transfer Header"

    Record “Transfer Header”.


CreateEADFromTransferOrder

procedure CreateEADFromTransferOrder(DocumentNo: Code[20]; OpenPage: Boolean)

CreateEADFromTransferOrder.

Parameters / Return Value

  • DocumentNo Code[20]

    Code[20].

  • OpenPage Boolean

    Boolean.


CreateEADFromTransferShipment

procedure CreateEADFromTransferShipment(DocumentNo: Code[20]; OpenPage: Boolean)

CreateEADFromTransferShipment.

Parameters / Return Value

  • DocumentNo Code[20]

    Code[20].

  • OpenPage Boolean

    Boolean.


CheckCreateEAD

procedure CheckCreateEAD(var EOSEX082CustomerWorkSetup: Record "EOS EX082 Customer Work Setup";var EOSEX082VendorWorkSetup: Record "EOS EX082 Vendor Work Setup";SourceNo: Code[20]; ShipToCode: Code[10]): Boolean

CheckCreateEAD. Check Customer or Vendor Work Setup for Source Code

Parameters / Return Value

  • EOSEX082CustomerWorkSetup Record "EOS EX082 Customer Work Setup"

    VAR Record “EOS EX082 Customer Work Setup”.

  • EOSEX082VendorWorkSetup Record "EOS EX082 Vendor Work Setup"

    VAR Record “EOS EX082 Vendor Work Setup”.

  • SourceNo Code[20]

    Code[20].

  • ShipToCode Code[10]

    Code[10].

  • Returns Boolean

    Return value of type Boolean.


CheckExistEAD

procedure CheckExistEAD(EDocumentSourceType: enum "EOS EX082 E-Document Source Type"; PostingDocumentType: Enum "Item Ledger Document Type";DocumentNo: Code[20]): Boolean

CheckExistEAD. Check Already Exist E-AD for Document

Parameters / Return Value

  • EDocumentSourceType enum "EOS EX082 E-Document Source Type"

    enum “EOS EX082 E-Document Source Type”.

  • PostingDocumentType Enum "Item Ledger Document Type"

    Enum “Item Ledger Document Type”.

  • DocumentNo Code[20]

    Code[20].

  • Returns Boolean

    Return value of type Boolean.


CheckEADRules

procedure CheckEADRules(EOS066DocumentShippingInfo: record "EOS066 Document Shipping Info";EOSEX082LocationWorkSetup: Record "EOS EX082 Location Work Setup";ShippingAgentCode: Code[10])

CheckEADRules. Check ADM Rules

Parameters / Return Value

  • EOS066DocumentShippingInfo record "EOS066 Document Shipping Info"

    record “EOS066 Document Shipping Info”.

  • EOSEX082LocationWorkSetup Record "EOS EX082 Location Work Setup"

    Record “EOS EX082 Location Work Setup”.

  • ShippingAgentCode Code[10]

    Code[10].


CreateHeaderTransportInfo

procedure CreateHeaderTransportInfo(var EOSEX082eADHeader: Record "EOS EX082 e-AD Header";EOS066DocumentShippingInfo: Record "EOS066 Document Shipping Info";ShippingAgentCode: Code[10])

CreateHeaderTransportInfo. Insert E-AD Header Transport Info

Parameters / Return Value

  • EOSEX082eADHeader Record "EOS EX082 e-AD Header"

    VAR Record “EOS EX082 e-AD Header”.

  • EOS066DocumentShippingInfo Record "EOS066 Document Shipping Info"

    Record “EOS066 Document Shipping Info”.

  • ShippingAgentCode Code[10]

    Code[10].


CreateHeaderConsignor

procedure CreateHeaderConsignor(var EOSEX082eADHeader: Record "EOS EX082 e-AD Header";CompanyInformation: Record "Company Information";EOSEX082LocationWorkSetup: Record "EOS EX082 Location Work Setup";EOS066DocumentShippingInfo: Record "EOS066 Document Shipping Info")

CreateHeaderConsignor. Insert E-AD Header Consignor

Parameters / Return Value

  • EOSEX082eADHeader Record "EOS EX082 e-AD Header"

    VAR Record “EOS EX082 e-AD Header”.

  • CompanyInformation Record "Company Information"

    Record “Company Information”.

  • EOSEX082LocationWorkSetup Record "EOS EX082 Location Work Setup"

    Record “EOS EX082 Location Work Setup”.

  • EOS066DocumentShippingInfo Record "EOS066 Document Shipping Info"

    Record “EOS066 Document Shipping Info”.


CreateHeaderDestination

procedure CreateHeaderDestination(var EOSEX082eADHeader: Record "EOS EX082 e-AD Header";EOS066DocumentShippingInfo: Record "EOS066 Document Shipping Info";aSellTo: array[10] of Text[150];aShipTo: array[10] of Text[150])

CreateHeaderDestination. Insert E-AD Header Destination

Parameters / Return Value

  • EOSEX082eADHeader Record "EOS EX082 e-AD Header"

    VAR Record “EOS EX082 e-AD Header”.

  • EOS066DocumentShippingInfo Record "EOS066 Document Shipping Info"

    Record “EOS066 Document Shipping Info”.

  • aSellTo Text[150]

    array[10] of Text[150].

  • aShipTo Text[150]

    array[10] of Text[150].


CreateHeaderGuarantor

procedure CreateHeaderGuarantor(var EOSEX082eADHeader: Record "EOS EX082 e-AD Header";EOSEX082LocationWorkSetup: Record "EOS EX082 Location Work Setup";EOS066DocumentShippingInfo: Record "EOS066 Document Shipping Info";TotalWarrantAmount: Decimal)

CreateHeaderGuarantor. Insert E-AD Header Guarantor

Parameters / Return Value

  • EOSEX082eADHeader Record "EOS EX082 e-AD Header"

    VAR Record “EOS EX082 e-AD Header”.

  • EOSEX082LocationWorkSetup Record "EOS EX082 Location Work Setup"

    Record “EOS EX082 Location Work Setup”.

  • EOS066DocumentShippingInfo Record "EOS066 Document Shipping Info"

    Record “EOS066 Document Shipping Info”.

  • TotalWarrantAmount Decimal

    Decimal.


CreateDetailTrasport

procedure CreateDetailTrasport(EOSEX082eADHeader: Record "EOS EX082 e-AD Header";EOS066DocumentShippingInfo: Record "EOS066 Document Shipping Info")

CreateDetailTrasport. Insert E-AD Detail Transport

Parameters / Return Value

  • EOSEX082eADHeader Record "EOS EX082 e-AD Header"

    Record “EOS EX082 e-AD Header”.

  • EOS066DocumentShippingInfo Record "EOS066 Document Shipping Info"

    Record “EOS066 Document Shipping Info”.


CreateDetailItemLine

procedure CreateDetailItemLine(EOSEX082eADHeader: Record "EOS EX082 e-AD Header";EOS066DocumentShippingInfo: record "EOS066 Document Shipping Info";ItemNo: Code[20];VariantCode: Code[10];QuantityBase: Decimal;QuantityGrossKG: Decimal;QuantityNetKG: Decimal;QuantityLT: Decimal;Density15: Decimal;UMCode: Code[10];QuantityDoc: Decimal;LineParcelsNo: Decimal;LanguageCode: Code[10];WarrantAmount: Decimal;DocumentLineNo: Integer;LineNo: Integer)

CreateDetailItem.

Parameters / Return Value

  • EOSEX082eADHeader Record "EOS EX082 e-AD Header"

    Record “EOS EX082 e-AD Header”.

  • EOS066DocumentShippingInfo record "EOS066 Document Shipping Info"

    record “EOS066 Document Shipping Info”.

  • ItemNo Code[20]

    Code[20].

  • VariantCode Code[10]

    Code[10].

  • QuantityBase Decimal

    Decimal.

  • QuantityGrossKG Decimal

    Decimal.

  • QuantityNetKG Decimal

    Decimal.

  • QuantityLT Decimal

    Decimal.

  • Density15 Decimal

    Decimal.

  • UMCode Code[10]

    Code[10].

  • QuantityDoc Decimal

    Decimal.

  • LineParcelsNo Decimal

    Decimal.

  • LanguageCode Code[10]

    Code[10].

  • WarrantAmount Decimal

    Decimal.

  • DocumentLineNo Integer

    Integer.

  • LineNo Integer

    Integer.


CreateDetailPackaging

procedure CreateDetailPackaging(EOSEX082eADHeader: Record "EOS EX082 e-AD Header";PackingType: Code[20]; ParcelsNo: Decimal; LineNo: Integer)

CreateDetailPackaging. Insert E-Ad Sub-Detail Packaging Item

Parameters / Return Value

  • EOSEX082eADHeader Record "EOS EX082 e-AD Header"

    Record “EOS EX082 e-AD Header”.

  • PackingType Code[20]

    Code[10].

  • ParcelsNo Decimal

    Decimal.

  • LineNo Integer

    Integer.


CreateDetailWine

procedure CreateDetailWine(EOSEX082eADHeader: Record "EOS EX082 e-AD Header";WineTreatment: Integer;LineNo: Integer;var SubLineNo: Integer)

CreateDetailWine. Insert E-Ad Sub-Detail Wine

Parameters / Return Value

  • EOSEX082eADHeader Record "EOS EX082 e-AD Header"

    Record “EOS EX082 e-AD Header”.

  • WineTreatment Integer

    Integer.

  • LineNo Integer

    Integer.

  • SubLineNo Integer

    VAR Integer.


CreateHeaderDetailedDocument

procedure CreateHeaderDetailedDocument(var EOSEX082eADHeader: Record "EOS EX082 e-AD Header"): Boolean

CreateHeaderDetailedDocument. Petrol Function

Parameters / Return Value

  • EOSEX082eADHeader Record "EOS EX082 e-AD Header"

    VAR Record “EOS EX082 e-AD Header”.

  • Returns Boolean

    Return value of type Boolean.


ReleaseEadWarrant

procedure ReleaseEadWarrant(var EOSEX082eADHeader: Record "EOS EX082 e-AD Header")

ReleaseEadWarrant.

Parameters / Return Value

  • EOSEX082eADHeader Record "EOS EX082 e-AD Header"

    VAR Record “EOS EX082 e-AD Header”.


DischargeEad

procedure DischargeEad(var EOSEX082eADHeader: Record "EOS EX082 e-AD Header"; DischargeDateTime: DateTime; SilentMode: Boolean)

DischargeEad.

Parameters / Return Value

  • EOSEX082eADHeader Record "EOS EX082 e-AD Header"

    VAR Record “EOS EX082 e-AD Header”.

  • DischargeDateTime DateTime

    DateTime.

  • SilentMode Boolean

    Boolean.


ReleaseEadWarrantFromEMCS

procedure ReleaseEadWarrantFromEMCS(var EOSEX082EMCSImport: Record "EOS EX082 EMCS Import")

ReleaseEadWarrant.

Parameters / Return Value

  • EOSEX082EMCSImport Record "EOS EX082 EMCS Import"

    VAR Record “EOS EX082 EMCS Import”.


SetChangeDestination

procedure SetChangeDestination(SourceSystemID: Guid; SourceDocumentNo: Code[20]; EntryNo: Integer)

SetChangeDestination.

Parameters / Return Value

  • SourceSystemID Guid

    Guid.

  • SourceDocumentNo Code[20]

    Code[20].

  • EntryNo Integer

    Integer.


CreateChangeDestination

procedure CreateChangeDestination(var EOSEX082eADChangeDest: Record "EOS EX082 e-AD Change Dest.")

CreateChangeDestination.

Parameters / Return Value

  • EOSEX082eADChangeDest Record "EOS EX082 e-AD Change Dest."

    VAR Record “EOS EX082 e-AD Change Dest.".



EOS Labs -