public class PurchasePayment extends DBObject
DBObject.DenormalizeAction| Modifier and Type | Field and Description | 
|---|---|
static GlobalId | 
DBCLASS_GID
PurchasePayment 
 | 
static java.lang.String | 
DBCLASS_NAME
PurchasePayment 
 | 
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS| Constructor and Description | 
|---|
PurchasePayment(DBClass def,
               DataSource dataSource)
Std. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static PurchasePayment | 
create(MutableDataSource mds)
Make a new instance of this class. 
 | 
protected void | 
eventFieldUpdated(DBField field,
                 java.lang.Object previous,
                 GlobalKey previousKey,
                 FldParams params)
update dependent fields. 
 | 
protected void | 
extAutoEnterCreate()
Additional functionality when an object is created. 
 | 
protected void | 
extCheckCreateAccess()
Additional access checking for create access of this object. 
 | 
protected void | 
extCheckModifyAccess(DBField field)
Additional access checking for write access of this object. 
 | 
Account | 
findAccount(java.lang.String... args)
Journal Account. 
 | 
BankAccount | 
findBankAccount(java.lang.String... args)
Bank Account. 
 | 
Person | 
findEnteredBy(java.lang.String... args)
Person that created the payment. 
 | 
static PurchasePayment | 
findKey(DataSource ds,
       int key)
Find the target for this class by the primary key 
 | 
Company | 
findOwnerBusUnit(java.lang.String... args)
Business unit that owns this entry. 
 | 
PaymentMethod | 
findPaymentMethod(java.lang.String... args)
Method used to make payment, i.e Eftpos                                  
--> PaymentMethod (String, Searchable) | 
Purchase | 
findPurchaseId(java.lang.String... args)
Associated purchase. 
 | 
java.lang.Object | 
findStatus(java.lang.String... args)
Purchase payment status. 
 | 
Contact | 
findSupplier(java.lang.String... args)
Associated Supplier. 
 | 
Account | 
getAccount(java.lang.String... args) | 
BankAccount | 
getBankAccount(java.lang.String... args) | 
Person | 
getEnteredBy(java.lang.String... args) | 
java.util.Date | 
getEnteredTime(java.lang.String... args) | 
int | 
getID(java.lang.String... args) | 
java.lang.String | 
getMemo(java.lang.String... args) | 
java.util.Date | 
getModifiedTime(java.lang.String... args) | 
java.lang.String | 
getNotes(java.lang.String... args) | 
Company | 
getOwnerBusUnit(java.lang.String... args) | 
java.util.Date | 
getPaymentDt(java.lang.String... args) | 
PaymentMethod | 
getPaymentMethod(java.lang.String... args) | 
java.lang.String | 
getPaymentNumber(java.lang.String... args) | 
java.util.Date | 
getProcessedTime(java.lang.String... args) | 
Purchase | 
getPurchaseId(java.lang.String... args) | 
double | 
getRawAmount(java.lang.String... args) | 
java.lang.Object | 
getStatus(java.lang.String... args) | 
Contact | 
getSupplier(java.lang.String... args) | 
double | 
getUnallocated(java.lang.String... args) | 
static DBQuery<PurchasePayment> | 
makeQuery(DataSource ds)
Make a new QUERY for this class. 
 | 
PurchasePayment | 
setAccount(com.aspc.dal.layers.aspc_app.accounts.Account value,
          java.lang.String... args) | 
PurchasePayment | 
setBankAccount(com.aspc.dal.layers.aspc_app.misc.BankAccount value,
              java.lang.String... args) | 
PurchasePayment | 
setEnteredBy(com.aspc.dal.layers.aspc_app.contact.Person value,
            java.lang.String... args) | 
PurchasePayment | 
setEnteredTime(java.util.Date value,
              java.lang.String... args) | 
PurchasePayment | 
setID(int value,
     java.lang.String... args) | 
PurchasePayment | 
setMemo(java.lang.String value,
       java.lang.String... args) | 
PurchasePayment | 
setModifiedTime(java.util.Date value,
               java.lang.String... args) | 
PurchasePayment | 
setNotes(java.lang.String value,
        java.lang.String... args) | 
PurchasePayment | 
setOwnerBusUnit(com.aspc.dal.layers.aspc_app.contact.Business value,
               java.lang.String... args) | 
PurchasePayment | 
setPaymentDt(java.util.Date value,
            java.lang.String... args) | 
PurchasePayment | 
setPaymentMethod(com.aspc.dal.layers.aspc_app.invoice.PaymentMethod value,
                java.lang.String... args) | 
PurchasePayment | 
setPaymentNumber(java.lang.String value,
                java.lang.String... args) | 
PurchasePayment | 
setProcessedTime(java.util.Date value,
                java.lang.String... args) | 
PurchasePayment | 
setPurchaseId(com.aspc.dal.layers.aspc_app.purchase.Purchase value,
             java.lang.String... args) | 
PurchasePayment | 
setRawAmount(double value,
            java.lang.String... args) | 
PurchasePayment | 
setStatus(java.lang.Object value,
         java.lang.String... args) | 
PurchasePayment | 
setSupplier(com.aspc.dal.dbobj.contact.Contact value,
           java.lang.String... args) | 
protected void | 
updatePaymentNumber()  | 
addReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, clearCache, copy, copyFields, copyIncludeField, copyInwardLinks, delete, denormalizedResult, displayLogName, displayName, displayValue, doSearch, dump, equals, eventDataLoaded, extCanDeleteDependantObject, extCheckDeleteAccess, extCheckModifyAccess, extCheckReadAccess, extCopy, extDelete, extDeleteRecord, extFixUp, extGetDerivedGlobalKey, extGetDerivedValue, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreSaveRecord, extPreValidate, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, extValidateField, extValidateRecord, fetchLinkHolder, findGlobalKey, findGlobalKey, findGlobalKey, findGlobalKey, findLinkedObject, findLinkedObject, findLinkedObject, findRawData, fireEventDataLoaded, fixUp, forceLockedTransaction, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getChangedFieldInfo, getChangedFields, getDate, getDate, getDate, getDate, getDate, getDefaultValue, getDisableOnChangeEvent, getDouble, getDouble, getDouble, getDouble, getDouble, getFieldDouble, getFieldInt, getFieldLong, getFieldString, getFormattedString, getFormattedString, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getInt, getInt, getInt, getInt, getInt, getInt, getInwardLinkage, getKeyString, getKeyValue, getLinkedObject, getLinkedObject, getLinkedObject, getLinkedObjectByKey, getLinkedRowId, getLinkedRowId, getLinkedRowIdByData, getLinkHolder, getLockedTransaction, getLong, getLong, getLong, getLong, getLong, getLong, getMutableArrayValue, getMutableArrayValue, getOriginalKey, getOriginalValue, getOriginalValue, getProcessedValue, getPureValue, getRawData, getRawValue, getRawValue, getRowId, getRowKey, getSecondaryCacheGroupKey, getSrcLayerID, getString, getString, getString, getString, getString, getString, getValue, getValue, getValue, getValue, hasAutoChanged, hasAutoChanged, hasChanged, hasChangedByUser, hasChangedByUserField, hasChangedByUserField, hasFieldChanged, hasFieldChanged, hashCode, hasStoredResult, iCheckDeleteAccess, iCheckModifyAccess, iCheckReadAccess, iGetDenormalizedMap, iGetRawValue, iPlaceDenormalizedResult, iPostSaveOrDeleteRecord, iPreSaveOrDeleteRecord, iPreValidate, iRaiseEvents, iSaveOrDeleteRecord, isBrokenLink, isBrokenLink, isChanged, isDataCacheKnownToBeDirty, isDeleted, isEmpty, iSetValue, isForceReindex, isKeyWordField, isMandatory, isNew, isNull, isNull, isOnChange, isReindex, iValidateRecord, lastTouched, makeArchiveDataLoader, makeClone, makeDataLoader, makeDenormalizedDoc, makeLinkedArray, makeModifyAccessException, makeSearchPlan, makeWriteProvider, manualDenormalizeOnSave, markSavePoint, optLockedTransaction, registerWatchedObject, reindex, releaseDenormalized, removeReloadEventListener, restoreByJournal, rollbackTo, setBoolean, setBoolean, setBoolean, setBoolean, setDisableOnChangeEvent, setDouble, setDouble, setInt, setInt, setLong, setLong, setRawData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, touch, undelete, validateField, validateRecord, validateSubTypepublic static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public PurchasePayment(DBClass def, DataSource dataSource) throws java.lang.Exception
def - The class of this objectdataSource - The datasource for this objectjava.lang.Exception - A serious problem occurred@CheckReturnValue public int getID(java.lang.String... args)
@Nonnull public PurchasePayment setID(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public Account getAccount(java.lang.String... args)
@CheckReturnValue @Nonnull public final Account findAccount(java.lang.String... args) throws NotFoundException
Account
  (Integer, Mandatory, Searchable)args - the optional argumentsNotFoundException - Account was not found@Nonnull public PurchasePayment setAccount(com.aspc.dal.layers.aspc_app.accounts.Account value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public BankAccount getBankAccount(java.lang.String... args)
@CheckReturnValue @Nonnull public final BankAccount findBankAccount(java.lang.String... args) throws NotFoundException
BankAccount
  (Integer, Searchable)args - the optional argumentsNotFoundException - BankAccount was not found@Nonnull public PurchasePayment setBankAccount(com.aspc.dal.layers.aspc_app.misc.BankAccount value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public Person getEnteredBy(java.lang.String... args)
@CheckReturnValue @Nonnull public final Person findEnteredBy(java.lang.String... args) throws NotFoundException
Person
  (Integer, Mandatory, Searchable)args - the optional argumentsNotFoundException - Person was not found@Nonnull public PurchasePayment setEnteredBy(com.aspc.dal.layers.aspc_app.contact.Person value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public java.util.Date getEnteredTime(java.lang.String... args)
@Nonnull public PurchasePayment setEnteredTime(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getMemo(java.lang.String... args)
@Nonnull public PurchasePayment setMemo(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public java.util.Date getModifiedTime(java.lang.String... args)
@Nonnull public PurchasePayment setModifiedTime(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getNotes(java.lang.String... args)
@Nonnull public PurchasePayment setNotes(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public Company getOwnerBusUnit(java.lang.String... args)
@CheckReturnValue @Nonnull public final Company findOwnerBusUnit(java.lang.String... args) throws NotFoundException
Business
  (Integer, Searchable)args - the optional argumentsNotFoundException - Business was not found@Nonnull public PurchasePayment setOwnerBusUnit(com.aspc.dal.layers.aspc_app.contact.Business value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public java.util.Date getPaymentDt(java.lang.String... args)
@Nonnull public PurchasePayment setPaymentDt(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public PaymentMethod getPaymentMethod(java.lang.String... args)
@CheckReturnValue @Nonnull public final PaymentMethod findPaymentMethod(java.lang.String... args) throws NotFoundException
PaymentMethod (String, Searchable)args - the optional argumentsNotFoundException - PaymentMethod was not found@Nonnull public PurchasePayment setPaymentMethod(com.aspc.dal.layers.aspc_app.invoice.PaymentMethod value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getPaymentNumber(java.lang.String... args)
@Nonnull public PurchasePayment setPaymentNumber(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public java.util.Date getProcessedTime(java.lang.String... args)
@Nonnull public PurchasePayment setProcessedTime(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public Purchase getPurchaseId(java.lang.String... args)
@CheckReturnValue @Nonnull public final Purchase findPurchaseId(java.lang.String... args) throws NotFoundException
Purchase
  (Integer, Searchable)args - the optional argumentsNotFoundException - Purchase was not found@Nonnull public PurchasePayment setPurchaseId(com.aspc.dal.layers.aspc_app.purchase.Purchase value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public double getRawAmount(java.lang.String... args)
@Nonnull public PurchasePayment setRawAmount(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public java.lang.Object getStatus(java.lang.String... args)
@CheckReturnValue
 @Nonnull
public final java.lang.Object findStatus(java.lang.String... args)
                                                              throws NotFoundException
PurchasePaymentStatus (String, Searchable)args - the optional argumentsNotFoundException - PurchasePaymentStatus was not found@Nonnull public PurchasePayment setStatus(java.lang.Object value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public Contact getSupplier(java.lang.String... args)
@CheckReturnValue @Nonnull public final Contact findSupplier(java.lang.String... args) throws NotFoundException
Contact (Integer,
  Mandatory, Searchable)args - the optional argumentsNotFoundException - Contact was not found@Nonnull public PurchasePayment setSupplier(com.aspc.dal.dbobj.contact.Contact value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public double getUnallocated(java.lang.String... args)
@Nonnull @CheckReturnValue public static PurchasePayment create(@Nonnull MutableDataSource mds) throws java.lang.Exception
mds - the datasourcejava.lang.Exception - an object of this class could not be created@Nonnull @CheckReturnValue public static DBQuery<PurchasePayment> makeQuery(@Nonnull DataSource ds) throws NotFoundException
ds - the datasourceNotFoundException - if class could not be found@Nonnull @CheckReturnValue public static PurchasePayment findKey(@Nonnull DataSource ds, int key) throws NotFoundException, java.lang.Exception
ds - the datasourcekey - the valueNotFoundException - if target could not be foundjava.lang.Exception - a serious problem@OverridingMethodsMustInvokeSuper
protected void extAutoEnterCreate()
                                                             throws java.lang.Exception
extAutoEnterCreate in class DBObjectjava.lang.Exception - A serious problemcom.aspc.DBObj.DBObject#autoEnterCreate()@OverridingMethodsMustInvokeSuper
protected void extCheckModifyAccess(@Nonnull
                                                                      DBField field)
                                                               throws DBAccessException
extCheckModifyAccess in class DBObjectfield - The fieldDBAccessException - No access to modify@OverridingMethodsMustInvokeSuper
protected void extCheckCreateAccess()
                                                               throws DBAccessException
extCheckCreateAccess in class DBObjectDBAccessException - No access to createDBObject.checkCreateAccess()@OverridingMethodsMustInvokeSuper
protected void eventFieldUpdated(@Nonnull
                                                                   DBField field,
                                                                   @Nullable
                                                                   java.lang.Object previous,
                                                                   @Nullable
                                                                   GlobalKey previousKey,
                                                                   @Nullable
                                                                   FldParams params)
                                                            throws java.lang.Exception
eventFieldUpdated in class DBObjectfield - The field updated.previous - The previous value for this field.previousKey - The previous keyparams - The parameters usedjava.lang.Exception - a serious problemprotected void updatePaymentNumber()
                            throws java.lang.Exception
java.lang.Exception - a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.