pePDFFacturXProfile - cDRReport¶
Methods - Properties - Events
Type¶
Default¶
C_drPDFFacturX_Extended
Arguments¶
None
Description¶
The Profile attribute specifies the level of information contained in the embedded Factur-X or ZUGFeRD XML invoice.
Different profiles are intended for different business and legal requirements. Higher profiles generally contain more detailed invoice information and support a wider range of automated processing scenarios.
Can be retrieved or set after the OCX is initialized.
Related topics¶
- psPDFAllPages
- pePDFFacturXRelationship
- pePDFImageQuality
- pePDFPageMode
- pePDFType
- piPDFPage
- psPDFXMLFileName
- psPDFOwnerPassword
- psPDFUserPassword
DataFlex Framework Usage¶
- Web
- Windows
- FlexTron
Sample¶
Object oReport is a cDRReport
Set psReportName to 'MyReport.dr'
End_Object
Object oExportToPDFReportButton is a Button
Set Label to 'Export Report to PDF'
Procedure OnClick
String sReportId
Get OpenReport of oReport to sReportId
If (sReportId <> '') Begin
Set psPDFXMLFileName of oReport to 'c:\test\facturx.xml'
Set pePDFFacturXRelationship of oReport to C_drPDFFacturX_Rel_Data
Set pePDFFacturXProfile of oReport to C_drPDFFacturX_XRechnung
Send ExportReport of oReport C_drPDF 'c:\tmp\MyReport.pdf'
End
End_Procedure
End_Object