Codeunit 18121905 EOS069 DocSolutions Management
Codeunit 18121905 EOS069 DocSolutions Management
Methods
GetTableCertified
procedure GetTableCertified(iIntTableID: Integer; iOptOptionType: Option): Boolean
Will delete the DCS Files if the related DCS Table Setup has “Delete Attch. on Rec. Delete” flag
Parameters / Return Value
iIntTableID
Integer
The table ID.
iOptOptionType
Option
The table option type.
Returns
Boolean
Return true if is certified
TransferMetadata
procedure TransferMetadata(var FromRec: Record "EOS Record Ident. Buffer"; var ToRec: Record "EOS Record Ident. Buffer")
Transfer attached files from a record to another
Parameters / Return Value
FromRec
Record "EOS Record Ident. Buffer"
From record
ToRec
Record "EOS Record Ident. Buffer"
To record
CanReadLibrary
procedure CanReadLibrary(LibraryCode: Code[20]; InUserId: Code[65]; WithError: Boolean): Boolean
Check if current user can read the library
Parameters / Return Value
LibraryCode
Code[20]
the library to check
InUserId
Code[65]
the user id
WithError
Boolean
if true will throw an error
Returns
Boolean
Return true if has the permission
CanWriteLibrary
procedure CanWriteLibrary(LibraryCode: Code[20]; InUserId: Code[65]; WithError: Boolean): Boolean
Check if current user can write the library
Parameters / Return Value
LibraryCode
Code[20]
the library to check
InUserId
Code[65]
the user id
WithError
Boolean
if true will throw an error
Returns
Boolean
Return true if has the permission
IsEnabledForRecordList
procedure IsEnabledForRecordList(DocVariant: Variant): Boolean
Used to check if the factbox need to be visible into page of type list
Parameters / Return Value
DocVariant
Variant
The source record
Returns
Boolean
Return true if the factbox need to be visible
IsEnabledForRecord
procedure IsEnabledForRecord(DocVariant: Variant): Boolean
Used to check if the factbox need to be visible into a generic page
Parameters / Return Value
DocVariant
Variant
The source record
Returns
Boolean
Return true if the factbox need to be visible
loadDefaults
procedure loadDefaults()
Load defaults into setups
GetReportSelectionUsageBySourceRecord
procedure GetReportSelectionUsageBySourceRecord(DocumentRecRef: RecordRef) Result: Integer
Get the report selection for the record
Parameters / Return Value
DocumentRecRef
RecordRef
the document record ref
Returns
Integer
PrintAndUpload
procedure PrintAndUpload(recref: RecordRef)
will print the associated report and upload to docsolution
Parameters / Return Value
recref
RecordRef
The document recordref
UploadReport
procedure UploadReport(SourceRecRef: recordRef; ReportID: Integer; filename: Text)
will print the associated report and upload to docsolution
Parameters / Return Value
SourceRecRef
recordRef
The document recordref
ReportID
Integer
The report ID to use
filename
Text[]
The filename to use during upload
CreateJobQueue
procedure CreateJobQueue()
CreateGroupsFromPermissionSets
procedure CreateGroupsFromPermissionSets()
Events
onDiscoverDefaultsStorages
procedure onDiscoverDefaultsStorages(var TempNameValueBuffer: Record "Name/Value Buffer" temporary)
Parameters / Return Value
- TempNameValueBuffer
Record "Name/Value Buffer"
onRunLoadDefaults
procedure onRunLoadDefaults(id: Guid)
Parameters / Return Value
- id
Guid
OnBeforePrintAndUpload
local procedure OnBeforePrintAndUpload(recref: RecordRef; var handled: Boolean)
Parameters / Return Value
recref
RecordRef
handled
Boolean
OnAfterPrintAndUpload
local procedure OnAfterPrintAndUpload(recref: RecordRef)
Parameters / Return Value
- recref
RecordRef
OnBeforeCreateJobQueue
local procedure OnBeforeCreateJobQueue(var handled: Boolean)
Parameters / Return Value
- handled
Boolean
OnBeforeInsertJobQueue
local procedure OnBeforeInsertJobQueue(var JobQueueEntry: Record "Job Queue Entry")
Parameters / Return Value
- JobQueueEntry
Record "Job Queue Entry"
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.