Report ID | Report Name |
---|---|
1306 | Sales - Invoice |
1307 | Sales - Credit Memo |
5911 | Service - Invoice |
5912 | Service - Credit Memo |
Note
The fiskaltrust POS Interface was developed with the prefix "NCCR". NCCR stands for NAVAX Consulting Cash Register.reportextension 70167825 "NCCR Standard Sales - Invoice" extends "Standard Sales - Invoice"
{
dataset
{
add(Header)
{
column(NCCRDataExists; NCCRReportDataMgt.GetSalesInvoiceNCCRData(Header))
{
}
column(NCCRPosting; Header."NCCR Posting")
{
}
column(NCCRHeader; NCCRReportDataMgt.GetTempNCCRHeader())
{
}
column(NCCRFooter; NCCRReportDataMgt.GetTempNCCRFooter())
{
}
column(NCCRPaymentAmount; NCCRReportDataMgt.GetNCCRPaymentAmount())
{
AutoFormatExpression = Header."Currency Code";
}
column(NCCRPaymentAmountText; NCCRReportDataMgt.GetNCCRPaymentAmountText())
{
}
column(NCCRPaymentDiscountAmount; NCCRReportDataMgt.GetNCCRPaymentDiscountAmount())
{
AutoFormatExpression = Header."Currency Code";
}
column(NCCRPaymentDiscountAmountText; NCCRReportDataMgt.GetNCCRPaymentDiscountAmountText())
{
}
}
addafter(Line)
{
dataitem(NCCRQRCode; Integer)
{
DataItemTableView = sorting(Number);
column(NCCRQRNumber; Number)
{
}
column(NCCRQRText; TempSignatureNCCREntryDocumentData.GetData())
{
}
column(NCCRQRImage; TempSignatureNCCREntryDocumentData."QR Code")
{
}
column(NCCRQRImageHasValue; TempSignatureNCCREntryDocumentData."QR Code".HasValue())
{
}
column(NCCRQRSize; Format(TempSignatureNCCREntryDocumentData."QR Code Size", 0, 2))
{
}
trigger OnPreDataItem()
begin
NCCRReportDataMgt.GetTempSignatureNCCREntryDocumentData(TempSignatureNCCREntryDocumentData);
SetRange(Number, 1, TempSignatureNCCREntryDocumentData.Count());
end;
trigger OnAfterGetRecord()
begin
if (Number = 1) then
TempSignatureNCCREntryDocumentData.Find('-')
else
TempSignatureNCCREntryDocumentData.Next();
TempSignatureNCCREntryDocumentData.CalcFields("QR Code");
end;
}
}
}
rendering
{
layout("NCCR Default Layout")
{
Type = RDLC;
LayoutFile = './src/reportext/NCCRStandardSalesInvoice.rdlc';
Caption = 'Cash Register Default Layout', Comment = 'DEU="Registrierkasse Standardlayout"';
Summary = 'The default layout of the Cash Register resp. the fiskaltrust POS Interface.', Comment = 'DEU="Das Standardlayout der Registrierkasse bzw. vom fiskaltrust POS Interface."';
}
}
var
TempSignatureNCCREntryDocumentData: Record "NCCR Entry Document Data" temporary;
NCCRReportDataMgt: Codeunit "NCCR Report Data Mgt.";
}
Tip
Change the file extension to .rdl if you cannot edit .rdlc files.NCCA Cost Accounting Cost Accounting - up to 8 dimensions, allocations with many variants, comprehensive evaluations. More information AppSource |