Codeunit 7039 Price Source - Campaign

Base Application, Microsoft.Pricing.Source

Source AL, 73 lines

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

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

All 73 lines

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