ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Table 38 "Purchase Header" - CheckDropShipmentLineExists function
Hi, would it be possible to get an event in CheckDropShipmentLineExists function in the Purchase header table?
local procedure CheckDropShipmentLineExists()
var
SalesShipmentLine: Record "Sales Shipment Line";
IsHandled: Boolean;
begin
OnBeforeApplyFilterDropShipmentLineExists(SalesShipmentLine,IsHandled)
if IsHandled then
exit;
SalesShipmentLine.SetRange("Purchase Order No.", "No.");
SalesShipmentLine.SetRange("Drop Shipment", true);
if not SalesShipmentLine.IsEmpty() then
Error(YouCannotChangeFieldErr, FieldCaption("Buy-from Vendor No."));
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeApplyFilterDropShipmentLineExists(var SalesShipmentLine: Record "Sales Shipment Line"; var IsHandled: Boolean)
begin
end;
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: 13270.