public class InvoiceProductItem extends InvoiceItem
DBObject.DenormalizeAction| Modifier and Type | Field and Description |
|---|---|
static GlobalId |
DBCLASS_GID
InvoiceProductItem
|
static java.lang.String |
DBCLASS_NAME
InvoiceProductItem
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS| Constructor and Description |
|---|
InvoiceProductItem(DBClass def,
DataSource dataSource)
Std.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adjust() |
void |
adjustActiveInvoice() |
java.util.Date |
calcFinalDeliveryDate()
Calculates the date of the final delivery
|
DeliverySchedule |
calcFinalDeliverySched()
Calculates what the final delivery schedule would be for this sub
|
boolean |
copyIncludeField(DBObject orig,
DBField field)
Excludes some fields from copy as they need to be recalculated
|
protected void |
eventFieldUpdated(DBField field,
java.lang.Object previous,
GlobalKey previousKey,
FldParams inParams)
update dependent fields.
|
protected void |
extCopy(DBObject target)
Additional functionality when an object is copied
|
protected void |
extDelete()
Additional functionality when an object is marked for deletion by calling delete().
|
protected void |
extFixUp()
The extended fix up routine for known problems.
|
protected GlobalKey |
extGetDerivedGlobalKey(DBField field,
FldParams params)
Calculate the derived global key for this field.
|
protected java.lang.Object |
extGetDerivedValue(DBField field,
FldParams params)
Calculate the derived value for this field.
|
protected boolean |
extIsMandatory(DBField field)
Conditional mandatory field.
|
protected boolean |
extIsOnChange(DBField field)
OVERRIDE This method to specify that when a field is updated it will affect other fields.
|
protected void |
extPreValidate()
update dependent fields.
|
protected void |
extUpdateUnitPrice(FldParams params)
update unit price
|
protected ValidationError |
extValidateField(DBField field,
ValidationList list)
Additional validation for a particular field.
|
protected void |
extValidateRecord(ValidationList list)
Performs additional validations on this record.
|
NoticeSchedule |
findCalcNextNoticeSchedule(java.lang.String... args)
Determines the next Notice Schedule that applies to the current state of
the item.
|
InventoryAdjustmentItemType |
findInventoryAdjustmentType(java.lang.String... args)
Identifies the type of adjustment.
|
Product |
findLabelRunCalcProduct(java.lang.String... args)
Label Run Calc Product.
|
DeliverySchedule |
findLastDeliverySchedule(java.lang.String... args)
Holds a link to the last delivery schedule if deliveries are made via a
schedule.
|
TaskNoticeNote |
findNextDeliveryNotice(java.lang.String... args)
The notice that should be sent out with the next delivery.
|
NoticeSchedule |
findNextNoticeSchedule(java.lang.String... args)
Next Notice Schedule.
|
Contact |
findOrderSupplier(java.lang.String... args)
Supplier to order item from.
|
Product |
findProduct(java.lang.String... args)
Product.
|
PriceMatrix |
findRenewalPriceMatrix(java.lang.String... args)
Determines the Price Matrix object that will be used to determine price
for a renewal of this Product item.
|
StockBinItem |
findStockBinItem(java.lang.String... args)
If product is inventoried then the Stock Item identifies the location
that it is monitored.
|
InvoiceItem |
generateCreditItem(MutableDataSource mds,
Invoice creditInvoice,
double creditAmount)
This method is derived from Subscription.
|
GeneralTask |
generatePickup(java.util.Date pickupDt)
returns the General Task
|
int |
getAdjNumDeliveries(java.lang.String... args) |
double |
getBackorder(java.lang.String... args) |
NoticeSchedule |
getCalcNextNoticeSchedule(java.lang.String... args) |
int |
getCalcNumDeliveries(java.lang.String... args) |
java.util.Date |
getDeliveredDate(java.lang.String... args) |
double |
getDeliveriesMade(java.lang.String... args) |
int |
getDeliveriesMadeAdd(java.lang.String... args) |
double |
getDeliveriesRemaining(java.lang.String... args) |
java.lang.String |
getEvalPeriod(java.lang.String... args) |
InventoryAdjustmentItemType |
getInventoryAdjustmentType(java.lang.String... args) |
double |
getInventoryAmountAdjusted(java.lang.String... args) |
double |
getInventoryCostOfSale(java.lang.String... args) |
double |
getInventoryQtyAdjusted(java.lang.String... args) |
double |
getInventoryQtyCommitted(java.lang.String... args) |
int |
getItemsDelivered(java.lang.String... args) |
double |
getItemsRemaining(java.lang.String... args) |
Product |
getLabelRunCalcProduct(java.lang.String... args) |
java.util.Date |
getLastDelivered(java.lang.String... args) |
DeliverySchedule |
getLastDeliverySchedule(java.lang.String... args) |
TaskNoticeNote |
getNextDeliveryNotice(java.lang.String... args) |
NoticeSchedule |
getNextNoticeSchedule(java.lang.String... args) |
Contact |
getOrderSupplier(java.lang.String... args) |
int |
getOrigNumDeliveries(java.lang.String... args) |
Product |
getProduct(java.lang.String... args) |
double |
getReceived(java.lang.String... args) |
PriceMatrix |
getRenewalPriceMatrix(java.lang.String... args) |
StockBinItem |
getStockBinItem(java.lang.String... args) |
boolean |
hasDeliverySched(java.lang.String... args) |
boolean |
hasIssueAlloc(java.lang.String... args) |
boolean |
isDefaultProductCostRequired(java.lang.String... args) |
boolean |
isIncludeInLabelRun(java.lang.String... args) |
boolean |
isLabelRunIsDelivered(java.lang.String... args) |
boolean |
isLabelRunIsPartOfSchedule(java.lang.String... args) |
protected boolean |
isModifiableWhenLocked(DBField field) |
boolean |
isOrderFromSupplier(java.lang.String... args) |
boolean |
isPickup(java.lang.String... args) |
boolean |
isProductChangedAfterPayment(java.lang.String... args) |
ProductPartBreakDown |
recordDelivery(java.util.Date sendDate) |
ProductPartBreakDown |
recordDelivery(java.util.Date sendDate,
int numDeliveries)
Records a delivery for a specific date
This is used if we are not delivering an item based on a delivery schedule
|
ProductPartBreakDown |
recordDelivery(DeliverySchedule sched,
java.util.Date sendDate) |
ProductPartBreakDown |
recordDelivery(DeliverySchedule sched,
java.util.Date sendDate,
int numDeliveries) |
TaskNoticeNote |
recordNotice(NoticeSchedule ns) |
GeneralTask |
recordNoticeTask(TaskNoticeNote tn) |
boolean |
requiresPurchase()
requires purchase
|
NoticeSchedule |
scheduleNotice()
schedule the notice
|
InvoiceProductItem |
setAdjNumDeliveries(int value,
java.lang.String... args) |
InvoiceProductItem |
setBackorder(double value,
java.lang.String... args) |
InvoiceProductItem |
setCalcNumDeliveries(int value,
java.lang.String... args) |
InvoiceProductItem |
setDefaultProductCostRequired(boolean value,
java.lang.String... args) |
InvoiceProductItem |
setDeliveredDate(java.util.Date value,
java.lang.String... args) |
InvoiceProductItem |
setDeliveriesMade(double value,
java.lang.String... args) |
InvoiceProductItem |
setDeliveriesMadeAdd(int value,
java.lang.String... args) |
InvoiceProductItem |
setDeliveriesRemaining(double value,
java.lang.String... args) |
InvoiceProductItem |
setEvalPeriod(java.lang.String value,
java.lang.String... args) |
InvoiceProductItem |
setInventoryCostOfSale(double value,
java.lang.String... args) |
InvoiceProductItem |
setLastDeliverySchedule(com.aspc.dal.layers.aspc_app.subscription.DeliverySchedule value,
java.lang.String... args) |
InvoiceProductItem |
setNextNoticeSchedule(com.aspc.dal.layers.aspc_app.notices.NoticeSchedule value,
java.lang.String... args) |
InvoiceProductItem |
setOrderFromSupplier(boolean value,
java.lang.String... args) |
InvoiceProductItem |
setOrderSupplier(com.aspc.dal.dbobj.contact.Contact value,
java.lang.String... args) |
InvoiceProductItem |
setOrigNumDeliveries(int value,
java.lang.String... args) |
InvoiceProductItem |
setPickup(boolean value,
java.lang.String... args) |
InvoiceProductItem |
setProduct(com.aspc.dal.layers.aspc_app.productlabour.Product value,
java.lang.String... args) |
InvoiceProductItem |
setProductChangedAfterPayment(boolean value,
java.lang.String... args) |
InvoiceProductItem |
setReceived(double value,
java.lang.String... args) |
InvoiceProductItem |
setStockBinItem(com.aspc.dal.layers.aspc_app.inventory.StockBinItem value,
java.lang.String... args) |
void |
updateDeliveriesMade()
update the deliveries made
|
protected void |
updateDeliveriesRemaining()
update the remaining deliveries
|
void |
updateLastDeliverySchedule()
Update the lastDeliverySchedule field to be linked to schedule associated with the
last delivery
|
void |
updateNumDeliveries(FldParams params)
Update numDeliveries which is determined by looking up the
SubscriptionIssuesAlloc table based on term, type and product
|
protected void |
updateTotalDeliveries()
update the total deliveries
|
void |
updateUnitPrice(FldParams params)
update the unit price
|
extCheckModifyAccess, extCheckReadAccess, findActivity, findInvoiceId, findProductItem, getActivity, getInvoice, getInvoiceId, getProductItem, getTotalBuyPriceIncludingTax, getTotalProfit, getUnitBuyPriceIncludingTax, setActivity, setDontTouchInvoice, setInvoiceId, setProductItem, setUnitBuyPriceIncludingTaxextAutoEnterCreate, findAccount, findAdjPriceCheckedBy, findAdjPriceReason, findCalcPriceMatrix, findChargeItemStatus, findChargeItemType, findEnteredBy, findExportFg, findKey, findOwnerBusUnit, findRecurringBase, findTaxCodeId, getAccount, getAdjPriceCheckedBy, getAdjPriceCheckedNotes, getAdjPriceReason, getAdjPriceReasonNotes, getAdjTotalPrice, getAdjTotalPriceIncludingTax, getAdjUnitPrice, getAdjUnitPriceExcludingTax, getAdjUnitPriceIncludingTax, getBackOrdered, getCalcPriceMatrix, getCalcUnitPriceExcludingTax, getChargeItemStatus, getChargeItemType, getCode, getDescription, getDiscountRate, getEnteredBy, getEnteredTime, getExportedTime, getExportFg, getID, getItemCode, getMyobImportTime, getNotes, getOrdered, getOwnerBusUnit, getQty, getRecurringBase, getRoyalties, getTaxCodeId, getTaxRate, getTotalDiscount, getTotalPriceExcludingTax, getTotalPriceIncludingTax, getTotalRoyalties, getTotalTax, getUnitMeasure, getUnitPrice, getUnitPriceDisplay, getUnitPriceDisplayExcludingTax, getUnitPriceDisplayIncludingTax, getUnitPriceExcludingTax, getUnitPriceIncludingTax, hasReadAccess, isAdjPriceChecked, isAdjPriceReasonRequired, isAdjTotalPriceIncludesTax, isAdjUnitPriceIncludesTax, isAdjustItem, isMonthlyRecurring, isNeedToBeCloned, isUnitPriceIncludesTax, makeQuery, setAccount, setAdjPriceChecked, setAdjPriceCheckedBy, setAdjPriceCheckedNotes, setAdjPriceReason, setAdjPriceReasonNotes, setAdjPriceReasonRequired, setAdjTotalPrice, setAdjTotalPriceIncludesTax, setAdjTotalPriceIncludingTax, setAdjUnitPrice, setAdjUnitPriceIncludesTax, setAdjustItem, setBackOrdered, setChargeItemStatus, setCode, setDescription, setDiscountRate, setEnteredBy, setEnteredTime, setExportedTime, setExportFg, setID, setItemCode, setMonthlyRecurring, setMyobImportTime, setNotes, setOrdered, setOwnerBusUnit, setQty, setRecurringBase, setTaxCodeId, setTaxRate, setUnitMeasure, setUnitPrice, setUnitPriceExcludingTax, setUnitPriceIncludesTax, setUnitPriceIncludingTaxaddReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, clearCache, copy, copyFields, copyInwardLinks, delete, denormalizedResult, displayLogName, displayName, displayValue, doSearch, dump, equals, eventDataLoaded, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extDeleteRecord, extGetValue, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreSaveRecord, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, 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 InvoiceProductItem(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 getAdjNumDeliveries(java.lang.String... args)
@Nonnull public InvoiceProductItem setAdjNumDeliveries(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public double getBackorder(java.lang.String... args)
@Nonnull public InvoiceProductItem setBackorder(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public NoticeSchedule getCalcNextNoticeSchedule(java.lang.String... args)
@CheckReturnValue @Nonnull public final NoticeSchedule findCalcNextNoticeSchedule(java.lang.String... args) throws NotFoundException
NoticeSchedule (Integer, Derived, Searchable)args - the optional argumentsNotFoundException - NoticeSchedule was not found@CheckReturnValue public int getCalcNumDeliveries(java.lang.String... args)
@Nonnull public InvoiceProductItem setCalcNumDeliveries(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public boolean isDefaultProductCostRequired(java.lang.String... args)
@Nonnull public InvoiceProductItem setDefaultProductCostRequired(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public java.util.Date getDeliveredDate(java.lang.String... args)
@Nonnull public InvoiceProductItem setDeliveredDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public double getDeliveriesMade(java.lang.String... args)
@Nonnull public InvoiceProductItem setDeliveriesMade(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public int getDeliveriesMadeAdd(java.lang.String... args)
@Nonnull public InvoiceProductItem setDeliveriesMadeAdd(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public double getDeliveriesRemaining(java.lang.String... args)
@Nonnull public InvoiceProductItem setDeliveriesRemaining(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getEvalPeriod(java.lang.String... args)
@Nonnull public InvoiceProductItem setEvalPeriod(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public boolean hasDeliverySched(java.lang.String... args)
@CheckReturnValue public boolean hasIssueAlloc(java.lang.String... args)
@CheckReturnValue public boolean isIncludeInLabelRun(java.lang.String... args)
@CheckReturnValue @Nullable public InventoryAdjustmentItemType getInventoryAdjustmentType(java.lang.String... args)
@CheckReturnValue @Nonnull public final InventoryAdjustmentItemType findInventoryAdjustmentType(java.lang.String... args) throws NotFoundException
.InventoryAdjustmentItemType InventoryAdjustmentItemType (String,
Derived, Searchable)args - the optional argumentsNotFoundException - InventoryAdjustmentItemType was not found@CheckReturnValue public double getInventoryAmountAdjusted(java.lang.String... args)
@CheckReturnValue public double getInventoryCostOfSale(java.lang.String... args)
@Nonnull public InvoiceProductItem setInventoryCostOfSale(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public double getInventoryQtyAdjusted(java.lang.String... args)
@CheckReturnValue public double getInventoryQtyCommitted(java.lang.String... args)
@CheckReturnValue public boolean isProductChangedAfterPayment(java.lang.String... args)
@Nonnull public InvoiceProductItem setProductChangedAfterPayment(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public int getItemsDelivered(java.lang.String... args)
@CheckReturnValue public double getItemsRemaining(java.lang.String... args)
@CheckReturnValue @Nullable public Product getLabelRunCalcProduct(java.lang.String... args)
@CheckReturnValue @Nonnull public final Product findLabelRunCalcProduct(java.lang.String... args) throws NotFoundException
Product
(String, Derived, Searchable)args - the optional argumentsNotFoundException - Product was not found@CheckReturnValue public boolean isLabelRunIsDelivered(java.lang.String... args)
@CheckReturnValue public boolean isLabelRunIsPartOfSchedule(java.lang.String... args)
@CheckReturnValue @Nullable public java.util.Date getLastDelivered(java.lang.String... args)
@CheckReturnValue @Nullable public DeliverySchedule getLastDeliverySchedule(java.lang.String... args)
@CheckReturnValue @Nonnull public final DeliverySchedule findLastDeliverySchedule(java.lang.String... args) throws NotFoundException
DeliverySchedule (Integer, Searchable)args - the optional argumentsNotFoundException - DeliverySchedule was not found@Nonnull public InvoiceProductItem setLastDeliverySchedule(com.aspc.dal.layers.aspc_app.subscription.DeliverySchedule value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public TaskNoticeNote getNextDeliveryNotice(java.lang.String... args)
@CheckReturnValue @Nonnull public final TaskNoticeNote findNextDeliveryNotice(java.lang.String... args) throws NotFoundException
TaskNoticeNote (Integer, Derived, Searchable)args - the optional argumentsNotFoundException - TaskNoticeNote was not found@CheckReturnValue @Nullable public NoticeSchedule getNextNoticeSchedule(java.lang.String... args)
@CheckReturnValue @Nonnull public final NoticeSchedule findNextNoticeSchedule(java.lang.String... args) throws NotFoundException
NoticeSchedule (Integer, Searchable)args - the optional argumentsNotFoundException - NoticeSchedule was not found@Nonnull public InvoiceProductItem setNextNoticeSchedule(com.aspc.dal.layers.aspc_app.notices.NoticeSchedule value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public boolean isOrderFromSupplier(java.lang.String... args)
@Nonnull public InvoiceProductItem setOrderFromSupplier(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public Contact getOrderSupplier(java.lang.String... args)
@CheckReturnValue @Nonnull public final Contact findOrderSupplier(java.lang.String... args) throws NotFoundException
Contact (Integer,
Searchable)args - the optional argumentsNotFoundException - Contact was not found@Nonnull public InvoiceProductItem setOrderSupplier(com.aspc.dal.dbobj.contact.Contact value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public int getOrigNumDeliveries(java.lang.String... args)
@Nonnull public InvoiceProductItem setOrigNumDeliveries(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public boolean isPickup(java.lang.String... args)
@Nonnull public InvoiceProductItem setPickup(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public Product getProduct(java.lang.String... args)
@CheckReturnValue @Nonnull public final Product findProduct(java.lang.String... args) throws NotFoundException
Product
(String, Searchable)args - the optional argumentsNotFoundException - Product was not found@Nonnull public InvoiceProductItem setProduct(com.aspc.dal.layers.aspc_app.productlabour.Product value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public double getReceived(java.lang.String... args)
@Nonnull public InvoiceProductItem setReceived(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public PriceMatrix getRenewalPriceMatrix(java.lang.String... args)
@CheckReturnValue @Nonnull public final PriceMatrix findRenewalPriceMatrix(java.lang.String... args) throws NotFoundException
PriceMatrix (Integer, Derived, Searchable)args - the optional argumentsNotFoundException - PriceMatrix was not found@CheckReturnValue @Nullable public StockBinItem getStockBinItem(java.lang.String... args)
@CheckReturnValue @Nonnull public final StockBinItem findStockBinItem(java.lang.String... args) throws NotFoundException
StockBinItem (Integer, Searchable)args - the optional argumentsNotFoundException - StockBinItem was not found@Nonnull public InvoiceProductItem setStockBinItem(com.aspc.dal.layers.aspc_app.inventory.StockBinItem value, java.lang.String... args) throws java.lang.Exception
java.lang.Exceptionpublic void updateDeliveriesMade()
throws java.lang.Exception
java.lang.Exception - a serious problemprotected void updateTotalDeliveries()
throws java.lang.Exception
java.lang.Exception - a serious problempublic void adjustActiveInvoice()
throws java.lang.Exception
java.lang.Exceptionprotected void updateDeliveriesRemaining()
throws java.lang.Exception
java.lang.Exception - a serious problempublic java.util.Date calcFinalDeliveryDate()
throws java.lang.Exception
java.lang.Exception - a serious problempublic DeliverySchedule calcFinalDeliverySched() throws java.lang.Exception
java.lang.Exception - a serious problem@OverridingMethodsMustInvokeSuper
protected void extDelete()
throws java.lang.Exception
extDelete in class InvoiceItemjava.lang.Exception - A serious problempublic void updateLastDeliverySchedule()
throws java.lang.Exception
java.lang.Exception - a serious problem@CheckReturnValue
public boolean copyIncludeField(@Nonnull
DBObject orig,
@Nonnull
DBField field)
throws java.lang.Exception
copyIncludeField in class ChargeItemorig - The original object to be copied.field - The field to be copiedjava.lang.Exception - A serious error.@CheckReturnValue
protected boolean extIsOnChange(@Nonnull
DBField field)
DBObjectextIsOnChange in class ChargeItemfield - is DBFieldpublic boolean requiresPurchase()
requiresPurchase in class InvoiceItempublic GeneralTask generatePickup(java.util.Date pickupDt) throws java.lang.Exception
pickupDt - is a datejava.lang.Exception - a serious problempublic NoticeSchedule scheduleNotice() throws java.lang.Exception
java.lang.Exception - a serious problem@Nonnull public TaskNoticeNote recordNotice(@Nonnull NoticeSchedule ns) throws java.lang.Exception
ns - java.lang.Exception - a serious problem@Nullable public GeneralTask recordNoticeTask(@Nullable TaskNoticeNote tn) throws java.lang.Exception
tn - java.lang.Exception - a serious problempublic ProductPartBreakDown recordDelivery(java.util.Date sendDate) throws java.lang.Exception
sendDate - java.lang.Exception - a serious problempublic ProductPartBreakDown recordDelivery(java.util.Date sendDate, int numDeliveries) throws java.lang.Exception
sendDate - numDeliveries - java.lang.Exception - a serious problempublic ProductPartBreakDown recordDelivery(DeliverySchedule sched, java.util.Date sendDate) throws java.lang.Exception
sched - sendDate - java.lang.Exception - a serious problempublic ProductPartBreakDown recordDelivery(DeliverySchedule sched, java.util.Date sendDate, int numDeliveries) throws java.lang.Exception
sched - sendDate - numDeliveries - java.lang.Exception - a serious problempublic InvoiceItem generateCreditItem(MutableDataSource mds, Invoice creditInvoice, double creditAmount) throws java.lang.Exception
generateCreditItem in class InvoiceItemcreditInvoice - The Source Invoice Product Itemmds - The Mutable DataSourcecreditAmount - java.lang.Exception - A serious error.protected boolean isModifiableWhenLocked(DBField field)
isModifiableWhenLocked in class InvoiceItemfield - The field@OverridingMethodsMustInvokeSuper
protected void eventFieldUpdated(@Nonnull
DBField field,
@Nullable
java.lang.Object previous,
@Nullable
GlobalKey previousKey,
@Nullable
FldParams inParams)
throws java.lang.Exception
eventFieldUpdated in class InvoiceIteminParams - field - The field updated.previous - The previous value for this field.previousKey - The previous keyjava.lang.Exception - a serious problem@OverridingMethodsMustInvokeSuper
protected void extPreValidate()
throws java.lang.Exception
extPreValidate in class ChargeItemjava.lang.Exception - a serious problempublic void adjust()
throws java.lang.Exception
java.lang.Exception - a serious problem@CheckReturnValue
protected java.lang.Object extGetDerivedValue(@Nonnull
DBField field,
@Nullable
FldParams params)
throws java.lang.Exception
extGetDerivedValue in class InvoiceItemfield - The field to getparams - The parameters for this field eg. language= or default=java.lang.Exception - A serious problem@CheckReturnValue @Nullable protected GlobalKey extGetDerivedGlobalKey(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
extGetDerivedGlobalKey in class DBObjectfield - The field to getparams - The parameters for this field eg. language= or default=java.lang.Exception - A serious problem@CheckReturnValue @OverridingMethodsMustInvokeSuper @Nullable protected ValidationError extValidateField(@Nonnull DBField field, @Nonnull ValidationList list) throws java.lang.Exception
extValidateField in class InvoiceItemlist - The validation listfield - The field to be validatedjava.lang.Exception - A serious problem@OverridingMethodsMustInvokeSuper
protected void extValidateRecord(@Nonnull
ValidationList list)
throws java.lang.Exception
extValidateRecord in class DBObjectlist - The validation list.java.lang.Exception - A serious problempublic final void updateNumDeliveries(FldParams params) throws java.lang.Exception
params - is a field paramsjava.lang.Exception - a serious problempublic final void updateUnitPrice(FldParams params) throws java.lang.Exception
params - is a field paramsjava.lang.Exception - a serious problemprotected void extUpdateUnitPrice(FldParams params) throws java.lang.Exception
params - is a field paramsjava.lang.Exception - a serious problem@CheckReturnValue
protected boolean extIsMandatory(@Nonnull
DBField field)
extIsMandatory in class InvoiceItemfield - The field to getDBObject.extIsMandatory( DBField)@OverridingMethodsMustInvokeSuper
protected void extCopy(@Nonnull
DBObject target)
throws java.lang.Exception
extCopy in class ChargeItemtarget - The target objectjava.lang.Exception - A serious problem@OverridingMethodsMustInvokeSuper
protected void extFixUp()
throws java.lang.Exception
extFixUp in class InvoiceItemjava.lang.Exception - A serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.