예제 #1
0
 /// <summary>
 /// Constructor for new supplier purchase
 /// </summary>
 public PurchaseClass()
 {
     loadDataSet();
     addNewRecord();
     _PurchaseLine = new PurchaseLineClass(_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 PurchaseClass(long pLongID)
 {
     _lngPKID = pLongID;
     loadDataSet();
     _PurchaseLine = new PurchaseLineClass(_dst, _lngPKID);
     createRelationship();
     assignFields();
 }