2010-05-05 11:07:11 +00:00
|
|
|
unit schComisionesClient_Intf;
|
|
|
|
|
|
|
|
|
|
{$D-}
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
|
|
uses
|
2010-05-05 17:35:58 +00:00
|
|
|
Classes, DB, schBase_Intf, SysUtils, uROClasses, uDAInterfaces, uDADataTable, FmtBCD, uROXMLIntf;
|
2010-05-05 11:07:11 +00:00
|
|
|
|
|
|
|
|
const
|
|
|
|
|
{ Data table rules ids
|
|
|
|
|
Feel free to change them to something more human readable
|
|
|
|
|
but make sure they are unique in the context of your application }
|
2010-06-13 17:44:56 +00:00
|
|
|
RID_ListaAnosComisiones = '{124A6A45-F446-409F-9C7E-A8CD5A84C5D0}';
|
|
|
|
|
RID_FacturasComision = '{832CC300-EC95-4807-B0C0-93F9F63F64E7}';
|
|
|
|
|
RID_Comisiones = '{66A2E21C-016E-4850-8315-0289EB4EB403}';
|
|
|
|
|
RID_FacturasComision_Refresh = '{29AE784C-2303-4744-881D-CE76B889D5FB}';
|
|
|
|
|
RID_Comisiones_Refresh = '{0F16C4E7-4468-4755-BBBE-453BA603474C}';
|
2010-05-05 11:07:11 +00:00
|
|
|
|
|
|
|
|
{ Data table names }
|
|
|
|
|
nme_ListaAnosComisiones = 'ListaAnosComisiones';
|
|
|
|
|
nme_FacturasComision = 'FacturasComision';
|
|
|
|
|
nme_Comisiones = 'Comisiones';
|
2010-06-13 17:44:56 +00:00
|
|
|
nme_FacturasComision_Refresh = 'FacturasComision_Refresh';
|
|
|
|
|
nme_Comisiones_Refresh = 'Comisiones_Refresh';
|
2010-05-05 11:07:11 +00:00
|
|
|
|
|
|
|
|
{ ListaAnosComisiones fields }
|
|
|
|
|
fld_ListaAnosComisionesANO = 'ANO';
|
|
|
|
|
|
|
|
|
|
{ ListaAnosComisiones field indexes }
|
|
|
|
|
idx_ListaAnosComisionesANO = 0;
|
|
|
|
|
|
|
|
|
|
{ FacturasComision fields }
|
|
|
|
|
fld_FacturasComisionID = 'ID';
|
|
|
|
|
fld_FacturasComisionID_EMPRESA = 'ID_EMPRESA';
|
2010-06-13 17:44:56 +00:00
|
|
|
fld_FacturasComisionID_COMISION_LIQUIDADA = 'ID_COMISION_LIQUIDADA';
|
2010-05-05 11:07:11 +00:00
|
|
|
fld_FacturasComisionREFERENCIA = 'REFERENCIA';
|
2010-06-13 17:44:56 +00:00
|
|
|
fld_FacturasComisionFECHA_FACTURA = 'FECHA_FACTURA';
|
|
|
|
|
fld_FacturasComisionFECHA_VENCIMIENTO = 'FECHA_VENCIMIENTO';
|
2010-05-05 11:07:11 +00:00
|
|
|
fld_FacturasComisionSITUACION = 'SITUACION';
|
2010-06-13 17:44:56 +00:00
|
|
|
fld_FacturasComisionBASE_IMPONIBLE = 'BASE_IMPONIBLE';
|
2010-05-05 11:07:11 +00:00
|
|
|
fld_FacturasComisionID_CLIENTE = 'ID_CLIENTE';
|
2010-06-13 17:44:56 +00:00
|
|
|
fld_FacturasComisionNIF_CIF = 'NIF_CIF';
|
|
|
|
|
fld_FacturasComisionNOMBRE = 'NOMBRE';
|
2010-05-05 11:07:11 +00:00
|
|
|
fld_FacturasComisionID_AGENTE = 'ID_AGENTE';
|
|
|
|
|
fld_FacturasComisionCOMISION = 'COMISION';
|
|
|
|
|
fld_FacturasComisionIMPORTE_COMISION = 'IMPORTE_COMISION';
|
|
|
|
|
|
|
|
|
|
{ FacturasComision field indexes }
|
|
|
|
|
idx_FacturasComisionID = 0;
|
|
|
|
|
idx_FacturasComisionID_EMPRESA = 1;
|
2010-06-13 17:44:56 +00:00
|
|
|
idx_FacturasComisionID_COMISION_LIQUIDADA = 2;
|
2010-05-05 11:07:11 +00:00
|
|
|
idx_FacturasComisionREFERENCIA = 3;
|
2010-06-13 17:44:56 +00:00
|
|
|
idx_FacturasComisionFECHA_FACTURA = 4;
|
|
|
|
|
idx_FacturasComisionFECHA_VENCIMIENTO = 5;
|
|
|
|
|
idx_FacturasComisionSITUACION = 6;
|
|
|
|
|
idx_FacturasComisionBASE_IMPONIBLE = 7;
|
|
|
|
|
idx_FacturasComisionID_CLIENTE = 8;
|
|
|
|
|
idx_FacturasComisionNIF_CIF = 9;
|
|
|
|
|
idx_FacturasComisionNOMBRE = 10;
|
|
|
|
|
idx_FacturasComisionID_AGENTE = 11;
|
|
|
|
|
idx_FacturasComisionCOMISION = 12;
|
|
|
|
|
idx_FacturasComisionIMPORTE_COMISION = 13;
|
2010-05-05 11:07:11 +00:00
|
|
|
|
|
|
|
|
{ Comisiones fields }
|
|
|
|
|
fld_ComisionesID = 'ID';
|
|
|
|
|
fld_ComisionesID_EMPRESA = 'ID_EMPRESA';
|
|
|
|
|
fld_ComisionesREFERENCIA = 'REFERENCIA';
|
|
|
|
|
fld_ComisionesID_AGENTE = 'ID_AGENTE';
|
2010-05-05 17:10:12 +00:00
|
|
|
fld_ComisionesAGENTE = 'AGENTE';
|
2010-05-05 11:07:11 +00:00
|
|
|
fld_ComisionesDESCRIPCION = 'DESCRIPCION';
|
|
|
|
|
fld_ComisionesFECHA = 'FECHA';
|
|
|
|
|
fld_ComisionesIMPORTE_TOTAL = 'IMPORTE_TOTAL';
|
|
|
|
|
fld_ComisionesUSUARIO = 'USUARIO';
|
|
|
|
|
|
|
|
|
|
{ Comisiones field indexes }
|
|
|
|
|
idx_ComisionesID = 0;
|
|
|
|
|
idx_ComisionesID_EMPRESA = 1;
|
|
|
|
|
idx_ComisionesREFERENCIA = 2;
|
|
|
|
|
idx_ComisionesID_AGENTE = 3;
|
2010-05-05 17:10:12 +00:00
|
|
|
idx_ComisionesAGENTE = 4;
|
|
|
|
|
idx_ComisionesDESCRIPCION = 5;
|
|
|
|
|
idx_ComisionesFECHA = 6;
|
|
|
|
|
idx_ComisionesIMPORTE_TOTAL = 7;
|
|
|
|
|
idx_ComisionesUSUARIO = 8;
|
2010-05-05 11:07:11 +00:00
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
{ FacturasComision_Refresh fields }
|
|
|
|
|
fld_FacturasComision_RefreshID = 'ID';
|
|
|
|
|
fld_FacturasComision_RefreshID_EMPRESA = 'ID_EMPRESA';
|
|
|
|
|
fld_FacturasComision_RefreshID_COMISION_LIQUIDADA = 'ID_COMISION_LIQUIDADA';
|
|
|
|
|
fld_FacturasComision_RefreshREFERENCIA = 'REFERENCIA';
|
|
|
|
|
fld_FacturasComision_RefreshFECHA_FACTURA = 'FECHA_FACTURA';
|
|
|
|
|
fld_FacturasComision_RefreshFECHA_VENCIMIENTO = 'FECHA_VENCIMIENTO';
|
|
|
|
|
fld_FacturasComision_RefreshSITUACION = 'SITUACION';
|
|
|
|
|
fld_FacturasComision_RefreshBASE_IMPONIBLE = 'BASE_IMPONIBLE';
|
|
|
|
|
fld_FacturasComision_RefreshID_CLIENTE = 'ID_CLIENTE';
|
|
|
|
|
fld_FacturasComision_RefreshNIF_CIF = 'NIF_CIF';
|
|
|
|
|
fld_FacturasComision_RefreshNOMBRE = 'NOMBRE';
|
|
|
|
|
fld_FacturasComision_RefreshID_AGENTE = 'ID_AGENTE';
|
|
|
|
|
fld_FacturasComision_RefreshCOMISION = 'COMISION';
|
|
|
|
|
fld_FacturasComision_RefreshIMPORTE_COMISION = 'IMPORTE_COMISION';
|
|
|
|
|
|
|
|
|
|
{ FacturasComision_Refresh field indexes }
|
|
|
|
|
idx_FacturasComision_RefreshID = 0;
|
|
|
|
|
idx_FacturasComision_RefreshID_EMPRESA = 1;
|
|
|
|
|
idx_FacturasComision_RefreshID_COMISION_LIQUIDADA = 2;
|
|
|
|
|
idx_FacturasComision_RefreshREFERENCIA = 3;
|
|
|
|
|
idx_FacturasComision_RefreshFECHA_FACTURA = 4;
|
|
|
|
|
idx_FacturasComision_RefreshFECHA_VENCIMIENTO = 5;
|
|
|
|
|
idx_FacturasComision_RefreshSITUACION = 6;
|
|
|
|
|
idx_FacturasComision_RefreshBASE_IMPONIBLE = 7;
|
|
|
|
|
idx_FacturasComision_RefreshID_CLIENTE = 8;
|
|
|
|
|
idx_FacturasComision_RefreshNIF_CIF = 9;
|
|
|
|
|
idx_FacturasComision_RefreshNOMBRE = 10;
|
|
|
|
|
idx_FacturasComision_RefreshID_AGENTE = 11;
|
|
|
|
|
idx_FacturasComision_RefreshCOMISION = 12;
|
|
|
|
|
idx_FacturasComision_RefreshIMPORTE_COMISION = 13;
|
|
|
|
|
|
|
|
|
|
{ Comisiones_Refresh fields }
|
|
|
|
|
fld_Comisiones_RefreshID = 'ID';
|
|
|
|
|
fld_Comisiones_RefreshID_EMPRESA = 'ID_EMPRESA';
|
|
|
|
|
fld_Comisiones_RefreshREFERENCIA = 'REFERENCIA';
|
|
|
|
|
fld_Comisiones_RefreshID_AGENTE = 'ID_AGENTE';
|
|
|
|
|
fld_Comisiones_RefreshAGENTE = 'AGENTE';
|
|
|
|
|
fld_Comisiones_RefreshDESCRIPCION = 'DESCRIPCION';
|
|
|
|
|
fld_Comisiones_RefreshFECHA = 'FECHA';
|
|
|
|
|
fld_Comisiones_RefreshIMPORTE_TOTAL = 'IMPORTE_TOTAL';
|
|
|
|
|
fld_Comisiones_RefreshUSUARIO = 'USUARIO';
|
|
|
|
|
|
|
|
|
|
{ Comisiones_Refresh field indexes }
|
|
|
|
|
idx_Comisiones_RefreshID = 0;
|
|
|
|
|
idx_Comisiones_RefreshID_EMPRESA = 1;
|
|
|
|
|
idx_Comisiones_RefreshREFERENCIA = 2;
|
|
|
|
|
idx_Comisiones_RefreshID_AGENTE = 3;
|
|
|
|
|
idx_Comisiones_RefreshAGENTE = 4;
|
|
|
|
|
idx_Comisiones_RefreshDESCRIPCION = 5;
|
|
|
|
|
idx_Comisiones_RefreshFECHA = 6;
|
|
|
|
|
idx_Comisiones_RefreshIMPORTE_TOTAL = 7;
|
|
|
|
|
idx_Comisiones_RefreshUSUARIO = 8;
|
|
|
|
|
|
2010-05-05 11:07:11 +00:00
|
|
|
type
|
|
|
|
|
{ IListaAnosComisiones }
|
|
|
|
|
IListaAnosComisiones = interface(IDAStronglyTypedDataTable)
|
2010-06-13 17:44:56 +00:00
|
|
|
['{E5D0E523-CFA7-49C9-AC39-4495CD5F10B7}']
|
2010-05-05 11:07:11 +00:00
|
|
|
{ Property getters and setters }
|
|
|
|
|
function GetANOValue: String;
|
|
|
|
|
procedure SetANOValue(const aValue: String);
|
|
|
|
|
function GetANOIsNull: Boolean;
|
|
|
|
|
procedure SetANOIsNull(const aValue: Boolean);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ Properties }
|
|
|
|
|
property ANO: String read GetANOValue write SetANOValue;
|
|
|
|
|
property ANOIsNull: Boolean read GetANOIsNull write SetANOIsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
{ TListaAnosComisionesDataTableRules }
|
2010-05-05 17:35:58 +00:00
|
|
|
TListaAnosComisionesDataTableRules = class(TIntfObjectDADataTableRules, IListaAnosComisiones)
|
2010-05-05 11:07:11 +00:00
|
|
|
private
|
|
|
|
|
protected
|
|
|
|
|
{ Property getters and setters }
|
|
|
|
|
function GetANOValue: String; virtual;
|
|
|
|
|
procedure SetANOValue(const aValue: String); virtual;
|
|
|
|
|
function GetANOIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetANOIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
|
|
|
|
|
{ Properties }
|
|
|
|
|
property ANO: String read GetANOValue write SetANOValue;
|
|
|
|
|
property ANOIsNull: Boolean read GetANOIsNull write SetANOIsNull;
|
|
|
|
|
|
|
|
|
|
public
|
|
|
|
|
constructor Create(aDataTable: TDADataTable); override;
|
|
|
|
|
destructor Destroy; override;
|
|
|
|
|
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
{ IFacturasComision }
|
|
|
|
|
IFacturasComision = interface(IDAStronglyTypedDataTable)
|
2010-06-13 17:44:56 +00:00
|
|
|
['{5B66CE03-2FFD-472C-8752-D5A8894D7340}']
|
2010-05-05 11:07:11 +00:00
|
|
|
{ Property getters and setters }
|
|
|
|
|
function GetIDValue: Integer;
|
|
|
|
|
procedure SetIDValue(const aValue: Integer);
|
|
|
|
|
function GetIDIsNull: Boolean;
|
|
|
|
|
procedure SetIDIsNull(const aValue: Boolean);
|
|
|
|
|
function GetID_EMPRESAValue: Integer;
|
|
|
|
|
procedure SetID_EMPRESAValue(const aValue: Integer);
|
|
|
|
|
function GetID_EMPRESAIsNull: Boolean;
|
|
|
|
|
procedure SetID_EMPRESAIsNull(const aValue: Boolean);
|
2010-06-13 17:44:56 +00:00
|
|
|
function GetID_COMISION_LIQUIDADAValue: Integer;
|
|
|
|
|
procedure SetID_COMISION_LIQUIDADAValue(const aValue: Integer);
|
|
|
|
|
function GetID_COMISION_LIQUIDADAIsNull: Boolean;
|
|
|
|
|
procedure SetID_COMISION_LIQUIDADAIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetREFERENCIAValue: String;
|
|
|
|
|
procedure SetREFERENCIAValue(const aValue: String);
|
|
|
|
|
function GetREFERENCIAIsNull: Boolean;
|
|
|
|
|
procedure SetREFERENCIAIsNull(const aValue: Boolean);
|
2010-06-13 17:44:56 +00:00
|
|
|
function GetFECHA_FACTURAValue: DateTime;
|
|
|
|
|
procedure SetFECHA_FACTURAValue(const aValue: DateTime);
|
|
|
|
|
function GetFECHA_FACTURAIsNull: Boolean;
|
|
|
|
|
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean);
|
|
|
|
|
function GetFECHA_VENCIMIENTOValue: DateTime;
|
|
|
|
|
procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime);
|
|
|
|
|
function GetFECHA_VENCIMIENTOIsNull: Boolean;
|
|
|
|
|
procedure SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetSITUACIONValue: String;
|
|
|
|
|
procedure SetSITUACIONValue(const aValue: String);
|
|
|
|
|
function GetSITUACIONIsNull: Boolean;
|
|
|
|
|
procedure SetSITUACIONIsNull(const aValue: Boolean);
|
2010-06-13 17:44:56 +00:00
|
|
|
function GetBASE_IMPONIBLEValue: Currency;
|
|
|
|
|
procedure SetBASE_IMPONIBLEValue(const aValue: Currency);
|
|
|
|
|
function GetBASE_IMPONIBLEIsNull: Boolean;
|
|
|
|
|
procedure SetBASE_IMPONIBLEIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetID_CLIENTEValue: Integer;
|
|
|
|
|
procedure SetID_CLIENTEValue(const aValue: Integer);
|
|
|
|
|
function GetID_CLIENTEIsNull: Boolean;
|
|
|
|
|
procedure SetID_CLIENTEIsNull(const aValue: Boolean);
|
2010-06-13 17:44:56 +00:00
|
|
|
function GetNIF_CIFValue: String;
|
|
|
|
|
procedure SetNIF_CIFValue(const aValue: String);
|
|
|
|
|
function GetNIF_CIFIsNull: Boolean;
|
|
|
|
|
procedure SetNIF_CIFIsNull(const aValue: Boolean);
|
|
|
|
|
function GetNOMBREValue: String;
|
|
|
|
|
procedure SetNOMBREValue(const aValue: String);
|
|
|
|
|
function GetNOMBREIsNull: Boolean;
|
|
|
|
|
procedure SetNOMBREIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetID_AGENTEValue: Integer;
|
|
|
|
|
procedure SetID_AGENTEValue(const aValue: Integer);
|
|
|
|
|
function GetID_AGENTEIsNull: Boolean;
|
|
|
|
|
procedure SetID_AGENTEIsNull(const aValue: Boolean);
|
2010-06-13 17:44:56 +00:00
|
|
|
function GetCOMISIONValue: Float;
|
|
|
|
|
procedure SetCOMISIONValue(const aValue: Float);
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetCOMISIONIsNull: Boolean;
|
|
|
|
|
procedure SetCOMISIONIsNull(const aValue: Boolean);
|
|
|
|
|
function GetIMPORTE_COMISIONValue: Currency;
|
|
|
|
|
procedure SetIMPORTE_COMISIONValue(const aValue: Currency);
|
|
|
|
|
function GetIMPORTE_COMISIONIsNull: Boolean;
|
|
|
|
|
procedure SetIMPORTE_COMISIONIsNull(const aValue: Boolean);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ Properties }
|
|
|
|
|
property ID: Integer read GetIDValue write SetIDValue;
|
|
|
|
|
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
|
|
|
|
|
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
|
|
|
property ID_EMPRESAIsNull: Boolean read GetID_EMPRESAIsNull write SetID_EMPRESAIsNull;
|
2010-06-13 17:44:56 +00:00
|
|
|
property ID_COMISION_LIQUIDADA: Integer read GetID_COMISION_LIQUIDADAValue write SetID_COMISION_LIQUIDADAValue;
|
|
|
|
|
property ID_COMISION_LIQUIDADAIsNull: Boolean read GetID_COMISION_LIQUIDADAIsNull write SetID_COMISION_LIQUIDADAIsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
|
|
|
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
|
2010-06-13 17:44:56 +00:00
|
|
|
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
|
|
|
|
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
|
|
|
|
property FECHA_VENCIMIENTO: DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue;
|
|
|
|
|
property FECHA_VENCIMIENTOIsNull: Boolean read GetFECHA_VENCIMIENTOIsNull write SetFECHA_VENCIMIENTOIsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
|
|
|
|
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
2010-06-13 17:44:56 +00:00
|
|
|
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
|
|
|
|
property BASE_IMPONIBLEIsNull: Boolean read GetBASE_IMPONIBLEIsNull write SetBASE_IMPONIBLEIsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
property ID_CLIENTE: Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
|
|
|
|
|
property ID_CLIENTEIsNull: Boolean read GetID_CLIENTEIsNull write SetID_CLIENTEIsNull;
|
2010-06-13 17:44:56 +00:00
|
|
|
property NIF_CIF: String read GetNIF_CIFValue write SetNIF_CIFValue;
|
|
|
|
|
property NIF_CIFIsNull: Boolean read GetNIF_CIFIsNull write SetNIF_CIFIsNull;
|
|
|
|
|
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
|
|
|
|
|
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
property ID_AGENTE: Integer read GetID_AGENTEValue write SetID_AGENTEValue;
|
|
|
|
|
property ID_AGENTEIsNull: Boolean read GetID_AGENTEIsNull write SetID_AGENTEIsNull;
|
2010-06-13 17:44:56 +00:00
|
|
|
property COMISION: Float read GetCOMISIONValue write SetCOMISIONValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
property COMISIONIsNull: Boolean read GetCOMISIONIsNull write SetCOMISIONIsNull;
|
|
|
|
|
property IMPORTE_COMISION: Currency read GetIMPORTE_COMISIONValue write SetIMPORTE_COMISIONValue;
|
|
|
|
|
property IMPORTE_COMISIONIsNull: Boolean read GetIMPORTE_COMISIONIsNull write SetIMPORTE_COMISIONIsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
{ TFacturasComisionDataTableRules }
|
2010-05-05 17:35:58 +00:00
|
|
|
TFacturasComisionDataTableRules = class(TIntfObjectDADataTableRules, IFacturasComision)
|
2010-05-05 11:07:11 +00:00
|
|
|
private
|
|
|
|
|
protected
|
|
|
|
|
{ Property getters and setters }
|
|
|
|
|
function GetIDValue: Integer; virtual;
|
|
|
|
|
procedure SetIDValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetIDIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetIDIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetID_EMPRESAValue: Integer; virtual;
|
|
|
|
|
procedure SetID_EMPRESAValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_EMPRESAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_EMPRESAIsNull(const aValue: Boolean); virtual;
|
2010-06-13 17:44:56 +00:00
|
|
|
function GetID_COMISION_LIQUIDADAValue: Integer; virtual;
|
|
|
|
|
procedure SetID_COMISION_LIQUIDADAValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_COMISION_LIQUIDADAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_COMISION_LIQUIDADAIsNull(const aValue: Boolean); virtual;
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetREFERENCIAValue: String; virtual;
|
|
|
|
|
procedure SetREFERENCIAValue(const aValue: String); virtual;
|
|
|
|
|
function GetREFERENCIAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetREFERENCIAIsNull(const aValue: Boolean); virtual;
|
2010-06-13 17:44:56 +00:00
|
|
|
function GetFECHA_FACTURAValue: DateTime; virtual;
|
|
|
|
|
procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual;
|
|
|
|
|
function GetFECHA_FACTURAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetFECHA_VENCIMIENTOValue: DateTime; virtual;
|
|
|
|
|
procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime); virtual;
|
|
|
|
|
function GetFECHA_VENCIMIENTOIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean); virtual;
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetSITUACIONValue: String; virtual;
|
|
|
|
|
procedure SetSITUACIONValue(const aValue: String); virtual;
|
|
|
|
|
function GetSITUACIONIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetSITUACIONIsNull(const aValue: Boolean); virtual;
|
2010-06-13 17:44:56 +00:00
|
|
|
function GetBASE_IMPONIBLEValue: Currency; virtual;
|
|
|
|
|
procedure SetBASE_IMPONIBLEValue(const aValue: Currency); virtual;
|
|
|
|
|
function GetBASE_IMPONIBLEIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetBASE_IMPONIBLEIsNull(const aValue: Boolean); virtual;
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetID_CLIENTEValue: Integer; virtual;
|
|
|
|
|
procedure SetID_CLIENTEValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_CLIENTEIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_CLIENTEIsNull(const aValue: Boolean); virtual;
|
2010-06-13 17:44:56 +00:00
|
|
|
function GetNIF_CIFValue: String; virtual;
|
|
|
|
|
procedure SetNIF_CIFValue(const aValue: String); virtual;
|
|
|
|
|
function GetNIF_CIFIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetNIF_CIFIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetNOMBREValue: String; virtual;
|
|
|
|
|
procedure SetNOMBREValue(const aValue: String); virtual;
|
|
|
|
|
function GetNOMBREIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetNOMBREIsNull(const aValue: Boolean); virtual;
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetID_AGENTEValue: Integer; virtual;
|
|
|
|
|
procedure SetID_AGENTEValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_AGENTEIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_AGENTEIsNull(const aValue: Boolean); virtual;
|
2010-06-13 17:44:56 +00:00
|
|
|
function GetCOMISIONValue: Float; virtual;
|
|
|
|
|
procedure SetCOMISIONValue(const aValue: Float); virtual;
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetCOMISIONIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetCOMISIONIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetIMPORTE_COMISIONValue: Currency; virtual;
|
|
|
|
|
procedure SetIMPORTE_COMISIONValue(const aValue: Currency); virtual;
|
|
|
|
|
function GetIMPORTE_COMISIONIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetIMPORTE_COMISIONIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
|
|
|
|
|
{ Properties }
|
|
|
|
|
property ID: Integer read GetIDValue write SetIDValue;
|
|
|
|
|
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
|
|
|
|
|
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
|
|
|
property ID_EMPRESAIsNull: Boolean read GetID_EMPRESAIsNull write SetID_EMPRESAIsNull;
|
2010-06-13 17:44:56 +00:00
|
|
|
property ID_COMISION_LIQUIDADA: Integer read GetID_COMISION_LIQUIDADAValue write SetID_COMISION_LIQUIDADAValue;
|
|
|
|
|
property ID_COMISION_LIQUIDADAIsNull: Boolean read GetID_COMISION_LIQUIDADAIsNull write SetID_COMISION_LIQUIDADAIsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
|
|
|
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
|
2010-06-13 17:44:56 +00:00
|
|
|
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
|
|
|
|
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
|
|
|
|
property FECHA_VENCIMIENTO: DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue;
|
|
|
|
|
property FECHA_VENCIMIENTOIsNull: Boolean read GetFECHA_VENCIMIENTOIsNull write SetFECHA_VENCIMIENTOIsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
|
|
|
|
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
2010-06-13 17:44:56 +00:00
|
|
|
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
|
|
|
|
property BASE_IMPONIBLEIsNull: Boolean read GetBASE_IMPONIBLEIsNull write SetBASE_IMPONIBLEIsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
property ID_CLIENTE: Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
|
|
|
|
|
property ID_CLIENTEIsNull: Boolean read GetID_CLIENTEIsNull write SetID_CLIENTEIsNull;
|
2010-06-13 17:44:56 +00:00
|
|
|
property NIF_CIF: String read GetNIF_CIFValue write SetNIF_CIFValue;
|
|
|
|
|
property NIF_CIFIsNull: Boolean read GetNIF_CIFIsNull write SetNIF_CIFIsNull;
|
|
|
|
|
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
|
|
|
|
|
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
property ID_AGENTE: Integer read GetID_AGENTEValue write SetID_AGENTEValue;
|
|
|
|
|
property ID_AGENTEIsNull: Boolean read GetID_AGENTEIsNull write SetID_AGENTEIsNull;
|
2010-06-13 17:44:56 +00:00
|
|
|
property COMISION: Float read GetCOMISIONValue write SetCOMISIONValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
property COMISIONIsNull: Boolean read GetCOMISIONIsNull write SetCOMISIONIsNull;
|
|
|
|
|
property IMPORTE_COMISION: Currency read GetIMPORTE_COMISIONValue write SetIMPORTE_COMISIONValue;
|
|
|
|
|
property IMPORTE_COMISIONIsNull: Boolean read GetIMPORTE_COMISIONIsNull write SetIMPORTE_COMISIONIsNull;
|
|
|
|
|
|
|
|
|
|
public
|
|
|
|
|
constructor Create(aDataTable: TDADataTable); override;
|
|
|
|
|
destructor Destroy; override;
|
|
|
|
|
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
{ IComisiones }
|
|
|
|
|
IComisiones = interface(IDAStronglyTypedDataTable)
|
2010-06-13 17:44:56 +00:00
|
|
|
['{B02238A8-1502-4A07-8E95-EF01498C7832}']
|
2010-05-05 11:07:11 +00:00
|
|
|
{ Property getters and setters }
|
|
|
|
|
function GetIDValue: Integer;
|
|
|
|
|
procedure SetIDValue(const aValue: Integer);
|
|
|
|
|
function GetIDIsNull: Boolean;
|
|
|
|
|
procedure SetIDIsNull(const aValue: Boolean);
|
|
|
|
|
function GetID_EMPRESAValue: Integer;
|
|
|
|
|
procedure SetID_EMPRESAValue(const aValue: Integer);
|
|
|
|
|
function GetID_EMPRESAIsNull: Boolean;
|
|
|
|
|
procedure SetID_EMPRESAIsNull(const aValue: Boolean);
|
|
|
|
|
function GetREFERENCIAValue: String;
|
|
|
|
|
procedure SetREFERENCIAValue(const aValue: String);
|
|
|
|
|
function GetREFERENCIAIsNull: Boolean;
|
|
|
|
|
procedure SetREFERENCIAIsNull(const aValue: Boolean);
|
|
|
|
|
function GetID_AGENTEValue: Integer;
|
|
|
|
|
procedure SetID_AGENTEValue(const aValue: Integer);
|
|
|
|
|
function GetID_AGENTEIsNull: Boolean;
|
|
|
|
|
procedure SetID_AGENTEIsNull(const aValue: Boolean);
|
2010-05-05 17:10:12 +00:00
|
|
|
function GetAGENTEValue: String;
|
|
|
|
|
procedure SetAGENTEValue(const aValue: String);
|
|
|
|
|
function GetAGENTEIsNull: Boolean;
|
|
|
|
|
procedure SetAGENTEIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetDESCRIPCIONValue: String;
|
|
|
|
|
procedure SetDESCRIPCIONValue(const aValue: String);
|
|
|
|
|
function GetDESCRIPCIONIsNull: Boolean;
|
|
|
|
|
procedure SetDESCRIPCIONIsNull(const aValue: Boolean);
|
|
|
|
|
function GetFECHAValue: DateTime;
|
|
|
|
|
procedure SetFECHAValue(const aValue: DateTime);
|
|
|
|
|
function GetFECHAIsNull: Boolean;
|
|
|
|
|
procedure SetFECHAIsNull(const aValue: Boolean);
|
|
|
|
|
function GetIMPORTE_TOTALValue: Currency;
|
|
|
|
|
procedure SetIMPORTE_TOTALValue(const aValue: Currency);
|
|
|
|
|
function GetIMPORTE_TOTALIsNull: Boolean;
|
|
|
|
|
procedure SetIMPORTE_TOTALIsNull(const aValue: Boolean);
|
|
|
|
|
function GetUSUARIOValue: String;
|
|
|
|
|
procedure SetUSUARIOValue(const aValue: String);
|
|
|
|
|
function GetUSUARIOIsNull: Boolean;
|
|
|
|
|
procedure SetUSUARIOIsNull(const aValue: Boolean);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ Properties }
|
|
|
|
|
property ID: Integer read GetIDValue write SetIDValue;
|
|
|
|
|
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
|
|
|
|
|
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
|
|
|
property ID_EMPRESAIsNull: Boolean read GetID_EMPRESAIsNull write SetID_EMPRESAIsNull;
|
|
|
|
|
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
|
|
|
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
|
|
|
|
|
property ID_AGENTE: Integer read GetID_AGENTEValue write SetID_AGENTEValue;
|
|
|
|
|
property ID_AGENTEIsNull: Boolean read GetID_AGENTEIsNull write SetID_AGENTEIsNull;
|
2010-05-05 17:10:12 +00:00
|
|
|
property AGENTE: String read GetAGENTEValue write SetAGENTEValue;
|
|
|
|
|
property AGENTEIsNull: Boolean read GetAGENTEIsNull write SetAGENTEIsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
property DESCRIPCION: String read GetDESCRIPCIONValue write SetDESCRIPCIONValue;
|
|
|
|
|
property DESCRIPCIONIsNull: Boolean read GetDESCRIPCIONIsNull write SetDESCRIPCIONIsNull;
|
|
|
|
|
property FECHA: DateTime read GetFECHAValue write SetFECHAValue;
|
|
|
|
|
property FECHAIsNull: Boolean read GetFECHAIsNull write SetFECHAIsNull;
|
|
|
|
|
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
|
|
|
|
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
|
|
|
|
|
property USUARIO: String read GetUSUARIOValue write SetUSUARIOValue;
|
|
|
|
|
property USUARIOIsNull: Boolean read GetUSUARIOIsNull write SetUSUARIOIsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
{ TComisionesDataTableRules }
|
2010-05-05 17:35:58 +00:00
|
|
|
TComisionesDataTableRules = class(TIntfObjectDADataTableRules, IComisiones)
|
2010-05-05 11:07:11 +00:00
|
|
|
private
|
|
|
|
|
protected
|
|
|
|
|
{ Property getters and setters }
|
|
|
|
|
function GetIDValue: Integer; virtual;
|
|
|
|
|
procedure SetIDValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetIDIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetIDIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetID_EMPRESAValue: Integer; virtual;
|
|
|
|
|
procedure SetID_EMPRESAValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_EMPRESAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_EMPRESAIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetREFERENCIAValue: String; virtual;
|
|
|
|
|
procedure SetREFERENCIAValue(const aValue: String); virtual;
|
|
|
|
|
function GetREFERENCIAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetREFERENCIAIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetID_AGENTEValue: Integer; virtual;
|
|
|
|
|
procedure SetID_AGENTEValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_AGENTEIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_AGENTEIsNull(const aValue: Boolean); virtual;
|
2010-05-05 17:10:12 +00:00
|
|
|
function GetAGENTEValue: String; virtual;
|
|
|
|
|
procedure SetAGENTEValue(const aValue: String); virtual;
|
|
|
|
|
function GetAGENTEIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetAGENTEIsNull(const aValue: Boolean); virtual;
|
2010-05-05 11:07:11 +00:00
|
|
|
function GetDESCRIPCIONValue: String; virtual;
|
|
|
|
|
procedure SetDESCRIPCIONValue(const aValue: String); virtual;
|
|
|
|
|
function GetDESCRIPCIONIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetDESCRIPCIONIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetFECHAValue: DateTime; virtual;
|
|
|
|
|
procedure SetFECHAValue(const aValue: DateTime); virtual;
|
|
|
|
|
function GetFECHAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetFECHAIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetIMPORTE_TOTALValue: Currency; virtual;
|
|
|
|
|
procedure SetIMPORTE_TOTALValue(const aValue: Currency); virtual;
|
|
|
|
|
function GetIMPORTE_TOTALIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetIMPORTE_TOTALIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetUSUARIOValue: String; virtual;
|
|
|
|
|
procedure SetUSUARIOValue(const aValue: String); virtual;
|
|
|
|
|
function GetUSUARIOIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetUSUARIOIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
|
|
|
|
|
{ Properties }
|
|
|
|
|
property ID: Integer read GetIDValue write SetIDValue;
|
|
|
|
|
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
|
|
|
|
|
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
|
|
|
property ID_EMPRESAIsNull: Boolean read GetID_EMPRESAIsNull write SetID_EMPRESAIsNull;
|
|
|
|
|
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
|
|
|
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
|
|
|
|
|
property ID_AGENTE: Integer read GetID_AGENTEValue write SetID_AGENTEValue;
|
|
|
|
|
property ID_AGENTEIsNull: Boolean read GetID_AGENTEIsNull write SetID_AGENTEIsNull;
|
2010-05-05 17:10:12 +00:00
|
|
|
property AGENTE: String read GetAGENTEValue write SetAGENTEValue;
|
|
|
|
|
property AGENTEIsNull: Boolean read GetAGENTEIsNull write SetAGENTEIsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
property DESCRIPCION: String read GetDESCRIPCIONValue write SetDESCRIPCIONValue;
|
|
|
|
|
property DESCRIPCIONIsNull: Boolean read GetDESCRIPCIONIsNull write SetDESCRIPCIONIsNull;
|
|
|
|
|
property FECHA: DateTime read GetFECHAValue write SetFECHAValue;
|
|
|
|
|
property FECHAIsNull: Boolean read GetFECHAIsNull write SetFECHAIsNull;
|
|
|
|
|
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
|
|
|
|
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
|
|
|
|
|
property USUARIO: String read GetUSUARIOValue write SetUSUARIOValue;
|
|
|
|
|
property USUARIOIsNull: Boolean read GetUSUARIOIsNull write SetUSUARIOIsNull;
|
|
|
|
|
|
|
|
|
|
public
|
|
|
|
|
constructor Create(aDataTable: TDADataTable); override;
|
|
|
|
|
destructor Destroy; override;
|
|
|
|
|
|
|
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
{ IFacturasComision_Refresh }
|
|
|
|
|
IFacturasComision_Refresh = interface(IDAStronglyTypedDataTable)
|
|
|
|
|
['{F7638285-0C09-4658-8B7D-AFF5C7B59BF0}']
|
|
|
|
|
{ Property getters and setters }
|
|
|
|
|
function GetIDValue: Integer;
|
|
|
|
|
procedure SetIDValue(const aValue: Integer);
|
|
|
|
|
function GetIDIsNull: Boolean;
|
|
|
|
|
procedure SetIDIsNull(const aValue: Boolean);
|
|
|
|
|
function GetID_EMPRESAValue: Integer;
|
|
|
|
|
procedure SetID_EMPRESAValue(const aValue: Integer);
|
|
|
|
|
function GetID_EMPRESAIsNull: Boolean;
|
|
|
|
|
procedure SetID_EMPRESAIsNull(const aValue: Boolean);
|
|
|
|
|
function GetID_COMISION_LIQUIDADAValue: Integer;
|
|
|
|
|
procedure SetID_COMISION_LIQUIDADAValue(const aValue: Integer);
|
|
|
|
|
function GetID_COMISION_LIQUIDADAIsNull: Boolean;
|
|
|
|
|
procedure SetID_COMISION_LIQUIDADAIsNull(const aValue: Boolean);
|
|
|
|
|
function GetREFERENCIAValue: String;
|
|
|
|
|
procedure SetREFERENCIAValue(const aValue: String);
|
|
|
|
|
function GetREFERENCIAIsNull: Boolean;
|
|
|
|
|
procedure SetREFERENCIAIsNull(const aValue: Boolean);
|
|
|
|
|
function GetFECHA_FACTURAValue: DateTime;
|
|
|
|
|
procedure SetFECHA_FACTURAValue(const aValue: DateTime);
|
|
|
|
|
function GetFECHA_FACTURAIsNull: Boolean;
|
|
|
|
|
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean);
|
|
|
|
|
function GetFECHA_VENCIMIENTOValue: DateTime;
|
|
|
|
|
procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime);
|
|
|
|
|
function GetFECHA_VENCIMIENTOIsNull: Boolean;
|
|
|
|
|
procedure SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean);
|
|
|
|
|
function GetSITUACIONValue: String;
|
|
|
|
|
procedure SetSITUACIONValue(const aValue: String);
|
|
|
|
|
function GetSITUACIONIsNull: Boolean;
|
|
|
|
|
procedure SetSITUACIONIsNull(const aValue: Boolean);
|
|
|
|
|
function GetBASE_IMPONIBLEValue: Currency;
|
|
|
|
|
procedure SetBASE_IMPONIBLEValue(const aValue: Currency);
|
|
|
|
|
function GetBASE_IMPONIBLEIsNull: Boolean;
|
|
|
|
|
procedure SetBASE_IMPONIBLEIsNull(const aValue: Boolean);
|
|
|
|
|
function GetID_CLIENTEValue: Integer;
|
|
|
|
|
procedure SetID_CLIENTEValue(const aValue: Integer);
|
|
|
|
|
function GetID_CLIENTEIsNull: Boolean;
|
|
|
|
|
procedure SetID_CLIENTEIsNull(const aValue: Boolean);
|
|
|
|
|
function GetNIF_CIFValue: String;
|
|
|
|
|
procedure SetNIF_CIFValue(const aValue: String);
|
|
|
|
|
function GetNIF_CIFIsNull: Boolean;
|
|
|
|
|
procedure SetNIF_CIFIsNull(const aValue: Boolean);
|
|
|
|
|
function GetNOMBREValue: String;
|
|
|
|
|
procedure SetNOMBREValue(const aValue: String);
|
|
|
|
|
function GetNOMBREIsNull: Boolean;
|
|
|
|
|
procedure SetNOMBREIsNull(const aValue: Boolean);
|
|
|
|
|
function GetID_AGENTEValue: Integer;
|
|
|
|
|
procedure SetID_AGENTEValue(const aValue: Integer);
|
|
|
|
|
function GetID_AGENTEIsNull: Boolean;
|
|
|
|
|
procedure SetID_AGENTEIsNull(const aValue: Boolean);
|
|
|
|
|
function GetCOMISIONValue: Float;
|
|
|
|
|
procedure SetCOMISIONValue(const aValue: Float);
|
|
|
|
|
function GetCOMISIONIsNull: Boolean;
|
|
|
|
|
procedure SetCOMISIONIsNull(const aValue: Boolean);
|
|
|
|
|
function GetIMPORTE_COMISIONValue: Currency;
|
|
|
|
|
procedure SetIMPORTE_COMISIONValue(const aValue: Currency);
|
|
|
|
|
function GetIMPORTE_COMISIONIsNull: Boolean;
|
|
|
|
|
procedure SetIMPORTE_COMISIONIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
{ Properties }
|
|
|
|
|
property ID: Integer read GetIDValue write SetIDValue;
|
|
|
|
|
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
|
|
|
|
|
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
|
|
|
property ID_EMPRESAIsNull: Boolean read GetID_EMPRESAIsNull write SetID_EMPRESAIsNull;
|
|
|
|
|
property ID_COMISION_LIQUIDADA: Integer read GetID_COMISION_LIQUIDADAValue write SetID_COMISION_LIQUIDADAValue;
|
|
|
|
|
property ID_COMISION_LIQUIDADAIsNull: Boolean read GetID_COMISION_LIQUIDADAIsNull write SetID_COMISION_LIQUIDADAIsNull;
|
|
|
|
|
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
|
|
|
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
|
|
|
|
|
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
|
|
|
|
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
|
|
|
|
property FECHA_VENCIMIENTO: DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue;
|
|
|
|
|
property FECHA_VENCIMIENTOIsNull: Boolean read GetFECHA_VENCIMIENTOIsNull write SetFECHA_VENCIMIENTOIsNull;
|
|
|
|
|
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
|
|
|
|
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
|
|
|
|
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
|
|
|
|
property BASE_IMPONIBLEIsNull: Boolean read GetBASE_IMPONIBLEIsNull write SetBASE_IMPONIBLEIsNull;
|
|
|
|
|
property ID_CLIENTE: Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
|
|
|
|
|
property ID_CLIENTEIsNull: Boolean read GetID_CLIENTEIsNull write SetID_CLIENTEIsNull;
|
|
|
|
|
property NIF_CIF: String read GetNIF_CIFValue write SetNIF_CIFValue;
|
|
|
|
|
property NIF_CIFIsNull: Boolean read GetNIF_CIFIsNull write SetNIF_CIFIsNull;
|
|
|
|
|
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
|
|
|
|
|
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
|
|
|
|
|
property ID_AGENTE: Integer read GetID_AGENTEValue write SetID_AGENTEValue;
|
|
|
|
|
property ID_AGENTEIsNull: Boolean read GetID_AGENTEIsNull write SetID_AGENTEIsNull;
|
|
|
|
|
property COMISION: Float read GetCOMISIONValue write SetCOMISIONValue;
|
|
|
|
|
property COMISIONIsNull: Boolean read GetCOMISIONIsNull write SetCOMISIONIsNull;
|
|
|
|
|
property IMPORTE_COMISION: Currency read GetIMPORTE_COMISIONValue write SetIMPORTE_COMISIONValue;
|
|
|
|
|
property IMPORTE_COMISIONIsNull: Boolean read GetIMPORTE_COMISIONIsNull write SetIMPORTE_COMISIONIsNull;
|
|
|
|
|
end;
|
2010-05-05 11:07:11 +00:00
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
{ TFacturasComision_RefreshDataTableRules }
|
|
|
|
|
TFacturasComision_RefreshDataTableRules = class(TIntfObjectDADataTableRules, IFacturasComision_Refresh)
|
|
|
|
|
private
|
|
|
|
|
protected
|
|
|
|
|
{ Property getters and setters }
|
|
|
|
|
function GetIDValue: Integer; virtual;
|
|
|
|
|
procedure SetIDValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetIDIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetIDIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetID_EMPRESAValue: Integer; virtual;
|
|
|
|
|
procedure SetID_EMPRESAValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_EMPRESAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_EMPRESAIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetID_COMISION_LIQUIDADAValue: Integer; virtual;
|
|
|
|
|
procedure SetID_COMISION_LIQUIDADAValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_COMISION_LIQUIDADAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_COMISION_LIQUIDADAIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetREFERENCIAValue: String; virtual;
|
|
|
|
|
procedure SetREFERENCIAValue(const aValue: String); virtual;
|
|
|
|
|
function GetREFERENCIAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetREFERENCIAIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetFECHA_FACTURAValue: DateTime; virtual;
|
|
|
|
|
procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual;
|
|
|
|
|
function GetFECHA_FACTURAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetFECHA_VENCIMIENTOValue: DateTime; virtual;
|
|
|
|
|
procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime); virtual;
|
|
|
|
|
function GetFECHA_VENCIMIENTOIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetSITUACIONValue: String; virtual;
|
|
|
|
|
procedure SetSITUACIONValue(const aValue: String); virtual;
|
|
|
|
|
function GetSITUACIONIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetSITUACIONIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetBASE_IMPONIBLEValue: Currency; virtual;
|
|
|
|
|
procedure SetBASE_IMPONIBLEValue(const aValue: Currency); virtual;
|
|
|
|
|
function GetBASE_IMPONIBLEIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetBASE_IMPONIBLEIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetID_CLIENTEValue: Integer; virtual;
|
|
|
|
|
procedure SetID_CLIENTEValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_CLIENTEIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_CLIENTEIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetNIF_CIFValue: String; virtual;
|
|
|
|
|
procedure SetNIF_CIFValue(const aValue: String); virtual;
|
|
|
|
|
function GetNIF_CIFIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetNIF_CIFIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetNOMBREValue: String; virtual;
|
|
|
|
|
procedure SetNOMBREValue(const aValue: String); virtual;
|
|
|
|
|
function GetNOMBREIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetNOMBREIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetID_AGENTEValue: Integer; virtual;
|
|
|
|
|
procedure SetID_AGENTEValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_AGENTEIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_AGENTEIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetCOMISIONValue: Float; virtual;
|
|
|
|
|
procedure SetCOMISIONValue(const aValue: Float); virtual;
|
|
|
|
|
function GetCOMISIONIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetCOMISIONIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetIMPORTE_COMISIONValue: Currency; virtual;
|
|
|
|
|
procedure SetIMPORTE_COMISIONValue(const aValue: Currency); virtual;
|
|
|
|
|
function GetIMPORTE_COMISIONIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetIMPORTE_COMISIONIsNull(const aValue: Boolean); virtual;
|
2010-05-05 11:07:11 +00:00
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
{ Properties }
|
|
|
|
|
property ID: Integer read GetIDValue write SetIDValue;
|
|
|
|
|
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
|
|
|
|
|
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
|
|
|
property ID_EMPRESAIsNull: Boolean read GetID_EMPRESAIsNull write SetID_EMPRESAIsNull;
|
|
|
|
|
property ID_COMISION_LIQUIDADA: Integer read GetID_COMISION_LIQUIDADAValue write SetID_COMISION_LIQUIDADAValue;
|
|
|
|
|
property ID_COMISION_LIQUIDADAIsNull: Boolean read GetID_COMISION_LIQUIDADAIsNull write SetID_COMISION_LIQUIDADAIsNull;
|
|
|
|
|
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
|
|
|
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
|
|
|
|
|
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
|
|
|
|
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
|
|
|
|
property FECHA_VENCIMIENTO: DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue;
|
|
|
|
|
property FECHA_VENCIMIENTOIsNull: Boolean read GetFECHA_VENCIMIENTOIsNull write SetFECHA_VENCIMIENTOIsNull;
|
|
|
|
|
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
|
|
|
|
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
|
|
|
|
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
|
|
|
|
property BASE_IMPONIBLEIsNull: Boolean read GetBASE_IMPONIBLEIsNull write SetBASE_IMPONIBLEIsNull;
|
|
|
|
|
property ID_CLIENTE: Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
|
|
|
|
|
property ID_CLIENTEIsNull: Boolean read GetID_CLIENTEIsNull write SetID_CLIENTEIsNull;
|
|
|
|
|
property NIF_CIF: String read GetNIF_CIFValue write SetNIF_CIFValue;
|
|
|
|
|
property NIF_CIFIsNull: Boolean read GetNIF_CIFIsNull write SetNIF_CIFIsNull;
|
|
|
|
|
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
|
|
|
|
|
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
|
|
|
|
|
property ID_AGENTE: Integer read GetID_AGENTEValue write SetID_AGENTEValue;
|
|
|
|
|
property ID_AGENTEIsNull: Boolean read GetID_AGENTEIsNull write SetID_AGENTEIsNull;
|
|
|
|
|
property COMISION: Float read GetCOMISIONValue write SetCOMISIONValue;
|
|
|
|
|
property COMISIONIsNull: Boolean read GetCOMISIONIsNull write SetCOMISIONIsNull;
|
|
|
|
|
property IMPORTE_COMISION: Currency read GetIMPORTE_COMISIONValue write SetIMPORTE_COMISIONValue;
|
|
|
|
|
property IMPORTE_COMISIONIsNull: Boolean read GetIMPORTE_COMISIONIsNull write SetIMPORTE_COMISIONIsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
public
|
|
|
|
|
constructor Create(aDataTable: TDADataTable); override;
|
|
|
|
|
destructor Destroy; override;
|
2010-05-05 11:07:11 +00:00
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
end;
|
2010-05-05 11:07:11 +00:00
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
{ IComisiones_Refresh }
|
|
|
|
|
IComisiones_Refresh = interface(IDAStronglyTypedDataTable)
|
|
|
|
|
['{5EEFEA92-FC12-4394-BB11-83E04D12E775}']
|
|
|
|
|
{ Property getters and setters }
|
|
|
|
|
function GetIDValue: Integer;
|
|
|
|
|
procedure SetIDValue(const aValue: Integer);
|
|
|
|
|
function GetIDIsNull: Boolean;
|
|
|
|
|
procedure SetIDIsNull(const aValue: Boolean);
|
|
|
|
|
function GetID_EMPRESAValue: Integer;
|
|
|
|
|
procedure SetID_EMPRESAValue(const aValue: Integer);
|
|
|
|
|
function GetID_EMPRESAIsNull: Boolean;
|
|
|
|
|
procedure SetID_EMPRESAIsNull(const aValue: Boolean);
|
|
|
|
|
function GetREFERENCIAValue: String;
|
|
|
|
|
procedure SetREFERENCIAValue(const aValue: String);
|
|
|
|
|
function GetREFERENCIAIsNull: Boolean;
|
|
|
|
|
procedure SetREFERENCIAIsNull(const aValue: Boolean);
|
|
|
|
|
function GetID_AGENTEValue: Integer;
|
|
|
|
|
procedure SetID_AGENTEValue(const aValue: Integer);
|
|
|
|
|
function GetID_AGENTEIsNull: Boolean;
|
|
|
|
|
procedure SetID_AGENTEIsNull(const aValue: Boolean);
|
|
|
|
|
function GetAGENTEValue: String;
|
|
|
|
|
procedure SetAGENTEValue(const aValue: String);
|
|
|
|
|
function GetAGENTEIsNull: Boolean;
|
|
|
|
|
procedure SetAGENTEIsNull(const aValue: Boolean);
|
|
|
|
|
function GetDESCRIPCIONValue: String;
|
|
|
|
|
procedure SetDESCRIPCIONValue(const aValue: String);
|
|
|
|
|
function GetDESCRIPCIONIsNull: Boolean;
|
|
|
|
|
procedure SetDESCRIPCIONIsNull(const aValue: Boolean);
|
|
|
|
|
function GetFECHAValue: DateTime;
|
|
|
|
|
procedure SetFECHAValue(const aValue: DateTime);
|
|
|
|
|
function GetFECHAIsNull: Boolean;
|
|
|
|
|
procedure SetFECHAIsNull(const aValue: Boolean);
|
|
|
|
|
function GetIMPORTE_TOTALValue: Currency;
|
|
|
|
|
procedure SetIMPORTE_TOTALValue(const aValue: Currency);
|
|
|
|
|
function GetIMPORTE_TOTALIsNull: Boolean;
|
|
|
|
|
procedure SetIMPORTE_TOTALIsNull(const aValue: Boolean);
|
|
|
|
|
function GetUSUARIOValue: String;
|
|
|
|
|
procedure SetUSUARIOValue(const aValue: String);
|
|
|
|
|
function GetUSUARIOIsNull: Boolean;
|
|
|
|
|
procedure SetUSUARIOIsNull(const aValue: Boolean);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ Properties }
|
|
|
|
|
property ID: Integer read GetIDValue write SetIDValue;
|
|
|
|
|
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
|
|
|
|
|
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
|
|
|
property ID_EMPRESAIsNull: Boolean read GetID_EMPRESAIsNull write SetID_EMPRESAIsNull;
|
|
|
|
|
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
|
|
|
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
|
|
|
|
|
property ID_AGENTE: Integer read GetID_AGENTEValue write SetID_AGENTEValue;
|
|
|
|
|
property ID_AGENTEIsNull: Boolean read GetID_AGENTEIsNull write SetID_AGENTEIsNull;
|
|
|
|
|
property AGENTE: String read GetAGENTEValue write SetAGENTEValue;
|
|
|
|
|
property AGENTEIsNull: Boolean read GetAGENTEIsNull write SetAGENTEIsNull;
|
|
|
|
|
property DESCRIPCION: String read GetDESCRIPCIONValue write SetDESCRIPCIONValue;
|
|
|
|
|
property DESCRIPCIONIsNull: Boolean read GetDESCRIPCIONIsNull write SetDESCRIPCIONIsNull;
|
|
|
|
|
property FECHA: DateTime read GetFECHAValue write SetFECHAValue;
|
|
|
|
|
property FECHAIsNull: Boolean read GetFECHAIsNull write SetFECHAIsNull;
|
|
|
|
|
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
|
|
|
|
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
|
|
|
|
|
property USUARIO: String read GetUSUARIOValue write SetUSUARIOValue;
|
|
|
|
|
property USUARIOIsNull: Boolean read GetUSUARIOIsNull write SetUSUARIOIsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
{ TComisiones_RefreshDataTableRules }
|
|
|
|
|
TComisiones_RefreshDataTableRules = class(TIntfObjectDADataTableRules, IComisiones_Refresh)
|
|
|
|
|
private
|
|
|
|
|
protected
|
|
|
|
|
{ Property getters and setters }
|
|
|
|
|
function GetIDValue: Integer; virtual;
|
|
|
|
|
procedure SetIDValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetIDIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetIDIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetID_EMPRESAValue: Integer; virtual;
|
|
|
|
|
procedure SetID_EMPRESAValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_EMPRESAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_EMPRESAIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetREFERENCIAValue: String; virtual;
|
|
|
|
|
procedure SetREFERENCIAValue(const aValue: String); virtual;
|
|
|
|
|
function GetREFERENCIAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetREFERENCIAIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetID_AGENTEValue: Integer; virtual;
|
|
|
|
|
procedure SetID_AGENTEValue(const aValue: Integer); virtual;
|
|
|
|
|
function GetID_AGENTEIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetID_AGENTEIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetAGENTEValue: String; virtual;
|
|
|
|
|
procedure SetAGENTEValue(const aValue: String); virtual;
|
|
|
|
|
function GetAGENTEIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetAGENTEIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetDESCRIPCIONValue: String; virtual;
|
|
|
|
|
procedure SetDESCRIPCIONValue(const aValue: String); virtual;
|
|
|
|
|
function GetDESCRIPCIONIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetDESCRIPCIONIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetFECHAValue: DateTime; virtual;
|
|
|
|
|
procedure SetFECHAValue(const aValue: DateTime); virtual;
|
|
|
|
|
function GetFECHAIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetFECHAIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetIMPORTE_TOTALValue: Currency; virtual;
|
|
|
|
|
procedure SetIMPORTE_TOTALValue(const aValue: Currency); virtual;
|
|
|
|
|
function GetIMPORTE_TOTALIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetIMPORTE_TOTALIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
function GetUSUARIOValue: String; virtual;
|
|
|
|
|
procedure SetUSUARIOValue(const aValue: String); virtual;
|
|
|
|
|
function GetUSUARIOIsNull: Boolean; virtual;
|
|
|
|
|
procedure SetUSUARIOIsNull(const aValue: Boolean); virtual;
|
|
|
|
|
|
|
|
|
|
{ Properties }
|
|
|
|
|
property ID: Integer read GetIDValue write SetIDValue;
|
|
|
|
|
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
|
|
|
|
|
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
|
|
|
property ID_EMPRESAIsNull: Boolean read GetID_EMPRESAIsNull write SetID_EMPRESAIsNull;
|
|
|
|
|
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
|
|
|
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
|
|
|
|
|
property ID_AGENTE: Integer read GetID_AGENTEValue write SetID_AGENTEValue;
|
|
|
|
|
property ID_AGENTEIsNull: Boolean read GetID_AGENTEIsNull write SetID_AGENTEIsNull;
|
|
|
|
|
property AGENTE: String read GetAGENTEValue write SetAGENTEValue;
|
|
|
|
|
property AGENTEIsNull: Boolean read GetAGENTEIsNull write SetAGENTEIsNull;
|
|
|
|
|
property DESCRIPCION: String read GetDESCRIPCIONValue write SetDESCRIPCIONValue;
|
|
|
|
|
property DESCRIPCIONIsNull: Boolean read GetDESCRIPCIONIsNull write SetDESCRIPCIONIsNull;
|
|
|
|
|
property FECHA: DateTime read GetFECHAValue write SetFECHAValue;
|
|
|
|
|
property FECHAIsNull: Boolean read GetFECHAIsNull write SetFECHAIsNull;
|
|
|
|
|
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
|
|
|
|
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
|
|
|
|
|
property USUARIO: String read GetUSUARIOValue write SetUSUARIOValue;
|
|
|
|
|
property USUARIOIsNull: Boolean read GetUSUARIOIsNull write SetUSUARIOIsNull;
|
|
|
|
|
|
|
|
|
|
public
|
|
|
|
|
constructor Create(aDataTable: TDADataTable); override;
|
|
|
|
|
destructor Destroy; override;
|
|
|
|
|
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
|
|
uses Variants, uROBinaryHelpers;
|
|
|
|
|
|
|
|
|
|
{ TListaAnosComisionesDataTableRules }
|
|
|
|
|
constructor TListaAnosComisionesDataTableRules.Create(aDataTable: TDADataTable);
|
|
|
|
|
begin
|
|
|
|
|
inherited;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
destructor TListaAnosComisionesDataTableRules.Destroy;
|
|
|
|
|
begin
|
|
|
|
|
inherited;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TListaAnosComisionesDataTableRules.GetANOValue: String;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ListaAnosComisionesANO].AsString;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TListaAnosComisionesDataTableRules.SetANOValue(const aValue: String);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_ListaAnosComisionesANO].AsString := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TListaAnosComisionesDataTableRules.GetANOIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ListaAnosComisionesANO].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TListaAnosComisionesDataTableRules.SetANOIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_ListaAnosComisionesANO].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ TFacturasComisionDataTableRules }
|
|
|
|
|
constructor TFacturasComisionDataTableRules.Create(aDataTable: TDADataTable);
|
|
|
|
|
begin
|
|
|
|
|
inherited;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
destructor TFacturasComisionDataTableRules.Destroy;
|
|
|
|
|
begin
|
|
|
|
|
inherited;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetIDValue: Integer;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionID].AsInteger;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetIDValue(const aValue: Integer);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionID].AsInteger := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetIDIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionID].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetIDIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionID].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetID_EMPRESAValue: Integer;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionID_EMPRESA].AsInteger;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetID_EMPRESAValue(const aValue: Integer);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionID_EMPRESA].AsInteger := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetID_EMPRESAIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionID_EMPRESA].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetID_EMPRESAIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionID_EMPRESA].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetID_COMISION_LIQUIDADAValue: Integer;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionID_COMISION_LIQUIDADA].AsInteger;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetID_COMISION_LIQUIDADAValue(const aValue: Integer);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionID_COMISION_LIQUIDADA].AsInteger := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetID_COMISION_LIQUIDADAIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionID_COMISION_LIQUIDADA].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetID_COMISION_LIQUIDADAIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionID_COMISION_LIQUIDADA].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetREFERENCIAValue: String;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionREFERENCIA].AsString;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetREFERENCIAValue(const aValue: String);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionREFERENCIA].AsString := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetREFERENCIAIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionREFERENCIA].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetREFERENCIAIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionREFERENCIA].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetFECHA_FACTURAValue: DateTime;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionFECHA_FACTURA].AsDateTime;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetFECHA_FACTURAValue(const aValue: DateTime);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionFECHA_FACTURA].AsDateTime := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetFECHA_FACTURAIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionFECHA_FACTURA].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetFECHA_FACTURAIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionFECHA_FACTURA].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetFECHA_VENCIMIENTOValue: DateTime;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionFECHA_VENCIMIENTO].AsDateTime;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetFECHA_VENCIMIENTOValue(const aValue: DateTime);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionFECHA_VENCIMIENTO].AsDateTime := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetFECHA_VENCIMIENTOIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionFECHA_VENCIMIENTO].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionFECHA_VENCIMIENTO].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetSITUACIONValue: String;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionSITUACION].AsString;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetSITUACIONValue(const aValue: String);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionSITUACION].AsString := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetSITUACIONIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionSITUACION].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetSITUACIONIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionSITUACION].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetBASE_IMPONIBLEValue: Currency;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionBASE_IMPONIBLE].AsCurrency;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetBASE_IMPONIBLEValue(const aValue: Currency);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionBASE_IMPONIBLE].AsCurrency := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetBASE_IMPONIBLEIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionBASE_IMPONIBLE].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetBASE_IMPONIBLEIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionBASE_IMPONIBLE].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetID_CLIENTEValue: Integer;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionID_CLIENTE].AsInteger;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetID_CLIENTEValue(const aValue: Integer);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionID_CLIENTE].AsInteger := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetID_CLIENTEIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionID_CLIENTE].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetID_CLIENTEIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionID_CLIENTE].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetNIF_CIFValue: String;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionNIF_CIF].AsString;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetNIF_CIFValue(const aValue: String);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionNIF_CIF].AsString := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetNIF_CIFIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionNIF_CIF].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetNIF_CIFIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionNIF_CIF].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetNOMBREValue: String;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionNOMBRE].AsString;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetNOMBREValue(const aValue: String);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionNOMBRE].AsString := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetNOMBREIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionNOMBRE].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetNOMBREIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionNOMBRE].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetID_AGENTEValue: Integer;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionID_AGENTE].AsInteger;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetID_AGENTEValue(const aValue: Integer);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionID_AGENTE].AsInteger := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetID_AGENTEIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionID_AGENTE].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetID_AGENTEIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionID_AGENTE].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetCOMISIONValue: Float;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionCOMISION].AsFloat;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetCOMISIONValue(const aValue: Float);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionCOMISION].AsFloat := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetCOMISIONIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionCOMISION].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetCOMISIONIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionCOMISION].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetIMPORTE_COMISIONValue: Currency;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionIMPORTE_COMISION].AsCurrency;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetIMPORTE_COMISIONValue(const aValue: Currency);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionIMPORTE_COMISION].AsCurrency := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComisionDataTableRules.GetIMPORTE_COMISIONIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComisionIMPORTE_COMISION].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComisionDataTableRules.SetIMPORTE_COMISIONIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComisionIMPORTE_COMISION].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ TComisionesDataTableRules }
|
|
|
|
|
constructor TComisionesDataTableRules.Create(aDataTable: TDADataTable);
|
|
|
|
|
begin
|
|
|
|
|
inherited;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
destructor TComisionesDataTableRules.Destroy;
|
|
|
|
|
begin
|
|
|
|
|
inherited;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetIDValue: Integer;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesID].AsInteger;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetIDValue(const aValue: Integer);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_ComisionesID].AsInteger := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetIDIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesID].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetIDIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_ComisionesID].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetID_EMPRESAValue: Integer;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesID_EMPRESA].AsInteger;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetID_EMPRESAValue(const aValue: Integer);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_ComisionesID_EMPRESA].AsInteger := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetID_EMPRESAIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesID_EMPRESA].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetID_EMPRESAIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_ComisionesID_EMPRESA].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetREFERENCIAValue: String;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesREFERENCIA].AsString;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetREFERENCIAValue(const aValue: String);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_ComisionesREFERENCIA].AsString := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetREFERENCIAIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesREFERENCIA].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetREFERENCIAIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_ComisionesREFERENCIA].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetID_AGENTEValue: Integer;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesID_AGENTE].AsInteger;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetID_AGENTEValue(const aValue: Integer);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_ComisionesID_AGENTE].AsInteger := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetID_AGENTEIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesID_AGENTE].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetID_AGENTEIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_ComisionesID_AGENTE].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetAGENTEValue: String;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesAGENTE].AsString;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetAGENTEValue(const aValue: String);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_ComisionesAGENTE].AsString := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetAGENTEIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesAGENTE].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetAGENTEIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_ComisionesAGENTE].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetDESCRIPCIONValue: String;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesDESCRIPCION].AsString;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetDESCRIPCIONValue(const aValue: String);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_ComisionesDESCRIPCION].AsString := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetDESCRIPCIONIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesDESCRIPCION].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetDESCRIPCIONIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_ComisionesDESCRIPCION].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetFECHAValue: DateTime;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesFECHA].AsDateTime;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetFECHAValue(const aValue: DateTime);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_ComisionesFECHA].AsDateTime := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TComisionesDataTableRules.GetFECHAIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesFECHA].IsNull;
|
|
|
|
|
end;
|
2010-05-05 11:07:11 +00:00
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisionesDataTableRules.SetFECHAIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_ComisionesFECHA].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisionesDataTableRules.GetIMPORTE_TOTALValue: Currency;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_ComisionesIMPORTE_TOTAL].AsCurrency;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisionesDataTableRules.SetIMPORTE_TOTALValue(const aValue: Currency);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_ComisionesIMPORTE_TOTAL].AsCurrency := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisionesDataTableRules.GetIMPORTE_TOTALIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_ComisionesIMPORTE_TOTAL].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TComisionesDataTableRules.SetIMPORTE_TOTALIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_ComisionesIMPORTE_TOTAL].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisionesDataTableRules.GetUSUARIOValue: String;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_ComisionesUSUARIO].AsString;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisionesDataTableRules.SetUSUARIOValue(const aValue: String);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_ComisionesUSUARIO].AsString := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisionesDataTableRules.GetUSUARIOIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_ComisionesUSUARIO].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisionesDataTableRules.SetUSUARIOIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_ComisionesUSUARIO].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
|
|
|
|
|
{ TFacturasComision_RefreshDataTableRules }
|
|
|
|
|
constructor TFacturasComision_RefreshDataTableRules.Create(aDataTable: TDADataTable);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
inherited;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
destructor TFacturasComision_RefreshDataTableRules.Destroy;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
inherited;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetIDValue: Integer;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshID].AsInteger;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetIDValue(const aValue: Integer);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshID].AsInteger := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComision_RefreshDataTableRules.GetIDIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshID].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetIDIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshID].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetID_EMPRESAValue: Integer;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshID_EMPRESA].AsInteger;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetID_EMPRESAValue(const aValue: Integer);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshID_EMPRESA].AsInteger := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetID_EMPRESAIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshID_EMPRESA].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetID_EMPRESAIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshID_EMPRESA].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetID_COMISION_LIQUIDADAValue: Integer;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshID_COMISION_LIQUIDADA].AsInteger;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetID_COMISION_LIQUIDADAValue(const aValue: Integer);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshID_COMISION_LIQUIDADA].AsInteger := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetID_COMISION_LIQUIDADAIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshID_COMISION_LIQUIDADA].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetID_COMISION_LIQUIDADAIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshID_COMISION_LIQUIDADA].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetREFERENCIAValue: String;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshREFERENCIA].AsString;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetREFERENCIAValue(const aValue: String);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshREFERENCIA].AsString := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetREFERENCIAIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshREFERENCIA].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetREFERENCIAIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshREFERENCIA].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetFECHA_FACTURAValue: DateTime;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshFECHA_FACTURA].AsDateTime;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetFECHA_FACTURAValue(const aValue: DateTime);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshFECHA_FACTURA].AsDateTime := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetFECHA_FACTURAIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshFECHA_FACTURA].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetFECHA_FACTURAIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshFECHA_FACTURA].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetFECHA_VENCIMIENTOValue: DateTime;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshFECHA_VENCIMIENTO].AsDateTime;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetFECHA_VENCIMIENTOValue(const aValue: DateTime);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshFECHA_VENCIMIENTO].AsDateTime := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetFECHA_VENCIMIENTOIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshFECHA_VENCIMIENTO].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshFECHA_VENCIMIENTO].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetSITUACIONValue: String;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshSITUACION].AsString;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetSITUACIONValue(const aValue: String);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshSITUACION].AsString := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetSITUACIONIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshSITUACION].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetSITUACIONIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshSITUACION].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetBASE_IMPONIBLEValue: Currency;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshBASE_IMPONIBLE].AsCurrency;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetBASE_IMPONIBLEValue(const aValue: Currency);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshBASE_IMPONIBLE].AsCurrency := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetBASE_IMPONIBLEIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshBASE_IMPONIBLE].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetBASE_IMPONIBLEIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshBASE_IMPONIBLE].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetID_CLIENTEValue: Integer;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshID_CLIENTE].AsInteger;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetID_CLIENTEValue(const aValue: Integer);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshID_CLIENTE].AsInteger := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetID_CLIENTEIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshID_CLIENTE].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetID_CLIENTEIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshID_CLIENTE].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TFacturasComision_RefreshDataTableRules.GetNIF_CIFValue: String;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshNIF_CIF].AsString;
|
|
|
|
|
end;
|
2010-05-05 11:07:11 +00:00
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetNIF_CIFValue(const aValue: String);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshNIF_CIF].AsString := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComision_RefreshDataTableRules.GetNIF_CIFIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshNIF_CIF].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetNIF_CIFIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshNIF_CIF].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComision_RefreshDataTableRules.GetNOMBREValue: String;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshNOMBRE].AsString;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetNOMBREValue(const aValue: String);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshNOMBRE].AsString := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComision_RefreshDataTableRules.GetNOMBREIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshNOMBRE].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetNOMBREIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshNOMBRE].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComision_RefreshDataTableRules.GetID_AGENTEValue: Integer;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshID_AGENTE].AsInteger;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetID_AGENTEValue(const aValue: Integer);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshID_AGENTE].AsInteger := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComision_RefreshDataTableRules.GetID_AGENTEIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshID_AGENTE].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetID_AGENTEIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshID_AGENTE].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComision_RefreshDataTableRules.GetCOMISIONValue: Float;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshCOMISION].AsFloat;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetCOMISIONValue(const aValue: Float);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshCOMISION].AsFloat := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComision_RefreshDataTableRules.GetCOMISIONIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshCOMISION].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetCOMISIONIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshCOMISION].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComision_RefreshDataTableRules.GetIMPORTE_COMISIONValue: Currency;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshIMPORTE_COMISION].AsCurrency;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetIMPORTE_COMISIONValue(const aValue: Currency);
|
|
|
|
|
begin
|
|
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshIMPORTE_COMISION].AsCurrency := aValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function TFacturasComision_RefreshDataTableRules.GetIMPORTE_COMISIONIsNull: boolean;
|
|
|
|
|
begin
|
|
|
|
|
result := DataTable.Fields[idx_FacturasComision_RefreshIMPORTE_COMISION].IsNull;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TFacturasComision_RefreshDataTableRules.SetIMPORTE_COMISIONIsNull(const aValue: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
if aValue then
|
|
|
|
|
DataTable.Fields[idx_FacturasComision_RefreshIMPORTE_COMISION].AsVariant := Null;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ TComisiones_RefreshDataTableRules }
|
|
|
|
|
constructor TComisiones_RefreshDataTableRules.Create(aDataTable: TDADataTable);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
inherited;
|
|
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
destructor TComisiones_RefreshDataTableRules.Destroy;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
inherited;
|
|
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetIDValue: Integer;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshID].AsInteger;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetIDValue(const aValue: Integer);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshID].AsInteger := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetIDIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshID].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetIDIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshID].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetID_EMPRESAValue: Integer;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshID_EMPRESA].AsInteger;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetID_EMPRESAValue(const aValue: Integer);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshID_EMPRESA].AsInteger := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetID_EMPRESAIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshID_EMPRESA].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetID_EMPRESAIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshID_EMPRESA].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetREFERENCIAValue: String;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshREFERENCIA].AsString;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetREFERENCIAValue(const aValue: String);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshREFERENCIA].AsString := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetREFERENCIAIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshREFERENCIA].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetREFERENCIAIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshREFERENCIA].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetID_AGENTEValue: Integer;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshID_AGENTE].AsInteger;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetID_AGENTEValue(const aValue: Integer);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshID_AGENTE].AsInteger := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetID_AGENTEIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshID_AGENTE].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetID_AGENTEIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshID_AGENTE].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetAGENTEValue: String;
|
2010-05-05 17:10:12 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshAGENTE].AsString;
|
2010-05-05 17:10:12 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetAGENTEValue(const aValue: String);
|
2010-05-05 17:10:12 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshAGENTE].AsString := aValue;
|
2010-05-05 17:10:12 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetAGENTEIsNull: boolean;
|
2010-05-05 17:10:12 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshAGENTE].IsNull;
|
2010-05-05 17:10:12 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetAGENTEIsNull(const aValue: Boolean);
|
2010-05-05 17:10:12 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshAGENTE].AsVariant := Null;
|
2010-05-05 17:10:12 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetDESCRIPCIONValue: String;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshDESCRIPCION].AsString;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetDESCRIPCIONValue(const aValue: String);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshDESCRIPCION].AsString := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetDESCRIPCIONIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshDESCRIPCION].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetDESCRIPCIONIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshDESCRIPCION].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetFECHAValue: DateTime;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshFECHA].AsDateTime;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetFECHAValue(const aValue: DateTime);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshFECHA].AsDateTime := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetFECHAIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshFECHA].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetFECHAIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshFECHA].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetIMPORTE_TOTALValue: Currency;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshIMPORTE_TOTAL].AsCurrency;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetIMPORTE_TOTALValue(const aValue: Currency);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshIMPORTE_TOTAL].AsCurrency := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetIMPORTE_TOTALIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshIMPORTE_TOTAL].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetIMPORTE_TOTALIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshIMPORTE_TOTAL].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetUSUARIOValue: String;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshUSUARIO].AsString;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetUSUARIOValue(const aValue: String);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshUSUARIO].AsString := aValue;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
function TComisiones_RefreshDataTableRules.GetUSUARIOIsNull: boolean;
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
2010-06-13 17:44:56 +00:00
|
|
|
result := DataTable.Fields[idx_Comisiones_RefreshUSUARIO].IsNull;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
2010-06-13 17:44:56 +00:00
|
|
|
procedure TComisiones_RefreshDataTableRules.SetUSUARIOIsNull(const aValue: Boolean);
|
2010-05-05 11:07:11 +00:00
|
|
|
begin
|
|
|
|
|
if aValue then
|
2010-06-13 17:44:56 +00:00
|
|
|
DataTable.Fields[idx_Comisiones_RefreshUSUARIO].AsVariant := Null;
|
2010-05-05 11:07:11 +00:00
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
initialization
|
|
|
|
|
RegisterDataTableRules(RID_ListaAnosComisiones, TListaAnosComisionesDataTableRules);
|
|
|
|
|
RegisterDataTableRules(RID_FacturasComision, TFacturasComisionDataTableRules);
|
|
|
|
|
RegisterDataTableRules(RID_Comisiones, TComisionesDataTableRules);
|
2010-06-13 17:44:56 +00:00
|
|
|
RegisterDataTableRules(RID_FacturasComision_Refresh, TFacturasComision_RefreshDataTableRules);
|
|
|
|
|
RegisterDataTableRules(RID_Comisiones_Refresh, TComisiones_RefreshDataTableRules);
|
2010-05-05 11:07:11 +00:00
|
|
|
|
|
|
|
|
end.
|