Source AL, 532 lines
src/Layers/W1/BaseApp/Service/Document/ServiceWarehouseMgt.Codeunit.allines 21 to 36 of 532, Copyright (c) Microsoft Corporation. MIT
codeunit 5995 "Service Warehouse Mgt."{ var WhseManagement: Codeunit "Whse. Management"; WhseValidateSourceHeader: Codeunit "Whse. Validate Source Header"; WhseValidateSourceLine: Codeunit "Whse. Validate Source Line"; MustNotBeGreaterErr: Label 'must not be greater than %1 units', Comment = '%1 - Quantity'; [EventSubscriber(ObjectType::Codeunit, Codeunit::"WMS Management", 'OnShowSourceDocLine', '', true, false)] local procedure OnShowSourceDocLine(SourceType: Integer; SourceSubType: Option; SourceNo: Code[20]; SourceLineNo: Integer; SourceSubLineNo: Integer) var ServiceLine: Record "Service Line"; IsHandled: Boolean; begin if SourceType = Database::"Service Line" then begin ServiceLine.Reset();
All 532 lines
Events 15 in 29
| [IntegrationEvent] OnBeforeShowServiceLines(var ServiceLine: Record "Service Line"; SourceSubType: Integer; SourceNo: Code[20]; SourceLineNo: Integer; var IsHandled: Boolean) | new in 23 |
| [IntegrationEvent] OnBeforeShowAttachedServiceLines(var ServiceLine: Record "Service Line"; SourceSubType: Integer; SourceNo: Code[20]; SourceLineNo: Integer; var IsHandled: Boolean) | new in 23 |
| [IntegrationEvent] OnAfterServiceLineVerifyChange(var NewRecordRef: RecordRef; var OldRecordRef: RecordRef) | new in 23 |
| [IntegrationEvent] OnAfterServiceLineDelete(var ServiceLine: Record "Service Line") | new in 23 |
| [IntegrationEvent] OnBeforeServiceLineVerifyChange(var NewServiceLine: Record "Service Line"; var OldServiceLine: Record "Service Line"; var IsHandled: Boolean) | new in 23 |
| [IntegrationEvent] OnAfterCreateShptLineFromServiceLine(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; WarehouseShipmentHeader: Record "Warehouse Shipment Header"; ServiceLine: Record "Service Line") | new in 23 |
| [IntegrationEvent] OnBeforeFromService2ShptLine(WarehouseShipmentHeader: Record "Warehouse Shipment Header"; ServiceLine: Record "Service Line"; var Result: Boolean; var IsHandled: Boolean) | new in 23 |
All 15 events
Public procedures 6 in 29
Changes 4 in 25
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Events | | | | | | | | | 4 | | | | |
|---|
| [IntegrationEvent] OnBeforeCalcCrossDockToServiceOrder(var WhseCrossDockOpportunity: Record "Whse. Cross-Dock Opportunity"; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; CrossDockDate: Date; var QtyOnPick: Decimal; var QtyPicked: Decimal; LineNo: Integer; var IsHandled: Boolean) | new in 25 |
| added |
| [IntegrationEvent] OnCalcCrossDockToServiceOrderOnAfterServiceLineSetFilters(var ServiceLine: Record "Service Line"; var WhseCrossDockOpp: Record "Whse. Cross-Dock Opportunity"; var QtyOnPick: Decimal; var QtyPicked: Decimal; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; CrossDockDate: Date; LineNo: Integer) | new in 25 |
| added |
| [IntegrationEvent] OnCalcCrossDockToServiceOrderOnAfterInsertCrossDockLine(ServiceLine: Record "Service Line"; var WhseCrossDockOpp: Record "Whse. Cross-Dock Opportunity"; var QtyOnPick: Decimal; var QtyPicked: Decimal; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; CrossDockDate: Date; LineNo: Integer) | new in 25 |
| added |
| [IntegrationEvent] OnCalcCrossDockToServiceOrderOnBeforeInsertCrossDockLine(ServiceLine: Record "Service Line"; var WhseCrossDockOpp: Record "Whse. Cross-Dock Opportunity"; var QtyOnPick: Decimal; var QtyPicked: Decimal; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; CrossDockDate: Date; LineNo: Integer) | new in 25 |
| added |
All 4 changes in 23-29