Class PL_DefaultDocuments_bus

Properties

LOCAL cMainTable$="PL_DefaultDocuments"  

main table for class

LOCAL cIsSysDB=isTRUE  

boolean value denoting whether the main table is a system table

PROPERTY Documents$  

documents available for all companies or the selected company

Methods

FUNCTION ApplyDefaultRecords(tmpCompanyKey$, tmpDocumentType$, tmpCompanyCode$)  

Apply default records to entities

ParameterDescription
tmpCompanyKey$ [input,string] company key of default document entries to apply
tmpDocumentType$ [input,string] document type of default document entries to apply
tmpCompanyCode$ [input,string] company code for company key of default document entries to apply
Returns [boolean] True if successful, false if apply fails
FUNCTION ResetPLCommonUtility()  

Reset P/L Common Utility object

Returns [boolean] Always True
FUNCTION Write()  

Write Record

Returns [boolean] True if successful, false if value fails validation

Properties inherited from: PL_CommonKey_bus

cMainTable$, cIsSysDB, ActualCompanyALL, PaperlessType$, CompanyList$, ModuleList$, DocumentList$, EnabledFormTypes$, EnabledFormTypeTranslateList$, ReturnDocumentsWithModuleCode

Properties inherited from: SY_MaintSet

FileChanged

Methods inherited from: PL_CommonKey_bus

CheckPaperlessTypeFormExists(), CopyFrom(), GetCompanyInfo$(), GetDocumentInfo$(), GetDocumentList$(), GetModuleInfo$(), GetModuleList$(), GetTaskDescription$(), SetDefaults(), GetCompanyIndex(), GetDocumentIndex(), GetModuleIndex(), ValidateCompanyKey(), ValidateDocument(), ValidateDocumentType(), ValidateGroupPaperlessType(), ValidateModuleCode()

Methods inherited from: SY_MaintSet

ClearSetFiles(), CommitRow(), QuickRowLoad(), ResetRow(), SeedDetailRow(), SetFilter(), SetMode()