Class PO_PurchaseOrderQuoteVendors_bus

Properties

LOCAL cMainTable$="PO_PurchaseOrderQuoteVendors"  

[string] Main table for class

LOCAL cIsSysDB=isFALSE  

[boolean] Value denoting whether the main table is a system table

PROPERTY AuditTracking  

[boolean] Flag to indicate whether to track changes in audit trail

PROPERTY CurrentPurchaseOrderNo$  

[string] key value of current Purchase Order Number

PROPERTY DefaultPrintQuotes$  

[string] default value for PrintQuotes

PROPERTY HeaderObj=coHeaderBus  

[object handle] Object handle to the header business object that instantiated this class

PROPERTY MultipleVendors  

[boolean] Have multiple vendors been selected for the quote, True/False

Methods

FUNCTION CopyFromHistoryQuote(tmpPO$)  

Copy Quote Vendor records from a Quote in history into current Quote param tmpPO$ [input, string] purchase order number of quote in history to copy to current quote

Returns [boolean] True, always returns success
FUNCTION CopyFromQuote(tmpPO$)  

Copy Quote Vendor records from a Quote into current Quote param tmpPO$ [input, string] purchase order number of quote to copy to current quote

Returns [boolean] True, always returns success
FUNCTION CreatePhysicalTableFH()  

Create Physical Table Filehandle. Used by UI class to allow for cancel of changes. Saves current cPhysicalFH and replaces it with a memory table that contains the current record set.

Returns [boolean] True if successful, False if an error occurs during the method
FUNCTION Delete(key$)  

Delete quote vendor record and quote print record param key$ [input, string] Key to delete

Returns [boolean] True if successful, False if record is not deleted
FUNCTION DeleteAll()  

Delete All records for the purchase order quote

Returns [boolean] True if successful, False if an error occurs during deleting
FUNCTION GetContext$(destTable$)  

Get the contexts available for a table

ParameterDescription
destTable$ [input,string] table name
Returns [string] all contexts available for a given table
FUNCTION GetContextSourceTables$(context$)  

Get the source table for a context

ParameterDescription
context$ [input,string] context
Returns [string] source table for a given context
FUNCTION ResetDeleteFH()  

Reset Delete Filehandle. Used by UI class to reset delete memory table to state it was before editing began.

Returns [boolean] True, always returns success
FUNCTION ResetPhysicalTableFH()  

Reset Physical Table Filehandle. Used by UI class to reset business object to normal state.

Returns [boolean] True if successful, False if an error occurs during the method
FUNCTION SetAuditTracking(auditTrackingObj)  

Set the audit tracking object handle for the current instance of purchase order entry

ParameterDescription
auditTrackingObj [input, objhandle] object handle to the audit tracking object
Returns [boolean] always returns retSUCCESS
FUNCTION Write()  

Write quote print record

Returns [boolean] True if successful, or False if record is not written

Properties inherited from: CI_VendorNo_val

HoldPayment, SeparateCheck

Properties inherited from: PO_Constant

allocateByCOST$, allocateByQUANTITY$, allocateByVOLUME$, allocateByWEIGHT$, ordTypeDROPSHIP$, ordTypeMASTER$, ordTypeMATERIALREQ$, ordTypeREPEATING$, ordTypeSTANDARD$, ordTypeQUOTE$, ordTypeDROPSHIPDesc$, ordTypeMASTERDesc$, ordTypeMATERIALREQDesc$, ordTypeREPEATINGDesc$, ordTypeSTANDARDDesc$, ordTypeQUOTEDesc$, dataEntryRECEIPTGOODS$, dataEntryRECEIPTINVOICE$, dataEntryRETURNORDER$, dataEntryMATERIALISSUE$, openOrderITEM$, openOrderJOBWORKORDER$, openOrderWORKTICKET$, ordStatusNEW$, ordStatusOPEN$, ordStatusBACKORDERED$, ordStatusCHANGE$, ordStatusRECEIVED$, ordStatusCOMPLETE$, ordStatusCANCELLED$, priceTypeVENDOR$, priceTypePRODUCT$, priceTypeITEM$, priceMethodCOSTDISC$, priceMethodDISCPERCENT$, priceMethodSTANDARD$, quoteDfltCostHIERARCHY$, quoteDfltCostLAST$, quoteDfltCostAVERAGE$, quoteDfltCostSTANDARD$, quoteDfltCostZERO$, quoteDfltCostPROMPT$, prtTypeORDER$, prtTypeQUOTE$, QuantityMask$, CostMask$, PriceMask$, ExtensionAmtMask$, UnitOfMeasureMask$

Properties inherited from: SY_Customization

cDummyIol$

Properties inherited from: SY_Maint

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

Properties inherited from: SY_MaintSet

FileChanged

Methods inherited from: CI_APDivision_val

ClassValidateAPDivision()

Methods inherited from: CI_VendorNo_val

ClassValidateVendorNo()

Methods inherited from: SY_Customization

GetCustomizations(), PostTableRead(), PreNextRecord(), PreTableWrite()

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(), InitSearchForUpdate(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), PreWriteScripts(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule()

Methods inherited from: SY_MaintSet

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