Codeunit 70491920 EOS055 Packing List Print

Codeunit 70491920 EOS055 Packing List Print

Codeunit EOS055 Packing List Print (ID 70491920).

Methods

FillContent

procedure FillContent(SourceDoc: Record "EOS Record Ident. Buffer"; WithContent: Boolean;var TempPackListHeader: Record "EOS055 PackList Header Buffer" temporary;var TempPackListLine: Record "EOS055 PackList Line Buffer" temporary;var TempPackListMat: Record "EOS055 PackList Mat. Buffer" temporary)

FillContent.

Parameters / Return Value

  • SourceDoc Record "EOS Record Ident. Buffer"

    Record “EOS Record Ident. Buffer”.

  • WithContent Boolean

    Boolean.

  • TempPackListHeader Record "EOS055 PackList Header Buffer"

    Temporary VAR Record “EOS055 PackList Header Buffer”.

  • TempPackListLine Record "EOS055 PackList Line Buffer"

    Temporary VAR Record “EOS055 PackList Line Buffer”.

  • TempPackListMat Record "EOS055 PackList Mat. Buffer"

    Temporary VAR Record “EOS055 PackList Mat. Buffer”.


GetAssignedDocumentText

procedure GetAssignedDocumentText(PackListHeader: Record "EOS055 PackList Header Buffer") AssignedDocText: Text

GetAssignedDocumentText.

Parameters / Return Value

  • PackListHeader Record "EOS055 PackList Header Buffer"

    Record “EOS055 PackList Header Buffer”.

  • Returns Text

    Return variable AssignedDocText of type Text.


GetShipToAddress

procedure GetShipToAddress(PackListHeader: Record "EOS055 PackList Header Buffer"): Text

GetShipToAddress.

Parameters / Return Value

  • PackListHeader Record "EOS055 PackList Header Buffer"

    Record “EOS055 PackList Header Buffer”.

  • Returns Text

    Return value of type Text.


GetBillToAddress

procedure GetBillToAddress(PackListHeader: Record "EOS055 PackList Header Buffer"): Text

GetBillToAddress.

Parameters / Return Value

  • PackListHeader Record "EOS055 PackList Header Buffer"

    Record “EOS055 PackList Header Buffer”.

  • Returns Text

    Return value of type Text.


GetAddressFromSourceDoc

procedure GetAddressFromSourceDoc(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20]; AddrType: Option BillTo,ShipTo): Text

GetAddressFromSourceDoc.

Parameters / Return Value

  • SourceType Integer

    Integer.

  • SourceSubtype Integer

    Integer.

  • SourceNo Code[20]

    Code[20].

  • AddrType Option

    BillTo (0) , ShipTo (1)

    Option BillTo,ShipTo.

  • Returns Text

    Return value of type Text.


Print

procedure Print(DocVariant: Variant)

Print.

Parameters / Return Value

  • DocVariant Variant

    Variant.


GetReportLanguage

procedure GetReportLanguage(SourceDoc: Record "EOS Record Ident. Buffer") LanguageCode: Code[10]

Parameters / Return Value

  • SourceDoc Record "EOS Record Ident. Buffer"

  • Returns Code[10]


Events

OnGetReportLanguage

local procedure OnGetReportLanguage(SourceDoc: Record "EOS Record Ident. Buffer"; var LanguageCode: Code[10]; var IsHandled: Boolean)

Parameters / Return Value

  • SourceDoc Record "EOS Record Ident. Buffer"

  • LanguageCode Code[10]

  • IsHandled Boolean


BeforeInsertHeader

local procedure BeforeInsertHeader(SourceDoc: Record "EOS Record Ident. Buffer"; var PackingListHeader: Record "EOS055 PackList Header Buffer")

Parameters / Return Value

  • SourceDoc Record "EOS Record Ident. Buffer"

  • PackingListHeader Record "EOS055 PackList Header Buffer"


OnAfterSumUpTotals

local procedure OnAfterSumUpTotals(var PackingListHeader: Record "EOS055 PackList Header Buffer"; var Buffer: Record "EOS055 Handling Unit Buffer")

Parameters / Return Value

  • PackingListHeader Record "EOS055 PackList Header Buffer"

  • Buffer Record "EOS055 Handling Unit Buffer"


BeforeInsertLine

local procedure BeforeInsertLine(PackingListHeader: Record "EOS055 PackList Header Buffer"; var PackingListLine: Record "EOS055 PackList Line Buffer"; var Handled: Boolean)

Parameters / Return Value

  • PackingListHeader Record "EOS055 PackList Header Buffer"

  • PackingListLine Record "EOS055 PackList Line Buffer"

  • Handled Boolean


AfterInsertLine

local procedure AfterInsertLine(PackingListHeader: Record "EOS055 PackList Header Buffer"; PackingListLine: Record "EOS055 PackList Line Buffer")

Parameters / Return Value

  • PackingListHeader Record "EOS055 PackList Header Buffer"

  • PackingListLine Record "EOS055 PackList Line Buffer"


OnCreatePackingMaterial

local procedure OnCreatePackingMaterial(PackingListHeader: Record "EOS055 PackList Header Buffer"; Buffer: Record "EOS055 Handling Unit Buffer"; var TempPkgMat: Record "EOS055 PackList Mat. Buffer" temporary; var Handled: Boolean)

Parameters / Return Value

  • PackingListHeader Record "EOS055 PackList Header Buffer"

  • Buffer Record "EOS055 Handling Unit Buffer"

  • TempPkgMat Record "EOS055 PackList Mat. Buffer"

  • Handled Boolean


OnGetTitle

local procedure OnGetTitle(PackingListHeader: Record "EOS055 PackList Header Buffer"; var Title: Text; var Handled: Boolean)

Parameters / Return Value

  • PackingListHeader Record "EOS055 PackList Header Buffer"

  • Title Text

  • Handled Boolean


OnGetAssignedDocumentText

local procedure OnGetAssignedDocumentText(PackingListHeader: Record "EOS055 PackList Header Buffer"; var DocumentText: Text; var Handled: Boolean)

Parameters / Return Value

  • PackingListHeader Record "EOS055 PackList Header Buffer"

  • DocumentText Text

  • Handled Boolean


OnGetShipToAddress

local procedure OnGetShipToAddress(PackingListHeader: Record "EOS055 PackList Header Buffer"; var AddressText: Text; var Handled: Boolean)

Parameters / Return Value

  • PackingListHeader Record "EOS055 PackList Header Buffer"

  • AddressText Text

  • Handled Boolean


OnGetBillToAddress

local procedure OnGetBillToAddress(PackingListHeader: Record "EOS055 PackList Header Buffer"; var AddressText: Text; var Handled: Boolean)

Parameters / Return Value

  • PackingListHeader Record "EOS055 PackList Header Buffer"

  • AddressText Text

  • Handled Boolean


OnBeforeGetAddressFromSourceDoc

local procedure OnBeforeGetAddressFromSourceDoc(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20]; AddrType: Option; var Address: Text; var Handled: Boolean)

Raised before an address is read from a source document. Use this to provide custom address handling.

Parameters / Return Value

  • SourceType Integer

    The document source type (Table ID).

  • SourceSubtype Integer

    The document source subtype (Document Type)

  • SourceNo Code[20]

    The document no.

  • AddrType Option

    The address type requested. 0 = Bill-To, 1 = Ship-To

  • Address Text

    The returning address

  • Handled Boolean

    Gets or sets whether this event has been completely handled.


OnSetSourceData

local procedure OnSetSourceData(var PackListHeader: Record "EOS055 PackList Header Buffer")

Raised when setting Destination Type and Destination No. values on the Packing List Header Buffer. Subscribe if you’re populating the buffer from custom tables.

Parameters / Return Value

  • PackListHeader Record "EOS055 PackList Header Buffer"

    The current header buffer.



EOS Labs -