// Decompiled with JetBrains decompiler
// Type: SE0085.Q2CdB.mdsbodtd
// Assembly: SE0085Q2CdB, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: A5680110-30A2-457F-A920-E4C024719231
// Assembly location: C:\Users\Abishek\Downloads\SchneiderCode_Breaker_09292016\Breaker Schedule-20160930T014118Z\Breaker Schedule\Solution for gathering Breaker Data\DMS\bin\Debug\SE0085Q2CdB.dll

using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Data.Objects.DataClasses;
using System.Diagnostics;
using System.Runtime.Serialization;

namespace SE0085.Q2CdB
{
  [EdmEntityType(Name = "mdsbodtd", NamespaceName = "MDSS_dbmor_dModel")]
  [DataContract(IsReference = true)]
  [Serializable]
  public class mdsbodtd : EntityObject
  {
    private string _q2c_nbr;
    private int _bom_nbr;
    private string _ln_itm;
    private string _sub_ln_itm_id;
    private string _shp_sched_id;
    private DateTime _load_dt;
    private int _tot_qty_ord;
    private int _tot_qty_shpd;
    private int _tot_bo_qty;
    private int _tot_shpg_qty;
    private int _tot_unfld_ord_qty;
    private int _tot_qty_not_b4;
    private int _tot_qty_canc;
    private string _categ_id;
    private string _purch_id;
    private string _terr_cd;
    private string _shpg_loc;
    private Decimal _auth_eqp_unit_snp;
    private string _ln_cd;
    private string _mfg_loc;
    private Decimal _unit_book_prc;
    private string _rpt_dt;
    private string _inv_prof_loc;
    private Decimal _ext_book_prc;
    private Decimal _ext_net_prc;
    private Decimal _unit_net_prc;
    private string _prod_cd;
    private string _srce_loc;
    private string _tot_typ;
    private string _drop_shp_ind;
    private string _crdt_debt_cd;
    private string _shpsc_actn_status;
    private string _hold_ord_ind;
    private DateTime _ord_entry_dt;
    private string _catlg_nbr;
    private Decimal _unit_list_prc;
    private Decimal _ext_list_prc;
    private DateTime _rqst_dt;
    private DateTime _not_b4_dt;
    private DateTime _orig_prom_dt;
    private string _prgrs_pnt;
    private DateTime _curr_prom_dt;
    private string _cntry_cd;
    private string _xb_ord_ind;
    private short _carr_lead_tm_dy;
    private short _prod_lead_tm_dy;
    private string _bench_cd;
    private string _will_advise_ind;
    private short? _crdt_status_cd;
    private string _shpsc_actn_status_cd_1;
    private string _shpsc_actn_status_cd_2;
    private string _shpsc_actn_status_cd_3;
    private string _shpsc_actn_status_cd_4;
    private string _shpsc_actn_status_cd_5;
    private string _shpsc_actn_status_cd_6;
    private string _shpsc_actn_status_cd_7;
    private string _shpsc_actn_status_cd_8;
    private string _shpsc_actn_status_cd_9;
    private string _shpsc_actn_status_cd_10;
    private string _shpsc_actn_status_cd_11;
    private string _shpsc_actn_status_cd_12;
    private string _shpsc_actn_status_cd_13;
    private string _shpsc_actn_status_cd_14;
    private string _shpsc_actn_status_cd_15;
    private string _shpsc_actn_status_cd_16;
    private string _shpsc_actn_status_cd_17;
    private string _shpsc_actn_status_cd_18;
    private string _shpsc_actn_status_cd_19;
    private string _shpsc_actn_status_cd_20;
    private string _crdt_ovrd_ind;

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string q2c_nbr
    {
      get
      {
        return this._q2c_nbr;
      }
      set
      {
        if (Operators.CompareString(this._q2c_nbr, value, false) == 0)
          return;
        this.ReportPropertyChanging("q2c_nbr");
        this._q2c_nbr = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("q2c_nbr");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public int bom_nbr
    {
      get
      {
        return this._bom_nbr;
      }
      set
      {
        if (this._bom_nbr == value)
          return;
        this.ReportPropertyChanging("bom_nbr");
        this._bom_nbr = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("bom_nbr");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public string ln_itm
    {
      get
      {
        return this._ln_itm;
      }
      set
      {
        if (Operators.CompareString(this._ln_itm, value, false) == 0)
          return;
        this.ReportPropertyChanging("ln_itm");
        this._ln_itm = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("ln_itm");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string sub_ln_itm_id
    {
      get
      {
        return this._sub_ln_itm_id;
      }
      set
      {
        if (Operators.CompareString(this._sub_ln_itm_id, value, false) == 0)
          return;
        this.ReportPropertyChanging("sub_ln_itm_id");
        this._sub_ln_itm_id = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("sub_ln_itm_id");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public string shp_sched_id
    {
      get
      {
        return this._shp_sched_id;
      }
      set
      {
        if (Operators.CompareString(this._shp_sched_id, value, false) == 0)
          return;
        this.ReportPropertyChanging("shp_sched_id");
        this._shp_sched_id = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("shp_sched_id");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public DateTime load_dt
    {
      get
      {
        return this._load_dt;
      }
      set
      {
        if (DateTime.Compare(this._load_dt, value) == 0)
          return;
        this.ReportPropertyChanging("load_dt");
        this._load_dt = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("load_dt");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public int tot_qty_ord
    {
      get
      {
        return this._tot_qty_ord;
      }
      set
      {
        if (this._tot_qty_ord == value)
          return;
        this.ReportPropertyChanging("tot_qty_ord");
        this._tot_qty_ord = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("tot_qty_ord");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public int tot_qty_shpd
    {
      get
      {
        return this._tot_qty_shpd;
      }
      set
      {
        if (this._tot_qty_shpd == value)
          return;
        this.ReportPropertyChanging("tot_qty_shpd");
        this._tot_qty_shpd = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("tot_qty_shpd");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public int tot_bo_qty
    {
      get
      {
        return this._tot_bo_qty;
      }
      set
      {
        if (this._tot_bo_qty == value)
          return;
        this.ReportPropertyChanging("tot_bo_qty");
        this._tot_bo_qty = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("tot_bo_qty");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public int tot_shpg_qty
    {
      get
      {
        return this._tot_shpg_qty;
      }
      set
      {
        if (this._tot_shpg_qty == value)
          return;
        this.ReportPropertyChanging("tot_shpg_qty");
        this._tot_shpg_qty = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("tot_shpg_qty");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public int tot_unfld_ord_qty
    {
      get
      {
        return this._tot_unfld_ord_qty;
      }
      set
      {
        if (this._tot_unfld_ord_qty == value)
          return;
        this.ReportPropertyChanging("tot_unfld_ord_qty");
        this._tot_unfld_ord_qty = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("tot_unfld_ord_qty");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public int tot_qty_not_b4
    {
      get
      {
        return this._tot_qty_not_b4;
      }
      set
      {
        if (this._tot_qty_not_b4 == value)
          return;
        this.ReportPropertyChanging("tot_qty_not_b4");
        this._tot_qty_not_b4 = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("tot_qty_not_b4");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public int tot_qty_canc
    {
      get
      {
        return this._tot_qty_canc;
      }
      set
      {
        if (this._tot_qty_canc == value)
          return;
        this.ReportPropertyChanging("tot_qty_canc");
        this._tot_qty_canc = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("tot_qty_canc");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public string categ_id
    {
      get
      {
        return this._categ_id;
      }
      set
      {
        if (Operators.CompareString(this._categ_id, value, false) == 0)
          return;
        this.ReportPropertyChanging("categ_id");
        this._categ_id = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("categ_id");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public string purch_id
    {
      get
      {
        return this._purch_id;
      }
      set
      {
        if (Operators.CompareString(this._purch_id, value, false) == 0)
          return;
        this.ReportPropertyChanging("purch_id");
        this._purch_id = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("purch_id");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string terr_cd
    {
      get
      {
        return this._terr_cd;
      }
      set
      {
        if (Operators.CompareString(this._terr_cd, value, false) == 0)
          return;
        this.ReportPropertyChanging("terr_cd");
        this._terr_cd = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("terr_cd");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public string shpg_loc
    {
      get
      {
        return this._shpg_loc;
      }
      set
      {
        if (Operators.CompareString(this._shpg_loc, value, false) == 0)
          return;
        this.ReportPropertyChanging("shpg_loc");
        this._shpg_loc = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("shpg_loc");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public Decimal auth_eqp_unit_snp
    {
      get
      {
        return this._auth_eqp_unit_snp;
      }
      set
      {
        if (Decimal.Compare(this._auth_eqp_unit_snp, value) == 0)
          return;
        this.ReportPropertyChanging("auth_eqp_unit_snp");
        this._auth_eqp_unit_snp = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("auth_eqp_unit_snp");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string ln_cd
    {
      get
      {
        return this._ln_cd;
      }
      set
      {
        if (Operators.CompareString(this._ln_cd, value, false) == 0)
          return;
        this.ReportPropertyChanging("ln_cd");
        this._ln_cd = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("ln_cd");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string mfg_loc
    {
      get
      {
        return this._mfg_loc;
      }
      set
      {
        if (Operators.CompareString(this._mfg_loc, value, false) == 0)
          return;
        this.ReportPropertyChanging("mfg_loc");
        this._mfg_loc = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("mfg_loc");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public Decimal unit_book_prc
    {
      get
      {
        return this._unit_book_prc;
      }
      set
      {
        if (Decimal.Compare(this._unit_book_prc, value) == 0)
          return;
        this.ReportPropertyChanging("unit_book_prc");
        this._unit_book_prc = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("unit_book_prc");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string rpt_dt
    {
      get
      {
        return this._rpt_dt;
      }
      set
      {
        if (Operators.CompareString(this._rpt_dt, value, false) == 0)
          return;
        this.ReportPropertyChanging("rpt_dt");
        this._rpt_dt = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("rpt_dt");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public string inv_prof_loc
    {
      get
      {
        return this._inv_prof_loc;
      }
      set
      {
        if (Operators.CompareString(this._inv_prof_loc, value, false) == 0)
          return;
        this.ReportPropertyChanging("inv_prof_loc");
        this._inv_prof_loc = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("inv_prof_loc");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public Decimal ext_book_prc
    {
      get
      {
        return this._ext_book_prc;
      }
      set
      {
        if (Decimal.Compare(this._ext_book_prc, value) == 0)
          return;
        this.ReportPropertyChanging("ext_book_prc");
        this._ext_book_prc = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("ext_book_prc");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public Decimal ext_net_prc
    {
      get
      {
        return this._ext_net_prc;
      }
      set
      {
        if (Decimal.Compare(this._ext_net_prc, value) == 0)
          return;
        this.ReportPropertyChanging("ext_net_prc");
        this._ext_net_prc = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("ext_net_prc");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public Decimal unit_net_prc
    {
      get
      {
        return this._unit_net_prc;
      }
      set
      {
        if (Decimal.Compare(this._unit_net_prc, value) == 0)
          return;
        this.ReportPropertyChanging("unit_net_prc");
        this._unit_net_prc = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("unit_net_prc");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string prod_cd
    {
      get
      {
        return this._prod_cd;
      }
      set
      {
        if (Operators.CompareString(this._prod_cd, value, false) == 0)
          return;
        this.ReportPropertyChanging("prod_cd");
        this._prod_cd = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("prod_cd");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string srce_loc
    {
      get
      {
        return this._srce_loc;
      }
      set
      {
        if (Operators.CompareString(this._srce_loc, value, false) == 0)
          return;
        this.ReportPropertyChanging("srce_loc");
        this._srce_loc = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("srce_loc");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public string tot_typ
    {
      get
      {
        return this._tot_typ;
      }
      set
      {
        if (Operators.CompareString(this._tot_typ, value, false) == 0)
          return;
        this.ReportPropertyChanging("tot_typ");
        this._tot_typ = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("tot_typ");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string drop_shp_ind
    {
      get
      {
        return this._drop_shp_ind;
      }
      set
      {
        if (Operators.CompareString(this._drop_shp_ind, value, false) == 0)
          return;
        this.ReportPropertyChanging("drop_shp_ind");
        this._drop_shp_ind = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("drop_shp_ind");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public string crdt_debt_cd
    {
      get
      {
        return this._crdt_debt_cd;
      }
      set
      {
        if (Operators.CompareString(this._crdt_debt_cd, value, false) == 0)
          return;
        this.ReportPropertyChanging("crdt_debt_cd");
        this._crdt_debt_cd = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("crdt_debt_cd");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string shpsc_actn_status
    {
      get
      {
        return this._shpsc_actn_status;
      }
      set
      {
        if (Operators.CompareString(this._shpsc_actn_status, value, false) == 0)
          return;
        this.ReportPropertyChanging("shpsc_actn_status");
        this._shpsc_actn_status = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("shpsc_actn_status");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string hold_ord_ind
    {
      get
      {
        return this._hold_ord_ind;
      }
      set
      {
        if (Operators.CompareString(this._hold_ord_ind, value, false) == 0)
          return;
        this.ReportPropertyChanging("hold_ord_ind");
        this._hold_ord_ind = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("hold_ord_ind");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public DateTime ord_entry_dt
    {
      get
      {
        return this._ord_entry_dt;
      }
      set
      {
        if (DateTime.Compare(this._ord_entry_dt, value) == 0)
          return;
        this.ReportPropertyChanging("ord_entry_dt");
        this._ord_entry_dt = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("ord_entry_dt");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string catlg_nbr
    {
      get
      {
        return this._catlg_nbr;
      }
      set
      {
        if (Operators.CompareString(this._catlg_nbr, value, false) == 0)
          return;
        this.ReportPropertyChanging("catlg_nbr");
        this._catlg_nbr = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("catlg_nbr");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public Decimal unit_list_prc
    {
      get
      {
        return this._unit_list_prc;
      }
      set
      {
        if (Decimal.Compare(this._unit_list_prc, value) == 0)
          return;
        this.ReportPropertyChanging("unit_list_prc");
        this._unit_list_prc = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("unit_list_prc");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public Decimal ext_list_prc
    {
      get
      {
        return this._ext_list_prc;
      }
      set
      {
        if (Decimal.Compare(this._ext_list_prc, value) == 0)
          return;
        this.ReportPropertyChanging("ext_list_prc");
        this._ext_list_prc = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("ext_list_prc");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public DateTime rqst_dt
    {
      get
      {
        return this._rqst_dt;
      }
      set
      {
        if (DateTime.Compare(this._rqst_dt, value) == 0)
          return;
        this.ReportPropertyChanging("rqst_dt");
        this._rqst_dt = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("rqst_dt");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public DateTime not_b4_dt
    {
      get
      {
        return this._not_b4_dt;
      }
      set
      {
        if (DateTime.Compare(this._not_b4_dt, value) == 0)
          return;
        this.ReportPropertyChanging("not_b4_dt");
        this._not_b4_dt = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("not_b4_dt");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public DateTime orig_prom_dt
    {
      get
      {
        return this._orig_prom_dt;
      }
      set
      {
        if (DateTime.Compare(this._orig_prom_dt, value) == 0)
          return;
        this.ReportPropertyChanging("orig_prom_dt");
        this._orig_prom_dt = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("orig_prom_dt");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public string prgrs_pnt
    {
      get
      {
        return this._prgrs_pnt;
      }
      set
      {
        if (Operators.CompareString(this._prgrs_pnt, value, false) == 0)
          return;
        this.ReportPropertyChanging("prgrs_pnt");
        this._prgrs_pnt = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("prgrs_pnt");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public DateTime curr_prom_dt
    {
      get
      {
        return this._curr_prom_dt;
      }
      set
      {
        if (DateTime.Compare(this._curr_prom_dt, value) == 0)
          return;
        this.ReportPropertyChanging("curr_prom_dt");
        this._curr_prom_dt = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("curr_prom_dt");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public string cntry_cd
    {
      get
      {
        return this._cntry_cd;
      }
      set
      {
        if (Operators.CompareString(this._cntry_cd, value, false) == 0)
          return;
        this.ReportPropertyChanging("cntry_cd");
        this._cntry_cd = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("cntry_cd");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public string xb_ord_ind
    {
      get
      {
        return this._xb_ord_ind;
      }
      set
      {
        if (Operators.CompareString(this._xb_ord_ind, value, false) == 0)
          return;
        this.ReportPropertyChanging("xb_ord_ind");
        this._xb_ord_ind = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("xb_ord_ind");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public short carr_lead_tm_dy
    {
      get
      {
        return this._carr_lead_tm_dy;
      }
      set
      {
        if ((int) this._carr_lead_tm_dy == (int) value)
          return;
        this.ReportPropertyChanging("carr_lead_tm_dy");
        this._carr_lead_tm_dy = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("carr_lead_tm_dy");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    [DataMember]
    public short prod_lead_tm_dy
    {
      get
      {
        return this._prod_lead_tm_dy;
      }
      set
      {
        if ((int) this._prod_lead_tm_dy == (int) value)
          return;
        this.ReportPropertyChanging("prod_lead_tm_dy");
        this._prod_lead_tm_dy = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("prod_lead_tm_dy");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = true, IsNullable = false)]
    public string bench_cd
    {
      get
      {
        return this._bench_cd;
      }
      set
      {
        if (Operators.CompareString(this._bench_cd, value, false) == 0)
          return;
        this.ReportPropertyChanging("bench_cd");
        this._bench_cd = StructuralObject.SetValidValue(value, false);
        this.ReportPropertyChanged("bench_cd");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string will_advise_ind
    {
      get
      {
        return this._will_advise_ind;
      }
      set
      {
        this.ReportPropertyChanging("will_advise_ind");
        this._will_advise_ind = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("will_advise_ind");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    public short? crdt_status_cd
    {
      get
      {
        return this._crdt_status_cd;
      }
      set
      {
        this.ReportPropertyChanging("crdt_status_cd");
        this._crdt_status_cd = StructuralObject.SetValidValue(value);
        this.ReportPropertyChanged("crdt_status_cd");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_1
    {
      get
      {
        return this._shpsc_actn_status_cd_1;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_1");
        this._shpsc_actn_status_cd_1 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_1");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    public string shpsc_actn_status_cd_2
    {
      get
      {
        return this._shpsc_actn_status_cd_2;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_2");
        this._shpsc_actn_status_cd_2 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_2");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_3
    {
      get
      {
        return this._shpsc_actn_status_cd_3;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_3");
        this._shpsc_actn_status_cd_3 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_3");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_4
    {
      get
      {
        return this._shpsc_actn_status_cd_4;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_4");
        this._shpsc_actn_status_cd_4 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_4");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_5
    {
      get
      {
        return this._shpsc_actn_status_cd_5;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_5");
        this._shpsc_actn_status_cd_5 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_5");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_6
    {
      get
      {
        return this._shpsc_actn_status_cd_6;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_6");
        this._shpsc_actn_status_cd_6 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_6");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_7
    {
      get
      {
        return this._shpsc_actn_status_cd_7;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_7");
        this._shpsc_actn_status_cd_7 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_7");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    public string shpsc_actn_status_cd_8
    {
      get
      {
        return this._shpsc_actn_status_cd_8;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_8");
        this._shpsc_actn_status_cd_8 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_8");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_9
    {
      get
      {
        return this._shpsc_actn_status_cd_9;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_9");
        this._shpsc_actn_status_cd_9 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_9");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    public string shpsc_actn_status_cd_10
    {
      get
      {
        return this._shpsc_actn_status_cd_10;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_10");
        this._shpsc_actn_status_cd_10 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_10");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    public string shpsc_actn_status_cd_11
    {
      get
      {
        return this._shpsc_actn_status_cd_11;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_11");
        this._shpsc_actn_status_cd_11 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_11");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_12
    {
      get
      {
        return this._shpsc_actn_status_cd_12;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_12");
        this._shpsc_actn_status_cd_12 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_12");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    public string shpsc_actn_status_cd_13
    {
      get
      {
        return this._shpsc_actn_status_cd_13;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_13");
        this._shpsc_actn_status_cd_13 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_13");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    public string shpsc_actn_status_cd_14
    {
      get
      {
        return this._shpsc_actn_status_cd_14;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_14");
        this._shpsc_actn_status_cd_14 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_14");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_15
    {
      get
      {
        return this._shpsc_actn_status_cd_15;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_15");
        this._shpsc_actn_status_cd_15 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_15");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    public string shpsc_actn_status_cd_16
    {
      get
      {
        return this._shpsc_actn_status_cd_16;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_16");
        this._shpsc_actn_status_cd_16 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_16");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_17
    {
      get
      {
        return this._shpsc_actn_status_cd_17;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_17");
        this._shpsc_actn_status_cd_17 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_17");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_18
    {
      get
      {
        return this._shpsc_actn_status_cd_18;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_18");
        this._shpsc_actn_status_cd_18 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_18");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string shpsc_actn_status_cd_19
    {
      get
      {
        return this._shpsc_actn_status_cd_19;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_19");
        this._shpsc_actn_status_cd_19 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_19");
      }
    }

    [DataMember]
    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    public string shpsc_actn_status_cd_20
    {
      get
      {
        return this._shpsc_actn_status_cd_20;
      }
      set
      {
        this.ReportPropertyChanging("shpsc_actn_status_cd_20");
        this._shpsc_actn_status_cd_20 = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("shpsc_actn_status_cd_20");
      }
    }

    [EdmScalarProperty(EntityKeyProperty = false, IsNullable = true)]
    [DataMember]
    public string crdt_ovrd_ind
    {
      get
      {
        return this._crdt_ovrd_ind;
      }
      set
      {
        this.ReportPropertyChanging("crdt_ovrd_ind");
        this._crdt_ovrd_ind = StructuralObject.SetValidValue(value, true);
        this.ReportPropertyChanged("crdt_ovrd_ind");
      }
    }

    [DebuggerNonUserCode]
    public mdsbodtd()
    {
    }

    public static mdsbodtd Createmdsbodtd(string q2c_nbr, int bom_nbr, string ln_itm, string sub_ln_itm_id, string shp_sched_id, DateTime load_dt, int tot_qty_ord, int tot_qty_shpd, int tot_bo_qty, int tot_shpg_qty, int tot_unfld_ord_qty, int tot_qty_not_b4, int tot_qty_canc, string categ_id, string purch_id, string terr_cd, string shpg_loc, Decimal auth_eqp_unit_snp, string ln_cd, string mfg_loc, Decimal unit_book_prc, string rpt_dt, string inv_prof_loc, Decimal ext_book_prc, Decimal ext_net_prc, Decimal unit_net_prc, string prod_cd, string srce_loc, string tot_typ, string drop_shp_ind, string crdt_debt_cd, string shpsc_actn_status, string hold_ord_ind, DateTime ord_entry_dt, string catlg_nbr, Decimal unit_list_prc, Decimal ext_list_prc, DateTime rqst_dt, DateTime not_b4_dt, DateTime orig_prom_dt, string prgrs_pnt, DateTime curr_prom_dt, string cntry_cd, string xb_ord_ind, short carr_lead_tm_dy, short prod_lead_tm_dy, string bench_cd)
    {
      return new mdsbodtd() { q2c_nbr = q2c_nbr, bom_nbr = bom_nbr, ln_itm = ln_itm, sub_ln_itm_id = sub_ln_itm_id, shp_sched_id = shp_sched_id, load_dt = load_dt, tot_qty_ord = tot_qty_ord, tot_qty_shpd = tot_qty_shpd, tot_bo_qty = tot_bo_qty, tot_shpg_qty = tot_shpg_qty, tot_unfld_ord_qty = tot_unfld_ord_qty, tot_qty_not_b4 = tot_qty_not_b4, tot_qty_canc = tot_qty_canc, categ_id = categ_id, purch_id = purch_id, terr_cd = terr_cd, shpg_loc = shpg_loc, auth_eqp_unit_snp = auth_eqp_unit_snp, ln_cd = ln_cd, mfg_loc = mfg_loc, unit_book_prc = unit_book_prc, rpt_dt = rpt_dt, inv_prof_loc = inv_prof_loc, ext_book_prc = ext_book_prc, ext_net_prc = ext_net_prc, unit_net_prc = unit_net_prc, prod_cd = prod_cd, srce_loc = srce_loc, tot_typ = tot_typ, drop_shp_ind = drop_shp_ind, crdt_debt_cd = crdt_debt_cd, shpsc_actn_status = shpsc_actn_status, hold_ord_ind = hold_ord_ind, ord_entry_dt = ord_entry_dt, catlg_nbr = catlg_nbr, unit_list_prc = unit_list_prc, ext_list_prc = ext_list_prc, rqst_dt = rqst_dt, not_b4_dt = not_b4_dt, orig_prom_dt = orig_prom_dt, prgrs_pnt = prgrs_pnt, curr_prom_dt = curr_prom_dt, cntry_cd = cntry_cd, xb_ord_ind = xb_ord_ind, carr_lead_tm_dy = carr_lead_tm_dy, prod_lead_tm_dy = prod_lead_tm_dy, bench_cd = bench_cd };
    }
  }
}
