Codeunit 52101149 (Table Functions)
The following functions are implemented in this codeunit:
-
FillPrimaryKeyFromQueue()
-
FillPrimaryKeyFromParameter()
-
CreatePDF()
-
ShowDocumentTypeInMapping()
-
SchedulingActive()
-
GetMacroValue()
The primary key must be defined in these functions if new tables are required.
Functions FillPrimaryKeyFromQueue() and FillPrimaryKeyFromParameter()
'strPrimaryKey' is an array. The primary key must be assigned as text in the correct sequence.
CreatePDF()
This function creates PDF files. For each table, the dataset must be positioned and 'REPORT.SAVEASPDF()' must be called.
ShowDocumentTypeInMapping()
This function makes the field Document type editable in the mapping (in this case for tables 36 and 38).
ScheduleingActive()
Function for the NAS, when the service is active.
GetMacroValue()
If further macros are required for mapping, the Case-Statement can simply be expanded.