KVSKBAPostedDispatchHandHeader
Fields
| Name | Type | Note |
|---|---|---|
| No. | Code[20] | |
| Shipment Method Code | Code[10] | |
| Shipping Agent Code | Code[10] | |
| Shipping Agent Service Code | Code[10] | |
| Ship-to Name | Text[100] | |
| Ship-to Name 2 | Text[50] | |
| Ship-to Address | Text[100] | |
| Ship-to Address 2 | Text[50] | |
| Ship-to City | Text[30] | |
| Ship-to Post Code | Code[20] | |
| Ship-to Contact | Text[100] | |
| Gross Weight | Decimal | FlowField |
| Gross Weight (Item) | Decimal | FlowField |
| Dispatch Handling Comment | Boolean | FlowField |
| No. of Packages (1. Level) | Integer | FlowField |
| Dispatch Date | Date | |
| No. of Packages (Total) | Integer | FlowField |
| Destination Type | Enum Warehouse Destination Type | |
| Sell-to Contact No. | Code[20] | |
| Destination No. | Code[20] | |
| Ship-To Code | Code[10] | |
| Ship-to County | Text[30] | |
| Ship-to Country/Region Code | Code[10] | |
| Interface | Enum (KVSKBA Dispatch Provider) | |
| Ship. Order/Way-Bill No. | Code[20] | |
| Only Labels | Boolean | |
| Pick-Up Date | Date | |
| Pick-Up Time | Time | |
| Arrival Date | Date | |
| Arrival Time | Time | |
| One Package Dispatch | Boolean | |
| Created By Document Type | Enum (KVSKBADispatchSourceDocument) | |
| Created By Document No. | Code[20] | |
| Assigned User ID | Code[50] | |
| Language Code | Code[10] | |
| Dispatch Handling Type | Enum (KVSKBADispatchHandlingType) | |
| One Package Disp. Superior No. | Code[20] | |
| Format Region | Text[80] | |
| Canceled | Boolean | |
| Created DateTime | DateTime | |
| Created UserID | Code[50] | |
| Dispatch Location Code | Code[10] | |
| Outbound Pack. Location Code | Code[10] | |
| Outbound Pack. Bin Code | Code[20] | |
| Inbound Pack. Location Code | Code[10] | |
| Inbound Pack. Bin Code | Code[20] | |
| Dispatch Action | Enum (KVSKBADispatchAction) | |
| Net Weight Flowfield | Decimal | FlowField |
| Gross Weight (Scale) Flowfield | Decimal | FlowField |
| Tara Flowfield | Decimal | FlowField |
| Daily Closing Entry No. | Integer | |
| Total Dangerous Goods Points | Decimal | FlowField |
| Loading Date | Date | FlowField |
| Incoterm Named Country | Code[10] | |
| Incoterm Named Place | Text[50] | |
| VAT Registration No. | Text[20] | |
| Packaging Table | Code[20] | |
| KVSKBA V-LOG Value of Goods | Decimal | |
| Description of Goods | Text[70] |
Procedures
PrintRecords(Boolean) :
Summary: This procedure is used to print the posted dispatch handling order report.
procedure PrintRecords(ShowRequestForm: Boolean):
Parameters:
ShowRequestForm: A boolean value that indicates whether to show the report request form. If set to true, the report request form will be displayed; otherwise, the report will be printed directly.
Remarks: This procedure first creates a copy of the current record and then raises the OnBeforePrintRecords event, allowing subscribers to perform custom logic before the report is printed. If the event is not handled, the procedure calls the PrintFromReportSelectionDispatch method of the DocumentPrint codeunit to print the report based on the report selection dispatch usage for "Posted Dispatch Handling Order".
Events
OnBeforePrintRecords(Record KVSKBAPostedDispatchHandHeader, Boolean) :
Summary: This procedure is used to set the usage filter for the report selection dispatch page based on the dispatch handling type of the posted dispatch handling order. It also controls the visibility of certain fields on the report selection dispatch page based on the selected usage.
[IntegrationEvent(false, false)]
local procedure OnBeforePrintRecords(var KVSKBAPostedDispatchHandHeader: Record "KVSKBAPostedDispatchHandHeader"; var IsHandled: Boolean):
Parameters:
KVSKBAPostedDispatchHandHeader: The posted dispatch handling header record.IsHandled: A boolean value that indicates whether the event has been handled. If set to true, the default behavior will be skipped; otherwise, the default behavior will be executed.
Remarks: The procedure first sets the usage filter for the report selection dispatch page based on the dispatch handling type of the posted dispatch handling order. It then updates the visibility of the source and source content fields on the report selection dispatch page based on the selected usage. Finally, it calls the OnBeforeSetUsageFilterCaseElseOnReportSelctionDispatchUsage event, allowing subscribers to perform custom logic before the usage filter is applied.