git-svn-id: https://192.168.0.254/svn/Proyectos.AlonsoYSal_FactuGES2/trunk@6 40301925-124e-1c4e-b97d-170ad7a8785b
37 lines
734 B
ObjectPascal
37 lines
734 B
ObjectPascal
unit uBizGruposCliente;
|
|
|
|
interface
|
|
|
|
uses
|
|
uDAInterfaces, uDADataTable, schContactosClient_Intf;
|
|
|
|
const
|
|
BIZ_CLIENT_GRUPOSCLIENTE = 'Client.GrupoCliente';
|
|
|
|
type
|
|
IBizGrupoCliente = interface(IGruposCliente)
|
|
['{14D53184-B350-4506-9527-E7F7D9442515}']
|
|
end;
|
|
|
|
TBizGrupoCliente = class(TGruposClienteDataTableRules, IBizGrupoCliente)
|
|
procedure AfterOpen(Sender: TDADataTable); override;
|
|
end;
|
|
|
|
implementation
|
|
|
|
{ TBizGrupoCliente }
|
|
|
|
procedure TBizGrupoCliente.AfterOpen(Sender: TDADataTable);
|
|
begin
|
|
inherited;
|
|
DataTable.Sort([fld_GruposClienteDESCRIPCION], [sdAscending]);
|
|
end;
|
|
|
|
initialization
|
|
RegisterDataTableRules(BIZ_CLIENT_GRUPOSCLIENTE, TBizGrupoCliente);
|
|
|
|
finalization
|
|
|
|
end.
|
|
|