report 50147 MyReport
{
UsageCategory = ReportsAndAnalysis;
ApplicationArea = All;
DefaultRenderingLayout = LayoutName;
dataset
{
dataitem("Company Information"; "Company Information")
{
column(Company_Name; Name)
{
IncludeCaption = true;
}
column(AddressCompany; Address)
{
IncludeCaption = true;
}
column(City; City)
{
IncludeCaption = true;
}
column(VAT_Registration_No_; "VAT Registration No.")
{
IncludeCaption = true;
}
// column(VAT_Registration_NoCaption; VAT_Registration_NoCaptionLbl)
// {
// }
column(Bank_Account_No_; "Bank Account No.")
{
IncludeCaption = true;
}
// column(Bank_Account_NumberCaption; Bank_Account_NumberCaptionLbl)
// {
// }
column(Picture; Picture)
{
IncludeCaption = true;
}
column(Phone_No_; "Phone No.")
{
IncludeCaption = true;
}
column(EMailComp; "E-Mail")
{
IncludeCaption = true;
}
trigger OnPreDataItem()
begin
end;
trigger OnAfterGetRecord()
begin
end;
}
}
rendering
{
layout(LayoutName)
{
Type = rdlc;
LayoutFile = 'mySpreadsheet.rdl';
}
}
// trigger OnPreReport()
// begin
// CompanyInfo.Reset();
// CompanyInfo.get();
// CompanyInfo.CalcFields(Picture);
// end;
trigger OnInitReport()
begin
"Company Information".Get();
"Company Information".SetAutoCalcFields(Picture);
end;
// trigger OnInitReport()
// var
// begin
// CompanyInfo.SetAutoCalcFields(Picture);
// CompanyInfo.Get();
// end;
// var
// CompanyInfo: Record "Company Information";
}