Package org.openbravo.model.shipping
Class ShippingCompanyFreight
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.shipping.ShippingCompanyFreight
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class ShippingCompanyFreight extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity ShippingShippingCompanyFreight (stored in table M_Freight).
Help: Freight Rates for Shipper
NOTE: This class should not be instantiated directly. To instantiate this class theOBProvider
should be used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
static String
PROPERTY_ACTIVE
Property active stored in column IsActive in table M_Freightstatic String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table M_Freightstatic String
PROPERTY_COUNTRY
Property country stored in column C_Country_ID in table M_Freight
Help: The Country defines a Country. Each Country must be defined before it can be used in any document.static String
PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table M_Freightstatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table M_Freightstatic String
PROPERTY_CURRENCY
Property currency stored in column C_Currency_ID in table M_Freight
Help: Indicates the currency to be used when processing this document.static String
PROPERTY_DESTINATIONCOUNTRY
Property destinationCountry stored in column To_Country_ID in table M_Freight
Help: The To Country indicates the receiving country on a documentstatic String
PROPERTY_DESTINATIONREGION
Property destinationRegion stored in column To_Region_ID in table M_Freight
Help: The To Region indicates the receiving region on a documentstatic String
PROPERTY_FREIGHTAMOUNT
Property freightAmount stored in column FreightAmt in table M_Freight
Help: The Freight Amount indicates the amount charged for Freight in the document currency.static String
PROPERTY_FREIGHTCATEGORY
Property freightCategory stored in column M_FreightCategory_ID in table M_Freight
Help: Freight Categories are used to calculate the Freight for the Shipper selectedstatic String
PROPERTY_FREIGHTUOM
Property freightUOM stored in column Freight_Unit in table M_Freight
Help: It is the unit how the quantity is given.static String
PROPERTY_ID
Property id stored in column M_Freight_ID in table M_Freightstatic String
PROPERTY_MAXQUANITY
Property maxQuanity stored in column Qtyto in table M_Freight
Help: Highest quantitystatic String
PROPERTY_MINQUANTITY
Property minQuantity stored in column Qtyfrom in table M_Freight
Help: Lowest quantitystatic String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table M_Freightstatic String
PROPERTY_PRICE
Property price stored in column Isprice in table M_Freight
Help: This field indicates if it is a fixed price or it is per unit.static String
PROPERTY_REGION
Property region stored in column C_Region_ID in table M_Freight
Help: The Region identifies a unique Region for this Country.static String
PROPERTY_ROUNDLINE
Property roundLine stored in column Line_Round in table M_Freight
Help: How units are rounded for each of the in-out lines.static String
PROPERTY_ROUNDTOTAL
Property roundTotal stored in column Total_Round in table M_Freight
Help: How units are rounded for the whole in-out.static String
PROPERTY_SHIPPINGCOMPANY
Property shippingCompany stored in column M_Shipper_ID in table M_Freight
Help: The Shipper is any entity which will provide shipping to or shipping from an Organization.static String
PROPERTY_UPDATED
Property updated stored in column Updated in table M_Freightstatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table M_Freightstatic String
PROPERTY_VALIDFROMDATE
Property validFromDate stored in column ValidFrom in table M_Freight
Help: The Valid From date indicates the first day of a date rangestatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description ShippingCompanyFreight()
-
Method Summary
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getIdentifier, getValue, isAllowRead, isNewOBObject, isOrgClientAccessCheckEnabled, isWriteAccessCheckEnabled, set, setAccessChecks, setAllowRead, setDefaultValue, setId, setNewOBObject, setValue, toString, validate
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_ID
public static final String PROPERTY_ID
Property id stored in column M_Freight_ID in table M_Freight- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table M_Freight- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table M_Freight- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table M_Freight- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table M_Freight- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table M_Freight- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table M_Freight- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table M_Freight- See Also:
Traceable
, Constant Field Values
-
PROPERTY_SHIPPINGCOMPANY
public static final String PROPERTY_SHIPPINGCOMPANY
Property shippingCompany stored in column M_Shipper_ID in table M_Freight
Help: The Shipper is any entity which will provide shipping to or shipping from an Organization.- See Also:
- Constant Field Values
-
PROPERTY_FREIGHTCATEGORY
public static final String PROPERTY_FREIGHTCATEGORY
Property freightCategory stored in column M_FreightCategory_ID in table M_Freight
Help: Freight Categories are used to calculate the Freight for the Shipper selected- See Also:
- Constant Field Values
-
PROPERTY_VALIDFROMDATE
public static final String PROPERTY_VALIDFROMDATE
Property validFromDate stored in column ValidFrom in table M_Freight
Help: The Valid From date indicates the first day of a date range- See Also:
- Constant Field Values
-
PROPERTY_COUNTRY
public static final String PROPERTY_COUNTRY
Property country stored in column C_Country_ID in table M_Freight
Help: The Country defines a Country. Each Country must be defined before it can be used in any document.- See Also:
- Constant Field Values
-
PROPERTY_DESTINATIONCOUNTRY
public static final String PROPERTY_DESTINATIONCOUNTRY
Property destinationCountry stored in column To_Country_ID in table M_Freight
Help: The To Country indicates the receiving country on a document- See Also:
- Constant Field Values
-
PROPERTY_REGION
public static final String PROPERTY_REGION
Property region stored in column C_Region_ID in table M_Freight
Help: The Region identifies a unique Region for this Country.- See Also:
- Constant Field Values
-
PROPERTY_DESTINATIONREGION
public static final String PROPERTY_DESTINATIONREGION
Property destinationRegion stored in column To_Region_ID in table M_Freight
Help: The To Region indicates the receiving region on a document- See Also:
- Constant Field Values
-
PROPERTY_CURRENCY
public static final String PROPERTY_CURRENCY
Property currency stored in column C_Currency_ID in table M_Freight
Help: Indicates the currency to be used when processing this document.- See Also:
- Constant Field Values
-
PROPERTY_FREIGHTAMOUNT
public static final String PROPERTY_FREIGHTAMOUNT
Property freightAmount stored in column FreightAmt in table M_Freight
Help: The Freight Amount indicates the amount charged for Freight in the document currency.- See Also:
- Constant Field Values
-
PROPERTY_FREIGHTUOM
public static final String PROPERTY_FREIGHTUOM
Property freightUOM stored in column Freight_Unit in table M_Freight
Help: It is the unit how the quantity is given.- See Also:
- Constant Field Values
-
PROPERTY_PRICE
public static final String PROPERTY_PRICE
Property price stored in column Isprice in table M_Freight
Help: This field indicates if it is a fixed price or it is per unit.- See Also:
- Constant Field Values
-
PROPERTY_ROUNDLINE
public static final String PROPERTY_ROUNDLINE
Property roundLine stored in column Line_Round in table M_Freight
Help: How units are rounded for each of the in-out lines.- See Also:
- Constant Field Values
-
PROPERTY_MINQUANTITY
public static final String PROPERTY_MINQUANTITY
Property minQuantity stored in column Qtyfrom in table M_Freight
Help: Lowest quantity- See Also:
- Constant Field Values
-
PROPERTY_MAXQUANITY
public static final String PROPERTY_MAXQUANITY
Property maxQuanity stored in column Qtyto in table M_Freight
Help: Highest quantity- See Also:
- Constant Field Values
-
PROPERTY_ROUNDTOTAL
public static final String PROPERTY_ROUNDTOTAL
Property roundTotal stored in column Total_Round in table M_Freight
Help: How units are rounded for the whole in-out.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceIdentifiable
- Specified by:
getEntityName
in classBaseOBObject
-
getId
public String getId()
- Specified by:
getId
in interfaceBaseOBObjectDef
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classBaseOBObject
- See Also:
PROPERTY_ID
-
setId
public void setId(String id)
- See Also:
PROPERTY_ID
-
getClient
public Client getClient()
Description copied from interface:ClientEnabled
Client field- Specified by:
getClient
in interfaceClientEnabled
- Returns:
- client
- See Also:
PROPERTY_CLIENT
-
setClient
public void setClient(Client client)
Description copied from interface:ClientEnabled
Client field- Specified by:
setClient
in interfaceClientEnabled
- See Also:
PROPERTY_CLIENT
-
getOrganization
public Organization getOrganization()
Description copied from interface:OrganizationEnabled
Gets organization field- Specified by:
getOrganization
in interfaceOrganizationEnabled
- Returns:
- organization
- See Also:
PROPERTY_ORGANIZATION
-
setOrganization
public void setOrganization(Organization organization)
Description copied from interface:OrganizationEnabled
Sets organization field- Specified by:
setOrganization
in interfaceOrganizationEnabled
- See Also:
PROPERTY_ORGANIZATION
-
isActive
public Boolean isActive()
Description copied from interface:ActiveEnabled
Gets active field- Specified by:
isActive
in interfaceActiveEnabled
- Returns:
- active
- See Also:
PROPERTY_ACTIVE
-
setActive
public void setActive(Boolean active)
Description copied from interface:ActiveEnabled
Sets active field- Specified by:
setActive
in interfaceActiveEnabled
- See Also:
PROPERTY_ACTIVE
-
getCreationDate
public Date getCreationDate()
Description copied from interface:Traceable
Creation date of audit- Specified by:
getCreationDate
in interfaceTraceable
- Returns:
- Date of creation
- See Also:
PROPERTY_CREATIONDATE
-
setCreationDate
public void setCreationDate(Date creationDate)
Description copied from interface:Traceable
Creation date of audit- Specified by:
setCreationDate
in interfaceTraceable
- See Also:
PROPERTY_CREATIONDATE
-
getCreatedBy
public User getCreatedBy()
Description copied from interface:Traceable
Created by audit user- Specified by:
getCreatedBy
in interfaceTraceable
- Returns:
- User
- See Also:
PROPERTY_CREATEDBY
-
setCreatedBy
public void setCreatedBy(User createdBy)
Description copied from interface:Traceable
Created by audit user- Specified by:
setCreatedBy
in interfaceTraceable
- See Also:
PROPERTY_CREATEDBY
-
getUpdated
public Date getUpdated()
Description copied from interface:Traceable
Update date of audit- Specified by:
getUpdated
in interfaceTraceable
- Returns:
- Date of update
- See Also:
PROPERTY_UPDATED
-
setUpdated
public void setUpdated(Date updated)
Description copied from interface:Traceable
Update date of audit- Specified by:
setUpdated
in interfaceTraceable
- See Also:
PROPERTY_UPDATED
-
getUpdatedBy
public User getUpdatedBy()
Description copied from interface:Traceable
Update by audit user- Specified by:
getUpdatedBy
in interfaceTraceable
- Returns:
- User who updated
- See Also:
PROPERTY_UPDATEDBY
-
setUpdatedBy
public void setUpdatedBy(User updatedBy)
Description copied from interface:Traceable
Update by audit user- Specified by:
setUpdatedBy
in interfaceTraceable
- See Also:
PROPERTY_UPDATEDBY
-
getShippingCompany
public ShippingCompany getShippingCompany()
- See Also:
PROPERTY_SHIPPINGCOMPANY
-
setShippingCompany
public void setShippingCompany(ShippingCompany shippingCompany)
- See Also:
PROPERTY_SHIPPINGCOMPANY
-
getFreightCategory
public FreightCategory getFreightCategory()
- See Also:
PROPERTY_FREIGHTCATEGORY
-
setFreightCategory
public void setFreightCategory(FreightCategory freightCategory)
- See Also:
PROPERTY_FREIGHTCATEGORY
-
getValidFromDate
public Date getValidFromDate()
- See Also:
PROPERTY_VALIDFROMDATE
-
setValidFromDate
public void setValidFromDate(Date validFromDate)
- See Also:
PROPERTY_VALIDFROMDATE
-
getCountry
public Country getCountry()
- See Also:
PROPERTY_COUNTRY
-
setCountry
public void setCountry(Country country)
- See Also:
PROPERTY_COUNTRY
-
getDestinationCountry
public Country getDestinationCountry()
- See Also:
PROPERTY_DESTINATIONCOUNTRY
-
setDestinationCountry
public void setDestinationCountry(Country destinationCountry)
- See Also:
PROPERTY_DESTINATIONCOUNTRY
-
getRegion
public Region getRegion()
- See Also:
PROPERTY_REGION
-
setRegion
public void setRegion(Region region)
- See Also:
PROPERTY_REGION
-
getDestinationRegion
public Region getDestinationRegion()
- See Also:
PROPERTY_DESTINATIONREGION
-
setDestinationRegion
public void setDestinationRegion(Region destinationRegion)
- See Also:
PROPERTY_DESTINATIONREGION
-
getCurrency
public Currency getCurrency()
- See Also:
PROPERTY_CURRENCY
-
setCurrency
public void setCurrency(Currency currency)
- See Also:
PROPERTY_CURRENCY
-
getFreightAmount
public BigDecimal getFreightAmount()
- See Also:
PROPERTY_FREIGHTAMOUNT
-
setFreightAmount
public void setFreightAmount(BigDecimal freightAmount)
- See Also:
PROPERTY_FREIGHTAMOUNT
-
getFreightUOM
public String getFreightUOM()
- See Also:
PROPERTY_FREIGHTUOM
-
setFreightUOM
public void setFreightUOM(String freightUOM)
- See Also:
PROPERTY_FREIGHTUOM
-
isPrice
public Boolean isPrice()
- See Also:
PROPERTY_PRICE
-
setPrice
public void setPrice(Boolean price)
- See Also:
PROPERTY_PRICE
-
getRoundLine
public String getRoundLine()
- See Also:
PROPERTY_ROUNDLINE
-
setRoundLine
public void setRoundLine(String roundLine)
- See Also:
PROPERTY_ROUNDLINE
-
getMinQuantity
public BigDecimal getMinQuantity()
- See Also:
PROPERTY_MINQUANTITY
-
setMinQuantity
public void setMinQuantity(BigDecimal minQuantity)
- See Also:
PROPERTY_MINQUANTITY
-
getMaxQuanity
public BigDecimal getMaxQuanity()
- See Also:
PROPERTY_MAXQUANITY
-
setMaxQuanity
public void setMaxQuanity(BigDecimal maxQuanity)
- See Also:
PROPERTY_MAXQUANITY
-
getRoundTotal
public String getRoundTotal()
- See Also:
PROPERTY_ROUNDTOTAL
-
setRoundTotal
public void setRoundTotal(String roundTotal)
- See Also:
PROPERTY_ROUNDTOTAL
-
-