Source AL, 467 lines
src/Layers/W1/BaseApp/Purchases/Document/PurchAvailabilityMgt.Codeunit.allines 12 to 27 of 467, Copyright (c) Microsoft Corporation. MIT
codeunit 99000973 "Purch. Availability Mgt."{ var PurchaseTxt: Label 'Purchase'; PurchaseDocumentTxt: Label 'Purchase %1', Comment = '%1 - document type'; UnsupportedEntitySourceErr: Label 'Unsupported Entity Source Type = %1, Source Subtype = %2.', Comment = '%1 = source type, %2 = source subtype'; // Page "Demand Overview" [EventSubscriber(ObjectType::Page, Page::"Demand Overview", 'OnSourceTypeTextOnFormat', '', false, false)] local procedure OnSourceTypeTextOnFormat(var AvailabilityCalcOverview: Record "Availability Calc. Overview"; var Text: Text) begin if AvailabilityCalcOverview."Source Type" = Database::"Purchase Line" then Text := PurchaseTxt; end;
All 467 lines
Events 6 in 29
| [IntegrationEvent] OnBeforeShowItemAvailFromPurchLine(var Item: Record Item; var PurchLine: Record "Purchase Line"; var IsHandled: Boolean; AvailabilityType: Enum "Item Availability Type") | new in 25 |
| [IntegrationEvent] OnLookupEntriesOnAfterPurchLineSetFilters(var Item: Record Item; var PurchLine: Record "Purchase Line") | new in 25 |
| [IntegrationEvent] OnAfterTransferFromPurchase(var InventoryEventBuffer: Record "Inventory Event Buffer"; PurchaseLine: Record "Purchase Line") | new in 25 |
| [IntegrationEvent] OnAfterTransferFromPurchReturn(var InventoryEventBuffer: Record "Inventory Event Buffer"; PurchaseLine: Record "Purchase Line") | new in 25 |
| [IntegrationEvent] OnBeforeUpdatePurchOrderAvail(var AvailabilityAtDate: Record "Availability at Date"; var Item: Record Item; var IsHandled: Boolean) | new in 25 |
| [IntegrationEvent] OnTransferPurchaseLineOnBeforeUnsupportedSourceError(var InventoryPageData: Record "Inventory Page Data"; InventoryEventBuffer: Record "Inventory Event Buffer"; var IsHandled: Boolean; SourceType: Integer; SourceSubtype: Integer; SourceID: Code[20]; PurchaseHeader: Record "Purchase Header") | new in 28 |
Public procedures 4 in 29
Changes 1 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Events | | | | | | | | | | | | 1 | |
|---|
| [IntegrationEvent] OnTransferPurchaseLineOnBeforeUnsupportedSourceError(var InventoryPageData: Record "Inventory Page Data"; InventoryEventBuffer: Record "Inventory Event Buffer"; var IsHandled: Boolean; SourceType: Integer; SourceSubtype: Integer; SourceID: Code[20]; PurchaseHeader: Record "Purchase Header") | new in 28 |
| added |
All 1 changes in 25-29