KVSFCYCrossDockManagement#
Procedures#
GetUseCrossDock(Boolean, Code[10], Code[20]) :#
Summary: Determines whether cross-docking should be used for a specific item at a given location. This procedure evaluates cross-docking settings at both the item and location levels, with stockkeeping unit settings taking precedence over item settings. Cross-docking is enabled only when both the item (or its SKU override) and the location are configured to use cross-docking. Integration events allow for custom logic to override the standard determination.
procedure GetUseCrossDock(var UseCrossDock: Boolean; LocationCode: Code[10]; ItemNo: Code[20]):
Parameters:
UseCrossDock: Returns true if cross-docking should be used for this item/location combination, false otherwise.LocationCode: The location code where the cross-docking evaluation is being performed.ItemNo: The item number for which cross-docking usage is being determined.
CalculateCrossDockLines(Record Whse. Cross-Dock Opportunity, Code[10], Code[20], Code[10]) :#
Summary: Calculates cross-dock opportunities for all warehouse receipt lines in a specific template and location. This procedure orchestrates the complete cross-dock calculation workflow by separating warehouse receipt lines based on special order status, then processing each category appropriately. It handles both regular cross-dock scenarios and special order scenarios, identifying potential cross-dock opportunities across sales orders, transfer orders, production order components, and service orders. The calculation considers existing cross-dock quantities, pick quantities, and outstanding demands to optimize warehouse efficiency.
procedure CalculateCrossDockLines(var WhseCrossDockOpp: Record "Whse. Cross-Dock Opportunity"; NewTemplateName: Code[10]; NewNameNo: Code[20]; NewLocationCode: Code[10]):
Parameters:
WhseCrossDockOpp: The cross-dock opportunity record set that will be populated with calculated opportunities for the specified template and location.NewTemplateName: The template name identifier for the warehouse receipt document being processed.NewNameNo: The document number of the warehouse receipt for which cross-dock opportunities are being calculated.NewLocationCode: The location code where the cross-dock calculation should be performed.
CalculateCrossDockLine(Record Whse. Cross-Dock Opportunity, Code[20], Code[10], Decimal, Decimal, Decimal, Integer, Decimal) :#
Summary: Calculates cross-dock opportunities and quantities for a specific warehouse receipt line item. This procedure performs a focused cross-dock calculation for a single item/variant combination, identifying potential cross-dock opportunities across all relevant outbound documents and calculating the optimal cross-dock quantity considering existing cross-dock inventory, outstanding demands, and the available quantity to handle. It returns the needed quantity, recommended cross-dock quantity, and existing cross-dock quantities to support warehouse receipt line processing decisions.
procedure CalculateCrossDockLine(var CrossDockOpp: Record "Whse. Cross-Dock Opportunity"; ItemNo: Code[20]; VariantCode: Code[10]; var QtyNeededBase: Decimal; var QtyToCrossDockBase: Decimal; var QtyOnCrossDockBase: Decimal; LineNo: Integer; QtyToHandleBase: Decimal):
Parameters:
CrossDockOpp: The cross-dock opportunity record set that will be populated with calculated opportunities for this specific line.ItemNo: The item number for which cross-dock opportunities are being calculated.VariantCode: The variant code of the item being evaluated for cross-dock opportunities.QtyNeededBase: Returns the total base quantity needed across all identified cross-dock opportunities for this item/variant.QtyToCrossDockBase: Returns the recommended base quantity to cross-dock, considering available quantity and existing cross-dock inventory.QtyOnCrossDockBase: Returns the base quantity already available in cross-dock bins for this item/variant.LineNo: The warehouse receipt line number for which the cross-dock calculation is being performed.QtyToHandleBase: The base quantity available to handle on the warehouse receipt line, used to limit the cross-dock recommendation.
InsertCrossDockOpp(Record Whse. Cross-Dock Opportunity, Integer, Integer, Code[20], Integer, Integer, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal, Code[10], Decimal, Date, Code[20], Code[10], Integer) :#
Summary: Creates and inserts a cross-dock opportunity record for a specific outbound source document demand. This procedure validates the opportunity against special order restrictions and outstanding quantity requirements before creating a cross-dock opportunity record. It populates all source document references, quantities (needed, pick, and picked), unit of measure details, and due dates. The procedure also adjusts quantities by subtracting existing cross-dock opportunities for the same source to prevent duplication and ensures accurate cross-dock quantity calculations.
procedure InsertCrossDockOpp(var WhseCrossDockOpp: Record "Whse. Cross-Dock Opportunity"; SourceType: Integer; SourceSubType: Integer; SourceNo: Code[20]; SourceLineNo: Integer; SourceSubLineNo: Integer; QtyOutstanding: Decimal; QtyOutstandingBase: Decimal; QtyOnPick: Decimal; QtyOnPickBase: Decimal; QtyPicked: Decimal; QtyPickedBase: Decimal; UOMCode: Code[10]; QtyPerUOM: Decimal; DueDate: Date; ItemNo: Code[20]; VariantCode: Code[10]; LineNo: Integer):
Parameters:
WhseCrossDockOpp: The cross-dock opportunity record to be created and inserted with calculated values.SourceType: The database table number of the source document type (Sales Line, Transfer Line, etc.).SourceSubType: The document subtype identifier for the source document (e.g., Sales Order, Service Order).SourceNo: The document number of the source document creating the demand.SourceLineNo: The line number within the source document that has the outstanding demand.SourceSubLineNo: The sub-line number for multi-level source documents (typically used for production order components).QtyOutstanding: The outstanding quantity in the source document's unit of measure that could be cross-docked.QtyOutstandingBase: The outstanding quantity in base unit of measure that could be cross-docked.QtyOnPick: The quantity currently on pick documents in the source document's unit of measure.QtyOnPickBase: The quantity currently on pick documents in base unit of measure.QtyPicked: The quantity already picked in the source document's unit of measure.QtyPickedBase: The quantity already picked in base unit of measure.UOMCode: The unit of measure code used by the source document.QtyPerUOM: The quantity per unit of measure conversion factor for the source document.DueDate: The due date when the cross-docked items are needed by the source document.ItemNo: The item number that is being cross-docked.VariantCode: The item variant code being cross-docked.LineNo: The warehouse receipt line number that is the source of the cross-dock opportunity.
ShowCrossDock(Record Whse. Cross-Dock Opportunity, Code[10], Code[20], Integer, Code[10], Code[20], Code[10]) :#
Summary: Displays the cross-dock opportunities page for user review and quantity adjustment. This procedure sets up and shows the Cross-Dock Opportunities page in lookup mode, allowing users to review calculated cross-dock opportunities and manually adjust the cross-dock quantity. It filters the opportunities by source document details and item information, initializes the page with warehouse receipt line context, and processes user selections by updating the warehouse receipt line's cross-dock quantity within valid limits and unit of measure conversions.
procedure ShowCrossDock(var CrossDockOpp: Record "Whse. Cross-Dock Opportunity"; SourceTemplateName: Code[10]; SourceNameNo: Code[20]; SourceLineNo: Integer; LocationCode: Code[10]; ItemNo: Code[20]; VariantCode: Code[10]):
Parameters:
CrossDockOpp: The cross-dock opportunity record set that will be displayed and filtered for the specific item and source document.SourceTemplateName: The template name of the source warehouse receipt document.SourceNameNo: The document number of the warehouse receipt containing the line being processed.SourceLineNo: The line number within the warehouse receipt for which cross-dock opportunities are being displayed.LocationCode: The location code where the cross-dock opportunities are being evaluated.ItemNo: The item number for which cross-dock opportunities are being shown.VariantCode: The item variant code being evaluated for cross-dock opportunities.
CalcCrossDockedItems(Code[20], Code[10], Code[10], Code[10], Decimal, Decimal) :#
Summary: Calculates the quantities of items currently available in cross-dock bins for immediate picking. This procedure examines all bin contents marked as cross-dock bins at the specified location for the given item and variant combination. It returns two quantity values: the quantity available in the specific unit of measure and the total quantity available across all units of measure. The calculation considers only quantities that are available to pick, excluding reserved or otherwise unavailable stock in cross-dock bins.
procedure CalcCrossDockedItems(ItemNo: Code[20]; VariantCode: Code[10]; UOMCode: Code[10]; LocationCode: Code[10]; var QtyCrossDockedUOMBase: Decimal; var QtyCrossDockedAllUOMBase: Decimal):
Parameters:
ItemNo: The item number for which cross-dock bin quantities should be calculated.VariantCode: The item variant code to filter the bin content search.UOMCode: The specific unit of measure code for which to calculate quantities (used for QtyCrossDockedUOMBase calculation).LocationCode: The location code where cross-dock bins should be evaluated.QtyCrossDockedUOMBase: Returns the base quantity available to pick from cross-dock bins in the specified unit of measure.QtyCrossDockedAllUOMBase: Returns the total base quantity available to pick from cross-dock bins across all units of measure.
CalcCrossDockReceivedNotCrossDocked(Code[10], Code[20], Code[10]) : Decimal#
Summary: Calculates the quantity of items that have been received for cross-docking but not yet physically cross-docked. This procedure examines posted warehouse receipt lines that were marked for cross-docking but have not been completely put away in cross-dock bins. It identifies items that are in an intermediate state - received into the warehouse with cross-dock intentions but not yet moved to cross-dock bins or still partially in the receiving area. This quantity represents potential cross-dock inventory that could become available for cross-dock operations once the put-away process is completed.
procedure CalcCrossDockReceivedNotCrossDocked(LocationCode: Code[10]; ItemNo: Code[20]; VariantCode: Code[10]): Decimal
Parameters:
LocationCode: The location code where the calculation should be performed.ItemNo: The item number for which to calculate received but not cross-docked quantities.VariantCode: The item variant code to include in the calculation.
Returns: The base quantity of items received for cross-docking but not yet physically moved to cross-dock bins.
ShowBinContentsCrossDocked(Code[20], Code[10], Code[10], Code[10], Boolean) :#
Summary: Displays a lookup page showing bin contents for items in cross-dock bins at a specific location. This procedure opens the Bin Contents List page in modal mode, filtered to show only bins marked as cross-dock bins containing the specified item and variant. It provides users with visibility into current cross-dock bin inventory, including quantities available to pick and other bin content details. The procedure can optionally filter results to a specific unit of measure for more focused inventory review and supports interactive bin content management.
procedure ShowBinContentsCrossDocked(ItemNo: Code[20]; VariantCode: Code[10]; UOMCode: Code[10]; LocationCode: Code[10]; FilterOnUOM: Boolean):
Parameters:
ItemNo: The item number for which to display cross-dock bin contents.VariantCode: The item variant code to filter the bin content display.UOMCode: The unit of measure code to potentially filter by (used when FilterOnUOM is true).LocationCode: The location code where cross-dock bins should be displayed.FilterOnUOM: True to filter bin contents to the specific unit of measure, false to show all units of measure.
CalculatePickQty(Integer, Integer, Code[20], Integer, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal) :#
Summary: Calculates the quantities on pick documents and already picked quantities for a specific source document line. This procedure examines all warehouse shipment lines that reference the specified source document and aggregates the pick quantities and picked quantities across all related warehouse shipments. It provides essential information for cross-dock calculations by determining how much of the source document's demand is already covered by existing pick activities. The procedure also handles scenarios where no pick documents exist by calculating picked quantities based on the difference between total quantity and outstanding quantity, ensuring accurate availability calculations for cross-docking decisions.
procedure CalculatePickQty(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20]; SourceLineNo: Integer; var QtyOnPick: Decimal; var QtyOnPickBase: Decimal; var QtyPicked: Decimal; var QtyPickedBase: Decimal; Qty: Decimal; QtyBase: Decimal; OutstandingQty: Decimal; OutstandingQtyBase: Decimal):
Parameters:
SourceType: The database table number of the source document type (Sales Line, Transfer Line, Service Line, etc.).SourceSubtype: The document subtype identifier for the source document (e.g., Order, Invoice, Credit Memo).SourceNo: The document number of the source document for which pick quantities should be calculated.SourceLineNo: The line number within the source document to analyze for pick activities.QtyOnPick: Returns the total quantity on pick documents in the source document's unit of measure.QtyOnPickBase: Returns the total quantity on pick documents in base unit of measure.QtyPicked: Returns the total quantity already picked in the source document's unit of measure.QtyPickedBase: Returns the total quantity already picked in base unit of measure.Qty: The total quantity of the source document line in its unit of measure (used for fallback picked quantity calculation).QtyBase: The total quantity of the source document line in base unit of measure (used for fallback picked quantity calculation).OutstandingQty: The outstanding quantity on the source document line in its unit of measure (used for fallback picked quantity calculation).OutstandingQtyBase: The outstanding quantity on the source document line in base unit of measure (used for fallback picked quantity calculation).
SetTemplate(Code[10], Code[20], Code[10]) :#
Summary: Sets the warehouse receipt template context for cross-dock calculations and operations. This procedure initializes the global variables that define the scope of cross-dock processing by storing the template name, document number, and location code. These values are used throughout the codeunit to filter and process cross-dock opportunities for a specific warehouse receipt document. The procedure establishes the working context that all subsequent cross-dock calculations and operations will reference, ensuring that cross-dock opportunities are calculated and managed within the correct document and location boundaries.
procedure SetTemplate(NewTemplateName: Code[10]; NewNameNo: Code[20]; NewLocationCode: Code[10]):
Parameters:
NewTemplateName: The template name of the warehouse receipt document that serves as the context for cross-dock operations.NewNameNo: The document number of the warehouse receipt for which cross-dock processing should be performed.NewLocationCode: The location code that defines the warehouse location where cross-dock operations will be evaluated and executed.
Events#
OnAfterFilterCrossDockOpp(Record Whse. Cross-Dock Opportunity) :#
Summary: Event triggered after filtering cross-dock opportunities during opportunity calculation.
[IntegrationEvent(false, false)]
local procedure OnAfterFilterCrossDockOpp(var WhseCrossDockOpp: Record "Whse. Cross-Dock Opportunity"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnAfterFilterCrossDockOpp', '', false, false)]
local procedure DoSomethingOnAfterFilterCrossDockOpp(var WhseCrossDockOpp: Record "Whse. Cross-Dock Opportunity")
begin
end;
Parameters:
WhseCrossDockOpp: The cross-dock opportunity record set that has been filtered and can be further customized.
OnAfterUpdateQtyToCrossDock(Record Warehouse Receipt Line) :#
Summary: Event triggered after updating the cross-dock quantity on a warehouse receipt line.
[IntegrationEvent(false, false)]
local procedure OnAfterUpdateQtyToCrossDock(var WarehouseReceiptLine: Record "Warehouse Receipt Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnAfterUpdateQtyToCrossDock', '', false, false)]
local procedure DoSomethingOnAfterUpdateQtyToCrossDock(var WarehouseReceiptLine: Record "Warehouse Receipt Line")
begin
end;
Parameters:
WarehouseReceiptLine: The warehouse receipt line that has been updated with the calculated cross-dock quantity.
OnBeforeCrossDockOppInsert(Record Whse. Cross-Dock Opportunity, Decimal, Code[20], Integer) :#
Summary: Event triggered before inserting a cross-dock opportunity record.
[IntegrationEvent(false, false)]
local procedure OnBeforeCrossDockOppInsert(var WhseCrossDockOpportunity: Record "Whse. Cross-Dock Opportunity"; QtyPerUOM: Decimal; NameNo: Code[20]; LineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnBeforeCrossDockOppInsert', '', false, false)]
local procedure DoSomethingOnBeforeCrossDockOppInsert(var WhseCrossDockOpportunity: Record "Whse. Cross-Dock Opportunity"; QtyPerUOM: Decimal; NameNo: Code[20]; LineNo: Integer)
begin
end;
Parameters:
WhseCrossDockOpportunity: The cross-dock opportunity record that will be inserted and can be modified.QtyPerUOM: The quantity per unit of measure conversion factor for the cross-dock opportunity.NameNo: The warehouse receipt document number associated with the cross-dock opportunity.LineNo: The warehouse receipt line number that is the source of the cross-dock opportunity.
OnShowCrossDockOnAfterReceiptLineModify(Record Warehouse Receipt Line) :#
Summary: Event triggered after modifying a warehouse receipt line from the cross-dock opportunities page.
[IntegrationEvent(false, false)]
local procedure OnShowCrossDockOnAfterReceiptLineModify(var WarehouseReceiptLine: Record "Warehouse Receipt Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnShowCrossDockOnAfterReceiptLineModify', '', false, false)]
local procedure DoSomethingOnShowCrossDockOnAfterReceiptLineModify(var WarehouseReceiptLine: Record "Warehouse Receipt Line")
begin
end;
Parameters:
WarehouseReceiptLine: The warehouse receipt line that was modified with user-selected cross-dock quantities.
OnBeforeGetUseCrossDock(Code[20], Boolean, Boolean) :#
Summary: Event triggered before determining whether cross-docking should be used for a specific item.
[IntegrationEvent(false, false)]
local procedure OnBeforeGetUseCrossDock(ItemNo: Code[20]; var UseCrossDock: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnBeforeGetUseCrossDock', '', false, false)]
local procedure DoSomethingOnBeforeGetUseCrossDock(ItemNo: Code[20]; var UseCrossDock: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
ItemNo: The item number for which cross-docking usage is being determined.UseCrossDock: Boolean result indicating whether cross-docking should be used, can be set by custom logic.IsHandled: Boolean flag to indicate if the cross-dock determination has been handled by custom logic.
OnCalcCrossDockToSalesOrderOnBeforeInsertCrossDockLine(Record Sales Line) :#
Summary: Event triggered before inserting a cross-dock opportunity line for a sales order demand.
[IntegrationEvent(false, false)]
local procedure OnCalcCrossDockToSalesOrderOnBeforeInsertCrossDockLine(SalesLine: Record "Sales Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnCalcCrossDockToSalesOrderOnBeforeInsertCrossDockLine', '', false, false)]
local procedure DoSomethingOnCalcCrossDockToSalesOrderOnBeforeInsertCrossDockLine(SalesLine: Record "Sales Line")
begin
end;
Parameters:
SalesLine: The sales line that represents the demand for which a cross-dock opportunity will be created.
OnCalcCrossDockToProdOrderComponentOnBeforeInsertCrossDockLine(Record Prod. Order Component) :#
Summary: Event triggered before inserting a cross-dock opportunity line for a production order component demand.
[IntegrationEvent(false, false)]
local procedure OnCalcCrossDockToProdOrderComponentOnBeforeInsertCrossDockLine(ProdOrderComp: Record "Prod. Order Component"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnCalcCrossDockToProdOrderComponentOnBeforeInsertCrossDockLine', '', false, false)]
local procedure DoSomethingOnCalcCrossDockToProdOrderComponentOnBeforeInsertCrossDockLine(ProdOrderComp: Record "Prod. Order Component")
begin
end;
Parameters:
ProdOrderComp: The production order component that represents the demand for which a cross-dock opportunity will be created.
OnCalcCrossDockToServiceOrderOnBeforeInsertCrossDockLine(Record Service Line) :#
Summary: Event triggered before inserting a cross-dock opportunity line for a service order demand.
[IntegrationEvent(false, false)]
local procedure OnCalcCrossDockToServiceOrderOnBeforeInsertCrossDockLine(ServiceLine: Record "Service Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnCalcCrossDockToServiceOrderOnBeforeInsertCrossDockLine', '', false, false)]
local procedure DoSomethingOnCalcCrossDockToServiceOrderOnBeforeInsertCrossDockLine(ServiceLine: Record "Service Line")
begin
end;
Parameters:
ServiceLine: The service line that represents the demand for which a cross-dock opportunity will be created.
OnCalcCrossDockToTransferOrderOnBeforeInsertCrossDockLine(Record Transfer Line) :#
Summary: Event triggered before inserting a cross-dock opportunity line for a transfer order demand.
[IntegrationEvent(false, false)]
local procedure OnCalcCrossDockToTransferOrderOnBeforeInsertCrossDockLine(TransferLine: Record "Transfer Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnCalcCrossDockToTransferOrderOnBeforeInsertCrossDockLine', '', false, false)]
local procedure DoSomethingOnCalcCrossDockToTransferOrderOnBeforeInsertCrossDockLine(TransferLine: Record "Transfer Line")
begin
end;
Parameters:
TransferLine: The transfer line that represents the demand for which a cross-dock opportunity will be created.
OnCalculateCrossDockOnAfterAssignCrossDocDate(Record Whse. Cross-Dock Opportunity, Date, Code[20], Code[10], Code[10]) :#
Summary: Event triggered after assigning the cross-dock date during cross-dock calculation.
[IntegrationEvent(false, false)]
local procedure OnCalculateCrossDockOnAfterAssignCrossDocDate(var WhseCrossDockOpp: Record "Whse. Cross-Dock Opportunity"; var CrossDockDate: Date; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnCalculateCrossDockOnAfterAssignCrossDocDate', '', false, false)]
local procedure DoSomethingOnCalculateCrossDockOnAfterAssignCrossDocDate(var WhseCrossDockOpp: Record "Whse. Cross-Dock Opportunity"; var CrossDockDate: Date; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10])
begin
end;
Parameters:
WhseCrossDockOpp: The cross-dock opportunity record being processed.CrossDockDate: The calculated cross-dock date that can be modified by custom logic.ItemNo: The item number for which cross-dock opportunities are being calculated.VariantCode: The item variant code being evaluated for cross-dock opportunities.LocationCode: The location code where cross-dock opportunities are being calculated.
OnInsertCrossDockLineOnBeforeCalculateQtyNeeded(Decimal, Decimal) :#
Summary: Event triggered before calculating the quantity needed for a cross-dock opportunity.
[IntegrationEvent(false, false)]
local procedure OnInsertCrossDockLineOnBeforeCalculateQtyNeeded(var QtyOutstanding: Decimal; var QtyOutstandingBase: Decimal):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnInsertCrossDockLineOnBeforeCalculateQtyNeeded', '', false, false)]
local procedure DoSomethingOnInsertCrossDockLineOnBeforeCalculateQtyNeeded(var QtyOutstanding: Decimal; var QtyOutstandingBase: Decimal)
begin
end;
Parameters:
QtyOutstanding: The outstanding quantity in the source document's unit of measure that can be modified.QtyOutstandingBase: The outstanding quantity in base unit of measure that can be modified.
OnUpdateQtyToCrossDockOnBeforeValidateQtyToCrossDock(Record Warehouse Receipt Line, Boolean) :#
Summary: Event triggered before validating and setting the cross-dock quantity on a warehouse receipt line.
[IntegrationEvent(false, false)]
local procedure OnUpdateQtyToCrossDockOnBeforeValidateQtyToCrossDock(WhseRcptLine: Record "Warehouse Receipt Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCrossDockManagement", 'OnUpdateQtyToCrossDockOnBeforeValidateQtyToCrossDock', '', false, false)]
local procedure DoSomethingOnUpdateQtyToCrossDockOnBeforeValidateQtyToCrossDock(WhseRcptLine: Record "Warehouse Receipt Line"; var IsHandled: Boolean)
begin
end;
Parameters:
WhseRcptLine: The warehouse receipt line for which the cross-dock quantity will be validated and updated.IsHandled: Boolean flag to indicate if the quantity validation and update has been handled by custom logic.