Codeunit 18007979 EOS066 Shipping Info Mgt.
Gathers all functions used in shipping info management
procedure CopyDocShippingInfo(FromRec: Variant; ToRec: Variant; ClearDimensionsAfterCopy: Boolean)
FromRec Variant
ToRec Variant
ClearDimensionsAfterCopy Boolean
procedure DeleteRelatedShippingInfo(RecID: Guid)
Guid
procedure InitShippingInfoKey(var EOS066DocumentShippingInfo: Record "EOS066 Document Shipping Info"; Source: variant; SourceSysID: Guid; OverwriteExisting: Boolean)
Fills explicit source key (table id, document no., …) of a doc. shippng info from related source document.
EOS066DocumentShippingInfo Record "EOS066 Document Shipping Info"
Doc. shipping info record to init
Source variant
Source document
SourceSysID Guid
Source document system id
OverwriteExisting Boolean
If TRUE, if any key field is already filled it is cleared
procedure InitDocShippingInfoDocValues(var EOS066DocumentShippingInfo: Record "EOS066 Document Shipping Info"; Force: Boolean; RecalcHeader: Boolean; RecalcDim: Boolean; Hidedialog: Boolean)
Calculated values (shipment method, shipping agent, …) of a doc. shippng info from related source document.
EOS066DocumentShippingInfo Record "EOS066 Document Shipping Info"
Doc. shipping info record to calculate
Force Boolean
If TRUE, also manually modified record will be recalculated
RecalcHeader Boolean
If TRUE, header values (i.e. shipping notes) are cleared
RecalcDim Boolean
If TRUE, dimension values (i.e. weights) are cleared
Hidedialog Boolean
Indicates if UI is enabled or not
procedure OpenShippingInfoCard(SourceTableID: integer; SourceSysID: Guid)
Opens doc. shipping info card.
SourceTableID integer
Source document table id
SourceSysID Guid
Source document system id
procedure GetPageCardLastShipNo(EOS066DocumentShippingInfo: Record "EOS066 Document Shipping Info") LastShipNo: code[20]
Retrieves last shipping no. for related source document to be shown in doc. info card.
EOS066DocumentShippingInfo Record "EOS066 Document Shipping Info"
Doc. shipping info record to open
Returns code[20]
Code containing last shipping no.
procedure DrillDownPageCardLastShipNo(EOS066DocumentShippingInfo: Record "EOS066 Document Shipping Info")
Drills down last shipping no. down from doc. info card.
EOS066DocumentShippingInfo Record "EOS066 Document Shipping Info"
Doc. shipping info record to open
procedure GetPageCardRecipient(EOS066DocumentShippingInfo: Record "EOS066 Document Shipping Info") RecipientText: Text
Retrieves recipient for related source document to be shown in doc. info card.
EOS066DocumentShippingInfo Record "EOS066 Document Shipping Info"
Doc. shipping info record to open
Returns Text
Text containing recipient data
procedure UpdateDocumentFromDocShInfo(EOS066DocumentShippingInfo: Record "EOS066 Document Shipping Info")
Updates document from related doc. shippng info.
EOS066DocumentShippingInfo Record "EOS066 Document Shipping Info"
Source doc. shipping info
procedure LoadDefaults(Hidedialog: Boolean; DeleteExisting: Boolean)
Hidedialog Boolean
DeleteExisting Boolean
procedure UpdateFieldSetupLine(var EOS066DocShippingFields: Record "EOS066 Doc. Shipping Fields"; FieldNoToUpd: Integer; NewValue: Boolean; Hidedialog: Boolean)
EOS066DocShippingFields Record "EOS066 Doc. Shipping Fields"
FieldNoToUpd Integer
NewValue Boolean
Hidedialog Boolean
procedure DocShippingInfoEnabled(Hidedialog: Boolean): Boolean
Checks if shipping info global setup is enabled or not
Hidedialog Boolean
Specifies if UI is suppressed
Returns Boolean
TRUE: setup enabled, FALSE: setup disabled
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.