Page 18122379 EOS CWS Get Source Doc. Lines

Page 18122379 EOS CWS Get Source Doc. Lines

LanguageCaption
da-DKLagerregulering. - Hent kildedoc.
de-ATAbrufen der Herkunftsbelegszeilen
de-CHAbrufen der Herkunftsbelegszeilen
de-DEAbrufen der Herkunftsbelegszeilen
es-ESWhse. - Obtener líneas de documento de origen
es-MXWhse. - Obtener líneas de documento de origen
fr-BEWhse. - Obtenir source Doc. Lignes
fr-CAWhse. - Obtenir source Doc. Lignes
fr-CHWhse. - Obtenir source Doc. Lignes
fr-FRWhse. - Obtenir source Doc. Lignes
en-USWhse. - Get Source Doc. Lines
it-CHPrendi righe documenti origine
it-ITPrendi righe documenti origine
nl-BEWhse. - Brondocument ophalen
nl-NLWhse. - Brondocument ophalen

Methods

GetIsSelected

procedure GetIsSelected(var TmpWhseDocLineBuffer: Record "EOS CWS Whse. Doc. Line Buffer"): Boolean

Parameters / Return Value

  • TmpWhseDocLineBuffer Record "EOS CWS Whse. Doc. Line Buffer"

  • Returns Boolean


SetIsSelected

procedure SetIsSelected(var TmpWhseDocLineBuffer: Record "EOS CWS Whse. Doc. Line Buffer"; Value: Boolean)

Parameters / Return Value

  • TmpWhseDocLineBuffer Record "EOS CWS Whse. Doc. Line Buffer"

  • Value Boolean


SetWhseShptHeader

procedure SetWhseShptHeader(var NewWhseShptHeader: Record "Warehouse Shipment Header")

Parameters / Return Value

  • NewWhseShptHeader Record "Warehouse Shipment Header"

SetWhseRcptHeader

procedure SetWhseRcptHeader(var NewWhseRcptHeader: Record "Warehouse Receipt Header")

Parameters / Return Value

  • NewWhseRcptHeader Record "Warehouse Receipt Header"

GetBuffer

procedure GetBuffer(var TmpWhseDocumentLine: Record "EOS CWS Whse. Doc. Line Buffer")

Parameters / Return Value

  • TmpWhseDocumentLine Record "EOS CWS Whse. Doc. Line Buffer"

GetRecords

procedure GetRecords(var TmpWhseDocumentLine: Record "EOS CWS Whse. Doc. Line Buffer")

Parameters / Return Value

  • TmpWhseDocumentLine Record "EOS CWS Whse. Doc. Line Buffer"

Events

OnRebuildOnAfterWhseRequestFilter

local procedure OnRebuildOnAfterWhseRequestFilter(var WhseRequest: Record "Warehouse Request"; DestinationTypeFilter: Integer; DestinationNoFilter: Code[20])

Raised after set filters to Warehouse Request, before creating Warehouse Document Line Buffer. Use it to modify filters.

Parameters / Return Value

  • WhseRequest Record "Warehouse Request"

    Warehouse Request to filter

  • DestinationTypeFilter Integer

    Destination Type Filter

  • DestinationNoFilter Code[20]

    Destination No Filter


InitFiltersOnOpenPageEvent

local procedure InitFiltersOnOpenPageEvent(var ShowLines: Boolean)

Raised in OnOpenPage trigger. Use this event to init filters.

Parameters / Return Value

  • ShowLines Boolean

    Variable to modify to set “Show Lines” field. Default is true.


OnBeforeFindSetSalesLine

local procedure OnBeforeFindSetSalesLine(var SalesLine: Record "Sales Line"; WhseRequest: Record "Warehouse Request")

Raised in the procedure “Rebuild”. Use it to set custom filters on Sales Line.

Parameters / Return Value

  • SalesLine Record "Sales Line"

    Record “Sales Line”

  • WhseRequest Record "Warehouse Request"

    Record “Warehouse Request”


OnBeforeOnQueryClosePage

local procedure OnBeforeOnQueryClosePage(var CWSWhseDocLineBuffer: Record "EOS CWS Whse. Doc. Line Buffer"; WhseShptHeader: Record "Warehouse Shipment Header"; WhseRcptHeader: Record "Warehouse Receipt Header"; CloseAction: Action; var SelectedDocLinesBuffer: Record "EOS CWS Whse. Doc. Line Buffer" temporary)

Raised on trigger “OnQueryClosePage”.

Parameters / Return Value

  • CWSWhseDocLineBuffer Record "EOS CWS Whse. Doc. Line Buffer"

    Buffer with Document Lines

  • WhseShptHeader Record "Warehouse Shipment Header"

    The Warehouse Shipment Header

  • WhseRcptHeader Record "Warehouse Receipt Header"

    The Warehouse Receipt Header

  • CloseAction Action

    Specifies the user action on page

  • SelectedDocLinesBuffer Record "EOS CWS Whse. Doc. Line Buffer"

    Buffer with selected Document Lines by the user


OnBeforeInsertBufferHeader

local procedure OnBeforeInsertBufferHeader(var BufferHeader: Record "EOS CWS Whse. Doc. Line Buffer"; WhseRequest: Record "Warehouse Request")

Raised in the procedure InitHeader, before insert the Header Record Buffer.

Parameters / Return Value

  • BufferHeader Record "EOS CWS Whse. Doc. Line Buffer"

    Record to insert

  • WhseRequest Record "Warehouse Request"

    The Warehouse Request


OnBeforeInsertBufferLineFromTransferLine

local procedure OnBeforeInsertBufferLineFromTransferLine(var BufferLine: Record "EOS CWS Whse. Doc. Line Buffer" temporary; var TransferLine: Record "Transfer Line"; WhseShptHeader: Record "Warehouse Shipment Header"; WhseRcptHeader: Record "Warehouse Receipt Header")

Raised befor adding to the buffer the document line from the Transfer Line.

Parameters / Return Value

  • BufferLine Record "EOS CWS Whse. Doc. Line Buffer"

    Current line of buffer to insert

  • TransferLine Record "Transfer Line"

    Current Transfer Line

  • WhseShptHeader Record "Warehouse Shipment Header"

    The Warehouse Shipment Header

  • WhseRcptHeader Record "Warehouse Receipt Header"

    The Warehouse Receipt Header


OnBeforeInsertBufferLineFromSalesLine

local procedure OnBeforeInsertBufferLineFromSalesLine(var BufferLine: Record "EOS CWS Whse. Doc. Line Buffer" temporary; var SalesLine: Record "Sales Line"; WhseShptHeader: Record "Warehouse Shipment Header"; WhseRcptHeader: Record "Warehouse Receipt Header")

Raised befor adding to the buffer the document line from the Sales Line.

Parameters / Return Value

  • BufferLine Record "EOS CWS Whse. Doc. Line Buffer"

    Current line of buffer to insert

  • SalesLine Record "Sales Line"

    Current Sales Line

  • WhseShptHeader Record "Warehouse Shipment Header"

    The Warehouse Shipment Header

  • WhseRcptHeader Record "Warehouse Receipt Header"

    The Warehouse Receipt Header


OnBeforeInsertBufferLineFromPurchaseLine

local procedure OnBeforeInsertBufferLineFromPurchaseLine(var BufferLine: Record "EOS CWS Whse. Doc. Line Buffer" temporary; var PurchaseLine: Record "Purchase Line"; WhseShptHeader: Record "Warehouse Shipment Header"; WhseRcptHeader: Record "Warehouse Receipt Header")

Raised befor adding to the buffer the document line from the Purchase Line.

Parameters / Return Value

  • BufferLine Record "EOS CWS Whse. Doc. Line Buffer"

    Current line of buffer to insert

  • PurchaseLine Record "Purchase Line"

    Current Purchase Line

  • WhseShptHeader Record "Warehouse Shipment Header"

    The Warehouse Shipment Header

  • WhseRcptHeader Record "Warehouse Receipt Header"

    The Warehouse Receipt Header


OnBeforeInsertBufferLineFromServiceLine

local procedure OnBeforeInsertBufferLineFromServiceLine(var BufferLine: Record "EOS CWS Whse. Doc. Line Buffer" temporary; var ServiceLine: Record "Service Line"; WhseShptHeader: Record "Warehouse Shipment Header"; WhseRcptHeader: Record "Warehouse Receipt Header")

Raised befor adding to the buffer the document line from the Service Line.

Parameters / Return Value

  • BufferLine Record "EOS CWS Whse. Doc. Line Buffer"

    Current line of buffer to insert

  • ServiceLine Record "Service Line"

    Current Service Line

  • WhseShptHeader Record "Warehouse Shipment Header"

    The Warehouse Shipment Header

  • WhseRcptHeader Record "Warehouse Receipt Header"

    The Warehouse Receipt Header


OnAfterInitBufferLine

local procedure OnAfterInitBufferLine(var BufferLine: Record "EOS CWS Whse. Doc. Line Buffer"; HeaderBuffer: Record "EOS CWS Whse. Doc. Line Buffer"; WhseRequest: Record "Warehouse Request"; WhseShptHeader: Record "Warehouse Shipment Header"; WhseRcptHeader: Record "Warehouse Receipt Header")

Raised after init the Buffer Line from the Header and the Warehouse Request. It is raised befor insert the Buffer Line.

Parameters / Return Value

  • BufferLine Record "EOS CWS Whse. Doc. Line Buffer"

    Buffer Line to modify

  • HeaderBuffer Record "EOS CWS Whse. Doc. Line Buffer"

    The Header Buffer

  • WhseRequest Record "Warehouse Request"

    The Warehouse Request

  • WhseShptHeader Record "Warehouse Shipment Header"

    The Warehouse Shipment Header

  • WhseRcptHeader Record "Warehouse Receipt Header"

    The Warehouse Receipt Header


OnAfterUpdateFilters

local procedure OnAfterUpdateFilters(var CWSWhseDocLineBuffer: Record "EOS CWS Whse. Doc. Line Buffer"; WhseShptHeader: Record "Warehouse Shipment Header"; WhseRcptHeader: Record "Warehouse Receipt Header"; DestinationTypeFilter: Integer; DestinationNoFilter: Code[20])

Raised after update filters on opening “EOS CWS Get Source Doc. Lines” page.

Parameters / Return Value

  • CWSWhseDocLineBuffer Record "EOS CWS Whse. Doc. Line Buffer"

    Record set to which apply filters

  • WhseShptHeader Record "Warehouse Shipment Header"

    The Warehouse Shipment Header

  • WhseRcptHeader Record "Warehouse Receipt Header"

    The Warehouse Receipt Header

  • DestinationTypeFilter Integer

    Indicates the type of destination filter (” “,Customer,Vendor,Location)

  • DestinationNoFilter Code[20]

    Indicates destination no. filter



EOS Labs -