Codeunit wDCR_ExportProfileMgt¶
Provides functions to work with export profiles.
Properties¶
Name | Value |
---|---|
Access | Public |
Methods¶
wgFncApplyPDFMergesToDocument¶
Applies the PDF Merges of the specified export profile to the passed PDF document.
Parameters¶
Type | Name | Description |
---|---|---|
Record "wDCR_ExportProfile" |
pRecwDCR_ExportProfile |
The export profile. |
InStream |
vInStreamOutputDoc |
The PDF Document as a Stream. |
Returns¶
Type | Description |
---|---|
Boolean |
true if PDF merges were applied |
wgFncClearPDFMergeFile¶
Clears the merge PDF for the passed export profile.
Parameters¶
Type | Name | Description |
---|---|---|
Record "wDCR_ExportProfilePDFMerge" |
vRecwDCR_ExportProfilePDFMerge |
The Document Creator Export Profile |
wgFncExportPDFMergeFile¶
Exports a PDF file of a Document Creator Export Profile, prompting the user for a destination to save the file.
Parameters¶
Type | Name | Description |
---|---|---|
Record "wDCR_ExportProfilePDFMerge" |
vRecwDCR_ExportProfilePDFMerge |
The Document Creator Export Profile PDF Merge. |
wgFncExportPDFMergeFile¶
Exports a PDF file of a Document Creator Export Profile and saves it to a Temp Blob.
Parameters¶
Type | Name | Description |
---|---|---|
Record "wDCR_ExportProfilePDFMerge" |
vRecwDCR_ExportProfilePDFMerge |
The Document Creator Export Profile PDF Merge. |
Codeunit "Temp Blob" |
vCduTempBlob |
A Temp Blob to save the merge PDF to. |
wgFncImportPDFMergeFile¶
Imports a merge PDF file for a Document Creator Export Profile, prompting the user to upload a PDF file.
Parameters¶
Type | Name | Description |
---|---|---|
Record "wDCR_ExportProfilePDFMerge" |
vRecwDCR_ExportProfilePDFMerge |
The Document Creator Export Profile. |
wgFncImportPDFMergeFile¶
Imports a merge PDF file for a Document Creator Export Profile.
Parameters¶
Type | Name | Description |
---|---|---|
Record "wDCR_ExportProfilePDFMerge" |
vRecwDCR_ExportProfilePDFMerge |
The PDF Merge record. |
Codeunit "Temp Blob" |
pCduTempBlob |
The Temp Blob containing the merge PDF. |
Text |
pPdfFileName |
The file name of the merge PDF. |
wgFncOpenExportProfilePage¶
Opens the Document Creator Export Profile page for a report layout record. If none is specified, the page will be opened for the default export profile.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Report Layout List" |
pRecReportLayoutList |
The Report Layout record. |
wgFncOpenExportProfilePage¶
Obsolete
Document Creator layouts have been moved to the report layout system tables. 2.0.0.0
Opens the Document Creator Export Profile page for a custom report layout record. If none is specified, the page will be opened for the default export profile.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Custom Report Layout" |
pRecCustomReportLayout |
The Custom Report Layout record. |
wgFncPDFMergesExistForExportProfile¶
Gets whether PDF Merges exist for a export profile.
Parameters¶
Type | Name | Description |
---|---|---|
Record "wDCR_ExportProfile" |
pRecwDCR_ExportProfile |
The export profile. |
wgFncOpenExportProfilePage¶
Opens the Document Creator Export Profile page for a report layout record. If none is specified, the page will be opened for the default export profile.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Report Layout List" |
pRecReportLayoutList |
The Report Layout record. |