View source | Discuss this page | Page history | Printable version   

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.shipping/M Freight

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.shipping

Index

Contents

M_Freight

Freight Rates for Shipper

This table contains the following columns:

Name Nullable Data Type Description
M_Freight_ID NVARCHAR2(32)Freight Rate
AD_Client_ID NVARCHAR2(32)Client for this installation.
AD_Org_ID NVARCHAR2(32)Organizational entity within client
IsActive NCHAR(1)A flag indicating whether this record is available for use or de-activated.
Created NDATEThe date that this record is completed.
CreatedBy NVARCHAR2(32)User who created this records
Updated NDATEx not implemented
UpdatedBy NVARCHAR2(32)User who updated this records
M_Shipper_ID NVARCHAR2(32)The name of the company making the shipment.
M_FreightCategory_ID NVARCHAR2(32)A classification used to help calculate shipping company freight amounts.
ValidFrom NDATEA parameter stating the starting time of a specified request.
C_Country_ID YVARCHAR2(32)A state or a nation.
To_Country_ID YVARCHAR2(32)The country receiving a shipment
C_Region_ID YVARCHAR2(32)An area of a specific country.
To_Region_ID YVARCHAR2(32)The state/province inside of a country receiving the shipment.
C_Currency_ID NVARCHAR2(32)An accepted medium of monetary exchange that may vary across countries.
FreightAmt NNUMBERThe charge amount for a specified shipment.
Freight_Unit YVARCHAR2(60)Freight Unit
Isprice YCHAR(1)The cost or value of a good or service.
Line_Round YVARCHAR2(60)Line round
Qtyfrom YNUMBERQty from
Qtyto YNUMBERA parameter stating the highest possible quantity of a specified request.
Total_Round YVARCHAR2(60)Total Round

Other Info

Indexes

These are the indexes for this table (for each index there is a list of all the columns included within it):

Unique

top

Columns

Freight

Freight Rate for Shipper

top

Client

Foreign key column to AD_Client table, (column: AD_Client_ID)

top

Organization

Foreign key column to AD_Org table, (column: AD_Org_ID)

top

Active

There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:
(1) The system requires the record for auditing purposes.
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.

top

Creation Date

The Created field indicates the date that this record was created.

top

Created By

Foreign key column to AD_User table, (column: AD_User_ID)

top

Updated

The Updated field indicates the date that this record was updated.

top

Updated By

Foreign key column to AD_User table, (column: AD_User_ID)

top

Shipping Company

Foreign key column to M_Shipper table, (column: M_Shipper_ID)

top

Freight Category

Foreign key column to M_FreightCategory table, (column: M_FreightCategory_ID)

top

Valid from Date

The Valid From date indicates the first day of a date range

top

Country

Foreign key column to C_Country table, (column: C_Country_ID)

top

Destination Country

Foreign key column to C_Country table, (column: C_Country_ID)


Reference Table C_Country

top

Region

Foreign key column to C_Region table, (column: C_Region_ID)


Validation Rule C_Region of Country: null. With the following code:

 
C_Region.C_Country_ID=@C_Country_ID@

top

Destination Region

Foreign key column to C_Region table, (column: C_Region_ID)


Reference Table C_Region


Validation Rule C_Region of To_Country: null. With the following code:

 
C_Region.C_Country_ID=@To_Country_ID@

top

Currency

Foreign key column to C_Currency table, (column: C_Currency_ID)

top

Freight Amount

The Freight Amount indicates the amount charged for Freight in the document currency.

top

Freight UOM

It is the unit how the quantity is given.

List values: Freight_Unit

The allowed values for this list are:

top

Price

This field indicates if it is a fixed price or it is per unit.

top

Round Line

How units are rounded for each of the in-out lines.

List values: Freight round

The allowed values for this list are:

top

Min. Quantity

Lowest quantity

top

Max. Quanity

Highest quantity

top

Round Total

How units are rounded for the whole in-out.

List values: Freight round

The allowed values for this list are:

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP_2.50:Developers_Guide/Database_Model/org.openbravo.model.shipping/M_Freight"

This page has been accessed 2,775 times. This page was last modified on 14 June 2011, at 11:04. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.