git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@282 0c75b7a4-871f-7646-8a2f-f78d34cc349f
38 lines
747 B
ObjectPascal
38 lines
747 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)
|
|
protected
|
|
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.
|
|
|