Codeunit 7035 Price Source - Vendor

Base Application, Microsoft.Pricing.Source

Source AL, 81 lines

src/Layers/W1/BaseApp/Pricing/Source/PriceSourceVendor.Codeunit.allines 10 to 25 of 81, Copyright (c) Microsoft Corporation. MIT

codeunit 7035 "Price Source - Vendor" implements "Price Source"{    var        Vendor: Record Vendor;        ParentErr: Label 'Parent Source No. must be blank for Vendor source type.';    procedure GetNo(var PriceSource: Record "Price Source")    begin        if Vendor.GetBySystemId(PriceSource."Source ID") then begin            PriceSource."Source No." := Vendor."No.";            FillAdditionalFields(PriceSource);        end else            PriceSource.InitSource();    end;    procedure GetId(var PriceSource: Record "Price Source")

All 81 lines

Events 1 in 29

[IntegrationEvent] OnAfterFillAdditionalFields(var PriceSource: Record "Price Source"; Vendor: Record Vendor)new in 21

Public procedures 7 in 29

GetNo(var PriceSource: Record "Price Source")17-29
GetId(var PriceSource: Record "Price Source")17-29
IsForAmountType(AmountType: Enum "Price Amount Type"): Boolean17-29
IsSourceNoAllowed(): Boolean17-29
IsLookupOK(var PriceSource: Record "Price Source"): Boolean17-29
VerifyParent(var PriceSource: Record "Price Source"): Boolean17-29

All 7 procedures

Changes 1 in 21

List17181920212223242526272829
Events1
[IntegrationEvent] OnAfterFillAdditionalFields(var PriceSource: Record "Price Source"; Vendor: Record Vendor)new in 21
added

All 1 changes in 17-29