Class PO_PurgePOPurchasesHistory

Properties

No Properties

Methods

FUNCTION LOCAL PurgeHistoryPO(progress$, inDate$, basedOn$)  

Purges PO_PurchasesHistory file based on number of years to retain purchases history by item and vendor

ParameterDescription
progress$ [string] updates the progress meter
inDate$ [input, string] is the date used to purge data
basedOn$ [input, string] is either R for ReceiptDate or P for PostingDate used to purge the data
Returns [boolean] retSUCCESS

Properties inherited from: SY_CommonUI

ViewOnly, ScriptsDefined, DocDateWarnDisplayed, DocDateWarnForceOff

Properties inherited from: SY_OpenObject

cLockInfoNOKEY$

Methods inherited from: SY_CommonUI

CallScript(), ClassFormatterDate$(), ClassFormatterTime$(), ClassFormatterUdfYesNo$(), ClassOnfocusDate(), ClassPushCreditRptPush(), ClassPushDeliveryOptionsPush(), ClassPushEmailPush(), ClassPushExecute(), ClassPushExplorerView(), ClassPushHyperlinkPush(), ClassPushMapPush(), ClassPushPkgTrackingPush(), ClassPushURLPush(), ClassValidateDate$(), ClassValidateDocumentDate(), ClassValidateUdfYesNo$(), DropBoxLoad(), FormatNumericTime(), GetControlProperty(), GetDateMasked(), GetDateRaw(), GetFolderName$(), GetPanelName$(), GetScreenName$(), GetValue(), HandleScriptUI(), InvokeChange(), InvokeLookup(), ListBoxLoad(), Process(), SetControlProperty(), SetDocDateWarnOff(), AppendTitleBar(), BT_ListBoxExportToExcel(), BT_SageU(), CheckForScripts(), ClassChangeTelephoneNoUI(), ClassPushDirectoryButton(), DrillDown(), GetListboxIol$(), GetScriptUIGroup$(), InitScriptEngine(), NomadsProcess(), ParseTagField(), SetControlState(), SetKeyState(), ShowDocumentDateWarning(), ShowSageUniversity(), Status()

Methods inherited from: SY_OpenObject

CheckWhoHasLock(), CreateLockInfo(), RemoveLockInfo(), OpenTable(), OpenTempFile()