Codeunit 18008263 EOS VAT Register - Print
Codeunit 18008263 EOS VAT Register - Print
Methods
SaveVATRegisters
procedure SaveVATRegisters(var VATRegister: Record "VAT Register"; PrintingType: Option; StartingDate: Date; EndingDate: Date; UsePageLabel: Boolean; PageLabelText: Text; PageLabelStart: Integer; PrintTest: Boolean)
Parameters / Return Value
VATRegister
Record "VAT Register"PrintingType
OptionStartingDate
DateEndingDate
DateUsePageLabel
BooleanPageLabelText
Text[]PageLabelStart
IntegerPrintTest
Boolean
SaveVATRegisters
procedure SaveVATRegisters(var VATRegister: Record "VAT Register"; PrintingType: Option; StartingDate: Date; EndingDate: Date; UsePageLabel: Boolean; PageLabelText: Text; PageLabelStart: Integer; PrintTest: Boolean; CheckDocDocNoSequence: Boolean)
Parameters / Return Value
VATRegister
Record "VAT Register"PrintingType
OptionStartingDate
DateEndingDate
DateUsePageLabel
BooleanPageLabelText
Text[]PageLabelStart
IntegerPrintTest
BooleanCheckDocDocNoSequence
Boolean
Events
OnBeforeExecuteVATRegisterReportPrint
procedure OnBeforeExecuteVATRegisterReportPrint(var VATRegister: Record "VAT Register"; PrintingType: Option; StartingDate: Date; EndingDate: Date; UsePageLabel: Boolean; PageLabelText: Text; PageLabelStart: Integer; PrintTest: Boolean; var Result: Codeunit "Temp Blob"; var isHandled: Boolean; var Headrecords: Boolean)
This event is raised once for each VATRegister, it adds the possibility to extract the VAT reports massively or to replace the standard underlying report with a custom one
Parameters / Return Value
VATRegister
Record "VAT Register"VAT register record that’s used in the report
PrintingType
OptionStates the report Printing type: Test, Definitive, Reprint
StartingDate
Datereport parameters
EndingDate
Datereport parameters
UsePageLabel
Booleanreport parameters
PageLabelText
Text[]report parameters
PageLabelStart
Integerreport parameters
PrintTest
Booleanreport parameters
Result
Codeunit "Temp Blob"Temp blob, should contain the report output as a PDF file
isHandled
Booleanif true, standard report will not be executed
Headrecords
BooleanMust be set to true if the report has produced an output
OnBeforeTempPdfBufferCount
local procedure OnBeforeTempPdfBufferCount(var TempPdfBuffer: Record "EOS Pdf Buffer" temporary; PrintingType: Option; StartingDate: Date; EndingDate: Date)
This event is raised before the TempPdfBuffer is counted and the zip file is created, it allowes to modify the TempPdfBuffer before the zip file is created
Parameters / Return Value
TempPdfBuffer
Record "EOS Pdf Buffer"PDF buffer that will be zipped
PrintingType
OptionPrinting Type of the report
StartingDate
DateStarting Date parameter
EndingDate
DateEnding Date parameter
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.