Hi all,
I have a requirement where i am trying to code an extension to extend SystemPart page i.e. Links.
There is no such page option for "Links" that i see in VS code to extend SystemPart.Can anyone tell me what I should replace "Document Attachment Factbox" and modify(Documents) with?
pageextension 50117 "Attachments" extends "Document Attachment Factbox"
{
layout
{
// Add changes to page layout here
modify(Documents)
{ //BlankZero = true;
ShowMandatory = true;
}
}
var
NoDocumentAttachmentsErr: Label 'Please attach Document';
trigger OnClosePage()
var
DocAtt: Record "Document Attachment";
begin
DocAtt.Reset();
DocAtt.SetRange("Table ID", 2000000068);
DocAtt.SetRange("Document Type", DocAtt."Document Type"::Quote);
//DocAtt.SetRange("No.",rec."No.");
if not DocAtt.FindFirst() then
Error(NoDocumentAttachmentsErr);
end;
}