Codeunit WSB_DCAPDFArchiveBuffer
Properties
Name |
Value |
Access |
Internal |
SingleInstance |
True |
Methods
wgFncClearValues(Integer, Code[10])
Clears the buffered values for the specified report ID and sequence combination.
Parameters
Type |
Name |
Description |
Integer |
pReportID |
The ID of the report. |
Code[10] |
pSequence |
The sequence no. (of the report selection) |
wgFncPopValues(Integer, WSB_DCAPDFArchiveBuffer@):Boolean
Retrieves the first buffered PDF archive entry values for the specified report.
Parameters
Type |
Name |
Description |
Integer |
pReportID |
The ID of the report. |
Record "WSB_DCAPDFArchiveBuffer" temporary |
vRecTempWSB_DCAPDFArchiveBuffer |
The buffered values. |
Returns
Type |
Description |
Boolean |
true iff buffered values could be retrieved for the report. |
wgFncSetValues(Integer, Code[10], Code[20], Code[20], Boolean, Enum::WSB_DCAPDFArchiveScenario, Variant):Boolean
Buffers values for the PDF archive for a specified report.
Parameters
Type |
Name |
Description |
Integer |
pReportID |
The ID of the report. |
Code[10] |
pSequence |
The sequence no. (of the report selection). |
Code[20] |
pDocumentNo |
The Document No. |
Code[20] |
pCategoryCode |
The category code to store the PDF file to. |
Boolean |
pOverwriteExisting |
Whether to overwrite existing PDF files. |
Enum "WSB_DCAPDFArchiveScenario" |
pPDFArchiveScenario |
The scenario in which the PDF file was archived. |
Variant |
pRecRelatedVariant |
The document record. |
Returns
Type |
Description |
Boolean |
true iff values were added successfully. |