Exemple #1
0
 protected void btnConfirm_Click(object sender, EventArgs e)
 {
     //AuditTrailWrapper auditTrail = new AuditTrailWrapper(AuditTrailWrapper.GINAcceptance);
     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.GINSigned(GINTruckInformation.TruckId);
         //GINProcessWrapper.CompleteWorkflowTask(GINTruckInformation.TransactionId);
         GINProcessWrapper.RemoveGINProcessInformation();
         transferedData.Return();
     }
     catch (Exception ex)
     {
         errorDisplayer.ShowErrorMessage(ex.Message);
     }
 }