public static ISalesHeaderView CreateSalesHeader(tbl_Sah sah)
 {
     ISalesHeaderView header = SalesFactory.createNewSalesHeader(sah.Sah_, sah.SahNumber, sah.SahCus_,
                                                                 sah.SahCreatedate, sah.SahType);
     return header;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tbl_Sah EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbl_Sah(tbl_Sah tbl_Sah)
 {
     base.AddObject("tbl_Sah", tbl_Sah);
 }
 public static tbl_Sah CreateSalesHeader(ISalesHeaderView view)
 {
     tbl_Sah sah = new tbl_Sah();
     sah.SahNumber = view.SalesHeaderNumber;
     sah.SahCus_ = view.SalesHeaderCustomer;
     sah.SahCreatedate = view.SalesHeaderCreateDate;
     return sah;
 }
예제 #4
0
 /// <summary>
 /// Create a new tbl_Sah object.
 /// </summary>
 /// <param name="sah_">Initial value of the Sah_ property.</param>
 public static tbl_Sah Createtbl_Sah(global::System.Int32 sah_)
 {
     tbl_Sah tbl_Sah = new tbl_Sah();
     tbl_Sah.Sah_ = sah_;
     return tbl_Sah;
 }