KVSKBAAppendixList#
Events#
OnAfterGetRecordOnBeforeSetPageEditable(Record KVSKBAAppendix, Boolean) :#
Summary: Event raised on OnAfterGetRecord trigger before setting page editable.
[IntegrationEvent(false, false)]
local procedure OnAfterGetRecordOnBeforeSetPageEditable(var KVSKBAAppendix: Record "KVSKBAAppendix"; var PageEditable: Boolean):
[EventSubscriber(ObjectType::Page, Page::"KVSKBAAppendixList", 'OnAfterGetRecordOnBeforeSetPageEditable', '', false, false)]
local procedure DoSomethingOnAfterGetRecordOnBeforeSetPageEditable(var KVSKBAAppendix: Record "KVSKBAAppendix"; var PageEditable: Boolean)
begin
end;
Parameters:
KVSKBAAppendix: The record of the appendix list page.PageEditable: Indicates whether the page is editable. The subscriber can set this parameter to true or false to control the editability of the page.
Remarks: The page will be set to non-editable when the appendix is related to sales or purchase archive, and the document line no. is 0. This event allows to control the editability of the page with a custom logic.
OnOpenPageOnBeforeSetPageEditable(Record KVSKBAAppendix, Boolean) :#
Summary: Event raised on OnOpenPage trigger before setting page editable.
[IntegrationEvent(false, false)]
local procedure OnOpenPageOnBeforeSetPageEditable(var KVSKBAAppendix: Record "KVSKBAAppendix"; var PageEditable: Boolean):
[EventSubscriber(ObjectType::Page, Page::"KVSKBAAppendixList", 'OnOpenPageOnBeforeSetPageEditable', '', false, false)]
local procedure DoSomethingOnOpenPageOnBeforeSetPageEditable(var KVSKBAAppendix: Record "KVSKBAAppendix"; var PageEditable: Boolean)
begin
end;
Parameters:
KVSKBAAppendix: The record of the appendix list page.PageEditable: Indicates whether the page is editable. The subscriber can set this parameter to true or false to control the editability of the page.
Remarks: The page will be set to non-editable when the appendix is related to sales or purchase archive, and the document line no. is 0. This event allows to control the editability of the page with a custom logic.