Example #1
0
 public void RemoveStockRow(StockRow row) {
     this.Rows.Remove(row);
 }
Example #2
0
 public void AddStockRow(StockRow row) {
     this.Rows.Add(row);
 }
Example #3
0
 public ReceiptMasterRow AddReceiptMasterRow(
             int Number, 
             string Note, 
             System.DateTime DocDate, 
             DocumentTypeRow parentDocumentTypeRowByFK_ReceiptMaster_DocumentType, 
             StockRow parentStockRowByFK_ReceiptMaster_Stock, 
             StockRow parentStockRowByFK_ReceiptMaster_Stock1, 
             decimal SalesSum, 
             decimal PurchSum, 
             decimal PurchNDS, 
             decimal SalesNDS, 
             bool IsReadOnly, 
             string AuthorCreate, 
             System.DateTime DateLastModif, 
             string AuthorLastModif, 
             System.DateTime DateCreate, 
             byte[] RowVersion, 
             bool RecalcSum, 
             int PeriodsRef, 
             decimal Extra) {
     ReceiptMasterRow rowReceiptMasterRow = ((ReceiptMasterRow)(this.NewRow()));
     rowReceiptMasterRow.ItemArray = new object[] {
             null,
             Number,
             Note,
             DocDate,
             parentDocumentTypeRowByFK_ReceiptMaster_DocumentType[0],
             parentStockRowByFK_ReceiptMaster_Stock[0],
             parentStockRowByFK_ReceiptMaster_Stock1[0],
             SalesSum,
             PurchSum,
             PurchNDS,
             SalesNDS,
             IsReadOnly,
             AuthorCreate,
             DateLastModif,
             AuthorLastModif,
             DateCreate,
             RowVersion,
             RecalcSum,
             PeriodsRef,
             Extra};
     this.Rows.Add(rowReceiptMasterRow);
     return rowReceiptMasterRow;
 }
Example #4
0
 public StockRowChangeEvent(StockRow row, System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
Example #5
0
 public ReceiptMasterRow AddReceiptMasterRow(
             string Note, 
             System.DateTime DocDate, 
             DocumentTypeRow parentDocumentTypeRowByFK_ReceiptMaster_DocumentType, 
             OrganizationRow parentOrganizationRowByFK_ReceiptMaster_Organization, 
             StockRow parentStockRowByFK_ReceiptMaster_Stock, 
             int SenderStockRef, 
             int SenderInvoiceRef, 
             decimal SalesSum, 
             decimal PurchSum, 
             decimal PurchNDS, 
             decimal SalesNDS, 
             bool IsReadOnly, 
             string AuthorCreate, 
             string AuthorLastModif, 
             System.DateTime DateCreate, 
             byte[] RowVersion, 
             bool RecalcSum, 
             string OrganizationName, 
             decimal CalcPurchSum, 
             bool IsNDS, 
             System.DateTime DateUpdateDetail, 
             System.DateTime DateLastModif) {
     ReceiptMasterRow rowReceiptMasterRow = ((ReceiptMasterRow)(this.NewRow()));
     rowReceiptMasterRow.ItemArray = new object[] {
             null,
             null,
             Note,
             DocDate,
             parentDocumentTypeRowByFK_ReceiptMaster_DocumentType[0],
             parentOrganizationRowByFK_ReceiptMaster_Organization[0],
             parentStockRowByFK_ReceiptMaster_Stock[0],
             SenderStockRef,
             SenderInvoiceRef,
             SalesSum,
             PurchSum,
             PurchNDS,
             SalesNDS,
             IsReadOnly,
             AuthorCreate,
             AuthorLastModif,
             DateCreate,
             RowVersion,
             RecalcSum,
             OrganizationName,
             CalcPurchSum,
             IsNDS,
             DateUpdateDetail,
             DateLastModif};
     this.Rows.Add(rowReceiptMasterRow);
     return rowReceiptMasterRow;
 }
Example #6
0
 public InvoiceMasterRow AddInvoiceMasterRow(
             System.DateTime Date, 
             OrganizationRow parentOrganizationRowByFK_InvoiceMaster_Organization, 
             int DocumentTypeRef, 
             StockRow parentStockRowByFK_Stock_InvoiceMaster, 
             int RemoteReceiptMasterRef, 
             int RemoteInvoiceMasterRef, 
             bool IsReadOnly, 
             decimal Sum, 
             decimal Nds, 
             string AuthorCreate, 
             string AuthorLastModif, 
             System.DateTime DateCreate, 
             byte[] RowVersion, 
             string Note, 
             System.DateTime DateLastModif, 
             StockRow parentStockRowByFK_InvoiceMaster_StockMain, 
             bool RecalcSum, 
             bool IsNDS, 
             bool IsNDSMain, 
             string TradePupletName, 
             string EXTRA, 
             decimal ExtraPercent) {
     InvoiceMasterRow rowInvoiceMasterRow = ((InvoiceMasterRow)(this.NewRow()));
     rowInvoiceMasterRow.ItemArray = new object[] {
             null,
             null,
             Date,
             parentOrganizationRowByFK_InvoiceMaster_Organization[0],
             DocumentTypeRef,
             parentStockRowByFK_Stock_InvoiceMaster[0],
             RemoteReceiptMasterRef,
             RemoteInvoiceMasterRef,
             IsReadOnly,
             Sum,
             Nds,
             AuthorCreate,
             AuthorLastModif,
             DateCreate,
             RowVersion,
             Note,
             DateLastModif,
             parentStockRowByFK_InvoiceMaster_StockMain[0],
             RecalcSum,
             IsNDS,
             IsNDSMain,
             TradePupletName,
             EXTRA,
             ExtraPercent};
     this.Rows.Add(rowInvoiceMasterRow);
     return rowInvoiceMasterRow;
 }