public class ProductLabour extends DBObject
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static GlobalId |
DBCLASS_GID
ProductLabour
|
static java.lang.String |
DBCLASS_NAME
ProductLabour
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
ProductLabour(DBClass def,
DataSource dataSource)
Std.
|
Modifier and Type | Method and Description |
---|---|
static ProductLabour |
create(MutableDataSource mds)
Make a new instance of this class.
|
TaxCode |
findBuyTaxCodeId(java.lang.String... args)
The tax code to be used when you buy this item.
|
Person |
findEnteredBy(java.lang.String... args)
Person who entered this item.
|
Account |
findExpenseAccount(java.lang.String... args)
The cost of sales/expense account where postings to this item will be
applied.
|
Account |
findIncomeAccount(java.lang.String... args)
The income account where postings for this sale will be applied to.
|
static ProductLabour |
findKey(DataSource ds,
java.lang.String key)
Find the target for this class by the primary key
|
Company |
findOwnerBusUnit(java.lang.String... args)
Business unit that owns this entry.
|
TaxCode |
findSellTaxCodeId(java.lang.String... args)
The tax code to be used when you sell this item.
|
java.lang.String |
getBuyingUnitMeasure(java.lang.String... args) |
double |
getBuyPrice(java.lang.String... args) |
TaxCode |
getBuyTaxCodeId(java.lang.String... args) |
double |
getCalcBuyPriceExcludingTax(java.lang.String... args) |
double |
getCalcBuyPriceIncludingTax(java.lang.String... args) |
double |
getCalcSellPriceIncludingTax(java.lang.String... args) |
java.lang.String |
getDescription(java.lang.String... args) |
Person |
getEnteredBy(java.lang.String... args) |
Account |
getExpenseAccount(java.lang.String... args) |
java.lang.String |
getIDNo(java.lang.String... args) |
Account |
getIncomeAccount(java.lang.String... args) |
double |
getLabourHours(java.lang.String... args) |
java.lang.String |
getNotes(java.lang.String... args) |
java.lang.String |
getObsoleteNotes(java.lang.String... args) |
Company |
getOwnerBusUnit(java.lang.String... args) |
double |
getSellPrice(java.lang.String... args) |
TaxCode |
getSellTaxCodeId(java.lang.String... args) |
java.lang.String |
getSellUnitMeasure(java.lang.String... args) |
boolean |
isBuyPriceIncludesTax(java.lang.String... args) |
boolean |
isHtmlTextNote(java.lang.String... args) |
boolean |
isInactive(java.lang.String... args) |
boolean |
isSellPriceIncludesTax(java.lang.String... args) |
static DBQuery<ProductLabour> |
makeQuery(DataSource ds)
Make a new QUERY for this class.
|
ProductLabour |
setBuyingUnitMeasure(java.lang.String value,
java.lang.String... args) |
ProductLabour |
setBuyPrice(double value,
java.lang.String... args) |
ProductLabour |
setBuyPriceIncludesTax(boolean value,
java.lang.String... args) |
ProductLabour |
setBuyTaxCodeId(com.aspc.dal.layers.aspc_app.misc.Tax value,
java.lang.String... args) |
ProductLabour |
setDescription(java.lang.String value,
java.lang.String... args) |
ProductLabour |
setEnteredBy(com.aspc.dal.layers.aspc_app.contact.Person value,
java.lang.String... args) |
ProductLabour |
setExpenseAccount(com.aspc.dal.layers.aspc_app.accounts.Account value,
java.lang.String... args) |
ProductLabour |
setHtmlTextNote(boolean value,
java.lang.String... args) |
ProductLabour |
setIDNo(java.lang.String value,
java.lang.String... args) |
ProductLabour |
setInactive(boolean value,
java.lang.String... args) |
ProductLabour |
setIncomeAccount(com.aspc.dal.layers.aspc_app.accounts.Account value,
java.lang.String... args) |
ProductLabour |
setLabourHours(double value,
java.lang.String... args) |
ProductLabour |
setNotes(java.lang.String value,
java.lang.String... args) |
ProductLabour |
setObsoleteNotes(java.lang.String value,
java.lang.String... args) |
ProductLabour |
setOwnerBusUnit(com.aspc.dal.layers.aspc_app.contact.Business value,
java.lang.String... args) |
ProductLabour |
setSellPrice(double value,
java.lang.String... args) |
ProductLabour |
setSellPriceIncludesTax(boolean value,
java.lang.String... args) |
ProductLabour |
setSellTaxCodeId(com.aspc.dal.layers.aspc_app.misc.Tax value,
java.lang.String... args) |
ProductLabour |
setSellUnitMeasure(java.lang.String value,
java.lang.String... args) |
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, eventFieldUpdated, extAutoEnterCreate, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, 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, validateSubType
public static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public ProductLabour(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 @Nonnull public java.lang.String getIDNo(java.lang.String... args)
@Nonnull public ProductLabour setIDNo(@MatchesPattern(value="[A-Za-z]([A-Za-z0-9_:\\\\.]|-)*") java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getBuyPrice(java.lang.String... args)
@Nonnull public ProductLabour setBuyPrice(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isBuyPriceIncludesTax(java.lang.String... args)
@Nonnull public ProductLabour setBuyPriceIncludesTax(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public TaxCode getBuyTaxCodeId(java.lang.String... args)
@CheckReturnValue @Nonnull public final TaxCode findBuyTaxCodeId(java.lang.String... args) throws NotFoundException
Tax
(String,
Searchable)args
- the optional argumentsNotFoundException
- Tax was not found@Nonnull public ProductLabour setBuyTaxCodeId(com.aspc.dal.layers.aspc_app.misc.Tax value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBuyingUnitMeasure(java.lang.String... args)
@Nonnull public ProductLabour setBuyingUnitMeasure(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getCalcBuyPriceExcludingTax(java.lang.String... args)
@CheckReturnValue public double getCalcBuyPriceIncludingTax(java.lang.String... args)
@CheckReturnValue public double getCalcSellPriceIncludingTax(java.lang.String... args)
@CheckReturnValue @Nonnull public java.lang.String getDescription(java.lang.String... args)
@Nonnull public ProductLabour setDescription(java.lang.String 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, Searchable)args
- the optional argumentsNotFoundException
- Person was not found@Nonnull public ProductLabour setEnteredBy(com.aspc.dal.layers.aspc_app.contact.Person value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Account getExpenseAccount(java.lang.String... args)
@CheckReturnValue @Nonnull public final Account findExpenseAccount(java.lang.String... args) throws NotFoundException
Account
(Integer, Searchable)args
- the optional argumentsNotFoundException
- Account was not found@Nonnull public ProductLabour setExpenseAccount(com.aspc.dal.layers.aspc_app.accounts.Account value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isHtmlTextNote(java.lang.String... args)
@Nonnull public ProductLabour setHtmlTextNote(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isInactive(java.lang.String... args)
@Nonnull public ProductLabour setInactive(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Account getIncomeAccount(java.lang.String... args)
@CheckReturnValue @Nonnull public final Account findIncomeAccount(java.lang.String... args) throws NotFoundException
Account
(Integer, Searchable)args
- the optional argumentsNotFoundException
- Account was not found@Nonnull public ProductLabour setIncomeAccount(com.aspc.dal.layers.aspc_app.accounts.Account value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getLabourHours(java.lang.String... args)
@Nonnull public ProductLabour setLabourHours(double 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 ProductLabour setNotes(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getObsoleteNotes(java.lang.String... args)
@Nonnull public ProductLabour setObsoleteNotes(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 ProductLabour setOwnerBusUnit(com.aspc.dal.layers.aspc_app.contact.Business value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getSellPrice(java.lang.String... args)
@Nonnull public ProductLabour setSellPrice(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isSellPriceIncludesTax(java.lang.String... args)
@Nonnull public ProductLabour setSellPriceIncludesTax(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public TaxCode getSellTaxCodeId(java.lang.String... args)
@CheckReturnValue @Nonnull public final TaxCode findSellTaxCodeId(java.lang.String... args) throws NotFoundException
Tax
(String,
Searchable)args
- the optional argumentsNotFoundException
- Tax was not found@Nonnull public ProductLabour setSellTaxCodeId(com.aspc.dal.layers.aspc_app.misc.Tax value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getSellUnitMeasure(java.lang.String... args)
@Nonnull public ProductLabour setSellUnitMeasure(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@Nonnull @CheckReturnValue public static ProductLabour 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<ProductLabour> makeQuery(@Nonnull DataSource ds) throws NotFoundException
ds
- the datasourceNotFoundException
- if class could not be found@Nonnull @CheckReturnValue public static ProductLabour findKey(@Nonnull DataSource ds, @Nonnull java.lang.String key) throws NotFoundException, java.lang.Exception
ds
- the datasourcekey
- the valueNotFoundException
- if target could not be foundjava.lang.Exception
- a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.