public class Invoice extends DBObject
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static GlobalId |
DBCLASS_GID
Invoice
|
static java.lang.String |
DBCLASS_NAME
Invoice
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
Invoice(DBClass def,
DataSource dataSource)
Std.
|
Modifier and Type | Method and Description |
---|---|
void |
adjust() |
double |
calBalance()
Calculates the current balance
|
protected Contact |
calcBillTo()
Identify the correct contact to be billed
|
java.util.Date |
calcSubscriptionEndDate() |
double |
calTotalPaid() |
protected void |
cancelPO() |
boolean |
copyIncludeField(DBObject orig,
DBField field)
Doesn't allow to copy fields to DBObject if field is of Invoice Number,
Delivered Made and Delivered Date
|
static Invoice |
create(MutableDataSource mds)
Make a new instance of this class.
|
java.lang.String |
displayName()
The display name
|
protected void |
eventFieldUpdated(DBField field,
java.lang.Object previous,
GlobalKey previousKey,
FldParams inParams)
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()
Additional access checking for write access of this object.
|
protected void |
extCheckModifyAccess(DBField field)
Additional access checking for write access of this object.
|
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 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 |
extPreSaveRecord()
OVERRIDE this method to add functionality to stSoftware BEFORE saving the record to the database.
|
protected void |
extPreValidate()
Update the in-memory universe BEFORE validating
|
protected ValidationError |
extValidateField(DBField field,
ValidationList list)
Additional validation for a particular field.
|
protected void |
extValidateRecord(ValidationList list)
Performs additional validations on this record.
|
Contact |
findBillTo(java.lang.String... args)
Bill To.
|
Country |
findBillToCountry(java.lang.String... args)
Bill To Country.
|
StateRegion |
findBillToState(java.lang.String... args)
Bill To State.
|
PriceMatrixRateCategory |
findCalcPriceMatrixRateCategory(java.lang.String... args)
Determines the price matrix category to be used when calculating the
unit price.
|
Contact |
findClient(java.lang.String... args)
Client to be invoiced.
|
Invoice |
findCreditInvoiceRefundInv(java.lang.String... args)
Original Invoice if this Credit Invoice was generated as part of a
refund.
|
Country |
findDeliveryCountry(java.lang.String... args)
Delivery Country.
|
java.lang.Object |
findDeliveryMethod(java.lang.String... args)
Method in which good should be delivered.
|
StateRegion |
findDeliveryState(java.lang.String... args)
Delivery State.
|
Person |
findEnteredBy(java.lang.String... args)
Entered By.
|
DBTriStateOption |
findExportFg(java.lang.String... args)
Indicates that the Invoice is to be exported.
|
InquirySource |
findInquirySource(java.lang.String... args)
How did the customer find out about us for this sale.
|
protected AccountJournalSet |
findJournalSet(boolean reversal) |
static Invoice |
findKey(DataSource ds,
int key)
Find the target for this class by the primary key
|
Invoice |
findNextInvoice(java.lang.String... args)
Grouping invoices by sale id, this points to the next invoice when
ordered by subscription end date and then invoice date.
|
Company |
findOwnerBusUnit(java.lang.String... args)
Business unit that owns this Invoice.
|
java.lang.Object |
findPaymentTerms(java.lang.String... args)
Payment terms as coded for this customer on their record.
|
Invoice |
findPreviousInvoice(java.lang.String... args)
Grouping invoices by sale id, this points to the previous invoice when
ordered by subscription end date and then invoice date.
|
SalePromotionCode |
findPromotionCode(java.lang.String... args)
The promotion code for the promotion that instigated this sale.
|
InvoiceRefundMethod |
findRefundMethod(java.lang.String... args)
Method of refund in Invoice.
|
InvoiceRefundReason |
findRefundReason(java.lang.String... args)
Reason for refund in Subscription.
|
SalesCycle |
findRenewalCycle() |
SubContinuationMethod |
findRenewalMethod(java.lang.String... args)
renewal method.
|
Sale |
findSaleId(java.lang.String... args)
Associated Job/Subscription.
|
SalesCycle |
findSalesCycle(java.lang.String... args)
Sales cycle that this invoice was generated from.
|
Person |
findSalesPerson(java.lang.String... args)
Person who made the sale.
|
InvoiceStatus |
findStatus(java.lang.String... args)
Status of invoice.
|
PriceMatrixRateCategory |
findSubscriptionRenewalMethod(java.lang.String... args)
Determines the Price Matrix Rate Category that should be used to
determine the price on a renewal of this Invoice.
|
PriceMatrix |
findSubscriptionRenewalPriceMatrix(java.lang.String... args)
Determines the Price Matrix object that should be used when determining
the price on a renewal of this Invoice.
|
TaskStatus |
findSubscriptionStatus(java.lang.String... args)
the current status of the subscription.
|
SubscriptionTerm |
findSubscriptionTerm(java.lang.String... args)
Period that customer will receive this service or items.
|
SubscriptionItemType |
findSubscriptionType(java.lang.String... args)
Identifies the type of subscription item, ie.
|
Invoice |
generateCreditInvoice(MutableDataSource mds,
java.lang.String refund_method)
This method is derived from Subscription.
|
protected AccountJournalSet |
generateJournalSet(boolean reversal)
Generates a new journal set to match current totals for invoice
|
protected Purchase[] |
generatePO() |
SalesCycle |
generateRenewalCycle() |
protected void |
generateSubscription() |
double |
getAmount(java.lang.String... args) |
double |
getBalance(java.lang.String... args) |
double |
getBalanceAsOf(java.lang.String... args) |
Contact |
getBillTo(java.lang.String... args) |
java.lang.String |
getBillToAddress(java.lang.String... args) |
Country |
getBillToCountry(java.lang.String... args) |
java.lang.String |
getBillToDisplayName(java.lang.String... args) |
java.lang.String |
getBillToName(java.lang.String... args) |
java.lang.String |
getBillToPostCode(java.lang.String... args) |
StateRegion |
getBillToState(java.lang.String... args) |
java.lang.String |
getBillToSuburbCity(java.lang.String... args) |
PriceMatrixRateCategory |
getCalcPriceMatrixRateCategory(java.lang.String... args) |
java.util.Date |
getCalcSubscriptionEndDate(java.lang.String... args) |
Contact |
getClient(java.lang.String... args) |
int |
getCreditInvoiceFg(java.lang.String... args) |
Invoice |
getCreditInvoiceRefundInv(java.lang.String... args) |
java.util.Date |
getDateCancelled(java.lang.String... args) |
SubscriptionTerm |
getDefaultProductTerm()
get maximum default term from linked product through invoiceProductItem
|
DBObject |
getDefaultStatus() |
java.util.Date |
getDeliveredDate(java.lang.String... args) |
int |
getDeliveriesMade(java.lang.String... args) |
int |
getDeliveriesRemaining(java.lang.String... args) |
java.lang.String |
getDeliveryAddress(java.lang.String... args) |
Country |
getDeliveryCountry(java.lang.String... args) |
java.util.Date |
getDeliveryDueDate(java.lang.String... args) |
java.lang.String |
getDeliveryInstructions(java.lang.String... args) |
java.lang.Object |
getDeliveryMethod(java.lang.String... args) |
java.lang.String |
getDeliveryPostCode(java.lang.String... args) |
StateRegion |
getDeliveryState(java.lang.String... args) |
java.lang.String |
getDeliverySuburbCity(java.lang.String... args) |
java.lang.String |
getDescription(java.lang.String... args) |
java.lang.String |
getDisplayShortDesc(java.lang.String... args) |
java.util.Date |
getDueDate(java.lang.String... args) |
Person |
getEnteredBy(java.lang.String... args) |
java.util.Date |
getEnterTime(java.lang.String... args) |
java.util.Date |
getExportedTime(java.lang.String... args) |
DBTriStateOption |
getExportFg(java.lang.String... args) |
double |
getFxVariance(java.lang.String... args) |
double |
getGrossAmount(java.lang.String... args) |
InquirySource |
getInquirySource(java.lang.String... args) |
java.util.Date |
getInvDate(java.lang.String... args) |
int |
getInvId(java.lang.String... args) |
java.lang.String |
getInvNumber(java.lang.String... args) |
DBObject[] |
getItems() |
DBObject[] |
getJournalEntries()
Return all journal entries related to this invoice
|
double |
getJournalTotalIncome() |
java.util.Date |
getLastDelivered(java.lang.String... args) |
java.lang.String |
getLastDescription(java.lang.String... args) |
java.util.Date |
getLastModified(java.lang.String... args) |
java.lang.String |
getMyobJobNumber(java.lang.String... args) |
Invoice |
getNextInvoice(java.lang.String... args) |
java.lang.String |
getNotes(java.lang.String... args) |
int |
getNumDeliveries(java.lang.String... args) |
double |
getOverdueAmount(java.lang.String... args) |
Company |
getOwnerBusUnit(java.lang.String... args) |
java.lang.Object |
getPaymentTerms(java.lang.String... args) |
Invoice |
getPreviousInvoice(java.lang.String... args) |
SalePromotionCode |
getPromotionCode(java.lang.String... args) |
java.lang.String |
getRateCategory(java.lang.String... args) |
java.lang.String |
getReference(java.lang.String... args) |
InvoiceRefundMethod |
getRefundMethod(java.lang.String... args) |
java.lang.String |
getRefundNotes(java.lang.String... args) |
InvoiceRefundReason |
getRefundReason(java.lang.String... args) |
SubContinuationMethod |
getRenewalMethod(java.lang.String... args) |
double |
getSaleClosingBalance(java.lang.String... args) |
Sale |
getSaleId(java.lang.String... args) |
double |
getSaleOpeningBalance(java.lang.String... args) |
SalesCycle |
getSalesCycle(java.lang.String... args) |
Person |
getSalesPerson(java.lang.String... args) |
java.lang.String |
getShipToName(java.lang.String... args) |
InvoiceStatus |
getStatus(java.lang.String... args) |
Subscription |
getSubscription() |
java.util.Date |
getSubscriptionCancelledDate(java.lang.String... args) |
java.util.Date |
getSubscriptionEndDate(java.lang.String... args) |
java.util.Date |
getSubscriptionEndDateAdj(java.lang.String... args) |
PriceMatrixRateCategory |
getSubscriptionRenewalMethod(java.lang.String... args) |
double |
getSubscriptionRenewalPrice(java.lang.String... args) |
PriceMatrix |
getSubscriptionRenewalPriceMatrix(java.lang.String... args) |
java.util.Date |
getSubscriptionStartDate(java.lang.String... args) |
TaskStatus |
getSubscriptionStatus(java.lang.String... args) |
SubscriptionTerm |
getSubscriptionTerm(java.lang.String... args) |
SubscriptionItemType |
getSubscriptionType(java.lang.String... args) |
int |
getSubscriptionUsers(java.lang.String... args) |
double |
getTaxAmount(java.lang.String... args) |
double |
getToPayExcludeOverdue(java.lang.String... args) |
double |
getTotalApplied(java.lang.String... args) |
double |
getTotalCost(java.lang.String... args) |
double |
getTotalCredits(java.lang.String... args) |
double |
getTotalDebits(java.lang.String... args) |
double |
getTotalDue(java.lang.String... args) |
double |
getTotalPaid(java.lang.String... args) |
double |
getTotalPOT(java.lang.String... args) |
double |
getTotalProfit(java.lang.String... args) |
double |
getTotalRefunds(java.lang.String... args) |
double |
getTotalRoyalties(java.lang.String... args) |
double |
getTotalSettledCredits(java.lang.String... args) |
double |
getTotalToPay(java.lang.String... args) |
double |
getTotalToPayExcludingTax(java.lang.String... args) |
double |
getTotalTransferredCredits(java.lang.String... args) |
double |
getTotalTruePaid(java.lang.String... args) |
java.lang.String |
getXeroInvoiceId(java.lang.String... args) |
boolean |
isAllowRenewalNotices(java.lang.String... args) |
boolean |
isCancelled() |
boolean |
isCreditInvoice(java.lang.String... args) |
boolean |
isCreditNote(java.lang.String... args) |
boolean |
isIgnoreJournalCheck(java.lang.String... args) |
boolean |
isLocked() |
protected boolean |
isModifiableWhenLocked(DBField field) |
boolean |
isMyobSyncFg(java.lang.String... args) |
boolean |
isNotUpdateSubEndDate(java.lang.String... args) |
boolean |
isProcessed()
If an invoice is processed that it is assumed that the client has the invoice
and it has not been canceled
|
boolean |
isRefunded(java.lang.String... args) |
boolean |
isSubscriptionIsFirstPaid(java.lang.String... args) |
boolean |
isSubscriptionIsRenewal(java.lang.String... args) |
boolean |
isUnlocked(java.lang.String... args) |
boolean |
isUserAccountant()
Check if user
|
static DBQuery<Invoice> |
makeQuery(DataSource ds)
Make a new QUERY for this class.
|
void |
scheduleNotices() |
Invoice |
setBalance(double value,
java.lang.String... args) |
Invoice |
setBillTo(com.aspc.dal.dbobj.contact.Contact value,
java.lang.String... args) |
Invoice |
setBillToAddress(java.lang.String value,
java.lang.String... args) |
Invoice |
setBillToCountry(com.aspc.dal.dbobj.misc.Country value,
java.lang.String... args) |
Invoice |
setBillToName(java.lang.String value,
java.lang.String... args) |
Invoice |
setBillToPostCode(java.lang.String value,
java.lang.String... args) |
Invoice |
setBillToState(com.aspc.dal.layers.aspc_app.misc.StateRegion value,
java.lang.String... args) |
Invoice |
setBillToSuburbCity(java.lang.String value,
java.lang.String... args) |
Invoice |
setClient(com.aspc.dal.dbobj.contact.Contact value,
java.lang.String... args) |
Invoice |
setCreditInvoiceFg(int value,
java.lang.String... args) |
Invoice |
setCreditInvoiceRefundInv(com.aspc.dal.layers.aspc_app.invoice.Invoice value,
java.lang.String... args) |
Invoice |
setDateCancelled(java.util.Date value,
java.lang.String... args) |
void |
setDefaultProductTerm() |
Invoice |
setDeliveredDate(java.util.Date value,
java.lang.String... args) |
Invoice |
setDeliveryAddress(java.lang.String value,
java.lang.String... args) |
Invoice |
setDeliveryCountry(com.aspc.dal.dbobj.misc.Country value,
java.lang.String... args) |
Invoice |
setDeliveryDueDate(java.util.Date value,
java.lang.String... args) |
Invoice |
setDeliveryInstructions(java.lang.String value,
java.lang.String... args) |
Invoice |
setDeliveryMethod(java.lang.Object value,
java.lang.String... args) |
Invoice |
setDeliveryPostCode(java.lang.String value,
java.lang.String... args) |
Invoice |
setDeliveryState(com.aspc.dal.layers.aspc_app.misc.StateRegion value,
java.lang.String... args) |
Invoice |
setDeliverySuburbCity(java.lang.String value,
java.lang.String... args) |
Invoice |
setDescription(java.lang.String value,
java.lang.String... args) |
Invoice |
setEnteredBy(com.aspc.dal.layers.aspc_app.contact.Person value,
java.lang.String... args) |
Invoice |
setEnterTime(java.util.Date value,
java.lang.String... args) |
Invoice |
setExportedTime(java.util.Date value,
java.lang.String... args) |
Invoice |
setExportFg(com.aspc.dal.dbobj.misc.DBTriStateOption value,
java.lang.String... args) |
Invoice |
setFxVariance(double value,
java.lang.String... args) |
Invoice |
setIgnoreJournalCheck(boolean value,
java.lang.String... args) |
Invoice |
setInquirySource(com.aspc.dal.dbobj.misc.InquirySource value,
java.lang.String... args) |
Invoice |
setInvDate(java.util.Date value,
java.lang.String... args) |
Invoice |
setInvId(int value,
java.lang.String... args) |
Invoice |
setInvNumber(java.lang.String value,
java.lang.String... args) |
Invoice |
setLastModified(java.util.Date value,
java.lang.String... args) |
Invoice |
setMyobJobNumber(java.lang.String value,
java.lang.String... args) |
Invoice |
setMyobSyncFg(boolean value,
java.lang.String... args) |
Invoice |
setNotes(java.lang.String value,
java.lang.String... args) |
Invoice |
setNotUpdateSubEndDate(boolean value,
java.lang.String... args) |
Invoice |
setOwnerBusUnit(com.aspc.dal.layers.aspc_app.contact.Business value,
java.lang.String... args) |
Invoice |
setPaymentTerms(java.lang.Object value,
java.lang.String... args) |
Invoice |
setPromotionCode(com.aspc.dal.layers.aspc_app.invoice.SalePromotionCode value,
java.lang.String... args) |
Invoice |
setRateCategory(java.lang.String value,
java.lang.String... args) |
Invoice |
setRefunded(boolean value,
java.lang.String... args) |
Invoice |
setRefundMethod(com.aspc.dal.layers.aspc_app.invoice.InvoiceRefundMethod value,
java.lang.String... args) |
Invoice |
setRefundNotes(java.lang.String value,
java.lang.String... args) |
Invoice |
setRefundReason(com.aspc.dal.layers.aspc_app.invoice.InvoiceRefundReason value,
java.lang.String... args) |
Invoice |
setRenewalMethod(com.aspc.dal.layers.aspc_app.subscription.SubContinuationMethod value,
java.lang.String... args) |
Invoice |
setSaleId(com.aspc.dal.layers.aspc_app.task.Sale value,
java.lang.String... args) |
Invoice |
setSalesCycle(com.aspc.dal.layers.aspc_app.task.SalesCycle value,
java.lang.String... args) |
Invoice |
setSalesPerson(com.aspc.dal.layers.aspc_app.contact.Person value,
java.lang.String... args) |
Invoice |
setStatus(com.aspc.dal.layers.aspc_app.invoice.InvoiceStatus value,
java.lang.String... args) |
Invoice |
setSubscriptionCancelledDate(java.util.Date value,
java.lang.String... args) |
Invoice |
setSubscriptionEndDate(java.util.Date value,
java.lang.String... args) |
Invoice |
setSubscriptionEndDateAdj(java.util.Date value,
java.lang.String... args) |
Invoice |
setSubscriptionStartDate(java.util.Date value,
java.lang.String... args) |
Invoice |
setSubscriptionStatus(com.aspc.dal.layers.aspc_app.misc.TaskStatus value,
java.lang.String... args) |
Invoice |
setSubscriptionTerm(com.aspc.dal.layers.aspc_app.subscription.SubscriptionTerm value,
java.lang.String... args) |
Invoice |
setSubscriptionType(com.aspc.dal.layers.aspc_app.subscription.SubscriptionItemType value,
java.lang.String... args) |
Invoice |
setSubscriptionUsers(int value,
java.lang.String... args) |
Invoice |
setUnlocked(boolean value,
java.lang.String... args) |
Invoice |
setXeroInvoiceId(java.lang.String value,
java.lang.String... args) |
void |
updateBalance()
Updates the balance to be the current calculated balance
|
protected void |
updateBillToAddress() |
protected void |
updateInvoiceNumber() |
void |
updateProductItems(FldParams params) |
void |
updateProductItems(InvoiceProductItem pi,
FldParams params)
Updates concrete fields that are calculated based on other fields which could
be a combination of fields from the Invoice class and dependent classes
such as InvoiceItem.
|
void |
updateSubscriptionEndDate(FldParams inParams)
If invoice is a subscription invoice then update subscription end date
Set as auto entered so that it is not stored on the screens which may
overwrite it depending on the order the fields are updated
|
void |
updateSubscriptionEndDate(FldParams inParams,
boolean notifySubscription)
If invoice is a subscription invoice then update subscription end date
Set as auto entered so that it is not stored on the screens which may
overwrite it depending on the order the fields are updated
|
void |
updateSubStatus()
update the subscription status of the invoice.
|
addReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, clearCache, copy, copyFields, copyInwardLinks, delete, denormalizedResult, displayLogName, displayValue, doSearch, dump, equals, eventDataLoaded, extCanDeleteDependantObject, extCheckDeleteAccess, extCheckReadAccess, extDeleteRecord, extGetDerivedGlobalKey, extGetValue, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, 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, validateSubType
public static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public Invoice(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 getInvId(java.lang.String... args)
@Nonnull public Invoice setInvId(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isAllowRenewalNotices(java.lang.String... args)
@CheckReturnValue public double getAmount(java.lang.String... args)
@CheckReturnValue public double getBalance(java.lang.String... args)
@Nonnull public Invoice setBalance(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getBalanceAsOf(java.lang.String... args)
@CheckReturnValue @Nullable public Contact getBillTo(java.lang.String... args)
@CheckReturnValue @Nonnull public final Contact findBillTo(java.lang.String... args) throws NotFoundException
Contact
(Integer,
Searchable)args
- the optional argumentsNotFoundException
- Contact was not found@Nonnull public Invoice setBillTo(com.aspc.dal.dbobj.contact.Contact value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBillToAddress(java.lang.String... args)
@Nonnull public Invoice setBillToAddress(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Country getBillToCountry(java.lang.String... args)
@CheckReturnValue @Nonnull public final Country findBillToCountry(java.lang.String... args) throws NotFoundException
Country
(String,
Searchable)args
- the optional argumentsNotFoundException
- Country was not found@Nonnull public Invoice setBillToCountry(com.aspc.dal.dbobj.misc.Country value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBillToDisplayName(java.lang.String... args)
@CheckReturnValue @Nonnull public java.lang.String getBillToName(java.lang.String... args)
@Nonnull public Invoice setBillToName(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBillToPostCode(java.lang.String... args)
@Nonnull public Invoice setBillToPostCode(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public StateRegion getBillToState(java.lang.String... args)
@CheckReturnValue @Nonnull public final StateRegion findBillToState(java.lang.String... args) throws NotFoundException
StateRegion
(String, Searchable)args
- the optional argumentsNotFoundException
- StateRegion was not found@Nonnull public Invoice setBillToState(com.aspc.dal.layers.aspc_app.misc.StateRegion value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBillToSuburbCity(java.lang.String... args)
@Nonnull public Invoice setBillToSuburbCity(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public PriceMatrixRateCategory getCalcPriceMatrixRateCategory(java.lang.String... args)
@CheckReturnValue @Nonnull public final PriceMatrixRateCategory findCalcPriceMatrixRateCategory(java.lang.String... args) throws NotFoundException
.PriceMatrixRateCategory PriceMatrixRateCategory
(String, Derived,
Searchable)args
- the optional argumentsNotFoundException
- PriceMatrixRateCategory was not found@CheckReturnValue @Nullable public java.util.Date getCalcSubscriptionEndDate(java.lang.String... args)
@CheckReturnValue @Nullable public Contact getClient(java.lang.String... args)
@CheckReturnValue @Nonnull public final Contact findClient(java.lang.String... args) throws NotFoundException
Contact
(Integer,
Mandatory, Searchable)args
- the optional argumentsNotFoundException
- Contact was not found@Nonnull public Invoice setClient(com.aspc.dal.dbobj.contact.Contact value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public int getCreditInvoiceFg(java.lang.String... args)
@Nonnull public Invoice setCreditInvoiceFg(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Invoice getCreditInvoiceRefundInv(java.lang.String... args)
@CheckReturnValue @Nonnull public final Invoice findCreditInvoiceRefundInv(java.lang.String... args) throws NotFoundException
Invoice
(Integer, Searchable)args
- the optional argumentsNotFoundException
- Invoice was not found@Nonnull public Invoice setCreditInvoiceRefundInv(com.aspc.dal.layers.aspc_app.invoice.Invoice value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getDateCancelled(java.lang.String... args)
@Nonnull public Invoice setDateCancelled(java.util.Date 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 Invoice setDeliveredDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public int getDeliveriesMade(java.lang.String... args)
@CheckReturnValue public int getDeliveriesRemaining(java.lang.String... args)
@CheckReturnValue @Nonnull public java.lang.String getDeliveryAddress(java.lang.String... args)
@Nonnull public Invoice setDeliveryAddress(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Country getDeliveryCountry(java.lang.String... args)
@CheckReturnValue @Nonnull public final Country findDeliveryCountry(java.lang.String... args) throws NotFoundException
Country
(String,
Searchable)args
- the optional argumentsNotFoundException
- Country was not found@Nonnull public Invoice setDeliveryCountry(com.aspc.dal.dbobj.misc.Country value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getDeliveryDueDate(java.lang.String... args)
@Nonnull public Invoice setDeliveryDueDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDeliveryInstructions(java.lang.String... args)
@Nonnull public Invoice setDeliveryInstructions(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.lang.Object getDeliveryMethod(java.lang.String... args)
@CheckReturnValue @Nonnull public final java.lang.Object findDeliveryMethod(java.lang.String... args) throws NotFoundException
DeliveryMethod
(String, Searchable)args
- the optional argumentsNotFoundException
- DeliveryMethod was not found@Nonnull public Invoice setDeliveryMethod(java.lang.Object value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDeliveryPostCode(java.lang.String... args)
@Nonnull public Invoice setDeliveryPostCode(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public StateRegion getDeliveryState(java.lang.String... args)
@CheckReturnValue @Nonnull public final StateRegion findDeliveryState(java.lang.String... args) throws NotFoundException
StateRegion
(String, Searchable)args
- the optional argumentsNotFoundException
- StateRegion was not found@Nonnull public Invoice setDeliveryState(com.aspc.dal.layers.aspc_app.misc.StateRegion value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDeliverySuburbCity(java.lang.String... args)
@Nonnull public Invoice setDeliverySuburbCity(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDescription(java.lang.String... args)
@Nonnull public Invoice setDescription(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDisplayShortDesc(java.lang.String... args)
@CheckReturnValue @Nullable public java.util.Date getDueDate(java.lang.String... args)
@CheckReturnValue @Nullable public java.util.Date getEnterTime(java.lang.String... args)
@Nonnull public Invoice setEnterTime(java.util.Date 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 Invoice setEnteredBy(com.aspc.dal.layers.aspc_app.contact.Person value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DBTriStateOption getExportFg(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBTriStateOption findExportFg(java.lang.String... args) throws NotFoundException
DBTriStateOption
(String, Searchable)args
- the optional argumentsNotFoundException
- DBTriStateOption was not found@Nonnull public Invoice setExportFg(com.aspc.dal.dbobj.misc.DBTriStateOption value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getExportedTime(java.lang.String... args)
@Nonnull public Invoice setExportedTime(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getFxVariance(java.lang.String... args)
@Nonnull public Invoice setFxVariance(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getGrossAmount(java.lang.String... args)
@CheckReturnValue public boolean isIgnoreJournalCheck(java.lang.String... args)
@Nonnull public Invoice setIgnoreJournalCheck(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public InquirySource getInquirySource(java.lang.String... args)
@CheckReturnValue @Nonnull public final InquirySource findInquirySource(java.lang.String... args) throws NotFoundException
InquirySource
(String, Searchable)args
- the optional argumentsNotFoundException
- InquirySource was not found@Nonnull public Invoice setInquirySource(com.aspc.dal.dbobj.misc.InquirySource value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getInvDate(java.lang.String... args)
@Nonnull public Invoice setInvDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getInvNumber(java.lang.String... args)
@Nonnull public Invoice setInvNumber(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isCreditInvoice(java.lang.String... args)
@CheckReturnValue public boolean isCreditNote(java.lang.String... args)
@CheckReturnValue public boolean isRefunded(java.lang.String... args)
@Nonnull public Invoice setRefunded(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getLastDelivered(java.lang.String... args)
@CheckReturnValue @Nonnull public java.lang.String getLastDescription(java.lang.String... args)
@CheckReturnValue @Nullable public java.util.Date getLastModified(java.lang.String... args)
@Nonnull public Invoice setLastModified(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getMyobJobNumber(java.lang.String... args)
@Nonnull public Invoice setMyobJobNumber(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isMyobSyncFg(java.lang.String... args)
@Nonnull public Invoice setMyobSyncFg(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Invoice getNextInvoice(java.lang.String... args)
@CheckReturnValue @Nonnull public final Invoice findNextInvoice(java.lang.String... args) throws NotFoundException
Invoice
(Integer, Derived, Searchable)args
- the optional argumentsNotFoundException
- Invoice was not found@CheckReturnValue public boolean isNotUpdateSubEndDate(java.lang.String... args)
@Nonnull public Invoice setNotUpdateSubEndDate(boolean 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 Invoice setNotes(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public int getNumDeliveries(java.lang.String... args)
@CheckReturnValue public double getOverdueAmount(java.lang.String... args)
@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 Invoice setOwnerBusUnit(com.aspc.dal.layers.aspc_app.contact.Business value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.lang.Object getPaymentTerms(java.lang.String... args)
@CheckReturnValue @Nonnull public final java.lang.Object findPaymentTerms(java.lang.String... args) throws NotFoundException
PaymentTerms
(String, Searchable)args
- the optional argumentsNotFoundException
- PaymentTerms was not found@Nonnull public Invoice setPaymentTerms(java.lang.Object value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Invoice getPreviousInvoice(java.lang.String... args)
@CheckReturnValue @Nonnull public final Invoice findPreviousInvoice(java.lang.String... args) throws NotFoundException
Invoice
(Integer, Derived, Searchable)args
- the optional argumentsNotFoundException
- Invoice was not found@CheckReturnValue @Nullable public SalePromotionCode getPromotionCode(java.lang.String... args)
@CheckReturnValue @Nonnull public final SalePromotionCode findPromotionCode(java.lang.String... args) throws NotFoundException
SalePromotionCode
(String, Searchable)args
- the optional argumentsNotFoundException
- SalePromotionCode was not found@Nonnull public Invoice setPromotionCode(com.aspc.dal.layers.aspc_app.invoice.SalePromotionCode value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getRateCategory(java.lang.String... args)
@Nonnull public Invoice setRateCategory(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getReference(java.lang.String... args)
@CheckReturnValue @Nullable public InvoiceRefundMethod getRefundMethod(java.lang.String... args)
@CheckReturnValue @Nonnull public final InvoiceRefundMethod findRefundMethod(java.lang.String... args) throws NotFoundException
InvoiceRefundMethod
(String, Searchable)args
- the optional argumentsNotFoundException
- InvoiceRefundMethod was not found@Nonnull public Invoice setRefundMethod(com.aspc.dal.layers.aspc_app.invoice.InvoiceRefundMethod value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getRefundNotes(java.lang.String... args)
@Nonnull public Invoice setRefundNotes(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public InvoiceRefundReason getRefundReason(java.lang.String... args)
@CheckReturnValue @Nonnull public final InvoiceRefundReason findRefundReason(java.lang.String... args) throws NotFoundException
InvoiceRefundReason
(String, Searchable)args
- the optional argumentsNotFoundException
- InvoiceRefundReason was not found@Nonnull public Invoice setRefundReason(com.aspc.dal.layers.aspc_app.invoice.InvoiceRefundReason value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public SubContinuationMethod getRenewalMethod(java.lang.String... args)
@CheckReturnValue @Nonnull public final SubContinuationMethod findRenewalMethod(java.lang.String... args) throws NotFoundException
.SubContinuationMethod SubContinuationMethod
(String, Searchable)args
- the optional argumentsNotFoundException
- SubContinuationMethod was not found@Nonnull public Invoice setRenewalMethod(com.aspc.dal.layers.aspc_app.subscription.SubContinuationMethod value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getSaleClosingBalance(java.lang.String... args)
@CheckReturnValue @Nullable public Sale getSaleId(java.lang.String... args)
@CheckReturnValue @Nonnull public final Sale findSaleId(java.lang.String... args) throws NotFoundException
Sale
(Integer,
Searchable)args
- the optional argumentsNotFoundException
- Sale was not found@Nonnull public Invoice setSaleId(com.aspc.dal.layers.aspc_app.task.Sale value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getSaleOpeningBalance(java.lang.String... args)
@CheckReturnValue @Nullable public SalesCycle getSalesCycle(java.lang.String... args)
@CheckReturnValue @Nonnull public final SalesCycle findSalesCycle(java.lang.String... args) throws NotFoundException
SalesCycle
(Integer, Searchable)args
- the optional argumentsNotFoundException
- SalesCycle was not found@Nonnull public Invoice setSalesCycle(com.aspc.dal.layers.aspc_app.task.SalesCycle value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Person getSalesPerson(java.lang.String... args)
@CheckReturnValue @Nonnull public final Person findSalesPerson(java.lang.String... args) throws NotFoundException
Person
(Integer, Searchable)args
- the optional argumentsNotFoundException
- Person was not found@Nonnull public Invoice setSalesPerson(com.aspc.dal.layers.aspc_app.contact.Person value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getShipToName(java.lang.String... args)
@CheckReturnValue @Nullable public InvoiceStatus getStatus(java.lang.String... args)
@CheckReturnValue @Nonnull public final InvoiceStatus findStatus(java.lang.String... args) throws NotFoundException
InvoiceStatus
(String, Mandatory, Searchable)args
- the optional argumentsNotFoundException
- InvoiceStatus was not found@Nonnull public Invoice setStatus(com.aspc.dal.layers.aspc_app.invoice.InvoiceStatus value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getSubscriptionCancelledDate(java.lang.String... args)
@Nonnull public Invoice setSubscriptionCancelledDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getSubscriptionEndDate(java.lang.String... args)
@Nonnull public Invoice setSubscriptionEndDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getSubscriptionEndDateAdj(java.lang.String... args)
@Nonnull public Invoice setSubscriptionEndDateAdj(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isSubscriptionIsFirstPaid(java.lang.String... args)
@CheckReturnValue public boolean isSubscriptionIsRenewal(java.lang.String... args)
@CheckReturnValue @Nullable public PriceMatrixRateCategory getSubscriptionRenewalMethod(java.lang.String... args)
@CheckReturnValue @Nonnull public final PriceMatrixRateCategory findSubscriptionRenewalMethod(java.lang.String... args) throws NotFoundException
.PriceMatrixRateCategory PriceMatrixRateCategory
(String, Derived,
Searchable)args
- the optional argumentsNotFoundException
- PriceMatrixRateCategory was not found@CheckReturnValue public double getSubscriptionRenewalPrice(java.lang.String... args)
@CheckReturnValue @Nullable public PriceMatrix getSubscriptionRenewalPriceMatrix(java.lang.String... args)
@CheckReturnValue @Nonnull public final PriceMatrix findSubscriptionRenewalPriceMatrix(java.lang.String... args) throws NotFoundException
PriceMatrix
(Integer, Derived, Searchable)args
- the optional argumentsNotFoundException
- PriceMatrix was not found@CheckReturnValue @Nullable public java.util.Date getSubscriptionStartDate(java.lang.String... args)
@Nonnull public Invoice setSubscriptionStartDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public TaskStatus getSubscriptionStatus(java.lang.String... args)
@CheckReturnValue @Nonnull public final TaskStatus findSubscriptionStatus(java.lang.String... args) throws NotFoundException
TaskStatus
(String, Searchable)args
- the optional argumentsNotFoundException
- TaskStatus was not found@Nonnull public Invoice setSubscriptionStatus(com.aspc.dal.layers.aspc_app.misc.TaskStatus value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public SubscriptionTerm getSubscriptionTerm(java.lang.String... args)
@CheckReturnValue @Nonnull public final SubscriptionTerm findSubscriptionTerm(java.lang.String... args) throws NotFoundException
SubscriptionTerm
(String, Searchable)args
- the optional argumentsNotFoundException
- SubscriptionTerm was not found@Nonnull public Invoice setSubscriptionTerm(com.aspc.dal.layers.aspc_app.subscription.SubscriptionTerm value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public SubscriptionItemType getSubscriptionType(java.lang.String... args)
@CheckReturnValue @Nonnull public final SubscriptionItemType findSubscriptionType(java.lang.String... args) throws NotFoundException
.SubscriptionItemType SubscriptionItemType
(String, Searchable)args
- the optional argumentsNotFoundException
- SubscriptionItemType was not found@Nonnull public Invoice setSubscriptionType(com.aspc.dal.layers.aspc_app.subscription.SubscriptionItemType value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public int getSubscriptionUsers(java.lang.String... args)
@Nonnull public Invoice setSubscriptionUsers(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getTaxAmount(java.lang.String... args)
@CheckReturnValue public double getToPayExcludeOverdue(java.lang.String... args)
@CheckReturnValue public double getTotalApplied(java.lang.String... args)
@CheckReturnValue public double getTotalCost(java.lang.String... args)
@CheckReturnValue public double getTotalCredits(java.lang.String... args)
@CheckReturnValue public double getTotalDebits(java.lang.String... args)
@CheckReturnValue public double getTotalDue(java.lang.String... args)
@CheckReturnValue public double getTotalPOT(java.lang.String... args)
@CheckReturnValue public double getTotalPaid(java.lang.String... args)
@CheckReturnValue public double getTotalProfit(java.lang.String... args)
@CheckReturnValue public double getTotalRefunds(java.lang.String... args)
@CheckReturnValue public double getTotalRoyalties(java.lang.String... args)
@CheckReturnValue public double getTotalSettledCredits(java.lang.String... args)
@CheckReturnValue public double getTotalToPay(java.lang.String... args)
@CheckReturnValue public double getTotalToPayExcludingTax(java.lang.String... args)
@CheckReturnValue public double getTotalTransferredCredits(java.lang.String... args)
@CheckReturnValue public double getTotalTruePaid(java.lang.String... args)
@CheckReturnValue public boolean isUnlocked(java.lang.String... args)
@Nonnull public Invoice setUnlocked(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getXeroInvoiceId(java.lang.String... args)
@Nonnull public Invoice setXeroInvoiceId(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@Nonnull @CheckReturnValue public static Invoice 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<Invoice> makeQuery(@Nonnull DataSource ds) throws NotFoundException
ds
- the datasourceNotFoundException
- if class could not be found@Nonnull @CheckReturnValue public static Invoice 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 problempublic boolean isLocked()
public boolean isUserAccountant() throws java.lang.Exception
java.lang.Exception
@OverridingMethodsMustInvokeSuper protected void extCheckModifyAccess() throws DBAccessException
extCheckModifyAccess
in class DBObject
DBAccessException
- No access to modify@OverridingMethodsMustInvokeSuper protected void extCheckCreateAccess() throws DBAccessException
extCheckCreateAccess
in class DBObject
DBAccessException
- No access to createDBObject.checkCreateAccess()
public boolean isCancelled()
public DBObject getDefaultStatus() throws java.lang.Exception
java.lang.Exception
- a serious problempublic void updateSubStatus() throws java.lang.Exception
java.lang.Exception
- an errorpublic void updateBalance() throws java.lang.Exception
java.lang.Exception
- a serious problempublic double calBalance() throws java.lang.Exception
java.lang.Exception
- a serious problempublic double calTotalPaid() throws java.lang.Exception
java.lang.Exception
- a serious problempublic SalesCycle findRenewalCycle()
public SalesCycle generateRenewalCycle() throws java.lang.Exception
java.lang.Exception
- a serious problempublic Subscription getSubscription()
public void scheduleNotices() throws java.lang.Exception
java.lang.Exception
- a serious problem@OverridingMethodsMustInvokeSuper protected void extAutoEnterCreate() throws java.lang.Exception
extAutoEnterCreate
in class DBObject
java.lang.Exception
- A serious problemcom.aspc.DBObj.DBObject#autoEnterCreate()
public java.util.Date calcSubscriptionEndDate() throws java.lang.Exception
java.lang.Exception
- a serious problem@CheckReturnValue @Nonnull public java.lang.String displayName()
displayName
in class DBObject
@CheckReturnValue protected java.lang.Object extGetDerivedValue(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
extGetDerivedValue
in class DBObject
field
- The field to getparams
- The parameters for this field eg. language= or default=java.lang.Exception
- A serious problemprotected Contact calcBillTo()
@OverridingMethodsMustInvokeSuper protected void extCheckModifyAccess(@Nonnull DBField field) throws DBAccessException
extCheckModifyAccess
in class DBObject
field
- The fieldDBAccessException
- No access to modifyprotected boolean isModifiableWhenLocked(DBField field)
field
- The field@OverridingMethodsMustInvokeSuper protected void extCopy(@Nonnull DBObject target) throws java.lang.Exception
@CheckReturnValue protected boolean extIsOnChange(@Nonnull DBField field)
extIsOnChange
in class DBObject
field
- The field to check@Nullable @CheckReturnValue @OverridingMethodsMustInvokeSuper protected ValidationError extValidateField(@Nonnull DBField field, @Nonnull ValidationList list) throws java.lang.Exception
extValidateField
in class DBObject
list
- The validation listfield
- The field to be validatedjava.lang.Exception
- A serious problempublic boolean isProcessed()
public DBObject[] getItems() throws java.lang.Exception
java.lang.Exception
- a serious problem.public DBObject[] getJournalEntries() throws java.lang.Exception
java.lang.Exception
- a serious problem.@CheckReturnValue protected boolean extIsMandatory(@Nonnull DBField field)
extIsMandatory
in class DBObject
field
- The field to getDBObject.extIsMandatory( DBField)
@OverridingMethodsMustInvokeSuper protected void extValidateRecord(@Nonnull ValidationList list) throws java.lang.Exception
extValidateRecord
in class DBObject
list
- The validation list.java.lang.Exception
- A serious problem@OverridingMethodsMustInvokeSuper protected void extPreSaveRecord() throws java.lang.Exception
DBObject
extPreSaveRecord
in class DBObject
java.lang.Exception
- a serious problempublic void updateSubscriptionEndDate(FldParams inParams) throws java.lang.Exception
inParams
- java.lang.Exception
- a serious problempublic void updateSubscriptionEndDate(FldParams inParams, boolean notifySubscription) throws java.lang.Exception
inParams
- notifySubscription
- - controls if subscription should be notified of change
This is false if subscription is updating end datesjava.lang.Exception
- a serious problempublic void updateProductItems(FldParams params) throws java.lang.Exception
params
- the field parametersjava.lang.Exception
- a serious problempublic void updateProductItems(InvoiceProductItem pi, FldParams params) throws java.lang.Exception
pi
- params
- the field parametersjava.lang.Exception
- a serious problem@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 DBObject
inParams
- field
- The field updated.previous
- The previous value for this field.previousKey
- The previous keyjava.lang.Exception
- a serious problemprotected void updateBillToAddress() throws java.lang.Exception
java.lang.Exception
@OverridingMethodsMustInvokeSuper protected void extPreValidate() throws java.lang.Exception
extPreValidate
in class DBObject
java.lang.Exception
- A serious problempublic void adjust() throws java.lang.Exception
java.lang.Exception
- Exception A serious problemprotected void updateInvoiceNumber() throws java.lang.Exception
java.lang.Exception
- a serious problemprotected void generateSubscription() throws java.lang.Exception
java.lang.Exception
- a serious problemprotected void cancelPO() throws java.lang.Exception
java.lang.Exception
- a serious problemprotected AccountJournalSet generateJournalSet(boolean reversal) throws java.lang.Exception
reversal
- java.lang.Exception
- a serious problemprotected AccountJournalSet findJournalSet(boolean reversal) throws java.lang.Exception
reversal
- java.lang.Exception
- a serious problemprotected Purchase[] generatePO() throws java.lang.Exception
java.lang.Exception
- a serious problem@OverridingMethodsMustInvokeSuper protected void extDelete() throws java.lang.Exception
@OverridingMethodsMustInvokeSuper protected void extFixUp() throws java.lang.Exception
public double getJournalTotalIncome() throws java.lang.Exception
java.lang.Exception
public void setDefaultProductTerm() throws java.lang.Exception
java.lang.Exception
- a serious problempublic SubscriptionTerm getDefaultProductTerm() throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean copyIncludeField(@Nonnull DBObject orig, @Nonnull DBField field) throws java.lang.Exception
copyIncludeField
in class DBObject
orig
- The original object to be copied.field
- The field to be copiedjava.lang.Exception
- A serious error.public Invoice generateCreditInvoice(MutableDataSource mds, java.lang.String refund_method) throws java.lang.Exception
mds
- The Mutable DataSourcerefund_method
- java.lang.Exception
- A serious error.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.