Table 70491913 EOS055.01 HU Assignment Target

Table 70491913 EOS055.01 HU Assignment Target

Represents a possible target for a HU assignment. A single source document can provide multiple assignment targets. This is especially true for warehouse documents. An assignment target is the smalles possible unit where handling unit can be assigned to. An assignment target can be made out of multiple source documents. For example: a single warehouse shipment with multiple orders for the same customer and destination is one assignment target and as such a handling unit can be assigned to different orders.

LanguageCaption
de-DELE-Zuordnungsziel
en-USHU Assignment Target
it-ITDestinazione assegnazione UdC

Fields

Entry No. (10)

Integer

LanguageCaption
de-DELfd.-Nr.
en-USEntry No.
it-ITNr. movimento

Hash (11)

Text[64]

LanguageCaption
de-DELfd.-Nr.
en-USEntry No.
it-ITNr. movimento

Type (20)

Integer

LanguageCaption
de-DEArt
en-USType
it-ITTipo

No. (21)

Code[20]

LanguageCaption
de-DENr.
en-USNo.
it-ITNr.

Address Code (22)

Code[10]

LanguageCaption
de-DEAdressencode
en-USAddress Code
it-ITCodice indirizzo

Shipping Agent Code (25)

Code[10]

LanguageCaption
de-DEZustellercode
en-USShipping Agent Code
it-ITCod. spedizioniere

Shipping Agent Service Code (26)

Code[10]

LanguageCaption
de-DEZustellertransportartencode
en-USShipping Agent Service Code
it-ITCodice servizio spedizioniere

Location Code (30)

Code[10]

LanguageCaption
de-DELagerortcode
en-USLocation Code
it-ITCod. ubicazione

Source Type (50)

Integer

LanguageCaption
de-DEHerkunftsart
en-USSource Type
it-ITTipo origine

Source Subtype (51)

Integer

LanguageCaption
de-DEHerkunftsart
en-USSource Type
it-ITTipo origine

Source No. (52)

Code[20]

LanguageCaption
de-DEHerkunftsart
en-USSource Type
it-ITTipo origine

Valid (60)

Boolean

LanguageCaption
de-DEGültig
en-USValid
it-ITValido

Caller Record ID (100)

RecordId

LanguageCaption
de-DECaller-Record ID
en-USCaller Record ID
it-ITID record chiamante

Methods

CalculateHash

procedure CalculateHash(): Text[64]

Calculates a hash for the current record.

Parameters / Return Value

  • Returns Text[64]

    The calculated hash.


InsertLine

procedure InsertLine(): Boolean

Attempts to insert the record to the buffer, unless a record for the given source type/subtype/no. already exists.

Parameters / Return Value

  • Returns Boolean

    true if the record was inserted, false if a record for the source type already exists.


CopyFromSalesHeader

procedure CopyFromSalesHeader(SalesHeader: Record "Sales Header")

Parameters / Return Value

  • SalesHeader Record "Sales Header"

CopyFromPurchHeader

procedure CopyFromPurchHeader(PurchHeader: Record "Purchase Header")

Parameters / Return Value

  • PurchHeader Record "Purchase Header"

CopyFromTransHeader

procedure CopyFromTransHeader(TransHeader: Record "Transfer Header"; Inbound: Boolean)

Parameters / Return Value

  • TransHeader Record "Transfer Header"

  • Inbound Boolean


CopyFromServiceHeader

procedure CopyFromServiceHeader(ServHeader: Record "Service Header")

Parameters / Return Value

  • ServHeader Record "Service Header"

Events

OnAfterCopyFromSalesHeader

procedure OnAfterCopyFromSalesHeader(var HuAssignmentTarget: Record "EOS055.01 HU Assignment Target"; SalesHeader: Record "Sales Header")

Raised after field values have been copied from a sales header. Use this to copy custom field values.

Parameters / Return Value

  • HuAssignmentTarget Record "EOS055.01 HU Assignment Target"

    The current record instance.

  • SalesHeader Record "Sales Header"

    The source document.


OnAfterCopyFromPurchHeader

procedure OnAfterCopyFromPurchHeader(var HuAssignmentTarget: Record "EOS055.01 HU Assignment Target"; PurchHeader: Record "Purchase Header")

Raised after field values have been copied from a purchase header. Use this to copy custom field values.

Parameters / Return Value

  • HuAssignmentTarget Record "EOS055.01 HU Assignment Target"

    The current record instance.

  • PurchHeader Record "Purchase Header"

    The source document.


OnAfterCopyFromTransHeader

procedure OnAfterCopyFromTransHeader(var HuAssignmentTarget: Record "EOS055.01 HU Assignment Target"; TransHeader: Record "Transfer Header"; Direction: Integer)

Raised after field values have been copied from a transfer header. Use this to copy custom field values.

Parameters / Return Value

  • HuAssignmentTarget Record "EOS055.01 HU Assignment Target"

    The current record instance.

  • TransHeader Record "Transfer Header"

    The source document.

  • Direction Integer

    The transfer direction. 0 = outbound, 1 = inbound.


OnAfterCopyFromServiceHeader

procedure OnAfterCopyFromServiceHeader(var HuAssignmentTarget: Record "EOS055.01 HU Assignment Target"; ServHeader: Record "Service Header")

Raised after field values have been copied from a service header. Use this to copy custom field values.

Parameters / Return Value

  • HuAssignmentTarget Record "EOS055.01 HU Assignment Target"

    The current record instance.

  • ServHeader Record "Service Header"

    The source document.


OnAfterAssignFields

local procedure OnAfterAssignFields(var TmpHuAssignmentTarget: Record "EOS055.01 HU Assignment Target")

Raised after all fields have been copied to a temporary instance of this record that is used to calculate the assignment target hash. Use this to modify field contents before the hash is calculated.

Parameters / Return Value

  • TmpHuAssignmentTarget Record "EOS055.01 HU Assignment Target"

    A temporary instance of the record containing all fields that are used to calculate it’s hash.


OnBeforeCalculateHash

local procedure OnBeforeCalculateHash(var TmpHuAssignmentTarget: Record "EOS055.01 HU Assignment Target"; var HashSource: TextBuilder)

Raised before the hash for the current record is calculated. Use this to customize hash calculation or to add custom fields to the hash source.

Parameters / Return Value

  • TmpHuAssignmentTarget Record "EOS055.01 HU Assignment Target"

    A temporary instance of the record containing all fields that are used to calculate it’s hash.

  • HashSource TextBuilder

    The text buffer containing the value that will be hashed.


OnAfterCalculateHash

local procedure OnAfterCalculateHash(TmpHuAssignmentTarget: Record "EOS055.01 HU Assignment Target"; var HashSource: TextBuilder; var Hash: Text[64])

Raised after the hash for the current record has been calculated. Use this to customize hash calculation or to provide a customized hash.

Parameters / Return Value

  • TmpHuAssignmentTarget Record "EOS055.01 HU Assignment Target"

    A temporary instance of the record containing all fields that were used to calculate its hash.

  • HashSource TextBuilder

    The text buffer containing the value that was hashed. Changing this will have no effect, as the hash has already been calculated.

  • Hash Text[64]

    The hash that was calculated. You can overwrite this.



EOS Labs -