Class IM_PriceCode_bus

Properties

LOCAL cMainTable$="IM_PriceCode"  
LOCAL cIsSysDB=isFALSE  
LOCAL cPerformCreditChecking=isFALSE  
LOCAL cItemTypes$  
LOCAL cSkipUseInTest  
LOCAL cAllowAliasItems=isFALSE  
LOCAL cAllowPhantom=isTRUE  
LOCAL cAllowEngineering=isTRUE  
LOCAL cAllowInactive=isTRUE  
PROPERTY AuditTracking  

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

PROPERTY QuantityMask$  

Methods

FUNCTION CopyFrom(key$)  
FUNCTION Delete(key$)  

Deletes price code record and updates audit tracking.

ParameterDescription
key$ [input, string] key to delete
Returns [boolean] retSUCCESS (1) or retFAILURE (0)
FUNCTION SetKey(key$)  
FUNCTION Write()  

Writes price code record and updates audit tracking

Returns [boolean] retSUCCESS (1) or retFAILURE (0)

Properties inherited from: CI_CustomerNo_val

cAllowCashCust, cPerformCreditChecking, CreditExceeded, CreditHold, PerformCreditChecking, AllowCashCustomer

Properties inherited from: CI_ItemCode_val

cItemTypes$, cAllowAliasItems, cAliasItemTypes$, cItemCodeDescCol$, cItemTypeCol$, cExtDescKeyCol$, ItemTypes$, AllowAliasItems, AliasItemTypes$, ExtendedDescriptionBusiness, ItemCodeDescCol$, AllowPhantom, AllowEngineering, AllowInactive, InvalidPurchase, IMIntegrated

Properties inherited from: CI_PriceBreak_val

priceMethodDISCOUNTAMT$, priceMethodDISCOUNTPRC$, priceMethodMARKUPAMT$, priceMethodMARKUPPCT$, priceMethodOVERRIDE$, MaxSteps, MaxQty

Properties inherited from: IM_Constant

trnSALE$, trnISSUE$, trnTRANSFER$, trnADJUST$, trnRECEIPT$, trnCOUNTCARD$, segTWO$, segTHREE$, segFOUR$, segFIVE$, segSIX$, segSEVEN$, segEIGHT$, segNINE$, segTEN$, segNONE$, pcrPRICECODE$, pcrITEM$, pcrITEMCUSTOMER$

Properties inherited from: SY_Maint

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

Methods inherited from: CI_ARDivision_val

ClassValidateARDivision()

Methods inherited from: CI_CustomerNo_val

GetNextCustomerNo(), ClassOverrideCustomerNo(), ClassValidateCustomerNo()

Methods inherited from: CI_ItemCode_val

Write(), PERFORM CheckForAlias(), PERFORM CheckUseIn(), CheckValidBill(), ClassOverrideDescription(), ClassOverrideItemCode(), ClassValidateDescription(), ClassValidateItemCode(), ItemTypeSetDefaults(), PERFORM ItemTypeSetDefaults(), UpdateGridExtendedDescKey(), ValidateGroupNotCurrentItemType()

Methods inherited from: CI_PriceBreak_val

CalculateMaximums(), CalculateNextLevel(), ClassValidateBreakQuantity(), ClassValidateDiscountMarkup(), ClearBreakQty(), ClearDiscountMarkup(), PostFind(), SetPriceBreakDefaults(), ValidatePricingMethod()

Methods inherited from: IM_Constant

GetTransactionType$()

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()