Table "Transfer Header"
ID 5740
Namespace: Microsoft.Inventory.Transfer
Properties
Fields
| Name |
Type |
Description |
| "No." |
Code[20]
|
Specifies the number of the involved entry or record, according to the specified number series.
|
| "Transfer-from Code" |
Code[10]
|
Specifies the code of the location that items are transferred from.
|
| "Transfer-from Name" |
Text[100]
|
Specifies the name of the sender at the location that the items are transferred from.
|
| "Transfer-from Name 2" |
Text[50]
|
Specifies an additional part of the name of the sender at the location that the items are transferred from.
|
| "Transfer-from Address" |
Text[100]
|
Specifies the address of the location that the items are transferred from.
|
| "Transfer-from Address 2" |
Text[50]
|
Specifies an additional part of the address of the location that items are transferred from.
|
| "Transfer-from Post Code" |
Code[20]
|
Specifies the postal code of the location that the items are transferred from.
|
| "Transfer-from City" |
Text[30]
|
Specifies the city of the location that the items are transferred from.
|
| "Transfer-from County" |
Text[30]
|
|
| "Trsf.-from Country/Region Code" |
Code[10]
|
|
| "Transfer-to Code" |
Code[10]
|
Specifies the code of the location that the items are transferred to.
|
| "Transfer-to Name" |
Text[100]
|
Specifies the name of the recipient at the location that the items are transferred to.
|
| "Transfer-to Name 2" |
Text[50]
|
Specifies an additional part of the name of the recipient at the location that the items are transferred to.
|
| "Transfer-to Address" |
Text[100]
|
Specifies the address of the location that the items are transferred to.
|
| "Transfer-to Address 2" |
Text[50]
|
Specifies an additional part of the address of the location that the items are transferred to.
|
| "Transfer-to Post Code" |
Code[20]
|
Specifies the postal code of the location that the items are transferred to.
|
| "Transfer-to City" |
Text[30]
|
Specifies the city of the location that items are transferred to.
|
| "Transfer-to County" |
Text[30]
|
|
| "Trsf.-to Country/Region Code" |
Code[10]
|
|
| "Posting Date" |
Date
|
Specifies the posting date of the transfer order.
|
| "Shipment Date" |
Date
|
Specifies when items on the document are shipped or were shipped. A shipment date is usually calculated from a requested delivery date plus lead time.
|
| "Receipt Date" |
Date
|
Specifies the date that you expect the transfer-to location to receive the shipment.
|
| Status |
Option
|
Specifies whether the transfer order is open or has been released for warehouse handling.
|
| Comment |
Boolean
|
|
| "Shortcut Dimension 1 Code" |
Code[20]
|
Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window.
|
| "Shortcut Dimension 2 Code" |
Code[20]
|
Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window.
|
| "In-Transit Code" |
Code[10]
|
Specifies the in-transit code for the transfer order, such as a shipping agent.
|
| "No. Series" |
Code[20]
|
|
| "Last Shipment No." |
Code[20]
|
|
| "Last Receipt No." |
Code[20]
|
|
| "Transfer-from Contact" |
Text[100]
|
Specifies the name of the contact person at the location that the items are transferred from.
|
| "Transfer-to Contact" |
Text[100]
|
Specifies the name of the contact person at the location that items are transferred to.
|
| "External Document No." |
Code[35]
|
|
| "Shipping Agent Code" |
Code[10]
|
Specifies the code for the shipping agent who is transporting the items.
|
| "Shipping Agent Service Code" |
Code[10]
|
Specifies the code for the service, such as a one-day delivery, that is offered by the shipping agent.
|
| "Shipping Time" |
DateFormula
|
Specifies how long it takes from when the items are shipped from the warehouse to when they are delivered.
|
| "Shipment Method Code" |
Code[10]
|
Specifies the delivery conditions of the related shipment, such as free on board (FOB).
|
| "Transaction Type" |
Code[10]
|
Specifies the type of transaction that the document represents, for the purpose of reporting to INTRASTAT.
|
| "Transport Method" |
Code[10]
|
Specifies the transport method, for the purpose of reporting to INTRASTAT.
|
| "Partner VAT ID" |
Code[20]
|
Specifies the counter party's VAT number.
|
| "Entry/Exit Point" |
Code[10]
|
Specifies the code of either the port of entry at which the items passed into your country/region, or the port of exit.
|
| "Area" |
Code[10]
|
Specifies the area of the customer or vendor, for the purpose of reporting to INTRASTAT.
|
| "Transaction Specification" |
Code[10]
|
Specifies a specification of the document's transaction, for the purpose of reporting to INTRASTAT.
|
| "Direct Transfer" |
Boolean
|
Specifies that the transfer does not use an in-transit location.
|
| "Direct Transfer Posting" |
Enum Microsoft.Inventory.Setup."Direct Transfer Posting Type"
|
Specifies the posting type for direct transfer. The posting type determines how inventory is updated for the transfer order.
|
| "Dimension Set ID" |
Integer
|
|
| "Shipping Advice" |
Enum Microsoft.Foundation.Shipping."Sales Header Shipping Advice"
|
Specifies an instruction to the warehouse that ships the items, for example, that it is acceptable to do partial shipment.
|
| "Posting from Whse. Ref." |
Integer
|
|
| "Completely Shipped" |
Boolean
|
|
| "Completely Received" |
Boolean
|
|
| "Location Filter" |
Code[10]
|
|
| "Outbound Whse. Handling Time" |
DateFormula
|
Specifies a date formula for the time it takes to get items ready to ship from this location. The time element is used in the calculation of the delivery date as follows: Shipment Date + Outbound Warehouse Handling Time = Planned Shipment Date + Shipping Time = Planned Delivery Date.
|
| "Inbound Whse. Handling Time" |
DateFormula
|
Specifies the time it takes to make items part of available inventory, after the items have been posted as received.
|
| "Date Filter" |
Date
|
|
| "Has Shipped Lines" |
Boolean
|
|
| "Assigned User ID" |
Code[50]
|
Specifies the ID of the user who is responsible for the document.
|
| SystemId |
Guid
|
|
| SystemCreatedAt |
DateTime
|
|
| SystemCreatedBy |
Guid
|
|
| SystemModifiedAt |
DateTime
|
|
| SystemModifiedBy |
Guid
|
|
| SystemCreatedByUserName |
Text[50]
|
|
| SystemCreatedByFullName |
Text[80]
|
|
| SystemModifiedByUserName |
Text[50]
|
|
| SystemModifiedByFullName |
Text[80]
|
|
| SystemRowVersion |
BigInteger
|
|
Methods
InitRecord
AssistEdit
procedure AssistEdit(OldTransHeader: Record "Transfer Header"): Boolean
Parameters
Returns
GetHideValidationDialog
procedure GetHideValidationDialog(): Boolean
Returns
SetHideValidationDialog
procedure SetHideValidationDialog(NewHideValidationDialog: Boolean)
Parameters
| Name |
Type |
Description |
|
NewHideValidationDialog
|
Boolean |
|
ValidateShortcutDimCode
procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
| Name |
Type |
Description |
|
FieldNumber
|
Integer |
|
|
ShortcutDimCode
|
Code[20] |
|
UpdateTransLines
procedure UpdateTransLines(TransferHeader: Record "Transfer Header"; FieldID: Integer)
Parameters
ShouldDeleteOneTransferOrder
procedure ShouldDeleteOneTransferOrder(var TransLine2: Record "Transfer Line"): Boolean
Parameters
Returns
DeleteOneTransferOrder
procedure DeleteOneTransferOrder(var TransHeader2: Record "Transfer Header"; var TransLine2: Record "Transfer Line")
Parameters
TestStatusOpen
procedure TestStatusOpen()
CalledFromWarehouse
procedure CalledFromWarehouse(CalledFromWhse2: Boolean)
Parameters
| Name |
Type |
Description |
|
CalledFromWhse2
|
Boolean |
|
CreateInvtPutAwayPick
procedure CreateInvtPutAwayPick()
CreateDimFromDefaultDim
procedure CreateDimFromDefaultDim(FieldNo: Integer)
Parameters
| Name |
Type |
Description |
|
FieldNo
|
Integer |
|
CreateDim
procedure CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
Parameters
| Name |
Type |
Description |
|
DefaultDimSource
|
List of [Dictionary of [Integer, Code[20]]] |
|
ShowDocDim
TransferLinesExist
procedure TransferLinesExist(): Boolean
Returns
UpdateAllLineDim
procedure UpdateAllLineDim(NewParentDimSetID: Integer; OldParentDimSetID: Integer)
Parameters
| Name |
Type |
Description |
|
NewParentDimSetID
|
Integer |
|
|
OldParentDimSetID
|
Integer |
|
CheckBeforePost
procedure CheckBeforePost()
CheckBeforeTransferPost
procedure CheckBeforeTransferPost()
CheckInvtPostingSetup
procedure CheckInvtPostingSetup()
HasShippedItems
procedure HasShippedItems(): Boolean
Returns
HasTransferLines
procedure HasTransferLines(): Boolean
Returns
GetReceiptLines
procedure GetReceiptLines()
VerifyNoOutboundWhseHandlingOnLocation
procedure VerifyNoOutboundWhseHandlingOnLocation(LocationCode: Code[10])
Parameters
| Name |
Type |
Description |
|
LocationCode
|
Code[10] |
|
VerifyNoInboundWhseHandlingOnLocation
procedure VerifyNoInboundWhseHandlingOnLocation(LocationCode: Code[10])
Parameters
| Name |
Type |
Description |
|
LocationCode
|
Code[10] |
|
TransferLinesEditable
procedure TransferLinesEditable(): Boolean
Returns
CheckTransferLines
procedure CheckTransferLines(Ship: Boolean)
Parameters
| Name |
Type |
Description |
|
Ship
|
Boolean |
|
TestTransferLine
procedure TestTransferLine(TransferLine: Record "Transfer Line"; Ship: Boolean)
Parameters
Events
OnUpdateTransLines
[IntegrationEvent(False,False)]
local procedure OnUpdateTransLines(var TransferLine: Record "Transfer Line"; TransferHeader: Record "Transfer Header"; FieldID: Integer)
Parameters
OnAddTransferLineFromReceiptLineOnBeforeTransferLineInsert
[IntegrationEvent(False,False)]
local procedure OnAddTransferLineFromReceiptLineOnBeforeTransferLineInsert(var TransferLine: Record "Transfer Line"; PurchRcptLine: Record "Purch. Rcpt. Line"; var TransferHeader: Record "Transfer Header")
Parameters
OnAfterAddTransferLineFromReceiptLine
[IntegrationEvent(False,False)]
local procedure OnAfterAddTransferLineFromReceiptLine(var TransferLine: Record "Transfer Line"; var PurchRcptLine: Record "Purch. Rcpt. Line"; var TempItemLedgerEntry: Record "Item Ledger Entry"; var TransferHeader: Record "Transfer Header")
Parameters
OnAfterCheckBeforePost
[IntegrationEvent(False,False)]
local procedure OnAfterCheckBeforePost(var TransferHeader: Record "Transfer Header")
Parameters
OnAfterCheckBeforeTransferPost
[IntegrationEvent(False,False)]
local procedure OnAfterCheckBeforeTransferPost(var TransferHeader: Record "Transfer Header")
Parameters
OnAfterGetNoSeriesCode
[IntegrationEvent(False,False)]
local procedure OnAfterGetNoSeriesCode(var TransferHeader: Record "Transfer Header"; var NoSeriesCode: Code[20])
Parameters
OnAfterGetTransferRoute
[IntegrationEvent(False,False)]
local procedure OnAfterGetTransferRoute(var TransferHeader: Record "Transfer Header"; TransferRoute: Record "Transfer Route")
Parameters
OnAfterInitRecord
[IntegrationEvent(False,False)]
local procedure OnAfterInitRecord(var TransferHeader: Record "Transfer Header")
Parameters
OnAfterInitFromTransferToLocation
[IntegrationEvent(False,False)]
local procedure OnAfterInitFromTransferToLocation(var TransferHeader: Record "Transfer Header"; Location: Record Location)
Parameters
OnAfterInitFromTransferFromLocation
[IntegrationEvent(False,False)]
local procedure OnAfterInitFromTransferFromLocation(var TransferHeader: Record "Transfer Header"; Location: Record Location)
Parameters
OnAfterTransferLinesEditable
[IntegrationEvent(False,False)]
local procedure OnAfterTransferLinesEditable(TransferHeader: Record "Transfer Header"; var IsEditable: Boolean)
Parameters
OnAfterValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var TransferHeader: Record "Transfer Header"; var xTransferHeader: Record "Transfer Header"; FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
OnBeforeCheckInvtPostingSetup
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckInvtPostingSetup(TransferHeader: Record "Transfer Header"; var IsHandled: Boolean)
Parameters
OnBeforeCheckTransferFromAndToCodesNotTheSame
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckTransferFromAndToCodesNotTheSame(TransferHeader: Record "Transfer Header"; var IsHandled: Boolean)
Parameters
OnBeforeDeleteTransferLines
[IntegrationEvent(True,False)]
local procedure OnBeforeDeleteTransferLines(var IsHandled: Boolean; var TransferHeader: Record "Transfer Header")
Parameters
OnBeforeGetNoSeriesCode
[IntegrationEvent(False,False)]
local procedure OnBeforeGetNoSeriesCode(var TransferHeader: Record "Transfer Header"; InventorySetup: Record "Inventory Setup"; var NoSeriesCode: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeShouldDeleteOneTransferOrder
[IntegrationEvent(False,False)]
local procedure OnBeforeShouldDeleteOneTransferOrder(var TransferLine: Record "Transfer Line"; var ShouldDelete: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeTestNoSeries
[IntegrationEvent(False,False)]
local procedure OnBeforeTestNoSeries(TransferHeader: Record "Transfer Header"; InvtSetup: Record "Inventory Setup"; var IsHandled: Boolean)
Parameters
OnBeforeTransLineDeleteAll
[IntegrationEvent(False,False)]
local procedure OnBeforeTransLineDeleteAll(TransferHeader: Record "Transfer Header"; var TransferLine: Record "Transfer Line")
Parameters
OnBeforeUpdateTransLines
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTransLines(TransferHeader: Record "Transfer Header"; FieldID: Integer; var IsHandled: Boolean)
Parameters
OnBeforeValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var TransferHeader: Record "Transfer Header"; var xTransferHeader: Record "Transfer Header"; FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
OnBeforeValidateTransferFromCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateTransferFromCode(var TransferHeader: Record "Transfer Header"; var xTransferHeader: Record "Transfer Header"; var IsHandled: Boolean; var HideValidationDialog: Boolean)
Parameters
OnBeforeValidateTransferToCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateTransferToCode(var TransferHeader: Record "Transfer Header"; var xTransferHeader: Record "Transfer Header"; var IsHandled: Boolean; var HideValidationDialog: Boolean)
Parameters
OnBeforeVerifyNoOutboundWhseHandlingOnLocation
[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyNoOutboundWhseHandlingOnLocation(LocationCode: Code[10]; var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
LocationCode
|
Code[10] |
|
|
IsHandled
|
Boolean |
|
OnDeleteOneTransferOrderOnBeforeTransHeaderDelete
[IntegrationEvent(False,False)]
local procedure OnDeleteOneTransferOrderOnBeforeTransHeaderDelete(var TransferHeader: Record "Transfer Header"; var HideValidationDialog: Boolean)
Parameters
OnShowDocDimOnAfterAssignDimensionSetID
[IntegrationEvent(False,False)]
local procedure OnShowDocDimOnAfterAssignDimensionSetID(var TransferHeader: Record "Transfer Header")
Parameters
OnUpdateAllLineDimOnBeforeTransLineModify
[IntegrationEvent(False,False)]
local procedure OnUpdateAllLineDimOnBeforeTransLineModify(var TransLine: Record "Transfer Line")
Parameters
OnValidateReceiptDateOnBeforeCalcShipmentDate
[IntegrationEvent(False,False)]
local procedure OnValidateReceiptDateOnBeforeCalcShipmentDate(var IsHandled: Boolean; var TransferHeader: Record "Transfer Header")
Parameters
OnValidateShipmentDateOnBeforeCalcReceiptDate
[IntegrationEvent(False,False)]
local procedure OnValidateShipmentDateOnBeforeCalcReceiptDate(var IsHandled: Boolean; var TransferHeader: Record "Transfer Header")
Parameters
OnInitInsertOnBeforeInitSeries
[IntegrationEvent(True,False)]
local procedure OnInitInsertOnBeforeInitSeries(var xTransferHeader: Record "Transfer Header"; var IsHandled: Boolean)
Parameters
OnInitInsertOnBeforeInitRecord
[IntegrationEvent(True,False)]
local procedure OnInitInsertOnBeforeInitRecord(var xTransferHeader: Record "Transfer Header")
Parameters
OnBeforeDeleteOneTransferOrder
[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteOneTransferOrder(var TransHeader2: Record "Transfer Header"; var TransLine2: Record "Transfer Line"; var IsHandled: Boolean)
Parameters
OnUpdateTransLinesOnShippingAgentCodeOnBeforeBlockDynamicTracking
[IntegrationEvent(False,False)]
local procedure OnUpdateTransLinesOnShippingAgentCodeOnBeforeBlockDynamicTracking(var TransferLine: Record "Transfer Line"; var TransferHeader: Record "Transfer Header")
Parameters
OnUpdateTransLinesOnBeforeModifyTransferLine
[IntegrationEvent(False,False)]
local procedure OnUpdateTransLinesOnBeforeModifyTransferLine(TransferHeader: Record "Transfer Header"; var TransferLine: Record "Transfer Line")
Parameters
OnUpdateTransLinesOnAfterModifyTransferLine
[IntegrationEvent(False,False)]
local procedure OnUpdateTransLinesOnAfterModifyTransferLine(TransferHeader: Record "Transfer Header"; var TransferLine: Record "Transfer Line")
Parameters
OnValidateDirectTransferOnBeforeValidateInTransitCode
[IntegrationEvent(False,False)]
local procedure OnValidateDirectTransferOnBeforeValidateInTransitCode(var TransferHeader: Record "Transfer Header"; var IsHandled: Boolean)
Parameters
OnBeforeValidateTransferFromCity
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateTransferFromCity(var TransferHeader: Record "Transfer Header"; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeValidateTransferFromPostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateTransferFromPostCode(var TransferHeader: Record "Transfer Header"; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeValidateTransferToCity
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateTransferToCity(var TransferHeader: Record "Transfer Header"; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeValidateTransferToPostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateTransferToPostCode(var TransferHeader: Record "Transfer Header"; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnValidateTransferFromCodeOnBeforeUpdateTransLines
[IntegrationEvent(False,False)]
local procedure OnValidateTransferFromCodeOnBeforeUpdateTransLines(var TransferHeader: Record "Transfer Header")
Parameters
OnCreateDimFromDefaultDimOnBeforeCreateDim
[IntegrationEvent(False,False)]
local procedure OnCreateDimFromDefaultDimOnBeforeCreateDim(var TransferHeader: Record "Transfer Header"; FieldNo: Integer; var IsHandled: Boolean)
Parameters
OnAfterInitDefaultDimensionSources
[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var TransferHeader: Record "Transfer Header"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; FieldNo: Integer)
Parameters
OnBeforeCheckBeforeTransferPost
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckBeforeTransferPost(TransferHeader: Record "Transfer Header"; var IsHandled: Boolean)
Parameters
OnBeforeVerifyNoInboundWhseHandlingOnLocation
[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyNoInboundWhseHandlingOnLocation(LocationCode: Code[10]; var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
LocationCode
|
Code[10] |
|
|
IsHandled
|
Boolean |
|
OnBeforeValidateShippingAgentCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShippingAgentCode(var TransferHeader: Record "Transfer Header"; var IsHandled: Boolean)
Parameters
OnBeforeAddTransferLineFromReceiptLine
[IntegrationEvent(False,False)]
local procedure OnBeforeAddTransferLineFromReceiptLine(var TransferLine: Record "Transfer Line"; PurchRcptLine: Record "Purch. Rcpt. Line"; var TransferHeader: Record "Transfer Header")
Parameters
OnBeforeCreateTransferLinesFromSelectedReceiptLines
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateTransferLinesFromSelectedReceiptLines(var PurchRcptLine: Record "Purch. Rcpt. Line"; var LineNo: Integer; TransferHeader: Record "Transfer Header")
Parameters
OnAfterCreateTransferLinesFromSelectedReceiptLines
[IntegrationEvent(False,False)]
local procedure OnAfterCreateTransferLinesFromSelectedReceiptLines(var PurchRcptLine: Record "Purch. Rcpt. Line"; LineNo: Integer; TransferHeader: Record "Transfer Header")
Parameters
OnBeforePerformManualRelease
[IntegrationEvent(False,False)]
local procedure OnBeforePerformManualRelease(var TransferHeader: Record "Transfer Header"; var IsHandled: Boolean)
Parameters
OnCreateDimOnBeforeUpdateLines
[IntegrationEvent(False,False)]
local procedure OnCreateDimOnBeforeUpdateLines(var TransferHeader: Record "Transfer Header"; xTransferHeader: Record "Transfer Header"; CurrentFieldNo: Integer; OldDimSetID: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
Parameters
OnUpdateTransLinesOnAfterUpdateFromDirectTransfer
[IntegrationEvent(False,False)]
local procedure OnUpdateTransLinesOnAfterUpdateFromDirectTransfer(var TransferLine: Record "Transfer Line"; TempTransferLine: Record "Transfer Line")
Parameters
OnBeforeTestTransferLine
[IntegrationEvent(False,False)]
local procedure OnBeforeTestTransferLine(TransferLine: Record "Transfer Line"; Ship: Boolean)
Parameters
See also