Пример #1
0
 public void RemovePOHeaderTblRow(POHeaderTblRow row) {
     this.Rows.Remove(row);
 }
Пример #2
0
 public POItemTblRow AddPOItemTblRow(
             int POItemNumber, 
             POHeaderTblRow parentPOHeaderTblRowBytblPOHeader2tblPOItem2, 
             int SeqNumber, 
             string ItemNameObsolete, 
             string ItemDesc, 
             string Length, 
             string SizeOfItem, 
             string ItemAccessCode, 
             decimal Qty, 
             string UM, 
             System.DateTime DateRequired, 
             System.DateTime AcknowledgeDate, 
             System.DateTime MillShipDate, 
             System.DateTime CancelDate, 
             decimal CustRate, 
             decimal CommRate, 
             decimal CustAmount, 
             decimal CommAmount, 
             string Comments, 
             int FinishID, 
             ItemTblRow parentItemTblRowByItemTbl_POItemTbl, 
             int TreatmentID, 
             string MillConfirmationNumber, 
             System.DateTime MillAcknowledgeDate, 
             string InvoiceNumber, 
             System.DateTime InvoiceDate) {
     POItemTblRow rowPOItemTblRow = ((POItemTblRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             POItemNumber,
             null,
             SeqNumber,
             ItemNameObsolete,
             ItemDesc,
             Length,
             SizeOfItem,
             ItemAccessCode,
             Qty,
             UM,
             DateRequired,
             AcknowledgeDate,
             MillShipDate,
             CancelDate,
             CustRate,
             CommRate,
             CustAmount,
             CommAmount,
             Comments,
             FinishID,
             null,
             TreatmentID,
             MillConfirmationNumber,
             MillAcknowledgeDate,
             InvoiceNumber,
             InvoiceDate};
     if ((parentPOHeaderTblRowBytblPOHeader2tblPOItem2 != null)) {
         columnValuesArray[1] = parentPOHeaderTblRowBytblPOHeader2tblPOItem2[0];
     }
     if ((parentItemTblRowByItemTbl_POItemTbl != null)) {
         columnValuesArray[20] = parentItemTblRowByItemTbl_POItemTbl[0];
     }
     rowPOItemTblRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowPOItemTblRow);
     return rowPOItemTblRow;
 }
Пример #3
0
 public void AddPOHeaderTblRow(POHeaderTblRow row) {
     this.Rows.Add(row);
 }
Пример #4
0
 public POHeaderTblRowChangeEvent(POHeaderTblRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }