コード例 #1
0
 /// <summary>
 /// Constructor for new supplier purchase
 /// </summary>
 public SupplierPurchase()
 {
     loadDataSet();
     addNewRecord();
     _supplierPurchaseLine = new SupplierPurchaseLine(_dst, _lngPKID);
     createRelationship();
 }
コード例 #2
0
 /// <summary>
 /// Constructor for existing supplier purchase
 /// </summary>
 /// <param name="pLongID">The record ID of the order that will be used in this class</param>
 public SupplierPurchase(long pLongID)
 {
     _lngPKID = pLongID;
     loadDataSet();
     _supplierPurchaseLine = new SupplierPurchaseLine(_dst, _lngPKID);
     createRelationship();
     assignFields();
 }