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.
| Language | Caption | 
|---|---|
| de-DE | LE-Zuordnungsziel | 
| en-US | HU Assignment Target | 
| it-IT | Destinazione assegnazione UdC | 
Fields
Entry No. (10)
Integer
| Language | Caption | 
|---|---|
| de-DE | Lfd.-Nr. | 
| en-US | Entry No. | 
| it-IT | Nr. movimento | 
Hash (11)
Text[64]
| Language | Caption | 
|---|---|
| de-DE | Lfd.-Nr. | 
| en-US | Entry No. | 
| it-IT | Nr. movimento | 
Type (20)
Integer
| Language | Caption | 
|---|---|
| de-DE | Art | 
| en-US | Type | 
| it-IT | Tipo | 
No. (21)
Code[20]
| Language | Caption | 
|---|---|
| de-DE | Nr. | 
| en-US | No. | 
| it-IT | Nr. | 
Address Code (22)
Code[10]
| Language | Caption | 
|---|---|
| de-DE | Adressencode | 
| en-US | Address Code | 
| it-IT | Codice indirizzo | 
Shipping Agent Code (25)
Code[10]
| Language | Caption | 
|---|---|
| de-DE | Zustellercode | 
| en-US | Shipping Agent Code | 
| it-IT | Cod. spedizioniere | 
Shipping Agent Service Code (26)
Code[10]
| Language | Caption | 
|---|---|
| de-DE | Zustellertransportartencode | 
| en-US | Shipping Agent Service Code | 
| it-IT | Codice servizio spedizioniere | 
Location Code (30)
Code[10]
| Language | Caption | 
|---|---|
| de-DE | Lagerortcode | 
| en-US | Location Code | 
| it-IT | Cod. ubicazione | 
Source Type (50)
Integer
| Language | Caption | 
|---|---|
| de-DE | Herkunftsart | 
| en-US | Source Type | 
| it-IT | Tipo origine | 
Source Subtype (51)
Integer
| Language | Caption | 
|---|---|
| de-DE | Herkunftsart | 
| en-US | Source Type | 
| it-IT | Tipo origine | 
Source No. (52)
Code[20]
| Language | Caption | 
|---|---|
| de-DE | Herkunftsart | 
| en-US | Source Type | 
| it-IT | Tipo origine | 
Valid (60)
Boolean
| Language | Caption | 
|---|---|
| de-DE | Gültig | 
| en-US | Valid | 
| it-IT | Valido | 
Caller Record ID (100)
RecordId
| Language | Caption | 
|---|---|
| de-DE | Caller-Record ID | 
| en-US | Caller Record ID | 
| it-IT | ID 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- trueif the record was inserted,- falseif 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. 
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.