This commit is contained in:
roberto 2007-10-09 09:13:39 +00:00
parent a21da80835
commit 6faa024c05
8 changed files with 3499 additions and 2122 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -475,9 +475,9 @@ begin
end;
//Validamos las fechas del albarán
if not (EsFechaVacia(AAlbaran.FECHA_ENVIO)) then
if AAlbaran.FECHA_ENVIO < AAlbaran.FECHA_PREVISTA_ENVIO then
raise Exception.Create('La fecha de envio debe ser posterior a la fecha prevista de envio');
// if not (EsFechaVacia(AAlbaran.FECHA_ENVIO)) then
// if AAlbaran.FECHA_ENVIO < AAlbaran.FECHA_PREVISTA_ENVIO then
// raise Exception.Create('La fecha de envio debe ser posterior a la fecha prevista de envio');
if not (EsFechaVacia(AAlbaran.FECHA_RECEPCION)) then
if AAlbaran.FECHA_RECEPCION < AAlbaran.FECHA_ENVIO then

View File

@ -260,15 +260,7 @@ begin
DisplayValue := DateToStr(eFechaEnvio.Date);
end
else
begin
if (eFechaEnvio.Date >= eFechaPrevista.Date) then
eFechaRecepcion.Enabled := true
else
begin
ShowWarningMessage('La fecha de envio debe ser posterior a la fecha prevista de envio');
eFechaEnvio.SetFocus;
end;
end;
eFechaRecepcion.Enabled := true;
end;
procedure TfrViewAlbaranCliente.eFechaPrevistaPropertiesValidate(Sender: TObject; var DisplayValue: Variant; var ErrorText: TCaption;