ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Table 352 Default Dimension - SetRangeToLastFieldInPrimaryKey "OnAfterSetRangeToLastFieldInPrimaryKey"
Can we please get the following event?
local procedure SetRangeToLastFieldInPrimaryKey(RecRef: RecordRef; Value: Code[20])
var
FieldRef: FieldRef;
KeyRef: KeyRef;
begin
KeyRef := RecRef.KeyIndex(1);
FieldRef := KeyRef.FieldIndex(KeyRef.FieldCount);
FieldRef.SetRange(Value);
OnAfterSetRangeToLastFieldInPrimaryKey(RecRef, FieldRef, Value); <-- NEW EVENT
end;
[IntegrationEvent(false, false)]
local procedure OnAfterSetRangeToLastFieldInPrimaryKey(RecRefP: RecordRef; var FieldRefP: FieldRef; ValueP: Code[20])
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.