Class PO_Options_bus

Known SubClasses

PO_SetupWizard_bus

Properties

LOCAL cIsSysDB=isFALSE  
LOCAL cModuleCode$="P/O"  
LOCAL cMainTable$="PO_Options"  
PROPERTY AP_SalesTaxReporting$   * Read Only *
PROPERTY BC_Setup   * Read Only *
PROPERTY BR_Setup   * Read Only *
PROPERTY GL_FiscalYearsLoad$   * Read Only *
PROPERTY GL_PeriodsLoad$   * Read Only *
PROPERTY GL_Setup   * Read Only *
PROPERTY IM_BaseInventoryPeriodsOn$   * Read Only *
PROPERTY IM_MultipleWarehouses$   * Read Only *
PROPERTY IM_Setup   * Read Only *
PROPERTY JC_Setup   * Read Only *
PROPERTY JCIntegratedInAP$   * Read Only *
PROPERTY SkipPostWriteRec  
PROPERTY SO_Setup   * Read Only *
PROPERTY WO_Setup   * Read Only *

Methods

FUNCTION Delete(key$)  
FUNCTION SetCurrentPeriod(value$)  
FUNCTION SetCurrentYear(value$)  
FUNCTION SetDefaults()  

Sets the default values for the fields in a new record

Returns [boolean] Always returns success
FUNCTION Write()  
FUNCTION LOCAL PERFORM CheckDataEntries()  
FUNCTION LOCAL PostWriteRec()  
FUNCTION LOCAL SetChildColl()  
FUNCTION LOCAL ValidateAccessPOEntryAfterGeneration(value$)  
FUNCTION LOCAL ValidateAllocateFreightByLine(value$)  
FUNCTION LOCAL ValidateAllowEntryOfLandedCost(value$)  
FUNCTION LOCAL ValidateAllowEntryOfTaxAndFreight(value$)  
FUNCTION LOCAL ValidateAutoClosePartialReceivedPOs(value$)  
FUNCTION LOCAL ValidateBasePOHeaderReqDateOn(value$)  
FUNCTION LOCAL ValidateCombineSalesOrdersByVendor(value$)  
FUNCTION LOCAL ValidateCurrentCalendarYr(value$)  
FUNCTION LOCAL ValidateCurrentFiscalYr(value$)  
FUNCTION LOCAL ValidateCurrentPeriod(value$)  
FUNCTION LOCAL ValidateDefaultWarehouseCode(value$)  
FUNCTION LOCAL ValidateEnablePOGenerationInSOEntry(value$)  
FUNCTION LOCAL ValidateIncludeSOFieldConfirmTo(value$)  
FUNCTION LOCAL ValidateIncludeSOFieldEmailAddress(value$)  
FUNCTION LOCAL ValidateIncludeSOFieldFOBDSOnly(value$)  
FUNCTION LOCAL ValidateIncludeSOFieldShipToAddrDSOnly(value$)  
FUNCTION LOCAL ValidateIncludeSOFieldShipViaDSOnly(value$)  
FUNCTION LOCAL ValidateIntegrateBankRec(value$)  
FUNCTION LOCAL ValidateIntegrateGeneralLedger(value$)  
FUNCTION LOCAL ValidateIntegrateInventory(value$)  
FUNCTION LOCAL ValidateIntegrateJobCost(value$)  
FUNCTION LOCAL ValidateIntegrateWorkOrder(value$)  
FUNCTION LOCAL ValidatePrintBarCodeReceivers(value$)  
FUNCTION LOCAL ValidatePrintPOAfterGeneration(value$)  
FUNCTION LOCAL ValidatePrintReturnOrders(value$)  

If deselecting to print return orders set RedisplayAllDocuments and RedisplayReturnOrders to N

ParameterDescription
value$ [input, string] Y/N value for PrintReturnOrders
Returns [boolean] True for success
FUNCTION LOCAL ValidatePrintTaxDetailOnRegisters(value$)  
FUNCTION LOCAL ValidatePrintTaxJrnlsInDetail(value$)  
FUNCTION LOCAL ValidatePrintUsageInfoOnAutoReorderReg(value$)  
FUNCTION LOCAL ValidatePromptToGeneratePO(value$)  
FUNCTION LOCAL ValidateRedisplayAllDocuments(value$)  

If selecting to print all documents(PrintReturnOrders=Y) set RedisplayPurchaseOrders and RedisplayReturnOrders to Y. Can't change this value if PrintReturnOrders is not selected

ParameterDescription
value$ [input, string] Y/N value for RedisplayAllDocuments
Returns [boolean] True for success
FUNCTION LOCAL ValidateRedisplayPurchaseOrders(value$)  

Updates RedisplayAllDocuments if both this control and RedisplayReturnOrders are set to Y else sets RedisplayAllDocuments to N

ParameterDescription
value$ [input, string] Y/N value for RedisplayPurchaseOrders
Returns [boolean] True for success
FUNCTION LOCAL ValidateRedisplayReturnOrders(value$)  

Updates RedisplayAlldocuments all documents if both this control and RedisplayPurchaseOrders are set to Y else sets RedisplayAllDocuments to N. Can't change this value if PrintReturnOrders is not selected

ParameterDescription
value$ [input, string] Y/N value for RedisplayReturnOrders
Returns [boolean] True for success, False for failure
FUNCTION LOCAL ValidateRetainCommentLnsInReceiptHist(value$)  
FUNCTION LOCAL ValidateRetainPurchaseOrderHistory(value$)  

Validates Retain purchase order history value.

Returns [boolean] Always returns retSUCCESS.
FUNCTION LOCAL ValidateSortPOLinesBy(value$)  

Validates Sort Purchase Order Lines By

Returns [boolean] retSUCCESS or retFAILURE
FUNCTION LOCAL ValidateYearsToRetainPurchasesHist(value)  

Properties inherited from: SY_Maint

cActionWrite, cActionDelete, cActivityLogFilePrefix$, DocDateWarnDisplayed, DocDateWarnStatus, EditState, RecordChanged, FirstFailure$, DocumentTotal, ReadOnlyReason$, UDTValidation$, ViewOnly, CurrentPrecision, DocDateWarnForceOff, DocDateWarnObject, ScriptObject, ImportTest

Methods inherited from: CI_Account_Val

ClassOverrideAccount(), ClassValidateAccount(), ResetAccountIndex()

Methods inherited from: CI_BankCode_val

ClassValidateBankCode()

Methods inherited from: CI_Warehouse_val

SetAllowInactiveRestrictedWhse(), ClassValidateWarehouse(), GetClassName$()

Methods inherited from: SY_Maint

ChangedRecordCompare(), ChangedRecordInfo(), Clear(), ClearRecord(), ConfirmDelete(), CopyFrom(), ExportToCSV(), GetColumnInfo(), GetColumnProperties$(), GetDefaults(), GetOrigRecord$(), GetPropertyValue(), GetValidationGroups$(), ResetDocDateWarnState(), SetCopyKeyValue(), SetDocDateWarnDisplayed(), SetDocDateWarnOff(), SetKey(), SetKeyValue(), SetPartialRecord(), SetRecord(), SetToReadOnly(), SetValue(), SetValues(), Write(), ActivityLogCreateFile(), ActivityLogPrepare(), ActivityLogSetMessage$(), ActivityLogWrite(), CallScript(), CheckForAdvancedFieldSettings(), CheckForScripts(), CheckNullRequiredField(), PERFORM ChildValidate(), ClassValidateDate(), ClassValidateTelephoneNo(), ClearSetFiles(), ColInfoInitAll(), ColInfoInitDefaults(), CommitRow(), GetPropertyCommon(), InitColInfo(), InitScriptEngine(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule()