microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
773 stars 610 forks source link

[Event Request] codeunit 7017 "Price List Management" - OnCheckIfPriceListLineMarkingIsNeededOnBeforeFindLines #26788

Closed Duizy1971 closed 2 months ago

Duizy1971 commented 3 months ago

Describe the request

local procedure CheckIfPriceListLineMarkingIsNeeded(var PriceListLine: Record "Price List Line"; PriceAssetList: Codeunit "Price Asset List"): Boolean;
....
                PriceListLine.SetRange("Variant Code");
            OnCheckIfPriceListLineMarkingIsNeededOnBeforeFindLines(PriceListLine, PriceAsset);
            if not PriceListLine.IsEmpty() then begin
....
end;

[IntegrationEvent(false, false)]
local procedure OnCheckIfPriceListLineMarkingIsNeededOnBeforeFindLines(var PriceListLine: Record "Price List Line"; var PriceAsset: Record "Price Asset")
begin
end;

Additional context

We have a new price asset Attribute and we are not able to show them from the Item Card with action "Sales Prices". We are not able to set enough filters to enable MarkingIsUsed := true and rec.MarkedOnly(true); Internal work item: AB#540597

JesperSchulz commented 2 months ago

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: 21720.