示例#1
0
 protected void btnConfirm_Click(object sender, EventArgs e)
 {
     //AuditTrailWrapper auditTrail = new AuditTrailWrapper(AuditTrailWrapper.GINApproval);
     if (GINDataEditor.DataSource != null)
     {
         GINInfo editedGin = new GINInfo();
         editedGin.Copy((GINInfo)GINDataEditor.DataSource);
         //auditTrail.AddChange(GINTruckInformation.GIN, editedGin);
         GINTruckInformation.GIN.Copy((GINInfo)GINDataEditor.DataSource);
     }
     try
     {
         GINProcessWrapper.SaveGIN(GINTruckInformation.TruckId);//, auditTrail);
         GINProcessWrapper.GINApproved(GINTruckInformation.TruckId);
         GINProcessWrapper.RemoveGINProcessInformation();
         transferedData.Return();
     }
     catch (Exception ex)
     {
         errorDisplayer.ShowErrorMessage(ex.Message);
     }
 }