public class ChargeableTaskUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DBFIELD_BILL_TO_CONTACT |
static java.lang.String |
DBFIELD_BUSINESS_GROUP |
static java.lang.String |
DBFIELD_DUE_BY |
static java.lang.String |
DBFIELD_EMAIL_TO_CONTACT1 |
static java.lang.String |
DBFIELD_EMAIL_TO_CONTACT2 |
static java.lang.String |
DBFIELD_EMAIL_TO1 |
static java.lang.String |
DBFIELD_EMAIL_TO2 |
static java.lang.String |
DBFIELD_PURCHASER |
Constructor and Description |
---|
ChargeableTaskUtil() |
Modifier and Type | Method and Description |
---|---|
protected void |
eventFieldUpdated(DBObject base,
DBField field)
update dependent fields.
|
protected GlobalKey |
extGetDerivedGlobalKey(DBObject base,
DBField field,
FldParams params)
Calculate the derived global key for this field.
|
protected java.lang.Object |
extGetDerivedValue(DBObject base,
DBField field,
FldParams params)
Calculate the derived value for this field.
|
protected boolean |
extIsMandatory(DBObject base,
DBField field)
Conditional mandatory field.
|
protected boolean |
isAllReportsAllocated(DBObject base)
Check if all items allocated
|
protected boolean |
isReportCreated(DBObject base,
Product report)
Check if all items allocated
|
public static final java.lang.String DBFIELD_PURCHASER
public static final java.lang.String DBFIELD_BUSINESS_GROUP
public static final java.lang.String DBFIELD_DUE_BY
public static final java.lang.String DBFIELD_EMAIL_TO1
public static final java.lang.String DBFIELD_EMAIL_TO2
public static final java.lang.String DBFIELD_EMAIL_TO_CONTACT1
public static final java.lang.String DBFIELD_EMAIL_TO_CONTACT2
public static final java.lang.String DBFIELD_BILL_TO_CONTACT
protected boolean extIsMandatory(DBObject base, DBField field)
field
- The field to getDBObject.extIsMandatory( DBField)
protected boolean isAllReportsAllocated(DBObject base)
base
- chargeTaskprotected boolean isReportCreated(DBObject base, Product report)
base
- chargeTaskprotected java.lang.Object extGetDerivedValue(DBObject base, DBField field, FldParams params) throws java.lang.Exception
field
- The field to getparams
- The parameters for this field eg. language= or default=java.lang.Exception
- A serious problemprotected GlobalKey extGetDerivedGlobalKey(DBObject base, DBField field, FldParams params) throws java.lang.Exception
field
- The field to getparams
- The parameters for this field eg. language= or default=java.lang.Exception
- A serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.