Ejemplo n.º 1
0
 protected void btnOk_Click(object sender, EventArgs e)
 {
     try
     {
         //AuditTrailWrapper auditTrail = new AuditTrailWrapper(AuditTrailWrapper.TruckLoading);
         if (TruckLoadEditor.DataSource != null)
         {
             TruckLoadInfo originalLoad = new TruckLoadInfo();
             originalLoad.Copy(GINTruckInformation.Load);
             GINTruckInformation.Load.Copy((TruckLoadInfo)TruckLoadEditor.DataSource);
             //auditTrail.AddChange(originalLoad, GINTruckInformation.Load);
         }
         GINProcessWrapper.SaveLoading(GINTruckInformation.TruckId);//, auditTrail);
         GINProcessWrapper.RemoveGINProcessInformation();
         transferedData.Return();
     }
     catch (Exception ex)
     {
         errorDisplayer.ShowErrorMessage(ex.Message);
     }
 }
Ejemplo n.º 2
0
 public void ValidateTruckLoading(TruckLoadInfo load)
 {
     currentGINProcess.ValidateTruckLoading(load);
 }