Exemplo n.º 1
0
 /// <summary>
 /// Constructor for new supplier purchase
 /// </summary>
 public PurchaseClass()
 {
     loadDataSet();
     addNewRecord();
     _PurchaseLine = new PurchaseLineClass(_dst, _lngPKID);
     createRelationship();
 }
Exemplo n.º 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();
 }