/******************************************************************************
 * Product: iDempiere ERP & CRM Smart Business Solution                       *
 * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved.                *
 * This program is free software, you can redistribute it and/or modify it    *
 * under the terms version 2 of the GNU General Public License as published   *
 * by the Free Software Foundation. This program is distributed in the hope   *
 * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.           *
 * See the GNU General Public License for more details.                       *
 * You should have received a copy of the GNU General Public License along    *
 * with this program, if not, write to the Free Software Foundation, Inc.,    *
 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.                     *
 * For the text or an alternative of this public license, you may reach us    *
 * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA        *
 * or via info@compiere.org or http://www.compiere.org/license.html           *
 *****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;

import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import org.compiere.util.Env;

/** Generated Model for M_Package
 *  @author iDempiere (generated)
 *  @version Release 12 - $Id$ */
@org.adempiere.base.Model(table="M_Package")
public class X_M_Package extends PO implements I_M_Package, I_Persistent
{

	/**
	 *
	 */
	private static final long serialVersionUID = 20241222L;

    /** Standard Constructor */
    public X_M_Package (Properties ctx, int M_Package_ID, String trxName)
    {
      super (ctx, M_Package_ID, trxName);
      /** if (M_Package_ID == 0)
        {
			setCashOnDelivery (false);
// N
			setDeliveryConfirmation (false);
// N
			setDocumentNo (null);
			setIsAccessible (false);
// N
			setIsAddedHandling (false);
// N
			setIsCargoAircraftOnly (false);
// N
			setIsDryIce (false);
// N
			setIsDutiable (false);
// N
			setIsFutureDayShipment (false);
// N
			setIsHazMat (false);
// N
			setIsHoldAtLocation (false);
// N
			setIsIgnoreZipNotFound (false);
// N
			setIsIgnoreZipStateNotMatch (false);
// N
			setIsResidential (true);
// Y
			setIsSaturdayDelivery (false);
// N
			setIsSaturdayPickup (false);
// N
			setIsVerbalConfirmation (false);
// N
			setM_InOut_ID (0);
			setM_Package_ID (0);
			setM_Shipper_ID (0);
			setProcessed (false);
// N
        } */
    }

    /** Standard Constructor */
    public X_M_Package (Properties ctx, int M_Package_ID, String trxName, String ... virtualColumns)
    {
      super (ctx, M_Package_ID, trxName, virtualColumns);
      /** if (M_Package_ID == 0)
        {
			setCashOnDelivery (false);
// N
			setDeliveryConfirmation (false);
// N
			setDocumentNo (null);
			setIsAccessible (false);
// N
			setIsAddedHandling (false);
// N
			setIsCargoAircraftOnly (false);
// N
			setIsDryIce (false);
// N
			setIsDutiable (false);
// N
			setIsFutureDayShipment (false);
// N
			setIsHazMat (false);
// N
			setIsHoldAtLocation (false);
// N
			setIsIgnoreZipNotFound (false);
// N
			setIsIgnoreZipStateNotMatch (false);
// N
			setIsResidential (true);
// Y
			setIsSaturdayDelivery (false);
// N
			setIsSaturdayPickup (false);
// N
			setIsVerbalConfirmation (false);
// N
			setM_InOut_ID (0);
			setM_Package_ID (0);
			setM_Shipper_ID (0);
			setProcessed (false);
// N
        } */
    }

    /** Standard Constructor */
    public X_M_Package (Properties ctx, String M_Package_UU, String trxName)
    {
      super (ctx, M_Package_UU, trxName);
      /** if (M_Package_UU == null)
        {
			setCashOnDelivery (false);
// N
			setDeliveryConfirmation (false);
// N
			setDocumentNo (null);
			setIsAccessible (false);
// N
			setIsAddedHandling (false);
// N
			setIsCargoAircraftOnly (false);
// N
			setIsDryIce (false);
// N
			setIsDutiable (false);
// N
			setIsFutureDayShipment (false);
// N
			setIsHazMat (false);
// N
			setIsHoldAtLocation (false);
// N
			setIsIgnoreZipNotFound (false);
// N
			setIsIgnoreZipStateNotMatch (false);
// N
			setIsResidential (true);
// Y
			setIsSaturdayDelivery (false);
// N
			setIsSaturdayPickup (false);
// N
			setIsVerbalConfirmation (false);
// N
			setM_InOut_ID (0);
			setM_Package_ID (0);
			setM_Shipper_ID (0);
			setProcessed (false);
// N
        } */
    }

    /** Standard Constructor */
    public X_M_Package (Properties ctx, String M_Package_UU, String trxName, String ... virtualColumns)
    {
      super (ctx, M_Package_UU, trxName, virtualColumns);
      /** if (M_Package_UU == null)
        {
			setCashOnDelivery (false);
// N
			setDeliveryConfirmation (false);
// N
			setDocumentNo (null);
			setIsAccessible (false);
// N
			setIsAddedHandling (false);
// N
			setIsCargoAircraftOnly (false);
// N
			setIsDryIce (false);
// N
			setIsDutiable (false);
// N
			setIsFutureDayShipment (false);
// N
			setIsHazMat (false);
// N
			setIsHoldAtLocation (false);
// N
			setIsIgnoreZipNotFound (false);
// N
			setIsIgnoreZipStateNotMatch (false);
// N
			setIsResidential (true);
// Y
			setIsSaturdayDelivery (false);
// N
			setIsSaturdayPickup (false);
// N
			setIsVerbalConfirmation (false);
// N
			setM_InOut_ID (0);
			setM_Package_ID (0);
			setM_Shipper_ID (0);
			setProcessed (false);
// N
        } */
    }

    /** Load Constructor */
    public X_M_Package (Properties ctx, ResultSet rs, String trxName)
    {
      super (ctx, rs, trxName);
    }

    /** AccessLevel
      * @return 1 - Org
      */
    protected int get_AccessLevel()
    {
      return accessLevel.intValue();
    }

    /** Load Meta Data */
    protected POInfo initPO (Properties ctx)
    {
      POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
      return poi;
    }

    public String toString()
    {
      StringBuilder sb = new StringBuilder ("X_M_Package[")
        .append(get_ID()).append("]");
      return sb.toString();
    }

	/** Set Box Count.
		@param BoxCount Box Count
	*/
	public void setBoxCount (int BoxCount)
	{
		set_Value (COLUMNNAME_BoxCount, Integer.valueOf(BoxCount));
	}

	/** Get Box Count.
		@return Box Count	  */
	public int getBoxCount()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BoxCount);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	public org.compiere.model.I_C_BP_ShippingAcct getC_BP_ShippingAcct() throws RuntimeException
	{
		return (org.compiere.model.I_C_BP_ShippingAcct)MTable.get(getCtx(), org.compiere.model.I_C_BP_ShippingAcct.Table_ID)
			.getPO(getC_BP_ShippingAcct_ID(), get_TrxName());
	}

	/** Set Business Partner Shipping Account.
		@param C_BP_ShippingAcct_ID Business Partner Shipping Account
	*/
	public void setC_BP_ShippingAcct_ID (int C_BP_ShippingAcct_ID)
	{
		if (C_BP_ShippingAcct_ID < 1)
			set_Value (COLUMNNAME_C_BP_ShippingAcct_ID, null);
		else
			set_Value (COLUMNNAME_C_BP_ShippingAcct_ID, Integer.valueOf(C_BP_ShippingAcct_ID));
	}

	/** Get Business Partner Shipping Account.
		@return Business Partner Shipping Account	  */
	public int getC_BP_ShippingAcct_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_ShippingAcct_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException
	{
		return (org.compiere.model.I_C_BPartner_Location)MTable.get(getCtx(), org.compiere.model.I_C_BPartner_Location.Table_ID)
			.getPO(getC_BPartner_Location_ID(), get_TrxName());
	}

	/** Set Partner Location.
		@param C_BPartner_Location_ID Identifies the (ship to) address for this Business Partner
	*/
	public void setC_BPartner_Location_ID (int C_BPartner_Location_ID)
	{
		if (C_BPartner_Location_ID < 1)
			set_Value (COLUMNNAME_C_BPartner_Location_ID, null);
		else
			set_Value (COLUMNNAME_C_BPartner_Location_ID, Integer.valueOf(C_BPartner_Location_ID));
	}

	/** Get Partner Location.
		@return Identifies the (ship to) address for this Business Partner
	  */
	public int getC_BPartner_Location_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_Location_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException
	{
		return (org.compiere.model.I_C_Currency)MTable.get(getCtx(), org.compiere.model.I_C_Currency.Table_ID)
			.getPO(getC_Currency_ID(), get_TrxName());
	}

	/** Set Currency.
		@param C_Currency_ID The Currency for this record
	*/
	public void setC_Currency_ID (int C_Currency_ID)
	{
		if (C_Currency_ID < 1)
			set_Value (COLUMNNAME_C_Currency_ID, null);
		else
			set_Value (COLUMNNAME_C_Currency_ID, Integer.valueOf(C_Currency_ID));
	}

	/** Get Currency.
		@return The Currency for this record
	  */
	public int getC_Currency_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_C_Currency_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	public org.compiere.model.I_C_UOM getC_UOM_Length() throws RuntimeException
	{
		return (org.compiere.model.I_C_UOM)MTable.get(getCtx(), org.compiere.model.I_C_UOM.Table_ID)
			.getPO(getC_UOM_Length_ID(), get_TrxName());
	}

	/** Set UOM for Length.
		@param C_UOM_Length_ID Standard Unit of Measure for Length
	*/
	public void setC_UOM_Length_ID (int C_UOM_Length_ID)
	{
		if (C_UOM_Length_ID < 1)
			set_Value (COLUMNNAME_C_UOM_Length_ID, null);
		else
			set_Value (COLUMNNAME_C_UOM_Length_ID, Integer.valueOf(C_UOM_Length_ID));
	}

	/** Get UOM for Length.
		@return Standard Unit of Measure for Length
	  */
	public int getC_UOM_Length_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_C_UOM_Length_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	public org.compiere.model.I_C_UOM getC_UOM_Weight() throws RuntimeException
	{
		return (org.compiere.model.I_C_UOM)MTable.get(getCtx(), org.compiere.model.I_C_UOM.Table_ID)
			.getPO(getC_UOM_Weight_ID(), get_TrxName());
	}

	/** Set UOM for Weight.
		@param C_UOM_Weight_ID Standard Unit of Measure for Weight
	*/
	public void setC_UOM_Weight_ID (int C_UOM_Weight_ID)
	{
		if (C_UOM_Weight_ID < 1)
			set_Value (COLUMNNAME_C_UOM_Weight_ID, null);
		else
			set_Value (COLUMNNAME_C_UOM_Weight_ID, Integer.valueOf(C_UOM_Weight_ID));
	}

	/** Get UOM for Weight.
		@return Standard Unit of Measure for Weight
	  */
	public int getC_UOM_Weight_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_C_UOM_Weight_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set COD.
		@param CashOnDelivery COD
	*/
	public void setCashOnDelivery (boolean CashOnDelivery)
	{
		set_Value (COLUMNNAME_CashOnDelivery, Boolean.valueOf(CashOnDelivery));
	}

	/** Get COD.
		@return COD	  */
	public boolean isCashOnDelivery()
	{
		Object oo = get_Value(COLUMNNAME_CashOnDelivery);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Date Received.
		@param DateReceived Date a product was received
	*/
	public void setDateReceived (Timestamp DateReceived)
	{
		set_Value (COLUMNNAME_DateReceived, DateReceived);
	}

	/** Get Date Received.
		@return Date a product was received
	  */
	public Timestamp getDateReceived()
	{
		return (Timestamp)get_Value(COLUMNNAME_DateReceived);
	}

	/** Set Delivery Confirmation.
		@param DeliveryConfirmation EMail Delivery confirmation
	*/
	public void setDeliveryConfirmation (boolean DeliveryConfirmation)
	{
		set_Value (COLUMNNAME_DeliveryConfirmation, Boolean.valueOf(DeliveryConfirmation));
	}

	/** Get Delivery Confirmation.
		@return EMail Delivery confirmation
	  */
	public boolean isDeliveryConfirmation()
	{
		Object oo = get_Value(COLUMNNAME_DeliveryConfirmation);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** DeliveryConfirmationType AD_Reference_ID=200031 */
	public static final int DELIVERYCONFIRMATIONTYPE_AD_Reference_ID=200031;
	/** Adult = ADULT */
	public static final String DELIVERYCONFIRMATIONTYPE_Adult = "ADULT";
	/** Direct = DIRECT */
	public static final String DELIVERYCONFIRMATIONTYPE_Direct = "DIRECT";
	/** Indirect = INDIRECT */
	public static final String DELIVERYCONFIRMATIONTYPE_Indirect = "INDIRECT";
	/** Service Default = SERVICE_DEFAULT */
	public static final String DELIVERYCONFIRMATIONTYPE_ServiceDefault = "SERVICE_DEFAULT";
	/** Set Delivery Confirmation Type.
		@param DeliveryConfirmationType Delivery Confirmation Type
	*/
	public void setDeliveryConfirmationType (String DeliveryConfirmationType)
	{

		set_Value (COLUMNNAME_DeliveryConfirmationType, DeliveryConfirmationType);
	}

	/** Get Delivery Confirmation Type.
		@return Delivery Confirmation Type	  */
	public String getDeliveryConfirmationType()
	{
		return (String)get_Value(COLUMNNAME_DeliveryConfirmationType);
	}

	/** Set Description.
		@param Description Optional short description of the record
	*/
	public void setDescription (String Description)
	{
		set_Value (COLUMNNAME_Description, Description);
	}

	/** Get Description.
		@return Optional short description of the record
	  */
	public String getDescription()
	{
		return (String)get_Value(COLUMNNAME_Description);
	}

	/** Set Document No.
		@param DocumentNo Document sequence number of the document
	*/
	public void setDocumentNo (String DocumentNo)
	{
		set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo);
	}

	/** Get Document No.
		@return Document sequence number of the document
	  */
	public String getDocumentNo()
	{
		return (String)get_Value(COLUMNNAME_DocumentNo);
	}

	/** DotHazardClassOrDivision AD_Reference_ID=200024 */
	public static final int DOTHAZARDCLASSORDIVISION_AD_Reference_ID=200024;
	/** Class 1 - Explosives = 1 */
	public static final String DOTHAZARDCLASSORDIVISION_Class1_Explosives = "1";
	/** Class 2 - Gases = 2 */
	public static final String DOTHAZARDCLASSORDIVISION_Class2_Gases = "2";
	/** 2.1 - Flammable Gas = 2.1 */
	public static final String DOTHAZARDCLASSORDIVISION_21_FlammableGas = "2.1";
	/** 2.2 - Nonflammable Gas = 2.2 */
	public static final String DOTHAZARDCLASSORDIVISION_22_NonflammableGas = "2.2";
	/** Class 3 - Flammable Liquids = 3 */
	public static final String DOTHAZARDCLASSORDIVISION_Class3_FlammableLiquids = "3";
	/** Class 4 = 4 */
	public static final String DOTHAZARDCLASSORDIVISION_Class4 = "4";
	/** 4.1 - Flammable Solids = 4.1 */
	public static final String DOTHAZARDCLASSORDIVISION_41_FlammableSolids = "4.1";
	/** 4.2 - Spontaneous Combustibles = 4.2 */
	public static final String DOTHAZARDCLASSORDIVISION_42_SpontaneousCombustibles = "4.2";
	/** 4.3 - Dangerous When Wet = 4.3 */
	public static final String DOTHAZARDCLASSORDIVISION_43_DangerousWhenWet = "4.3";
	/** Class 5 - Oxidizing Substances and Organic Peroxides = 5 */
	public static final String DOTHAZARDCLASSORDIVISION_Class5_OxidizingSubstancesAndOrganicPeroxides = "5";
	/** 5.1 - Oxidizers = 5.1 */
	public static final String DOTHAZARDCLASSORDIVISION_51_Oxidizers = "5.1";
	/** 5.2 - Organic Peroxides = 5.2 */
	public static final String DOTHAZARDCLASSORDIVISION_52_OrganicPeroxides = "5.2";
	/** Class 6 - Toxic (Poisonous) and Infectious Substances = 6 */
	public static final String DOTHAZARDCLASSORDIVISION_Class6_ToxicPoisonousAndInfectiousSubstances = "6";
	/** 6.1 - Toxic Substances = 6.1 */
	public static final String DOTHAZARDCLASSORDIVISION_61_ToxicSubstances = "6.1";
	/** 6.2 - Infectious Substances = 6.2 */
	public static final String DOTHAZARDCLASSORDIVISION_62_InfectiousSubstances = "6.2";
	/** Class 7 - Radioactive Material = 7 */
	public static final String DOTHAZARDCLASSORDIVISION_Class7_RadioactiveMaterial = "7";
	/** Class 8 - Corrosives = 8 */
	public static final String DOTHAZARDCLASSORDIVISION_Class8_Corrosives = "8";
	/** Class 9 - Miscellaneous Dangerous Goods = 9 */
	public static final String DOTHAZARDCLASSORDIVISION_Class9_MiscellaneousDangerousGoods = "9";
	/** Set Dot Hazard Class or Division.
		@param DotHazardClassOrDivision Dot Hazard Class or Division
	*/
	public void setDotHazardClassOrDivision (String DotHazardClassOrDivision)
	{

		set_Value (COLUMNNAME_DotHazardClassOrDivision, DotHazardClassOrDivision);
	}

	/** Get Dot Hazard Class or Division.
		@return Dot Hazard Class or Division	  */
	public String getDotHazardClassOrDivision()
	{
		return (String)get_Value(COLUMNNAME_DotHazardClassOrDivision);
	}

	/** Set Dry Ice Weight.
		@param DryIceWeight Dry Ice Weight
	*/
	public void setDryIceWeight (BigDecimal DryIceWeight)
	{
		set_Value (COLUMNNAME_DryIceWeight, DryIceWeight);
	}

	/** Get Dry Ice Weight.
		@return Dry Ice Weight	  */
	public BigDecimal getDryIceWeight()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DryIceWeight);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}

	/** Set Duties Shipper Account.
		@param DutiesShipperAccount Duties Shipper Account
	*/
	public void setDutiesShipperAccount (String DutiesShipperAccount)
	{
		set_Value (COLUMNNAME_DutiesShipperAccount, DutiesShipperAccount);
	}

	/** Get Duties Shipper Account.
		@return Duties Shipper Account	  */
	public String getDutiesShipperAccount()
	{
		return (String)get_Value(COLUMNNAME_DutiesShipperAccount);
	}

	/** Set Estimated Weight.
		@param EstimatedWeight Estimated Weight
	*/
	public void setEstimatedWeight (BigDecimal EstimatedWeight)
	{
		throw new IllegalArgumentException ("EstimatedWeight is virtual column");	}

	/** Get Estimated Weight.
		@return Estimated Weight	  */
	public BigDecimal getEstimatedWeight()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_EstimatedWeight);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}

	/** FOB AD_Reference_ID=200030 */
	public static final int FOB_AD_Reference_ID=200030;
	/** FOB Origin = A_DFOBO */
	public static final String FOB_FOBOrigin = "A_DFOBO";
	/** Ex Works = B_EXW */
	public static final String FOB_ExWorks = "B_EXW";
	/** CFR - Cost and Freight = CFR */
	public static final String FOB_CFR_CostAndFreight = "CFR";
	/** CIF - Cost, Insurance, and Freight (FedEx) = CIF */
	public static final String FOB_CIF_CostInsuranceAndFreightFedEx = "CIF";
	/** CIP - Carriage and Insurance Paid To (FedEx) = CIP */
	public static final String FOB_CIP_CarriageAndInsurancePaidToFedEx = "CIP";
	/** CPT - Carriage Paid To = CPT */
	public static final String FOB_CPT_CarriagePaidTo = "CPT";
	/** DAF - Delivered at Frontier = DAF */
	public static final String FOB_DAF_DeliveredAtFrontier = "DAF";
	/** DDP - Delivered Duty Paid (FedEx) = DDP */
	public static final String FOB_DDP_DeliveredDutyPaidFedEx = "DDP";
	/** DDU - Delivered Duty Unpaid (FedEx) = DDU */
	public static final String FOB_DDU_DeliveredDutyUnpaidFedEx = "DDU";
	/** DEQ - Delivered Ex Quay = DEQ */
	public static final String FOB_DEQ_DeliveredExQuay = "DEQ";
	/** DES - Delivered Ex Ship = DES */
	public static final String FOB_DES_DeliveredExShip = "DES";
	/** Domestic FOB Destination = DFOBD */
	public static final String FOB_DomesticFOBDestination = "DFOBD";
	/** EXW - Ex Works (FedEx) = EXW */
	public static final String FOB_EXW_ExWorksFedEx = "EXW";
	/** FAS - Free Alongside Ship = FAS */
	public static final String FOB_FAS_FreeAlongsideShip = "FAS";
	/** FCA - Free Carrier (FedEx) = FCA */
	public static final String FOB_FCA_FreeCarrierFedEx = "FCA";
	/** FOB - Free on Board (FedEx) = FOB */
	public static final String FOB_FOB_FreeOnBoardFedEx = "FOB";
	/** Set Freight Terms.
		@param FOB Freight Terms
	*/
	public void setFOB (String FOB)
	{

		throw new IllegalArgumentException ("FOB is virtual column");	}

	/** Get Freight Terms.
		@return Freight Terms	  */
	public String getFOB()
	{
		return (String)get_Value(COLUMNNAME_FOB);
	}

	/** FreightCharges AD_Reference_ID=200028 */
	public static final int FREIGHTCHARGES_AD_Reference_ID=200028;
	/** Collect = A_Col */
	public static final String FREIGHTCHARGES_Collect = "A_Col";
	/** 3rd Party = B_3P */
	public static final String FREIGHTCHARGES_3rdParty = "B_3P";
	/** Consignee = C_Con */
	public static final String FREIGHTCHARGES_Consignee = "C_Con";
	/** Prepaid = D_PP */
	public static final String FREIGHTCHARGES_Prepaid = "D_PP";
	/** Prepaid and Bill = E_PPB */
	public static final String FREIGHTCHARGES_PrepaidAndBill = "E_PPB";
	/** Set Freight Charges.
		@param FreightCharges Freight Charges
	*/
	public void setFreightCharges (String FreightCharges)
	{

		throw new IllegalArgumentException ("FreightCharges is virtual column");	}

	/** Get Freight Charges.
		@return Freight Charges	  */
	public String getFreightCharges()
	{
		return (String)get_Value(COLUMNNAME_FreightCharges);
	}

	/** Set Handling Charge.
		@param HandlingCharge Handling Charge
	*/
	public void setHandlingCharge (BigDecimal HandlingCharge)
	{
		set_Value (COLUMNNAME_HandlingCharge, HandlingCharge);
	}

	/** Get Handling Charge.
		@return Handling Charge	  */
	public BigDecimal getHandlingCharge()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_HandlingCharge);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}

	/** Set Height.
		@param Height Height
	*/
	public void setHeight (BigDecimal Height)
	{
		set_Value (COLUMNNAME_Height, Height);
	}

	/** Get Height.
		@return Height	  */
	public BigDecimal getHeight()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Height);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}

	public org.compiere.model.I_C_BPartner_Location getHoldAddress() throws RuntimeException
	{
		return (org.compiere.model.I_C_BPartner_Location)MTable.get(getCtx(), org.compiere.model.I_C_BPartner_Location.Table_ID)
			.getPO(getHoldAddress_ID(), get_TrxName());
	}

	/** Set Hold Address.
		@param HoldAddress_ID Hold Address
	*/
	public void setHoldAddress_ID (int HoldAddress_ID)
	{
		if (HoldAddress_ID < 1)
			set_Value (COLUMNNAME_HoldAddress_ID, null);
		else
			set_Value (COLUMNNAME_HoldAddress_ID, Integer.valueOf(HoldAddress_ID));
	}

	/** Get Hold Address.
		@return Hold Address	  */
	public int getHoldAddress_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_HoldAddress_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set Date.
		@param HomeDeliveryPremiumDate Date
	*/
	public void setHomeDeliveryPremiumDate (Timestamp HomeDeliveryPremiumDate)
	{
		set_Value (COLUMNNAME_HomeDeliveryPremiumDate, HomeDeliveryPremiumDate);
	}

	/** Get Date.
		@return Date	  */
	public Timestamp getHomeDeliveryPremiumDate()
	{
		return (Timestamp)get_Value(COLUMNNAME_HomeDeliveryPremiumDate);
	}

	/** Set Phone Number.
		@param HomeDeliveryPremiumPhone Phone Number
	*/
	public void setHomeDeliveryPremiumPhone (String HomeDeliveryPremiumPhone)
	{
		set_Value (COLUMNNAME_HomeDeliveryPremiumPhone, HomeDeliveryPremiumPhone);
	}

	/** Get Phone Number.
		@return Phone Number	  */
	public String getHomeDeliveryPremiumPhone()
	{
		return (String)get_Value(COLUMNNAME_HomeDeliveryPremiumPhone);
	}

	/** HomeDeliveryPremiumType AD_Reference_ID=200025 */
	public static final int HOMEDELIVERYPREMIUMTYPE_AD_Reference_ID=200025;
	/** Appointment = APPOINTMENT */
	public static final String HOMEDELIVERYPREMIUMTYPE_Appointment = "APPOINTMENT";
	/** Date Certain = DATE_CERTAIN */
	public static final String HOMEDELIVERYPREMIUMTYPE_DateCertain = "DATE_CERTAIN";
	/** Evening = EVENING */
	public static final String HOMEDELIVERYPREMIUMTYPE_Evening = "EVENING";
	/** Set Home Delivery Premium Type.
		@param HomeDeliveryPremiumType Home Delivery Premium Type
	*/
	public void setHomeDeliveryPremiumType (String HomeDeliveryPremiumType)
	{

		set_Value (COLUMNNAME_HomeDeliveryPremiumType, HomeDeliveryPremiumType);
	}

	/** Get Home Delivery Premium Type.
		@return Home Delivery Premium Type	  */
	public String getHomeDeliveryPremiumType()
	{
		return (String)get_Value(COLUMNNAME_HomeDeliveryPremiumType);
	}

	/** Insurance AD_Reference_ID=200029 */
	public static final int INSURANCE_AD_Reference_ID=200029;
	/** Insure = 1 */
	public static final String INSURANCE_Insure = "1";
	/** Do Not Insure = 2 */
	public static final String INSURANCE_DoNotInsure = "2";
	/** Set Insurance.
		@param Insurance Insurance
	*/
	public void setInsurance (String Insurance)
	{

		throw new IllegalArgumentException ("Insurance is virtual column");	}

	/** Get Insurance.
		@return Insurance	  */
	public String getInsurance()
	{
		return (String)get_Value(COLUMNNAME_Insurance);
	}

	/** Set Insured Amount.
		@param InsuredAmount Insured Amount
	*/
	public void setInsuredAmount (BigDecimal InsuredAmount)
	{
		set_Value (COLUMNNAME_InsuredAmount, InsuredAmount);
	}

	/** Get Insured Amount.
		@return Insured Amount	  */
	public BigDecimal getInsuredAmount()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_InsuredAmount);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}

	/** Set Accessible.
		@param IsAccessible Accessible
	*/
	public void setIsAccessible (boolean IsAccessible)
	{
		set_Value (COLUMNNAME_IsAccessible, Boolean.valueOf(IsAccessible));
	}

	/** Get Accessible.
		@return Accessible	  */
	public boolean isAccessible()
	{
		Object oo = get_Value(COLUMNNAME_IsAccessible);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Added Handling.
		@param IsAddedHandling Added Handling
	*/
	public void setIsAddedHandling (boolean IsAddedHandling)
	{
		set_Value (COLUMNNAME_IsAddedHandling, Boolean.valueOf(IsAddedHandling));
	}

	/** Get Added Handling.
		@return Added Handling	  */
	public boolean isAddedHandling()
	{
		Object oo = get_Value(COLUMNNAME_IsAddedHandling);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Cargo Aircraft Only.
		@param IsCargoAircraftOnly Cargo Aircraft Only
	*/
	public void setIsCargoAircraftOnly (boolean IsCargoAircraftOnly)
	{
		set_Value (COLUMNNAME_IsCargoAircraftOnly, Boolean.valueOf(IsCargoAircraftOnly));
	}

	/** Get Cargo Aircraft Only.
		@return Cargo Aircraft Only	  */
	public boolean isCargoAircraftOnly()
	{
		Object oo = get_Value(COLUMNNAME_IsCargoAircraftOnly);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Dry Ice.
		@param IsDryIce Dry Ice
	*/
	public void setIsDryIce (boolean IsDryIce)
	{
		set_Value (COLUMNNAME_IsDryIce, Boolean.valueOf(IsDryIce));
	}

	/** Get Dry Ice.
		@return Dry Ice	  */
	public boolean isDryIce()
	{
		Object oo = get_Value(COLUMNNAME_IsDryIce);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Dutiable.
		@param IsDutiable Dutiable
	*/
	public void setIsDutiable (boolean IsDutiable)
	{
		set_Value (COLUMNNAME_IsDutiable, Boolean.valueOf(IsDutiable));
	}

	/** Get Dutiable.
		@return Dutiable	  */
	public boolean isDutiable()
	{
		Object oo = get_Value(COLUMNNAME_IsDutiable);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Future Day Shipment.
		@param IsFutureDayShipment Future Day Shipment
	*/
	public void setIsFutureDayShipment (boolean IsFutureDayShipment)
	{
		set_Value (COLUMNNAME_IsFutureDayShipment, Boolean.valueOf(IsFutureDayShipment));
	}

	/** Get Future Day Shipment.
		@return Future Day Shipment	  */
	public boolean isFutureDayShipment()
	{
		Object oo = get_Value(COLUMNNAME_IsFutureDayShipment);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Hazardous Materials.
		@param IsHazMat Hazardous Materials
	*/
	public void setIsHazMat (boolean IsHazMat)
	{
		set_Value (COLUMNNAME_IsHazMat, Boolean.valueOf(IsHazMat));
	}

	/** Get Hazardous Materials.
		@return Hazardous Materials	  */
	public boolean isHazMat()
	{
		Object oo = get_Value(COLUMNNAME_IsHazMat);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Hold At Location.
		@param IsHoldAtLocation Hold At Location
	*/
	public void setIsHoldAtLocation (boolean IsHoldAtLocation)
	{
		set_Value (COLUMNNAME_IsHoldAtLocation, Boolean.valueOf(IsHoldAtLocation));
	}

	/** Get Hold At Location.
		@return Hold At Location	  */
	public boolean isHoldAtLocation()
	{
		Object oo = get_Value(COLUMNNAME_IsHoldAtLocation);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Ignore Zip Not Found.
		@param IsIgnoreZipNotFound Ignore Zip Not Found
	*/
	public void setIsIgnoreZipNotFound (boolean IsIgnoreZipNotFound)
	{
		set_Value (COLUMNNAME_IsIgnoreZipNotFound, Boolean.valueOf(IsIgnoreZipNotFound));
	}

	/** Get Ignore Zip Not Found.
		@return Ignore Zip Not Found	  */
	public boolean isIgnoreZipNotFound()
	{
		Object oo = get_Value(COLUMNNAME_IsIgnoreZipNotFound);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Ignore Zip State Not Match.
		@param IsIgnoreZipStateNotMatch Ignore Zip State Not Match
	*/
	public void setIsIgnoreZipStateNotMatch (boolean IsIgnoreZipStateNotMatch)
	{
		set_Value (COLUMNNAME_IsIgnoreZipStateNotMatch, Boolean.valueOf(IsIgnoreZipStateNotMatch));
	}

	/** Get Ignore Zip State Not Match.
		@return Ignore Zip State Not Match	  */
	public boolean isIgnoreZipStateNotMatch()
	{
		Object oo = get_Value(COLUMNNAME_IsIgnoreZipStateNotMatch);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Residential.
		@param IsResidential Residential
	*/
	public void setIsResidential (boolean IsResidential)
	{
		set_Value (COLUMNNAME_IsResidential, Boolean.valueOf(IsResidential));
	}

	/** Get Residential.
		@return Residential	  */
	public boolean isResidential()
	{
		Object oo = get_Value(COLUMNNAME_IsResidential);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Saturday Delivery.
		@param IsSaturdayDelivery Saturday Delivery
	*/
	public void setIsSaturdayDelivery (boolean IsSaturdayDelivery)
	{
		set_Value (COLUMNNAME_IsSaturdayDelivery, Boolean.valueOf(IsSaturdayDelivery));
	}

	/** Get Saturday Delivery.
		@return Saturday Delivery	  */
	public boolean isSaturdayDelivery()
	{
		Object oo = get_Value(COLUMNNAME_IsSaturdayDelivery);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Saturday Pickup.
		@param IsSaturdayPickup Saturday Pickup
	*/
	public void setIsSaturdayPickup (boolean IsSaturdayPickup)
	{
		set_Value (COLUMNNAME_IsSaturdayPickup, Boolean.valueOf(IsSaturdayPickup));
	}

	/** Get Saturday Pickup.
		@return Saturday Pickup	  */
	public boolean isSaturdayPickup()
	{
		Object oo = get_Value(COLUMNNAME_IsSaturdayPickup);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Verbal Confirmation.
		@param IsVerbalConfirmation Verbal Confirmation
	*/
	public void setIsVerbalConfirmation (boolean IsVerbalConfirmation)
	{
		set_Value (COLUMNNAME_IsVerbalConfirmation, Boolean.valueOf(IsVerbalConfirmation));
	}

	/** Get Verbal Confirmation.
		@return Verbal Confirmation	  */
	public boolean isVerbalConfirmation()
	{
		Object oo = get_Value(COLUMNNAME_IsVerbalConfirmation);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Label Print.
		@param LabelPrint Label Print
	*/
	public void setLabelPrint (String LabelPrint)
	{
		set_Value (COLUMNNAME_LabelPrint, LabelPrint);
	}

	/** Get Label Print.
		@return Label Print	  */
	public String getLabelPrint()
	{
		return (String)get_Value(COLUMNNAME_LabelPrint);
	}

	/** Set Latest Pickup Time.
		@param LatestPickupTime Latest Pickup Time
	*/
	public void setLatestPickupTime (Timestamp LatestPickupTime)
	{
		set_Value (COLUMNNAME_LatestPickupTime, LatestPickupTime);
	}

	/** Get Latest Pickup Time.
		@return Latest Pickup Time	  */
	public Timestamp getLatestPickupTime()
	{
		return (Timestamp)get_Value(COLUMNNAME_LatestPickupTime);
	}

	/** Set Length.
		@param Length Length
	*/
	public void setLength (BigDecimal Length)
	{
		set_Value (COLUMNNAME_Length, Length);
	}

	/** Get Length.
		@return Length	  */
	public BigDecimal getLength()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Length);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}

	public org.compiere.model.I_M_InOut getM_InOut() throws RuntimeException
	{
		return (org.compiere.model.I_M_InOut)MTable.get(getCtx(), org.compiere.model.I_M_InOut.Table_ID)
			.getPO(getM_InOut_ID(), get_TrxName());
	}

	/** Set Shipment/Receipt.
		@param M_InOut_ID Material Shipment Document
	*/
	public void setM_InOut_ID (int M_InOut_ID)
	{
		if (M_InOut_ID < 1)
			set_ValueNoCheck (COLUMNNAME_M_InOut_ID, null);
		else
			set_ValueNoCheck (COLUMNNAME_M_InOut_ID, Integer.valueOf(M_InOut_ID));
	}

	/** Get Shipment/Receipt.
		@return Material Shipment Document
	  */
	public int getM_InOut_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_M_InOut_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set Package.
		@param M_Package_ID Shipment Package
	*/
	public void setM_Package_ID (int M_Package_ID)
	{
		if (M_Package_ID < 1)
			set_ValueNoCheck (COLUMNNAME_M_Package_ID, null);
		else
			set_ValueNoCheck (COLUMNNAME_M_Package_ID, Integer.valueOf(M_Package_ID));
	}

	/** Get Package.
		@return Shipment Package
	  */
	public int getM_Package_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_M_Package_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set M_Package_UU.
		@param M_Package_UU M_Package_UU
	*/
	public void setM_Package_UU (String M_Package_UU)
	{
		set_Value (COLUMNNAME_M_Package_UU, M_Package_UU);
	}

	/** Get M_Package_UU.
		@return M_Package_UU	  */
	public String getM_Package_UU()
	{
		return (String)get_Value(COLUMNNAME_M_Package_UU);
	}

	public org.compiere.model.I_M_ShipperLabels getM_ShipperLabels() throws RuntimeException
	{
		return (org.compiere.model.I_M_ShipperLabels)MTable.get(getCtx(), org.compiere.model.I_M_ShipperLabels.Table_ID)
			.getPO(getM_ShipperLabels_ID(), get_TrxName());
	}

	/** Set Shipper Labels.
		@param M_ShipperLabels_ID Shipper Labels
	*/
	public void setM_ShipperLabels_ID (int M_ShipperLabels_ID)
	{
		if (M_ShipperLabels_ID < 1)
			set_Value (COLUMNNAME_M_ShipperLabels_ID, null);
		else
			set_Value (COLUMNNAME_M_ShipperLabels_ID, Integer.valueOf(M_ShipperLabels_ID));
	}

	/** Get Shipper Labels.
		@return Shipper Labels	  */
	public int getM_ShipperLabels_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_M_ShipperLabels_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	public org.compiere.model.I_M_ShipperPackaging getM_ShipperPackaging() throws RuntimeException
	{
		return (org.compiere.model.I_M_ShipperPackaging)MTable.get(getCtx(), org.compiere.model.I_M_ShipperPackaging.Table_ID)
			.getPO(getM_ShipperPackaging_ID(), get_TrxName());
	}

	/** Set Shipper Packaging.
		@param M_ShipperPackaging_ID Shipper Packaging
	*/
	public void setM_ShipperPackaging_ID (int M_ShipperPackaging_ID)
	{
		if (M_ShipperPackaging_ID < 1)
			set_Value (COLUMNNAME_M_ShipperPackaging_ID, null);
		else
			set_Value (COLUMNNAME_M_ShipperPackaging_ID, Integer.valueOf(M_ShipperPackaging_ID));
	}

	/** Get Shipper Packaging.
		@return Shipper Packaging	  */
	public int getM_ShipperPackaging_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_M_ShipperPackaging_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	public org.compiere.model.I_M_ShipperPickupTypes getM_ShipperPickupTypes() throws RuntimeException
	{
		return (org.compiere.model.I_M_ShipperPickupTypes)MTable.get(getCtx(), org.compiere.model.I_M_ShipperPickupTypes.Table_ID)
			.getPO(getM_ShipperPickupTypes_ID(), get_TrxName());
	}

	/** Set Shipper Pickup Types.
		@param M_ShipperPickupTypes_ID Shipper Pickup Types
	*/
	public void setM_ShipperPickupTypes_ID (int M_ShipperPickupTypes_ID)
	{
		if (M_ShipperPickupTypes_ID < 1)
			set_Value (COLUMNNAME_M_ShipperPickupTypes_ID, null);
		else
			set_Value (COLUMNNAME_M_ShipperPickupTypes_ID, Integer.valueOf(M_ShipperPickupTypes_ID));
	}

	/** Get Shipper Pickup Types.
		@return Shipper Pickup Types	  */
	public int getM_ShipperPickupTypes_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_M_ShipperPickupTypes_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	public org.compiere.model.I_M_Shipper getM_Shipper() throws RuntimeException
	{
		return (org.compiere.model.I_M_Shipper)MTable.get(getCtx(), org.compiere.model.I_M_Shipper.Table_ID)
			.getPO(getM_Shipper_ID(), get_TrxName());
	}

	/** Set Shipper.
		@param M_Shipper_ID Method or manner of product delivery
	*/
	public void setM_Shipper_ID (int M_Shipper_ID)
	{
		if (M_Shipper_ID < 1)
			set_Value (COLUMNNAME_M_Shipper_ID, null);
		else
			set_Value (COLUMNNAME_M_Shipper_ID, Integer.valueOf(M_Shipper_ID));
	}

	/** Get Shipper.
		@return Method or manner of product delivery
	  */
	public int getM_Shipper_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_M_Shipper_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	public org.compiere.model.I_M_ShippingProcessor getM_ShippingProcessor() throws RuntimeException
	{
		return (org.compiere.model.I_M_ShippingProcessor)MTable.get(getCtx(), org.compiere.model.I_M_ShippingProcessor.Table_ID)
			.getPO(getM_ShippingProcessor_ID(), get_TrxName());
	}

	/** Set Shipping Processor.
		@param M_ShippingProcessor_ID Shipping Processor
	*/
	public void setM_ShippingProcessor_ID (int M_ShippingProcessor_ID)
	{
		throw new IllegalArgumentException ("M_ShippingProcessor_ID is virtual column");	}

	/** Get Shipping Processor.
		@return Shipping Processor	  */
	public int getM_ShippingProcessor_ID()
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_M_ShippingProcessor_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set Notification Message.
		@param NotificationMessage Notification Message
	*/
	public void setNotificationMessage (String NotificationMessage)
	{
		set_Value (COLUMNNAME_NotificationMessage, NotificationMessage);
	}

	/** Get Notification Message.
		@return Notification Message	  */
	public String getNotificationMessage()
	{
		return (String)get_Value(COLUMNNAME_NotificationMessage);
	}

	/** NotificationType AD_Reference_ID=200026 */
	public static final int NOTIFICATIONTYPE_AD_Reference_ID=200026;
	/** Recipient = RE */
	public static final String NOTIFICATIONTYPE_Recipient = "RE";
	/** Recipient / Sender = RS */
	public static final String NOTIFICATIONTYPE_RecipientSender = "RS";
	/** Sender = SE */
	public static final String NOTIFICATIONTYPE_Sender = "SE";
	/** Set Notification Type.
		@param NotificationType Type of Notifications
	*/
	public void setNotificationType (String NotificationType)
	{

		set_Value (COLUMNNAME_NotificationType, NotificationType);
	}

	/** Get Notification Type.
		@return Type of Notifications
	  */
	public String getNotificationType()
	{
		return (String)get_Value(COLUMNNAME_NotificationType);
	}

	/** Set Online Processing.
		@param OProcessing This payment can be processed online
	*/
	public void setOProcessing (String OProcessing)
	{
		set_Value (COLUMNNAME_OProcessing, OProcessing);
	}

	/** Get Online Processing.
		@return This payment can be processed online
	  */
	public String getOProcessing()
	{
		return (String)get_Value(COLUMNNAME_OProcessing);
	}

	/** PaymentRule AD_Reference_ID=195 */
	public static final int PAYMENTRULE_AD_Reference_ID=195;
	/** Cash = B */
	public static final String PAYMENTRULE_Cash = "B";
	/** Direct Debit = D */
	public static final String PAYMENTRULE_DirectDebit = "D";
	/** Credit Card = K */
	public static final String PAYMENTRULE_CreditCard = "K";
	/** Mixed POS Payment = M */
	public static final String PAYMENTRULE_MixedPOSPayment = "M";
	/** On Credit = P */
	public static final String PAYMENTRULE_OnCredit = "P";
	/** Check = S */
	public static final String PAYMENTRULE_Check = "S";
	/** Direct Deposit = T */
	public static final String PAYMENTRULE_DirectDeposit = "T";
	/** Set Payment Rule.
		@param PaymentRule How you pay the invoice
	*/
	public void setPaymentRule (String PaymentRule)
	{

		set_Value (COLUMNNAME_PaymentRule, PaymentRule);
	}

	/** Get Payment Rule.
		@return How you pay the invoice
	  */
	public String getPaymentRule()
	{
		return (String)get_Value(COLUMNNAME_PaymentRule);
	}

	/** Set Price.
		@param Price Price
	*/
	public void setPrice (BigDecimal Price)
	{
		set_Value (COLUMNNAME_Price, Price);
	}

	/** Get Price.
		@return Price
	  */
	public BigDecimal getPrice()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Price);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}

	/** Set Unit Price.
		@param PriceActual Actual Price 
	*/
	public void setPriceActual (BigDecimal PriceActual)
	{
		set_Value (COLUMNNAME_PriceActual, PriceActual);
	}

	/** Get Unit Price.
		@return Actual Price 
	  */
	public BigDecimal getPriceActual()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PriceActual);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}

	/** Set Processed.
		@param Processed The document has been processed
	*/
	public void setProcessed (boolean Processed)
	{
		set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed));
	}

	/** Get Processed.
		@return The document has been processed
	  */
	public boolean isProcessed()
	{
		Object oo = get_Value(COLUMNNAME_Processed);
		if (oo != null)
		{
			 if (oo instanceof Boolean)
				 return ((Boolean)oo).booleanValue();
			return "Y".equals(oo);
		}
		return false;
	}

	/** Set Rate Inquiry Message.
		@param RateInquiryMessage Rate Inquiry Message
	*/
	public void setRateInquiryMessage (String RateInquiryMessage)
	{
		set_Value (COLUMNNAME_RateInquiryMessage, RateInquiryMessage);
	}

	/** Get Rate Inquiry Message.
		@return Rate Inquiry Message	  */
	public String getRateInquiryMessage()
	{
		return (String)get_Value(COLUMNNAME_RateInquiryMessage);
	}

	/** Set Info Received.
		@param ReceivedInfo Information of the receipt of the package (acknowledgement)
	*/
	public void setReceivedInfo (String ReceivedInfo)
	{
		set_Value (COLUMNNAME_ReceivedInfo, ReceivedInfo);
	}

	/** Get Info Received.
		@return Information of the receipt of the package (acknowledgement)
	  */
	public String getReceivedInfo()
	{
		return (String)get_Value(COLUMNNAME_ReceivedInfo);
	}

	/** Set Ship Date.
		@param ShipDate Shipment Date/Time
	*/
	public void setShipDate (Timestamp ShipDate)
	{
		set_Value (COLUMNNAME_ShipDate, ShipDate);
	}

	/** Get Ship Date.
		@return Shipment Date/Time
	  */
	public Timestamp getShipDate()
	{
		return (Timestamp)get_Value(COLUMNNAME_ShipDate);
	}

	/** Set Shipper Account Number.
		@param ShipperAccount Shipper Account Number
	*/
	public void setShipperAccount (String ShipperAccount)
	{
		set_Value (COLUMNNAME_ShipperAccount, ShipperAccount);
	}

	/** Get Shipper Account Number.
		@return Shipper Account Number	  */
	public String getShipperAccount()
	{
		return (String)get_Value(COLUMNNAME_ShipperAccount);
	}

	/** Set Rate Inquiry.
		@param ShippingRateInquiry Rate Inquiry
	*/
	public void setShippingRateInquiry (String ShippingRateInquiry)
	{
		set_Value (COLUMNNAME_ShippingRateInquiry, ShippingRateInquiry);
	}

	/** Get Rate Inquiry.
		@return Rate Inquiry	  */
	public String getShippingRateInquiry()
	{
		return (String)get_Value(COLUMNNAME_ShippingRateInquiry);
	}

	/** Set Response Message.
		@param ShippingRespMessage Response Message
	*/
	public void setShippingRespMessage (String ShippingRespMessage)
	{
		set_Value (COLUMNNAME_ShippingRespMessage, ShippingRespMessage);
	}

	/** Get Response Message.
		@return Response Message	  */
	public String getShippingRespMessage()
	{
		return (String)get_Value(COLUMNNAME_ShippingRespMessage);
	}

	/** Set Surcharges.
		@param Surcharges Surcharges
	*/
	public void setSurcharges (BigDecimal Surcharges)
	{
		set_Value (COLUMNNAME_Surcharges, Surcharges);
	}

	/** Get Surcharges.
		@return Surcharges	  */
	public BigDecimal getSurcharges()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Surcharges);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}

	/** Set Total Price.
		@param TotalPrice Total Price
	*/
	public void setTotalPrice (BigDecimal TotalPrice)
	{
		throw new IllegalArgumentException ("TotalPrice is virtual column");	}

	/** Get Total Price.
		@return Total Price	  */
	public BigDecimal getTotalPrice()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_TotalPrice);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}

	/** Set Tracking Info.
		@param TrackingInfo Tracking Info
	*/
	public void setTrackingInfo (String TrackingInfo)
	{
		set_Value (COLUMNNAME_TrackingInfo, TrackingInfo);
	}

	/** Get Tracking Info.
		@return Tracking Info	  */
	public String getTrackingInfo()
	{
		return (String)get_Value(COLUMNNAME_TrackingInfo);
	}

	/** Set Tracking No.
		@param TrackingNo Number to track the shipment
	*/
	public void setTrackingNo (String TrackingNo)
	{
		set_Value (COLUMNNAME_TrackingNo, TrackingNo);
	}

	/** Get Tracking No.
		@return Number to track the shipment
	  */
	public String getTrackingNo()
	{
		return (String)get_Value(COLUMNNAME_TrackingNo);
	}

	/** Set Void It.
		@param VoidIt Void It
	*/
	public void setVoidIt (String VoidIt)
	{
		set_Value (COLUMNNAME_VoidIt, VoidIt);
	}

	/** Get Void It.
		@return Void It	  */
	public String getVoidIt()
	{
		return (String)get_Value(COLUMNNAME_VoidIt);
	}

	/** Set Weight.
		@param Weight Weight of a product
	*/
	public void setWeight (BigDecimal Weight)
	{
		set_Value (COLUMNNAME_Weight, Weight);
	}

	/** Get Weight.
		@return Weight of a product
	  */
	public BigDecimal getWeight()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Weight);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}

	/** Set Width.
		@param Width Width
	*/
	public void setWidth (BigDecimal Width)
	{
		set_Value (COLUMNNAME_Width, Width);
	}

	/** Get Width.
		@return Width	  */
	public BigDecimal getWidth()
	{
		BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Width);
		if (bd == null)
			 return Env.ZERO;
		return bd;
	}
}