Tecsitel_FactuGES2/Source/Modulos/Albaranes de cliente/Model/schAlbaranesClienteClient_Intf.pas
2007-10-29 19:18:51 +00:00

4002 lines
180 KiB
ObjectPascal

unit schAlbaranesClienteClient_Intf;
interface
uses
Classes, DB, schBase_Intf, SysUtils, uROClasses, uDADataTable, FmtBCD, uROXMLIntf;
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 }
RID_DarReferencia = '{CDAB9896-9935-4371-903A-5AD08E79B987}';
RID_AlbaranesCliente = '{833DD5F6-2AA5-42DB-B012-86C6A952075E}';
RID_AlbaranesCliente_Detalles = '{4006B355-31CD-40C9-B78C-B56AF1FF3799}';
RID_AlbaranesCliente_Detalles_Refresh = '{D0203FAA-3073-4E76-993B-7E0D6F2432B5}';
RID_AlbaranesCliente_Refresh = '{C45ECF12-883D-462E-A15E-C1E4405EAA3A}';
{ Data table names }
nme_DarReferencia = 'DarReferencia';
nme_AlbaranesCliente = 'AlbaranesCliente';
nme_AlbaranesCliente_Detalles = 'AlbaranesCliente_Detalles';
nme_AlbaranesCliente_Detalles_Refresh = 'AlbaranesCliente_Detalles_Refresh';
nme_AlbaranesCliente_Refresh = 'AlbaranesCliente_Refresh';
{ DarReferencia fields }
fld_DarReferenciaVALOR = 'VALOR';
{ DarReferencia field indexes }
idx_DarReferenciaVALOR = 0;
{ AlbaranesCliente fields }
fld_AlbaranesClienteID = 'ID';
fld_AlbaranesClienteID_EMPRESA = 'ID_EMPRESA';
fld_AlbaranesClienteID_CLIENTE = 'ID_CLIENTE';
fld_AlbaranesClienteNOMBRE = 'NOMBRE';
fld_AlbaranesClienteFECHA_ALBARAN = 'FECHA_ALBARAN';
fld_AlbaranesClienteREFERENCIA = 'REFERENCIA';
fld_AlbaranesClienteREFERENCIA_CLIENTE = 'REFERENCIA_CLIENTE';
fld_AlbaranesClienteTIPO = 'TIPO';
fld_AlbaranesClienteSITUACION = 'SITUACION';
fld_AlbaranesClienteID_ALMACEN = 'ID_ALMACEN';
fld_AlbaranesClienteNOMBRE_ALMACEN = 'NOMBRE_ALMACEN';
fld_AlbaranesClienteID_PEDIDO = 'ID_PEDIDO';
fld_AlbaranesClienteREF_PEDIDO = 'REF_PEDIDO';
fld_AlbaranesClienteID_FACTURA = 'ID_FACTURA';
fld_AlbaranesClienteREF_FACTURA = 'REF_FACTURA';
fld_AlbaranesClienteCALLE = 'CALLE';
fld_AlbaranesClienteCODIGO_POSTAL = 'CODIGO_POSTAL';
fld_AlbaranesClientePOBLACION = 'POBLACION';
fld_AlbaranesClientePROVINCIA = 'PROVINCIA';
fld_AlbaranesClientePERSONA_CONTACTO = 'PERSONA_CONTACTO';
fld_AlbaranesClienteTELEFONO = 'TELEFONO';
fld_AlbaranesClienteIMPORTE_NETO = 'IMPORTE_NETO';
fld_AlbaranesClienteIMPORTE_PORTE = 'IMPORTE_PORTE';
fld_AlbaranesClienteDESCUENTO = 'DESCUENTO';
fld_AlbaranesClienteIMPORTE_DESCUENTO = 'IMPORTE_DESCUENTO';
fld_AlbaranesClienteBASE_IMPONIBLE = 'BASE_IMPONIBLE';
fld_AlbaranesClienteIVA = 'IVA';
fld_AlbaranesClienteIMPORTE_IVA = 'IMPORTE_IVA';
fld_AlbaranesClienteIMPORTE_TOTAL = 'IMPORTE_TOTAL';
fld_AlbaranesClienteOBSERVACIONES = 'OBSERVACIONES';
fld_AlbaranesClienteINCIDENCIAS = 'INCIDENCIAS';
fld_AlbaranesClienteINCIDENCIAS_ACTIVAS = 'INCIDENCIAS_ACTIVAS';
fld_AlbaranesClienteFECHA_ALTA = 'FECHA_ALTA';
fld_AlbaranesClienteFECHA_MODIFICACION = 'FECHA_MODIFICACION';
fld_AlbaranesClienteUSUARIO = 'USUARIO';
fld_AlbaranesClienteID_FORMA_PAGO = 'ID_FORMA_PAGO';
fld_AlbaranesClienteFECHA_PREVISTA_ENVIO = 'FECHA_PREVISTA_ENVIO';
fld_AlbaranesClienteFECHA_ENVIO = 'FECHA_ENVIO';
fld_AlbaranesClienteFECHA_RECEPCION = 'FECHA_RECEPCION';
{ AlbaranesCliente field indexes }
idx_AlbaranesClienteID = 0;
idx_AlbaranesClienteID_EMPRESA = 1;
idx_AlbaranesClienteID_CLIENTE = 2;
idx_AlbaranesClienteNOMBRE = 3;
idx_AlbaranesClienteFECHA_ALBARAN = 4;
idx_AlbaranesClienteREFERENCIA = 5;
idx_AlbaranesClienteREFERENCIA_CLIENTE = 6;
idx_AlbaranesClienteTIPO = 7;
idx_AlbaranesClienteSITUACION = 8;
idx_AlbaranesClienteID_ALMACEN = 9;
idx_AlbaranesClienteNOMBRE_ALMACEN = 10;
idx_AlbaranesClienteID_PEDIDO = 11;
idx_AlbaranesClienteREF_PEDIDO = 12;
idx_AlbaranesClienteID_FACTURA = 13;
idx_AlbaranesClienteREF_FACTURA = 14;
idx_AlbaranesClienteCALLE = 15;
idx_AlbaranesClienteCODIGO_POSTAL = 16;
idx_AlbaranesClientePOBLACION = 17;
idx_AlbaranesClientePROVINCIA = 18;
idx_AlbaranesClientePERSONA_CONTACTO = 19;
idx_AlbaranesClienteTELEFONO = 20;
idx_AlbaranesClienteIMPORTE_NETO = 21;
idx_AlbaranesClienteIMPORTE_PORTE = 22;
idx_AlbaranesClienteDESCUENTO = 23;
idx_AlbaranesClienteIMPORTE_DESCUENTO = 24;
idx_AlbaranesClienteBASE_IMPONIBLE = 25;
idx_AlbaranesClienteIVA = 26;
idx_AlbaranesClienteIMPORTE_IVA = 27;
idx_AlbaranesClienteIMPORTE_TOTAL = 28;
idx_AlbaranesClienteOBSERVACIONES = 29;
idx_AlbaranesClienteINCIDENCIAS = 30;
idx_AlbaranesClienteINCIDENCIAS_ACTIVAS = 31;
idx_AlbaranesClienteFECHA_ALTA = 32;
idx_AlbaranesClienteFECHA_MODIFICACION = 33;
idx_AlbaranesClienteUSUARIO = 34;
idx_AlbaranesClienteID_FORMA_PAGO = 35;
idx_AlbaranesClienteFECHA_PREVISTA_ENVIO = 36;
idx_AlbaranesClienteFECHA_ENVIO = 37;
idx_AlbaranesClienteFECHA_RECEPCION = 38;
{ AlbaranesCliente_Detalles fields }
fld_AlbaranesCliente_DetallesID = 'ID';
fld_AlbaranesCliente_DetallesID_ALBARAN = 'ID_ALBARAN';
fld_AlbaranesCliente_DetallesPOSICION = 'POSICION';
fld_AlbaranesCliente_DetallesTIPO_DETALLE = 'TIPO_DETALLE';
fld_AlbaranesCliente_DetallesID_ARTICULO = 'ID_ARTICULO';
fld_AlbaranesCliente_DetallesCONCEPTO = 'CONCEPTO';
fld_AlbaranesCliente_DetallesCANTIDAD = 'CANTIDAD';
fld_AlbaranesCliente_DetallesIMPORTE_UNIDAD = 'IMPORTE_UNIDAD';
fld_AlbaranesCliente_DetallesDESCUENTO = 'DESCUENTO';
fld_AlbaranesCliente_DetallesIMPORTE_PORTE = 'IMPORTE_PORTE';
fld_AlbaranesCliente_DetallesIMPORTE_TOTAL = 'IMPORTE_TOTAL';
fld_AlbaranesCliente_DetallesVISIBLE = 'VISIBLE';
fld_AlbaranesCliente_DetallesFECHA_ALTA = 'FECHA_ALTA';
fld_AlbaranesCliente_DetallesFECHA_MODIFICACION = 'FECHA_MODIFICACION';
{ AlbaranesCliente_Detalles field indexes }
idx_AlbaranesCliente_DetallesID = 0;
idx_AlbaranesCliente_DetallesID_ALBARAN = 1;
idx_AlbaranesCliente_DetallesPOSICION = 2;
idx_AlbaranesCliente_DetallesTIPO_DETALLE = 3;
idx_AlbaranesCliente_DetallesID_ARTICULO = 4;
idx_AlbaranesCliente_DetallesCONCEPTO = 5;
idx_AlbaranesCliente_DetallesCANTIDAD = 6;
idx_AlbaranesCliente_DetallesIMPORTE_UNIDAD = 7;
idx_AlbaranesCliente_DetallesDESCUENTO = 8;
idx_AlbaranesCliente_DetallesIMPORTE_PORTE = 9;
idx_AlbaranesCliente_DetallesIMPORTE_TOTAL = 10;
idx_AlbaranesCliente_DetallesVISIBLE = 11;
idx_AlbaranesCliente_DetallesFECHA_ALTA = 12;
idx_AlbaranesCliente_DetallesFECHA_MODIFICACION = 13;
{ AlbaranesCliente_Detalles_Refresh fields }
fld_AlbaranesCliente_Detalles_RefreshID = 'ID';
fld_AlbaranesCliente_Detalles_RefreshID_ALBARAN = 'ID_ALBARAN';
fld_AlbaranesCliente_Detalles_RefreshPOSICION = 'POSICION';
fld_AlbaranesCliente_Detalles_RefreshTIPO_DETALLE = 'TIPO_DETALLE';
fld_AlbaranesCliente_Detalles_RefreshREFERENCIA = 'REFERENCIA';
fld_AlbaranesCliente_Detalles_RefreshID_ARTICULO = 'ID_ARTICULO';
fld_AlbaranesCliente_Detalles_RefreshCONCEPTO = 'CONCEPTO';
fld_AlbaranesCliente_Detalles_RefreshCANTIDAD = 'CANTIDAD';
fld_AlbaranesCliente_Detalles_RefreshIMPORTE_UNIDAD = 'IMPORTE_UNIDAD';
fld_AlbaranesCliente_Detalles_RefreshIMPORTE_TOTAL = 'IMPORTE_TOTAL';
fld_AlbaranesCliente_Detalles_RefreshDESCUENTO = 'DESCUENTO';
fld_AlbaranesCliente_Detalles_RefreshIMPORTE_PORTE = 'IMPORTE_PORTE';
fld_AlbaranesCliente_Detalles_RefreshVISIBLE = 'VISIBLE';
fld_AlbaranesCliente_Detalles_RefreshREFERENCIA_PROVEEDOR = 'REFERENCIA_PROVEEDOR';
{ AlbaranesCliente_Detalles_Refresh field indexes }
idx_AlbaranesCliente_Detalles_RefreshID = 0;
idx_AlbaranesCliente_Detalles_RefreshID_ALBARAN = 1;
idx_AlbaranesCliente_Detalles_RefreshPOSICION = 2;
idx_AlbaranesCliente_Detalles_RefreshTIPO_DETALLE = 3;
idx_AlbaranesCliente_Detalles_RefreshREFERENCIA = 4;
idx_AlbaranesCliente_Detalles_RefreshID_ARTICULO = 5;
idx_AlbaranesCliente_Detalles_RefreshCONCEPTO = 6;
idx_AlbaranesCliente_Detalles_RefreshCANTIDAD = 7;
idx_AlbaranesCliente_Detalles_RefreshIMPORTE_UNIDAD = 8;
idx_AlbaranesCliente_Detalles_RefreshIMPORTE_TOTAL = 9;
idx_AlbaranesCliente_Detalles_RefreshDESCUENTO = 10;
idx_AlbaranesCliente_Detalles_RefreshIMPORTE_PORTE = 11;
idx_AlbaranesCliente_Detalles_RefreshVISIBLE = 12;
idx_AlbaranesCliente_Detalles_RefreshREFERENCIA_PROVEEDOR = 13;
{ AlbaranesCliente_Refresh fields }
fld_AlbaranesCliente_RefreshID = 'ID';
fld_AlbaranesCliente_RefreshID_EMPRESA = 'ID_EMPRESA';
fld_AlbaranesCliente_RefreshID_CLIENTE = 'ID_CLIENTE';
fld_AlbaranesCliente_RefreshREFERENCIA = 'REFERENCIA';
fld_AlbaranesCliente_RefreshFECHA_ALBARAN = 'FECHA_ALBARAN';
fld_AlbaranesCliente_RefreshID_PEDIDO = 'ID_PEDIDO';
fld_AlbaranesCliente_RefreshREFERENCIA_CLIENTE = 'REFERENCIA_CLIENTE';
fld_AlbaranesCliente_RefreshTIPO = 'TIPO';
fld_AlbaranesCliente_RefreshSITUACION = 'SITUACION';
fld_AlbaranesCliente_RefreshID_ALMACEN = 'ID_ALMACEN';
fld_AlbaranesCliente_RefreshNOMBRE_ALMACEN = 'NOMBRE_ALMACEN';
fld_AlbaranesCliente_RefreshID_FACTURA = 'ID_FACTURA';
fld_AlbaranesCliente_RefreshREF_PEDIDO = 'REF_PEDIDO';
fld_AlbaranesCliente_RefreshCALLE = 'CALLE';
fld_AlbaranesCliente_RefreshREF_FACTURA = 'REF_FACTURA';
fld_AlbaranesCliente_RefreshCODIGO_POSTAL = 'CODIGO_POSTAL';
fld_AlbaranesCliente_RefreshPOBLACION = 'POBLACION';
fld_AlbaranesCliente_RefreshPROVINCIA = 'PROVINCIA';
fld_AlbaranesCliente_RefreshPERSONA_CONTACTO = 'PERSONA_CONTACTO';
fld_AlbaranesCliente_RefreshTELEFONO = 'TELEFONO';
fld_AlbaranesCliente_RefreshBASE_IMPONIBLE = 'BASE_IMPONIBLE';
fld_AlbaranesCliente_RefreshIMPORTE_NETO = 'IMPORTE_NETO';
fld_AlbaranesCliente_RefreshIMPORTE_PORTE = 'IMPORTE_PORTE';
fld_AlbaranesCliente_RefreshDESCUENTO = 'DESCUENTO';
fld_AlbaranesCliente_RefreshIMPORTE_DESCUENTO = 'IMPORTE_DESCUENTO';
fld_AlbaranesCliente_RefreshIVA = 'IVA';
fld_AlbaranesCliente_RefreshIMPORTE_IVA = 'IMPORTE_IVA';
fld_AlbaranesCliente_RefreshIMPORTE_TOTAL = 'IMPORTE_TOTAL';
fld_AlbaranesCliente_RefreshOBSERVACIONES = 'OBSERVACIONES';
fld_AlbaranesCliente_RefreshINCIDENCIAS = 'INCIDENCIAS';
fld_AlbaranesCliente_RefreshINCIDENCIAS_ACTIVAS = 'INCIDENCIAS_ACTIVAS';
fld_AlbaranesCliente_RefreshFECHA_ALTA = 'FECHA_ALTA';
fld_AlbaranesCliente_RefreshFECHA_MODIFICACION = 'FECHA_MODIFICACION';
fld_AlbaranesCliente_RefreshUSUARIO = 'USUARIO';
fld_AlbaranesCliente_RefreshNOMBRE = 'NOMBRE';
fld_AlbaranesCliente_RefreshID_FORMA_PAGO = 'ID_FORMA_PAGO';
fld_AlbaranesCliente_RefreshFECHA_PREVISTA_ENVIO = 'FECHA_PREVISTA_ENVIO';
fld_AlbaranesCliente_RefreshFECHA_ENVIO = 'FECHA_ENVIO';
fld_AlbaranesCliente_RefreshFECHA_RECEPCION = 'FECHA_RECEPCION';
{ AlbaranesCliente_Refresh field indexes }
idx_AlbaranesCliente_RefreshID = 0;
idx_AlbaranesCliente_RefreshID_EMPRESA = 1;
idx_AlbaranesCliente_RefreshID_CLIENTE = 2;
idx_AlbaranesCliente_RefreshREFERENCIA = 3;
idx_AlbaranesCliente_RefreshFECHA_ALBARAN = 4;
idx_AlbaranesCliente_RefreshID_PEDIDO = 5;
idx_AlbaranesCliente_RefreshREFERENCIA_CLIENTE = 6;
idx_AlbaranesCliente_RefreshTIPO = 7;
idx_AlbaranesCliente_RefreshSITUACION = 8;
idx_AlbaranesCliente_RefreshID_ALMACEN = 9;
idx_AlbaranesCliente_RefreshNOMBRE_ALMACEN = 10;
idx_AlbaranesCliente_RefreshID_FACTURA = 11;
idx_AlbaranesCliente_RefreshREF_PEDIDO = 12;
idx_AlbaranesCliente_RefreshCALLE = 13;
idx_AlbaranesCliente_RefreshREF_FACTURA = 14;
idx_AlbaranesCliente_RefreshCODIGO_POSTAL = 15;
idx_AlbaranesCliente_RefreshPOBLACION = 16;
idx_AlbaranesCliente_RefreshPROVINCIA = 17;
idx_AlbaranesCliente_RefreshPERSONA_CONTACTO = 18;
idx_AlbaranesCliente_RefreshTELEFONO = 19;
idx_AlbaranesCliente_RefreshBASE_IMPONIBLE = 20;
idx_AlbaranesCliente_RefreshIMPORTE_NETO = 21;
idx_AlbaranesCliente_RefreshIMPORTE_PORTE = 22;
idx_AlbaranesCliente_RefreshDESCUENTO = 23;
idx_AlbaranesCliente_RefreshIMPORTE_DESCUENTO = 24;
idx_AlbaranesCliente_RefreshIVA = 25;
idx_AlbaranesCliente_RefreshIMPORTE_IVA = 26;
idx_AlbaranesCliente_RefreshIMPORTE_TOTAL = 27;
idx_AlbaranesCliente_RefreshOBSERVACIONES = 28;
idx_AlbaranesCliente_RefreshINCIDENCIAS = 29;
idx_AlbaranesCliente_RefreshINCIDENCIAS_ACTIVAS = 30;
idx_AlbaranesCliente_RefreshFECHA_ALTA = 31;
idx_AlbaranesCliente_RefreshFECHA_MODIFICACION = 32;
idx_AlbaranesCliente_RefreshUSUARIO = 33;
idx_AlbaranesCliente_RefreshNOMBRE = 34;
idx_AlbaranesCliente_RefreshID_FORMA_PAGO = 35;
idx_AlbaranesCliente_RefreshFECHA_PREVISTA_ENVIO = 36;
idx_AlbaranesCliente_RefreshFECHA_ENVIO = 37;
idx_AlbaranesCliente_RefreshFECHA_RECEPCION = 38;
type
{ IDarReferencia }
IDarReferencia = interface(IDAStronglyTypedDataTable)
['{DE723214-1A60-4E85-8857-E3FCEBEA0E00}']
{ Property getters and setters }
function GetVALORValue: String;
procedure SetVALORValue(const aValue: String);
function GetVALORIsNull: Boolean;
procedure SetVALORIsNull(const aValue: Boolean);
{ Properties }
property VALOR: String read GetVALORValue write SetVALORValue;
property VALORIsNull: Boolean read GetVALORIsNull write SetVALORIsNull;
end;
{ TDarReferenciaDataTableRules }
TDarReferenciaDataTableRules = class(TIntfObjectDADataTableRules, IDarReferencia)
private
protected
{ Property getters and setters }
function GetVALORValue: String; virtual;
procedure SetVALORValue(const aValue: String); virtual;
function GetVALORIsNull: Boolean; virtual;
procedure SetVALORIsNull(const aValue: Boolean); virtual;
{ Properties }
property VALOR: String read GetVALORValue write SetVALORValue;
property VALORIsNull: Boolean read GetVALORIsNull write SetVALORIsNull;
public
constructor Create(aDataTable: TDADataTable); override;
destructor Destroy; override;
end;
{ IAlbaranesCliente }
IAlbaranesCliente = interface(IDAStronglyTypedDataTable)
['{5516A0A8-DE9F-4BA9-85A1-28DE58076492}']
{ 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_CLIENTEValue: Integer;
procedure SetID_CLIENTEValue(const aValue: Integer);
function GetID_CLIENTEIsNull: Boolean;
procedure SetID_CLIENTEIsNull(const aValue: Boolean);
function GetNOMBREValue: String;
procedure SetNOMBREValue(const aValue: String);
function GetNOMBREIsNull: Boolean;
procedure SetNOMBREIsNull(const aValue: Boolean);
function GetFECHA_ALBARANValue: DateTime;
procedure SetFECHA_ALBARANValue(const aValue: DateTime);
function GetFECHA_ALBARANIsNull: Boolean;
procedure SetFECHA_ALBARANIsNull(const aValue: Boolean);
function GetREFERENCIAValue: String;
procedure SetREFERENCIAValue(const aValue: String);
function GetREFERENCIAIsNull: Boolean;
procedure SetREFERENCIAIsNull(const aValue: Boolean);
function GetREFERENCIA_CLIENTEValue: String;
procedure SetREFERENCIA_CLIENTEValue(const aValue: String);
function GetREFERENCIA_CLIENTEIsNull: Boolean;
procedure SetREFERENCIA_CLIENTEIsNull(const aValue: Boolean);
function GetTIPOValue: String;
procedure SetTIPOValue(const aValue: String);
function GetTIPOIsNull: Boolean;
procedure SetTIPOIsNull(const aValue: Boolean);
function GetSITUACIONValue: String;
procedure SetSITUACIONValue(const aValue: String);
function GetSITUACIONIsNull: Boolean;
procedure SetSITUACIONIsNull(const aValue: Boolean);
function GetID_ALMACENValue: Integer;
procedure SetID_ALMACENValue(const aValue: Integer);
function GetID_ALMACENIsNull: Boolean;
procedure SetID_ALMACENIsNull(const aValue: Boolean);
function GetNOMBRE_ALMACENValue: String;
procedure SetNOMBRE_ALMACENValue(const aValue: String);
function GetNOMBRE_ALMACENIsNull: Boolean;
procedure SetNOMBRE_ALMACENIsNull(const aValue: Boolean);
function GetID_PEDIDOValue: Integer;
procedure SetID_PEDIDOValue(const aValue: Integer);
function GetID_PEDIDOIsNull: Boolean;
procedure SetID_PEDIDOIsNull(const aValue: Boolean);
function GetREF_PEDIDOValue: String;
procedure SetREF_PEDIDOValue(const aValue: String);
function GetREF_PEDIDOIsNull: Boolean;
procedure SetREF_PEDIDOIsNull(const aValue: Boolean);
function GetID_FACTURAValue: Integer;
procedure SetID_FACTURAValue(const aValue: Integer);
function GetID_FACTURAIsNull: Boolean;
procedure SetID_FACTURAIsNull(const aValue: Boolean);
function GetREF_FACTURAValue: String;
procedure SetREF_FACTURAValue(const aValue: String);
function GetREF_FACTURAIsNull: Boolean;
procedure SetREF_FACTURAIsNull(const aValue: Boolean);
function GetCALLEValue: String;
procedure SetCALLEValue(const aValue: String);
function GetCALLEIsNull: Boolean;
procedure SetCALLEIsNull(const aValue: Boolean);
function GetCODIGO_POSTALValue: String;
procedure SetCODIGO_POSTALValue(const aValue: String);
function GetCODIGO_POSTALIsNull: Boolean;
procedure SetCODIGO_POSTALIsNull(const aValue: Boolean);
function GetPOBLACIONValue: String;
procedure SetPOBLACIONValue(const aValue: String);
function GetPOBLACIONIsNull: Boolean;
procedure SetPOBLACIONIsNull(const aValue: Boolean);
function GetPROVINCIAValue: String;
procedure SetPROVINCIAValue(const aValue: String);
function GetPROVINCIAIsNull: Boolean;
procedure SetPROVINCIAIsNull(const aValue: Boolean);
function GetPERSONA_CONTACTOValue: String;
procedure SetPERSONA_CONTACTOValue(const aValue: String);
function GetPERSONA_CONTACTOIsNull: Boolean;
procedure SetPERSONA_CONTACTOIsNull(const aValue: Boolean);
function GetTELEFONOValue: String;
procedure SetTELEFONOValue(const aValue: String);
function GetTELEFONOIsNull: Boolean;
procedure SetTELEFONOIsNull(const aValue: Boolean);
function GetIMPORTE_NETOValue: Currency;
procedure SetIMPORTE_NETOValue(const aValue: Currency);
function GetIMPORTE_NETOIsNull: Boolean;
procedure SetIMPORTE_NETOIsNull(const aValue: Boolean);
function GetIMPORTE_PORTEValue: Currency;
procedure SetIMPORTE_PORTEValue(const aValue: Currency);
function GetIMPORTE_PORTEIsNull: Boolean;
procedure SetIMPORTE_PORTEIsNull(const aValue: Boolean);
function GetDESCUENTOValue: Float;
procedure SetDESCUENTOValue(const aValue: Float);
function GetDESCUENTOIsNull: Boolean;
procedure SetDESCUENTOIsNull(const aValue: Boolean);
function GetIMPORTE_DESCUENTOValue: Currency;
procedure SetIMPORTE_DESCUENTOValue(const aValue: Currency);
function GetIMPORTE_DESCUENTOIsNull: Boolean;
procedure SetIMPORTE_DESCUENTOIsNull(const aValue: Boolean);
function GetBASE_IMPONIBLEValue: Currency;
procedure SetBASE_IMPONIBLEValue(const aValue: Currency);
function GetBASE_IMPONIBLEIsNull: Boolean;
procedure SetBASE_IMPONIBLEIsNull(const aValue: Boolean);
function GetIVAValue: Float;
procedure SetIVAValue(const aValue: Float);
function GetIVAIsNull: Boolean;
procedure SetIVAIsNull(const aValue: Boolean);
function GetIMPORTE_IVAValue: Currency;
procedure SetIMPORTE_IVAValue(const aValue: Currency);
function GetIMPORTE_IVAIsNull: Boolean;
procedure SetIMPORTE_IVAIsNull(const aValue: Boolean);
function GetIMPORTE_TOTALValue: Currency;
procedure SetIMPORTE_TOTALValue(const aValue: Currency);
function GetIMPORTE_TOTALIsNull: Boolean;
procedure SetIMPORTE_TOTALIsNull(const aValue: Boolean);
function GetOBSERVACIONESValue: IROStrings;
function GetOBSERVACIONESIsNull: Boolean;
procedure SetOBSERVACIONESIsNull(const aValue: Boolean);
function GetINCIDENCIASValue: IROStrings;
function GetINCIDENCIASIsNull: Boolean;
procedure SetINCIDENCIASIsNull(const aValue: Boolean);
function GetINCIDENCIAS_ACTIVASValue: Integer;
procedure SetINCIDENCIAS_ACTIVASValue(const aValue: Integer);
function GetINCIDENCIAS_ACTIVASIsNull: Boolean;
procedure SetINCIDENCIAS_ACTIVASIsNull(const aValue: Boolean);
function GetFECHA_ALTAValue: DateTime;
procedure SetFECHA_ALTAValue(const aValue: DateTime);
function GetFECHA_ALTAIsNull: Boolean;
procedure SetFECHA_ALTAIsNull(const aValue: Boolean);
function GetFECHA_MODIFICACIONValue: DateTime;
procedure SetFECHA_MODIFICACIONValue(const aValue: DateTime);
function GetFECHA_MODIFICACIONIsNull: Boolean;
procedure SetFECHA_MODIFICACIONIsNull(const aValue: Boolean);
function GetUSUARIOValue: String;
procedure SetUSUARIOValue(const aValue: String);
function GetUSUARIOIsNull: Boolean;
procedure SetUSUARIOIsNull(const aValue: Boolean);
function GetID_FORMA_PAGOValue: Integer;
procedure SetID_FORMA_PAGOValue(const aValue: Integer);
function GetID_FORMA_PAGOIsNull: Boolean;
procedure SetID_FORMA_PAGOIsNull(const aValue: Boolean);
function GetFECHA_PREVISTA_ENVIOValue: DateTime;
procedure SetFECHA_PREVISTA_ENVIOValue(const aValue: DateTime);
function GetFECHA_PREVISTA_ENVIOIsNull: Boolean;
procedure SetFECHA_PREVISTA_ENVIOIsNull(const aValue: Boolean);
function GetFECHA_ENVIOValue: DateTime;
procedure SetFECHA_ENVIOValue(const aValue: DateTime);
function GetFECHA_ENVIOIsNull: Boolean;
procedure SetFECHA_ENVIOIsNull(const aValue: Boolean);
function GetFECHA_RECEPCIONValue: DateTime;
procedure SetFECHA_RECEPCIONValue(const aValue: DateTime);
function GetFECHA_RECEPCIONIsNull: Boolean;
procedure SetFECHA_RECEPCIONIsNull(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 ID_CLIENTE: Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
property ID_CLIENTEIsNull: Boolean read GetID_CLIENTEIsNull write SetID_CLIENTEIsNull;
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
property FECHA_ALBARAN: DateTime read GetFECHA_ALBARANValue write SetFECHA_ALBARANValue;
property FECHA_ALBARANIsNull: Boolean read GetFECHA_ALBARANIsNull write SetFECHA_ALBARANIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property REFERENCIA_CLIENTE: String read GetREFERENCIA_CLIENTEValue write SetREFERENCIA_CLIENTEValue;
property REFERENCIA_CLIENTEIsNull: Boolean read GetREFERENCIA_CLIENTEIsNull write SetREFERENCIA_CLIENTEIsNull;
property TIPO: String read GetTIPOValue write SetTIPOValue;
property TIPOIsNull: Boolean read GetTIPOIsNull write SetTIPOIsNull;
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
property ID_ALMACEN: Integer read GetID_ALMACENValue write SetID_ALMACENValue;
property ID_ALMACENIsNull: Boolean read GetID_ALMACENIsNull write SetID_ALMACENIsNull;
property NOMBRE_ALMACEN: String read GetNOMBRE_ALMACENValue write SetNOMBRE_ALMACENValue;
property NOMBRE_ALMACENIsNull: Boolean read GetNOMBRE_ALMACENIsNull write SetNOMBRE_ALMACENIsNull;
property ID_PEDIDO: Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
property ID_PEDIDOIsNull: Boolean read GetID_PEDIDOIsNull write SetID_PEDIDOIsNull;
property REF_PEDIDO: String read GetREF_PEDIDOValue write SetREF_PEDIDOValue;
property REF_PEDIDOIsNull: Boolean read GetREF_PEDIDOIsNull write SetREF_PEDIDOIsNull;
property ID_FACTURA: Integer read GetID_FACTURAValue write SetID_FACTURAValue;
property ID_FACTURAIsNull: Boolean read GetID_FACTURAIsNull write SetID_FACTURAIsNull;
property REF_FACTURA: String read GetREF_FACTURAValue write SetREF_FACTURAValue;
property REF_FACTURAIsNull: Boolean read GetREF_FACTURAIsNull write SetREF_FACTURAIsNull;
property CALLE: String read GetCALLEValue write SetCALLEValue;
property CALLEIsNull: Boolean read GetCALLEIsNull write SetCALLEIsNull;
property CODIGO_POSTAL: String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue;
property CODIGO_POSTALIsNull: Boolean read GetCODIGO_POSTALIsNull write SetCODIGO_POSTALIsNull;
property POBLACION: String read GetPOBLACIONValue write SetPOBLACIONValue;
property POBLACIONIsNull: Boolean read GetPOBLACIONIsNull write SetPOBLACIONIsNull;
property PROVINCIA: String read GetPROVINCIAValue write SetPROVINCIAValue;
property PROVINCIAIsNull: Boolean read GetPROVINCIAIsNull write SetPROVINCIAIsNull;
property PERSONA_CONTACTO: String read GetPERSONA_CONTACTOValue write SetPERSONA_CONTACTOValue;
property PERSONA_CONTACTOIsNull: Boolean read GetPERSONA_CONTACTOIsNull write SetPERSONA_CONTACTOIsNull;
property TELEFONO: String read GetTELEFONOValue write SetTELEFONOValue;
property TELEFONOIsNull: Boolean read GetTELEFONOIsNull write SetTELEFONOIsNull;
property IMPORTE_NETO: Currency read GetIMPORTE_NETOValue write SetIMPORTE_NETOValue;
property IMPORTE_NETOIsNull: Boolean read GetIMPORTE_NETOIsNull write SetIMPORTE_NETOIsNull;
property IMPORTE_PORTE: Currency read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
property IMPORTE_PORTEIsNull: Boolean read GetIMPORTE_PORTEIsNull write SetIMPORTE_PORTEIsNull;
property DESCUENTO: Float read GetDESCUENTOValue write SetDESCUENTOValue;
property DESCUENTOIsNull: Boolean read GetDESCUENTOIsNull write SetDESCUENTOIsNull;
property IMPORTE_DESCUENTO: Currency read GetIMPORTE_DESCUENTOValue write SetIMPORTE_DESCUENTOValue;
property IMPORTE_DESCUENTOIsNull: Boolean read GetIMPORTE_DESCUENTOIsNull write SetIMPORTE_DESCUENTOIsNull;
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
property BASE_IMPONIBLEIsNull: Boolean read GetBASE_IMPONIBLEIsNull write SetBASE_IMPONIBLEIsNull;
property IVA: Float read GetIVAValue write SetIVAValue;
property IVAIsNull: Boolean read GetIVAIsNull write SetIVAIsNull;
property IMPORTE_IVA: Currency read GetIMPORTE_IVAValue write SetIMPORTE_IVAValue;
property IMPORTE_IVAIsNull: Boolean read GetIMPORTE_IVAIsNull write SetIMPORTE_IVAIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
property OBSERVACIONES: IROStrings read GetOBSERVACIONESValue;
property OBSERVACIONESIsNull: Boolean read GetOBSERVACIONESIsNull write SetOBSERVACIONESIsNull;
property INCIDENCIAS: IROStrings read GetINCIDENCIASValue;
property INCIDENCIASIsNull: Boolean read GetINCIDENCIASIsNull write SetINCIDENCIASIsNull;
property INCIDENCIAS_ACTIVAS: Integer read GetINCIDENCIAS_ACTIVASValue write SetINCIDENCIAS_ACTIVASValue;
property INCIDENCIAS_ACTIVASIsNull: Boolean read GetINCIDENCIAS_ACTIVASIsNull write SetINCIDENCIAS_ACTIVASIsNull;
property FECHA_ALTA: DateTime read GetFECHA_ALTAValue write SetFECHA_ALTAValue;
property FECHA_ALTAIsNull: Boolean read GetFECHA_ALTAIsNull write SetFECHA_ALTAIsNull;
property FECHA_MODIFICACION: DateTime read GetFECHA_MODIFICACIONValue write SetFECHA_MODIFICACIONValue;
property FECHA_MODIFICACIONIsNull: Boolean read GetFECHA_MODIFICACIONIsNull write SetFECHA_MODIFICACIONIsNull;
property USUARIO: String read GetUSUARIOValue write SetUSUARIOValue;
property USUARIOIsNull: Boolean read GetUSUARIOIsNull write SetUSUARIOIsNull;
property ID_FORMA_PAGO: Integer read GetID_FORMA_PAGOValue write SetID_FORMA_PAGOValue;
property ID_FORMA_PAGOIsNull: Boolean read GetID_FORMA_PAGOIsNull write SetID_FORMA_PAGOIsNull;
property FECHA_PREVISTA_ENVIO: DateTime read GetFECHA_PREVISTA_ENVIOValue write SetFECHA_PREVISTA_ENVIOValue;
property FECHA_PREVISTA_ENVIOIsNull: Boolean read GetFECHA_PREVISTA_ENVIOIsNull write SetFECHA_PREVISTA_ENVIOIsNull;
property FECHA_ENVIO: DateTime read GetFECHA_ENVIOValue write SetFECHA_ENVIOValue;
property FECHA_ENVIOIsNull: Boolean read GetFECHA_ENVIOIsNull write SetFECHA_ENVIOIsNull;
property FECHA_RECEPCION: DateTime read GetFECHA_RECEPCIONValue write SetFECHA_RECEPCIONValue;
property FECHA_RECEPCIONIsNull: Boolean read GetFECHA_RECEPCIONIsNull write SetFECHA_RECEPCIONIsNull;
end;
{ TAlbaranesClienteDataTableRules }
TAlbaranesClienteDataTableRules = class(TIntfObjectDADataTableRules, IAlbaranesCliente)
private
f_OBSERVACIONES: IROStrings;
f_INCIDENCIAS: IROStrings;
procedure OBSERVACIONES_OnChange(Sender: TObject);
procedure INCIDENCIAS_OnChange(Sender: TObject);
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_CLIENTEValue: Integer; virtual;
procedure SetID_CLIENTEValue(const aValue: Integer); virtual;
function GetID_CLIENTEIsNull: Boolean; virtual;
procedure SetID_CLIENTEIsNull(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 GetFECHA_ALBARANValue: DateTime; virtual;
procedure SetFECHA_ALBARANValue(const aValue: DateTime); virtual;
function GetFECHA_ALBARANIsNull: Boolean; virtual;
procedure SetFECHA_ALBARANIsNull(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 GetREFERENCIA_CLIENTEValue: String; virtual;
procedure SetREFERENCIA_CLIENTEValue(const aValue: String); virtual;
function GetREFERENCIA_CLIENTEIsNull: Boolean; virtual;
procedure SetREFERENCIA_CLIENTEIsNull(const aValue: Boolean); virtual;
function GetTIPOValue: String; virtual;
procedure SetTIPOValue(const aValue: String); virtual;
function GetTIPOIsNull: Boolean; virtual;
procedure SetTIPOIsNull(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 GetID_ALMACENValue: Integer; virtual;
procedure SetID_ALMACENValue(const aValue: Integer); virtual;
function GetID_ALMACENIsNull: Boolean; virtual;
procedure SetID_ALMACENIsNull(const aValue: Boolean); virtual;
function GetNOMBRE_ALMACENValue: String; virtual;
procedure SetNOMBRE_ALMACENValue(const aValue: String); virtual;
function GetNOMBRE_ALMACENIsNull: Boolean; virtual;
procedure SetNOMBRE_ALMACENIsNull(const aValue: Boolean); virtual;
function GetID_PEDIDOValue: Integer; virtual;
procedure SetID_PEDIDOValue(const aValue: Integer); virtual;
function GetID_PEDIDOIsNull: Boolean; virtual;
procedure SetID_PEDIDOIsNull(const aValue: Boolean); virtual;
function GetREF_PEDIDOValue: String; virtual;
procedure SetREF_PEDIDOValue(const aValue: String); virtual;
function GetREF_PEDIDOIsNull: Boolean; virtual;
procedure SetREF_PEDIDOIsNull(const aValue: Boolean); virtual;
function GetID_FACTURAValue: Integer; virtual;
procedure SetID_FACTURAValue(const aValue: Integer); virtual;
function GetID_FACTURAIsNull: Boolean; virtual;
procedure SetID_FACTURAIsNull(const aValue: Boolean); virtual;
function GetREF_FACTURAValue: String; virtual;
procedure SetREF_FACTURAValue(const aValue: String); virtual;
function GetREF_FACTURAIsNull: Boolean; virtual;
procedure SetREF_FACTURAIsNull(const aValue: Boolean); virtual;
function GetCALLEValue: String; virtual;
procedure SetCALLEValue(const aValue: String); virtual;
function GetCALLEIsNull: Boolean; virtual;
procedure SetCALLEIsNull(const aValue: Boolean); virtual;
function GetCODIGO_POSTALValue: String; virtual;
procedure SetCODIGO_POSTALValue(const aValue: String); virtual;
function GetCODIGO_POSTALIsNull: Boolean; virtual;
procedure SetCODIGO_POSTALIsNull(const aValue: Boolean); virtual;
function GetPOBLACIONValue: String; virtual;
procedure SetPOBLACIONValue(const aValue: String); virtual;
function GetPOBLACIONIsNull: Boolean; virtual;
procedure SetPOBLACIONIsNull(const aValue: Boolean); virtual;
function GetPROVINCIAValue: String; virtual;
procedure SetPROVINCIAValue(const aValue: String); virtual;
function GetPROVINCIAIsNull: Boolean; virtual;
procedure SetPROVINCIAIsNull(const aValue: Boolean); virtual;
function GetPERSONA_CONTACTOValue: String; virtual;
procedure SetPERSONA_CONTACTOValue(const aValue: String); virtual;
function GetPERSONA_CONTACTOIsNull: Boolean; virtual;
procedure SetPERSONA_CONTACTOIsNull(const aValue: Boolean); virtual;
function GetTELEFONOValue: String; virtual;
procedure SetTELEFONOValue(const aValue: String); virtual;
function GetTELEFONOIsNull: Boolean; virtual;
procedure SetTELEFONOIsNull(const aValue: Boolean); virtual;
function GetIMPORTE_NETOValue: Currency; virtual;
procedure SetIMPORTE_NETOValue(const aValue: Currency); virtual;
function GetIMPORTE_NETOIsNull: Boolean; virtual;
procedure SetIMPORTE_NETOIsNull(const aValue: Boolean); virtual;
function GetIMPORTE_PORTEValue: Currency; virtual;
procedure SetIMPORTE_PORTEValue(const aValue: Currency); virtual;
function GetIMPORTE_PORTEIsNull: Boolean; virtual;
procedure SetIMPORTE_PORTEIsNull(const aValue: Boolean); virtual;
function GetDESCUENTOValue: Float; virtual;
procedure SetDESCUENTOValue(const aValue: Float); virtual;
function GetDESCUENTOIsNull: Boolean; virtual;
procedure SetDESCUENTOIsNull(const aValue: Boolean); virtual;
function GetIMPORTE_DESCUENTOValue: Currency; virtual;
procedure SetIMPORTE_DESCUENTOValue(const aValue: Currency); virtual;
function GetIMPORTE_DESCUENTOIsNull: Boolean; virtual;
procedure SetIMPORTE_DESCUENTOIsNull(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 GetIVAValue: Float; virtual;
procedure SetIVAValue(const aValue: Float); virtual;
function GetIVAIsNull: Boolean; virtual;
procedure SetIVAIsNull(const aValue: Boolean); virtual;
function GetIMPORTE_IVAValue: Currency; virtual;
procedure SetIMPORTE_IVAValue(const aValue: Currency); virtual;
function GetIMPORTE_IVAIsNull: Boolean; virtual;
procedure SetIMPORTE_IVAIsNull(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 GetOBSERVACIONESValue: IROStrings; virtual;
function GetOBSERVACIONESIsNull: Boolean; virtual;
procedure SetOBSERVACIONESIsNull(const aValue: Boolean); virtual;
function GetINCIDENCIASValue: IROStrings; virtual;
function GetINCIDENCIASIsNull: Boolean; virtual;
procedure SetINCIDENCIASIsNull(const aValue: Boolean); virtual;
function GetINCIDENCIAS_ACTIVASValue: Integer; virtual;
procedure SetINCIDENCIAS_ACTIVASValue(const aValue: Integer); virtual;
function GetINCIDENCIAS_ACTIVASIsNull: Boolean; virtual;
procedure SetINCIDENCIAS_ACTIVASIsNull(const aValue: Boolean); virtual;
function GetFECHA_ALTAValue: DateTime; virtual;
procedure SetFECHA_ALTAValue(const aValue: DateTime); virtual;
function GetFECHA_ALTAIsNull: Boolean; virtual;
procedure SetFECHA_ALTAIsNull(const aValue: Boolean); virtual;
function GetFECHA_MODIFICACIONValue: DateTime; virtual;
procedure SetFECHA_MODIFICACIONValue(const aValue: DateTime); virtual;
function GetFECHA_MODIFICACIONIsNull: Boolean; virtual;
procedure SetFECHA_MODIFICACIONIsNull(const aValue: Boolean); virtual;
function GetUSUARIOValue: String; virtual;
procedure SetUSUARIOValue(const aValue: String); virtual;
function GetUSUARIOIsNull: Boolean; virtual;
procedure SetUSUARIOIsNull(const aValue: Boolean); virtual;
function GetID_FORMA_PAGOValue: Integer; virtual;
procedure SetID_FORMA_PAGOValue(const aValue: Integer); virtual;
function GetID_FORMA_PAGOIsNull: Boolean; virtual;
procedure SetID_FORMA_PAGOIsNull(const aValue: Boolean); virtual;
function GetFECHA_PREVISTA_ENVIOValue: DateTime; virtual;
procedure SetFECHA_PREVISTA_ENVIOValue(const aValue: DateTime); virtual;
function GetFECHA_PREVISTA_ENVIOIsNull: Boolean; virtual;
procedure SetFECHA_PREVISTA_ENVIOIsNull(const aValue: Boolean); virtual;
function GetFECHA_ENVIOValue: DateTime; virtual;
procedure SetFECHA_ENVIOValue(const aValue: DateTime); virtual;
function GetFECHA_ENVIOIsNull: Boolean; virtual;
procedure SetFECHA_ENVIOIsNull(const aValue: Boolean); virtual;
function GetFECHA_RECEPCIONValue: DateTime; virtual;
procedure SetFECHA_RECEPCIONValue(const aValue: DateTime); virtual;
function GetFECHA_RECEPCIONIsNull: Boolean; virtual;
procedure SetFECHA_RECEPCIONIsNull(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 ID_CLIENTE: Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
property ID_CLIENTEIsNull: Boolean read GetID_CLIENTEIsNull write SetID_CLIENTEIsNull;
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
property FECHA_ALBARAN: DateTime read GetFECHA_ALBARANValue write SetFECHA_ALBARANValue;
property FECHA_ALBARANIsNull: Boolean read GetFECHA_ALBARANIsNull write SetFECHA_ALBARANIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property REFERENCIA_CLIENTE: String read GetREFERENCIA_CLIENTEValue write SetREFERENCIA_CLIENTEValue;
property REFERENCIA_CLIENTEIsNull: Boolean read GetREFERENCIA_CLIENTEIsNull write SetREFERENCIA_CLIENTEIsNull;
property TIPO: String read GetTIPOValue write SetTIPOValue;
property TIPOIsNull: Boolean read GetTIPOIsNull write SetTIPOIsNull;
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
property ID_ALMACEN: Integer read GetID_ALMACENValue write SetID_ALMACENValue;
property ID_ALMACENIsNull: Boolean read GetID_ALMACENIsNull write SetID_ALMACENIsNull;
property NOMBRE_ALMACEN: String read GetNOMBRE_ALMACENValue write SetNOMBRE_ALMACENValue;
property NOMBRE_ALMACENIsNull: Boolean read GetNOMBRE_ALMACENIsNull write SetNOMBRE_ALMACENIsNull;
property ID_PEDIDO: Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
property ID_PEDIDOIsNull: Boolean read GetID_PEDIDOIsNull write SetID_PEDIDOIsNull;
property REF_PEDIDO: String read GetREF_PEDIDOValue write SetREF_PEDIDOValue;
property REF_PEDIDOIsNull: Boolean read GetREF_PEDIDOIsNull write SetREF_PEDIDOIsNull;
property ID_FACTURA: Integer read GetID_FACTURAValue write SetID_FACTURAValue;
property ID_FACTURAIsNull: Boolean read GetID_FACTURAIsNull write SetID_FACTURAIsNull;
property REF_FACTURA: String read GetREF_FACTURAValue write SetREF_FACTURAValue;
property REF_FACTURAIsNull: Boolean read GetREF_FACTURAIsNull write SetREF_FACTURAIsNull;
property CALLE: String read GetCALLEValue write SetCALLEValue;
property CALLEIsNull: Boolean read GetCALLEIsNull write SetCALLEIsNull;
property CODIGO_POSTAL: String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue;
property CODIGO_POSTALIsNull: Boolean read GetCODIGO_POSTALIsNull write SetCODIGO_POSTALIsNull;
property POBLACION: String read GetPOBLACIONValue write SetPOBLACIONValue;
property POBLACIONIsNull: Boolean read GetPOBLACIONIsNull write SetPOBLACIONIsNull;
property PROVINCIA: String read GetPROVINCIAValue write SetPROVINCIAValue;
property PROVINCIAIsNull: Boolean read GetPROVINCIAIsNull write SetPROVINCIAIsNull;
property PERSONA_CONTACTO: String read GetPERSONA_CONTACTOValue write SetPERSONA_CONTACTOValue;
property PERSONA_CONTACTOIsNull: Boolean read GetPERSONA_CONTACTOIsNull write SetPERSONA_CONTACTOIsNull;
property TELEFONO: String read GetTELEFONOValue write SetTELEFONOValue;
property TELEFONOIsNull: Boolean read GetTELEFONOIsNull write SetTELEFONOIsNull;
property IMPORTE_NETO: Currency read GetIMPORTE_NETOValue write SetIMPORTE_NETOValue;
property IMPORTE_NETOIsNull: Boolean read GetIMPORTE_NETOIsNull write SetIMPORTE_NETOIsNull;
property IMPORTE_PORTE: Currency read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
property IMPORTE_PORTEIsNull: Boolean read GetIMPORTE_PORTEIsNull write SetIMPORTE_PORTEIsNull;
property DESCUENTO: Float read GetDESCUENTOValue write SetDESCUENTOValue;
property DESCUENTOIsNull: Boolean read GetDESCUENTOIsNull write SetDESCUENTOIsNull;
property IMPORTE_DESCUENTO: Currency read GetIMPORTE_DESCUENTOValue write SetIMPORTE_DESCUENTOValue;
property IMPORTE_DESCUENTOIsNull: Boolean read GetIMPORTE_DESCUENTOIsNull write SetIMPORTE_DESCUENTOIsNull;
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
property BASE_IMPONIBLEIsNull: Boolean read GetBASE_IMPONIBLEIsNull write SetBASE_IMPONIBLEIsNull;
property IVA: Float read GetIVAValue write SetIVAValue;
property IVAIsNull: Boolean read GetIVAIsNull write SetIVAIsNull;
property IMPORTE_IVA: Currency read GetIMPORTE_IVAValue write SetIMPORTE_IVAValue;
property IMPORTE_IVAIsNull: Boolean read GetIMPORTE_IVAIsNull write SetIMPORTE_IVAIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
property OBSERVACIONES: IROStrings read GetOBSERVACIONESValue;
property OBSERVACIONESIsNull: Boolean read GetOBSERVACIONESIsNull write SetOBSERVACIONESIsNull;
property INCIDENCIAS: IROStrings read GetINCIDENCIASValue;
property INCIDENCIASIsNull: Boolean read GetINCIDENCIASIsNull write SetINCIDENCIASIsNull;
property INCIDENCIAS_ACTIVAS: Integer read GetINCIDENCIAS_ACTIVASValue write SetINCIDENCIAS_ACTIVASValue;
property INCIDENCIAS_ACTIVASIsNull: Boolean read GetINCIDENCIAS_ACTIVASIsNull write SetINCIDENCIAS_ACTIVASIsNull;
property FECHA_ALTA: DateTime read GetFECHA_ALTAValue write SetFECHA_ALTAValue;
property FECHA_ALTAIsNull: Boolean read GetFECHA_ALTAIsNull write SetFECHA_ALTAIsNull;
property FECHA_MODIFICACION: DateTime read GetFECHA_MODIFICACIONValue write SetFECHA_MODIFICACIONValue;
property FECHA_MODIFICACIONIsNull: Boolean read GetFECHA_MODIFICACIONIsNull write SetFECHA_MODIFICACIONIsNull;
property USUARIO: String read GetUSUARIOValue write SetUSUARIOValue;
property USUARIOIsNull: Boolean read GetUSUARIOIsNull write SetUSUARIOIsNull;
property ID_FORMA_PAGO: Integer read GetID_FORMA_PAGOValue write SetID_FORMA_PAGOValue;
property ID_FORMA_PAGOIsNull: Boolean read GetID_FORMA_PAGOIsNull write SetID_FORMA_PAGOIsNull;
property FECHA_PREVISTA_ENVIO: DateTime read GetFECHA_PREVISTA_ENVIOValue write SetFECHA_PREVISTA_ENVIOValue;
property FECHA_PREVISTA_ENVIOIsNull: Boolean read GetFECHA_PREVISTA_ENVIOIsNull write SetFECHA_PREVISTA_ENVIOIsNull;
property FECHA_ENVIO: DateTime read GetFECHA_ENVIOValue write SetFECHA_ENVIOValue;
property FECHA_ENVIOIsNull: Boolean read GetFECHA_ENVIOIsNull write SetFECHA_ENVIOIsNull;
property FECHA_RECEPCION: DateTime read GetFECHA_RECEPCIONValue write SetFECHA_RECEPCIONValue;
property FECHA_RECEPCIONIsNull: Boolean read GetFECHA_RECEPCIONIsNull write SetFECHA_RECEPCIONIsNull;
public
constructor Create(aDataTable: TDADataTable); override;
destructor Destroy; override;
end;
{ IAlbaranesCliente_Detalles }
IAlbaranesCliente_Detalles = interface(IDAStronglyTypedDataTable)
['{F0840913-13A5-4637-A71E-37AAE55E8635}']
{ Property getters and setters }
function GetIDValue: Integer;
procedure SetIDValue(const aValue: Integer);
function GetIDIsNull: Boolean;
procedure SetIDIsNull(const aValue: Boolean);
function GetID_ALBARANValue: Integer;
procedure SetID_ALBARANValue(const aValue: Integer);
function GetID_ALBARANIsNull: Boolean;
procedure SetID_ALBARANIsNull(const aValue: Boolean);
function GetPOSICIONValue: Integer;
procedure SetPOSICIONValue(const aValue: Integer);
function GetPOSICIONIsNull: Boolean;
procedure SetPOSICIONIsNull(const aValue: Boolean);
function GetTIPO_DETALLEValue: String;
procedure SetTIPO_DETALLEValue(const aValue: String);
function GetTIPO_DETALLEIsNull: Boolean;
procedure SetTIPO_DETALLEIsNull(const aValue: Boolean);
function GetID_ARTICULOValue: Integer;
procedure SetID_ARTICULOValue(const aValue: Integer);
function GetID_ARTICULOIsNull: Boolean;
procedure SetID_ARTICULOIsNull(const aValue: Boolean);
function GetCONCEPTOValue: String;
procedure SetCONCEPTOValue(const aValue: String);
function GetCONCEPTOIsNull: Boolean;
procedure SetCONCEPTOIsNull(const aValue: Boolean);
function GetCANTIDADValue: Integer;
procedure SetCANTIDADValue(const aValue: Integer);
function GetCANTIDADIsNull: Boolean;
procedure SetCANTIDADIsNull(const aValue: Boolean);
function GetIMPORTE_UNIDADValue: Currency;
procedure SetIMPORTE_UNIDADValue(const aValue: Currency);
function GetIMPORTE_UNIDADIsNull: Boolean;
procedure SetIMPORTE_UNIDADIsNull(const aValue: Boolean);
function GetDESCUENTOValue: Float;
procedure SetDESCUENTOValue(const aValue: Float);
function GetDESCUENTOIsNull: Boolean;
procedure SetDESCUENTOIsNull(const aValue: Boolean);
function GetIMPORTE_PORTEValue: Currency;
procedure SetIMPORTE_PORTEValue(const aValue: Currency);
function GetIMPORTE_PORTEIsNull: Boolean;
procedure SetIMPORTE_PORTEIsNull(const aValue: Boolean);
function GetIMPORTE_TOTALValue: Currency;
procedure SetIMPORTE_TOTALValue(const aValue: Currency);
function GetIMPORTE_TOTALIsNull: Boolean;
procedure SetIMPORTE_TOTALIsNull(const aValue: Boolean);
function GetVISIBLEValue: Integer;
procedure SetVISIBLEValue(const aValue: Integer);
function GetVISIBLEIsNull: Boolean;
procedure SetVISIBLEIsNull(const aValue: Boolean);
function GetFECHA_ALTAValue: DateTime;
procedure SetFECHA_ALTAValue(const aValue: DateTime);
function GetFECHA_ALTAIsNull: Boolean;
procedure SetFECHA_ALTAIsNull(const aValue: Boolean);
function GetFECHA_MODIFICACIONValue: DateTime;
procedure SetFECHA_MODIFICACIONValue(const aValue: DateTime);
function GetFECHA_MODIFICACIONIsNull: Boolean;
procedure SetFECHA_MODIFICACIONIsNull(const aValue: Boolean);
{ Properties }
property ID: Integer read GetIDValue write SetIDValue;
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
property ID_ALBARAN: Integer read GetID_ALBARANValue write SetID_ALBARANValue;
property ID_ALBARANIsNull: Boolean read GetID_ALBARANIsNull write SetID_ALBARANIsNull;
property POSICION: Integer read GetPOSICIONValue write SetPOSICIONValue;
property POSICIONIsNull: Boolean read GetPOSICIONIsNull write SetPOSICIONIsNull;
property TIPO_DETALLE: String read GetTIPO_DETALLEValue write SetTIPO_DETALLEValue;
property TIPO_DETALLEIsNull: Boolean read GetTIPO_DETALLEIsNull write SetTIPO_DETALLEIsNull;
property ID_ARTICULO: Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
property ID_ARTICULOIsNull: Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
property CONCEPTO: String read GetCONCEPTOValue write SetCONCEPTOValue;
property CONCEPTOIsNull: Boolean read GetCONCEPTOIsNull write SetCONCEPTOIsNull;
property CANTIDAD: Integer read GetCANTIDADValue write SetCANTIDADValue;
property CANTIDADIsNull: Boolean read GetCANTIDADIsNull write SetCANTIDADIsNull;
property IMPORTE_UNIDAD: Currency read GetIMPORTE_UNIDADValue write SetIMPORTE_UNIDADValue;
property IMPORTE_UNIDADIsNull: Boolean read GetIMPORTE_UNIDADIsNull write SetIMPORTE_UNIDADIsNull;
property DESCUENTO: Float read GetDESCUENTOValue write SetDESCUENTOValue;
property DESCUENTOIsNull: Boolean read GetDESCUENTOIsNull write SetDESCUENTOIsNull;
property IMPORTE_PORTE: Currency read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
property IMPORTE_PORTEIsNull: Boolean read GetIMPORTE_PORTEIsNull write SetIMPORTE_PORTEIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
property VISIBLE: Integer read GetVISIBLEValue write SetVISIBLEValue;
property VISIBLEIsNull: Boolean read GetVISIBLEIsNull write SetVISIBLEIsNull;
property FECHA_ALTA: DateTime read GetFECHA_ALTAValue write SetFECHA_ALTAValue;
property FECHA_ALTAIsNull: Boolean read GetFECHA_ALTAIsNull write SetFECHA_ALTAIsNull;
property FECHA_MODIFICACION: DateTime read GetFECHA_MODIFICACIONValue write SetFECHA_MODIFICACIONValue;
property FECHA_MODIFICACIONIsNull: Boolean read GetFECHA_MODIFICACIONIsNull write SetFECHA_MODIFICACIONIsNull;
end;
{ TAlbaranesCliente_DetallesDataTableRules }
TAlbaranesCliente_DetallesDataTableRules = class(TIntfObjectDADataTableRules, IAlbaranesCliente_Detalles)
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_ALBARANValue: Integer; virtual;
procedure SetID_ALBARANValue(const aValue: Integer); virtual;
function GetID_ALBARANIsNull: Boolean; virtual;
procedure SetID_ALBARANIsNull(const aValue: Boolean); virtual;
function GetPOSICIONValue: Integer; virtual;
procedure SetPOSICIONValue(const aValue: Integer); virtual;
function GetPOSICIONIsNull: Boolean; virtual;
procedure SetPOSICIONIsNull(const aValue: Boolean); virtual;
function GetTIPO_DETALLEValue: String; virtual;
procedure SetTIPO_DETALLEValue(const aValue: String); virtual;
function GetTIPO_DETALLEIsNull: Boolean; virtual;
procedure SetTIPO_DETALLEIsNull(const aValue: Boolean); virtual;
function GetID_ARTICULOValue: Integer; virtual;
procedure SetID_ARTICULOValue(const aValue: Integer); virtual;
function GetID_ARTICULOIsNull: Boolean; virtual;
procedure SetID_ARTICULOIsNull(const aValue: Boolean); virtual;
function GetCONCEPTOValue: String; virtual;
procedure SetCONCEPTOValue(const aValue: String); virtual;
function GetCONCEPTOIsNull: Boolean; virtual;
procedure SetCONCEPTOIsNull(const aValue: Boolean); virtual;
function GetCANTIDADValue: Integer; virtual;
procedure SetCANTIDADValue(const aValue: Integer); virtual;
function GetCANTIDADIsNull: Boolean; virtual;
procedure SetCANTIDADIsNull(const aValue: Boolean); virtual;
function GetIMPORTE_UNIDADValue: Currency; virtual;
procedure SetIMPORTE_UNIDADValue(const aValue: Currency); virtual;
function GetIMPORTE_UNIDADIsNull: Boolean; virtual;
procedure SetIMPORTE_UNIDADIsNull(const aValue: Boolean); virtual;
function GetDESCUENTOValue: Float; virtual;
procedure SetDESCUENTOValue(const aValue: Float); virtual;
function GetDESCUENTOIsNull: Boolean; virtual;
procedure SetDESCUENTOIsNull(const aValue: Boolean); virtual;
function GetIMPORTE_PORTEValue: Currency; virtual;
procedure SetIMPORTE_PORTEValue(const aValue: Currency); virtual;
function GetIMPORTE_PORTEIsNull: Boolean; virtual;
procedure SetIMPORTE_PORTEIsNull(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 GetVISIBLEValue: Integer; virtual;
procedure SetVISIBLEValue(const aValue: Integer); virtual;
function GetVISIBLEIsNull: Boolean; virtual;
procedure SetVISIBLEIsNull(const aValue: Boolean); virtual;
function GetFECHA_ALTAValue: DateTime; virtual;
procedure SetFECHA_ALTAValue(const aValue: DateTime); virtual;
function GetFECHA_ALTAIsNull: Boolean; virtual;
procedure SetFECHA_ALTAIsNull(const aValue: Boolean); virtual;
function GetFECHA_MODIFICACIONValue: DateTime; virtual;
procedure SetFECHA_MODIFICACIONValue(const aValue: DateTime); virtual;
function GetFECHA_MODIFICACIONIsNull: Boolean; virtual;
procedure SetFECHA_MODIFICACIONIsNull(const aValue: Boolean); virtual;
{ Properties }
property ID: Integer read GetIDValue write SetIDValue;
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
property ID_ALBARAN: Integer read GetID_ALBARANValue write SetID_ALBARANValue;
property ID_ALBARANIsNull: Boolean read GetID_ALBARANIsNull write SetID_ALBARANIsNull;
property POSICION: Integer read GetPOSICIONValue write SetPOSICIONValue;
property POSICIONIsNull: Boolean read GetPOSICIONIsNull write SetPOSICIONIsNull;
property TIPO_DETALLE: String read GetTIPO_DETALLEValue write SetTIPO_DETALLEValue;
property TIPO_DETALLEIsNull: Boolean read GetTIPO_DETALLEIsNull write SetTIPO_DETALLEIsNull;
property ID_ARTICULO: Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
property ID_ARTICULOIsNull: Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
property CONCEPTO: String read GetCONCEPTOValue write SetCONCEPTOValue;
property CONCEPTOIsNull: Boolean read GetCONCEPTOIsNull write SetCONCEPTOIsNull;
property CANTIDAD: Integer read GetCANTIDADValue write SetCANTIDADValue;
property CANTIDADIsNull: Boolean read GetCANTIDADIsNull write SetCANTIDADIsNull;
property IMPORTE_UNIDAD: Currency read GetIMPORTE_UNIDADValue write SetIMPORTE_UNIDADValue;
property IMPORTE_UNIDADIsNull: Boolean read GetIMPORTE_UNIDADIsNull write SetIMPORTE_UNIDADIsNull;
property DESCUENTO: Float read GetDESCUENTOValue write SetDESCUENTOValue;
property DESCUENTOIsNull: Boolean read GetDESCUENTOIsNull write SetDESCUENTOIsNull;
property IMPORTE_PORTE: Currency read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
property IMPORTE_PORTEIsNull: Boolean read GetIMPORTE_PORTEIsNull write SetIMPORTE_PORTEIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
property VISIBLE: Integer read GetVISIBLEValue write SetVISIBLEValue;
property VISIBLEIsNull: Boolean read GetVISIBLEIsNull write SetVISIBLEIsNull;
property FECHA_ALTA: DateTime read GetFECHA_ALTAValue write SetFECHA_ALTAValue;
property FECHA_ALTAIsNull: Boolean read GetFECHA_ALTAIsNull write SetFECHA_ALTAIsNull;
property FECHA_MODIFICACION: DateTime read GetFECHA_MODIFICACIONValue write SetFECHA_MODIFICACIONValue;
property FECHA_MODIFICACIONIsNull: Boolean read GetFECHA_MODIFICACIONIsNull write SetFECHA_MODIFICACIONIsNull;
public
constructor Create(aDataTable: TDADataTable); override;
destructor Destroy; override;
end;
{ IAlbaranesCliente_Detalles_Refresh }
IAlbaranesCliente_Detalles_Refresh = interface(IDAStronglyTypedDataTable)
['{2C62E5EE-7405-4ACF-8FF1-85CA299BD293}']
{ Property getters and setters }
function GetIDValue: Integer;
procedure SetIDValue(const aValue: Integer);
function GetIDIsNull: Boolean;
procedure SetIDIsNull(const aValue: Boolean);
function GetID_ALBARANValue: Integer;
procedure SetID_ALBARANValue(const aValue: Integer);
function GetID_ALBARANIsNull: Boolean;
procedure SetID_ALBARANIsNull(const aValue: Boolean);
function GetPOSICIONValue: Integer;
procedure SetPOSICIONValue(const aValue: Integer);
function GetPOSICIONIsNull: Boolean;
procedure SetPOSICIONIsNull(const aValue: Boolean);
function GetTIPO_DETALLEValue: String;
procedure SetTIPO_DETALLEValue(const aValue: String);
function GetTIPO_DETALLEIsNull: Boolean;
procedure SetTIPO_DETALLEIsNull(const aValue: Boolean);
function GetREFERENCIAValue: String;
procedure SetREFERENCIAValue(const aValue: String);
function GetREFERENCIAIsNull: Boolean;
procedure SetREFERENCIAIsNull(const aValue: Boolean);
function GetID_ARTICULOValue: Integer;
procedure SetID_ARTICULOValue(const aValue: Integer);
function GetID_ARTICULOIsNull: Boolean;
procedure SetID_ARTICULOIsNull(const aValue: Boolean);
function GetCONCEPTOValue: String;
procedure SetCONCEPTOValue(const aValue: String);
function GetCONCEPTOIsNull: Boolean;
procedure SetCONCEPTOIsNull(const aValue: Boolean);
function GetCANTIDADValue: Integer;
procedure SetCANTIDADValue(const aValue: Integer);
function GetCANTIDADIsNull: Boolean;
procedure SetCANTIDADIsNull(const aValue: Boolean);
function GetIMPORTE_UNIDADValue: Currency;
procedure SetIMPORTE_UNIDADValue(const aValue: Currency);
function GetIMPORTE_UNIDADIsNull: Boolean;
procedure SetIMPORTE_UNIDADIsNull(const aValue: Boolean);
function GetIMPORTE_TOTALValue: Currency;
procedure SetIMPORTE_TOTALValue(const aValue: Currency);
function GetIMPORTE_TOTALIsNull: Boolean;
procedure SetIMPORTE_TOTALIsNull(const aValue: Boolean);
function GetDESCUENTOValue: Float;
procedure SetDESCUENTOValue(const aValue: Float);
function GetDESCUENTOIsNull: Boolean;
procedure SetDESCUENTOIsNull(const aValue: Boolean);
function GetIMPORTE_PORTEValue: Float;
procedure SetIMPORTE_PORTEValue(const aValue: Float);
function GetIMPORTE_PORTEIsNull: Boolean;
procedure SetIMPORTE_PORTEIsNull(const aValue: Boolean);
function GetVISIBLEValue: Integer;
procedure SetVISIBLEValue(const aValue: Integer);
function GetVISIBLEIsNull: Boolean;
procedure SetVISIBLEIsNull(const aValue: Boolean);
function GetREFERENCIA_PROVEEDORValue: String;
procedure SetREFERENCIA_PROVEEDORValue(const aValue: String);
function GetREFERENCIA_PROVEEDORIsNull: Boolean;
procedure SetREFERENCIA_PROVEEDORIsNull(const aValue: Boolean);
{ Properties }
property ID: Integer read GetIDValue write SetIDValue;
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
property ID_ALBARAN: Integer read GetID_ALBARANValue write SetID_ALBARANValue;
property ID_ALBARANIsNull: Boolean read GetID_ALBARANIsNull write SetID_ALBARANIsNull;
property POSICION: Integer read GetPOSICIONValue write SetPOSICIONValue;
property POSICIONIsNull: Boolean read GetPOSICIONIsNull write SetPOSICIONIsNull;
property TIPO_DETALLE: String read GetTIPO_DETALLEValue write SetTIPO_DETALLEValue;
property TIPO_DETALLEIsNull: Boolean read GetTIPO_DETALLEIsNull write SetTIPO_DETALLEIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property ID_ARTICULO: Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
property ID_ARTICULOIsNull: Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
property CONCEPTO: String read GetCONCEPTOValue write SetCONCEPTOValue;
property CONCEPTOIsNull: Boolean read GetCONCEPTOIsNull write SetCONCEPTOIsNull;
property CANTIDAD: Integer read GetCANTIDADValue write SetCANTIDADValue;
property CANTIDADIsNull: Boolean read GetCANTIDADIsNull write SetCANTIDADIsNull;
property IMPORTE_UNIDAD: Currency read GetIMPORTE_UNIDADValue write SetIMPORTE_UNIDADValue;
property IMPORTE_UNIDADIsNull: Boolean read GetIMPORTE_UNIDADIsNull write SetIMPORTE_UNIDADIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
property DESCUENTO: Float read GetDESCUENTOValue write SetDESCUENTOValue;
property DESCUENTOIsNull: Boolean read GetDESCUENTOIsNull write SetDESCUENTOIsNull;
property IMPORTE_PORTE: Float read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
property IMPORTE_PORTEIsNull: Boolean read GetIMPORTE_PORTEIsNull write SetIMPORTE_PORTEIsNull;
property VISIBLE: Integer read GetVISIBLEValue write SetVISIBLEValue;
property VISIBLEIsNull: Boolean read GetVISIBLEIsNull write SetVISIBLEIsNull;
property REFERENCIA_PROVEEDOR: String read GetREFERENCIA_PROVEEDORValue write SetREFERENCIA_PROVEEDORValue;
property REFERENCIA_PROVEEDORIsNull: Boolean read GetREFERENCIA_PROVEEDORIsNull write SetREFERENCIA_PROVEEDORIsNull;
end;
{ TAlbaranesCliente_Detalles_RefreshDataTableRules }
TAlbaranesCliente_Detalles_RefreshDataTableRules = class(TIntfObjectDADataTableRules, IAlbaranesCliente_Detalles_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_ALBARANValue: Integer; virtual;
procedure SetID_ALBARANValue(const aValue: Integer); virtual;
function GetID_ALBARANIsNull: Boolean; virtual;
procedure SetID_ALBARANIsNull(const aValue: Boolean); virtual;
function GetPOSICIONValue: Integer; virtual;
procedure SetPOSICIONValue(const aValue: Integer); virtual;
function GetPOSICIONIsNull: Boolean; virtual;
procedure SetPOSICIONIsNull(const aValue: Boolean); virtual;
function GetTIPO_DETALLEValue: String; virtual;
procedure SetTIPO_DETALLEValue(const aValue: String); virtual;
function GetTIPO_DETALLEIsNull: Boolean; virtual;
procedure SetTIPO_DETALLEIsNull(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_ARTICULOValue: Integer; virtual;
procedure SetID_ARTICULOValue(const aValue: Integer); virtual;
function GetID_ARTICULOIsNull: Boolean; virtual;
procedure SetID_ARTICULOIsNull(const aValue: Boolean); virtual;
function GetCONCEPTOValue: String; virtual;
procedure SetCONCEPTOValue(const aValue: String); virtual;
function GetCONCEPTOIsNull: Boolean; virtual;
procedure SetCONCEPTOIsNull(const aValue: Boolean); virtual;
function GetCANTIDADValue: Integer; virtual;
procedure SetCANTIDADValue(const aValue: Integer); virtual;
function GetCANTIDADIsNull: Boolean; virtual;
procedure SetCANTIDADIsNull(const aValue: Boolean); virtual;
function GetIMPORTE_UNIDADValue: Currency; virtual;
procedure SetIMPORTE_UNIDADValue(const aValue: Currency); virtual;
function GetIMPORTE_UNIDADIsNull: Boolean; virtual;
procedure SetIMPORTE_UNIDADIsNull(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 GetDESCUENTOValue: Float; virtual;
procedure SetDESCUENTOValue(const aValue: Float); virtual;
function GetDESCUENTOIsNull: Boolean; virtual;
procedure SetDESCUENTOIsNull(const aValue: Boolean); virtual;
function GetIMPORTE_PORTEValue: Float; virtual;
procedure SetIMPORTE_PORTEValue(const aValue: Float); virtual;
function GetIMPORTE_PORTEIsNull: Boolean; virtual;
procedure SetIMPORTE_PORTEIsNull(const aValue: Boolean); virtual;
function GetVISIBLEValue: Integer; virtual;
procedure SetVISIBLEValue(const aValue: Integer); virtual;
function GetVISIBLEIsNull: Boolean; virtual;
procedure SetVISIBLEIsNull(const aValue: Boolean); virtual;
function GetREFERENCIA_PROVEEDORValue: String; virtual;
procedure SetREFERENCIA_PROVEEDORValue(const aValue: String); virtual;
function GetREFERENCIA_PROVEEDORIsNull: Boolean; virtual;
procedure SetREFERENCIA_PROVEEDORIsNull(const aValue: Boolean); virtual;
{ Properties }
property ID: Integer read GetIDValue write SetIDValue;
property IDIsNull: Boolean read GetIDIsNull write SetIDIsNull;
property ID_ALBARAN: Integer read GetID_ALBARANValue write SetID_ALBARANValue;
property ID_ALBARANIsNull: Boolean read GetID_ALBARANIsNull write SetID_ALBARANIsNull;
property POSICION: Integer read GetPOSICIONValue write SetPOSICIONValue;
property POSICIONIsNull: Boolean read GetPOSICIONIsNull write SetPOSICIONIsNull;
property TIPO_DETALLE: String read GetTIPO_DETALLEValue write SetTIPO_DETALLEValue;
property TIPO_DETALLEIsNull: Boolean read GetTIPO_DETALLEIsNull write SetTIPO_DETALLEIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property ID_ARTICULO: Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
property ID_ARTICULOIsNull: Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
property CONCEPTO: String read GetCONCEPTOValue write SetCONCEPTOValue;
property CONCEPTOIsNull: Boolean read GetCONCEPTOIsNull write SetCONCEPTOIsNull;
property CANTIDAD: Integer read GetCANTIDADValue write SetCANTIDADValue;
property CANTIDADIsNull: Boolean read GetCANTIDADIsNull write SetCANTIDADIsNull;
property IMPORTE_UNIDAD: Currency read GetIMPORTE_UNIDADValue write SetIMPORTE_UNIDADValue;
property IMPORTE_UNIDADIsNull: Boolean read GetIMPORTE_UNIDADIsNull write SetIMPORTE_UNIDADIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
property DESCUENTO: Float read GetDESCUENTOValue write SetDESCUENTOValue;
property DESCUENTOIsNull: Boolean read GetDESCUENTOIsNull write SetDESCUENTOIsNull;
property IMPORTE_PORTE: Float read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
property IMPORTE_PORTEIsNull: Boolean read GetIMPORTE_PORTEIsNull write SetIMPORTE_PORTEIsNull;
property VISIBLE: Integer read GetVISIBLEValue write SetVISIBLEValue;
property VISIBLEIsNull: Boolean read GetVISIBLEIsNull write SetVISIBLEIsNull;
property REFERENCIA_PROVEEDOR: String read GetREFERENCIA_PROVEEDORValue write SetREFERENCIA_PROVEEDORValue;
property REFERENCIA_PROVEEDORIsNull: Boolean read GetREFERENCIA_PROVEEDORIsNull write SetREFERENCIA_PROVEEDORIsNull;
public
constructor Create(aDataTable: TDADataTable); override;
destructor Destroy; override;
end;
{ IAlbaranesCliente_Refresh }
IAlbaranesCliente_Refresh = interface(IDAStronglyTypedDataTable)
['{10642136-24E9-44B3-9443-1AB498595446}']
{ 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_CLIENTEValue: Integer;
procedure SetID_CLIENTEValue(const aValue: Integer);
function GetID_CLIENTEIsNull: Boolean;
procedure SetID_CLIENTEIsNull(const aValue: Boolean);
function GetREFERENCIAValue: String;
procedure SetREFERENCIAValue(const aValue: String);
function GetREFERENCIAIsNull: Boolean;
procedure SetREFERENCIAIsNull(const aValue: Boolean);
function GetFECHA_ALBARANValue: DateTime;
procedure SetFECHA_ALBARANValue(const aValue: DateTime);
function GetFECHA_ALBARANIsNull: Boolean;
procedure SetFECHA_ALBARANIsNull(const aValue: Boolean);
function GetID_PEDIDOValue: Integer;
procedure SetID_PEDIDOValue(const aValue: Integer);
function GetID_PEDIDOIsNull: Boolean;
procedure SetID_PEDIDOIsNull(const aValue: Boolean);
function GetREFERENCIA_CLIENTEValue: String;
procedure SetREFERENCIA_CLIENTEValue(const aValue: String);
function GetREFERENCIA_CLIENTEIsNull: Boolean;
procedure SetREFERENCIA_CLIENTEIsNull(const aValue: Boolean);
function GetTIPOValue: String;
procedure SetTIPOValue(const aValue: String);
function GetTIPOIsNull: Boolean;
procedure SetTIPOIsNull(const aValue: Boolean);
function GetSITUACIONValue: String;
procedure SetSITUACIONValue(const aValue: String);
function GetSITUACIONIsNull: Boolean;
procedure SetSITUACIONIsNull(const aValue: Boolean);
function GetID_ALMACENValue: Integer;
procedure SetID_ALMACENValue(const aValue: Integer);
function GetID_ALMACENIsNull: Boolean;
procedure SetID_ALMACENIsNull(const aValue: Boolean);
function GetNOMBRE_ALMACENValue: String;
procedure SetNOMBRE_ALMACENValue(const aValue: String);
function GetNOMBRE_ALMACENIsNull: Boolean;
procedure SetNOMBRE_ALMACENIsNull(const aValue: Boolean);
function GetID_FACTURAValue: Integer;
procedure SetID_FACTURAValue(const aValue: Integer);
function GetID_FACTURAIsNull: Boolean;
procedure SetID_FACTURAIsNull(const aValue: Boolean);
function GetREF_PEDIDOValue: String;
procedure SetREF_PEDIDOValue(const aValue: String);
function GetREF_PEDIDOIsNull: Boolean;
procedure SetREF_PEDIDOIsNull(const aValue: Boolean);
function GetCALLEValue: String;
procedure SetCALLEValue(const aValue: String);
function GetCALLEIsNull: Boolean;
procedure SetCALLEIsNull(const aValue: Boolean);
function GetREF_FACTURAValue: String;
procedure SetREF_FACTURAValue(const aValue: String);
function GetREF_FACTURAIsNull: Boolean;
procedure SetREF_FACTURAIsNull(const aValue: Boolean);
function GetCODIGO_POSTALValue: String;
procedure SetCODIGO_POSTALValue(const aValue: String);
function GetCODIGO_POSTALIsNull: Boolean;
procedure SetCODIGO_POSTALIsNull(const aValue: Boolean);
function GetPOBLACIONValue: String;
procedure SetPOBLACIONValue(const aValue: String);
function GetPOBLACIONIsNull: Boolean;
procedure SetPOBLACIONIsNull(const aValue: Boolean);
function GetPROVINCIAValue: String;
procedure SetPROVINCIAValue(const aValue: String);
function GetPROVINCIAIsNull: Boolean;
procedure SetPROVINCIAIsNull(const aValue: Boolean);
function GetPERSONA_CONTACTOValue: String;
procedure SetPERSONA_CONTACTOValue(const aValue: String);
function GetPERSONA_CONTACTOIsNull: Boolean;
procedure SetPERSONA_CONTACTOIsNull(const aValue: Boolean);
function GetTELEFONOValue: String;
procedure SetTELEFONOValue(const aValue: String);
function GetTELEFONOIsNull: Boolean;
procedure SetTELEFONOIsNull(const aValue: Boolean);
function GetBASE_IMPONIBLEValue: Currency;
procedure SetBASE_IMPONIBLEValue(const aValue: Currency);
function GetBASE_IMPONIBLEIsNull: Boolean;
procedure SetBASE_IMPONIBLEIsNull(const aValue: Boolean);
function GetIMPORTE_NETOValue: Currency;
procedure SetIMPORTE_NETOValue(const aValue: Currency);
function GetIMPORTE_NETOIsNull: Boolean;
procedure SetIMPORTE_NETOIsNull(const aValue: Boolean);
function GetIMPORTE_PORTEValue: Currency;
procedure SetIMPORTE_PORTEValue(const aValue: Currency);
function GetIMPORTE_PORTEIsNull: Boolean;
procedure SetIMPORTE_PORTEIsNull(const aValue: Boolean);
function GetDESCUENTOValue: Float;
procedure SetDESCUENTOValue(const aValue: Float);
function GetDESCUENTOIsNull: Boolean;
procedure SetDESCUENTOIsNull(const aValue: Boolean);
function GetIMPORTE_DESCUENTOValue: Currency;
procedure SetIMPORTE_DESCUENTOValue(const aValue: Currency);
function GetIMPORTE_DESCUENTOIsNull: Boolean;
procedure SetIMPORTE_DESCUENTOIsNull(const aValue: Boolean);
function GetIVAValue: Float;
procedure SetIVAValue(const aValue: Float);
function GetIVAIsNull: Boolean;
procedure SetIVAIsNull(const aValue: Boolean);
function GetIMPORTE_IVAValue: Currency;
procedure SetIMPORTE_IVAValue(const aValue: Currency);
function GetIMPORTE_IVAIsNull: Boolean;
procedure SetIMPORTE_IVAIsNull(const aValue: Boolean);
function GetIMPORTE_TOTALValue: Currency;
procedure SetIMPORTE_TOTALValue(const aValue: Currency);
function GetIMPORTE_TOTALIsNull: Boolean;
procedure SetIMPORTE_TOTALIsNull(const aValue: Boolean);
function GetOBSERVACIONESValue: IROStrings;
function GetOBSERVACIONESIsNull: Boolean;
procedure SetOBSERVACIONESIsNull(const aValue: Boolean);
function GetINCIDENCIASValue: IROStrings;
function GetINCIDENCIASIsNull: Boolean;
procedure SetINCIDENCIASIsNull(const aValue: Boolean);
function GetINCIDENCIAS_ACTIVASValue: Integer;
procedure SetINCIDENCIAS_ACTIVASValue(const aValue: Integer);
function GetINCIDENCIAS_ACTIVASIsNull: Boolean;
procedure SetINCIDENCIAS_ACTIVASIsNull(const aValue: Boolean);
function GetFECHA_ALTAValue: DateTime;
procedure SetFECHA_ALTAValue(const aValue: DateTime);
function GetFECHA_ALTAIsNull: Boolean;
procedure SetFECHA_ALTAIsNull(const aValue: Boolean);
function GetFECHA_MODIFICACIONValue: DateTime;
procedure SetFECHA_MODIFICACIONValue(const aValue: DateTime);
function GetFECHA_MODIFICACIONIsNull: Boolean;
procedure SetFECHA_MODIFICACIONIsNull(const aValue: Boolean);
function GetUSUARIOValue: String;
procedure SetUSUARIOValue(const aValue: String);
function GetUSUARIOIsNull: Boolean;
procedure SetUSUARIOIsNull(const aValue: Boolean);
function GetNOMBREValue: String;
procedure SetNOMBREValue(const aValue: String);
function GetNOMBREIsNull: Boolean;
procedure SetNOMBREIsNull(const aValue: Boolean);
function GetID_FORMA_PAGOValue: Integer;
procedure SetID_FORMA_PAGOValue(const aValue: Integer);
function GetID_FORMA_PAGOIsNull: Boolean;
procedure SetID_FORMA_PAGOIsNull(const aValue: Boolean);
function GetFECHA_PREVISTA_ENVIOValue: DateTime;
procedure SetFECHA_PREVISTA_ENVIOValue(const aValue: DateTime);
function GetFECHA_PREVISTA_ENVIOIsNull: Boolean;
procedure SetFECHA_PREVISTA_ENVIOIsNull(const aValue: Boolean);
function GetFECHA_ENVIOValue: DateTime;
procedure SetFECHA_ENVIOValue(const aValue: DateTime);
function GetFECHA_ENVIOIsNull: Boolean;
procedure SetFECHA_ENVIOIsNull(const aValue: Boolean);
function GetFECHA_RECEPCIONValue: DateTime;
procedure SetFECHA_RECEPCIONValue(const aValue: DateTime);
function GetFECHA_RECEPCIONIsNull: Boolean;
procedure SetFECHA_RECEPCIONIsNull(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 ID_CLIENTE: Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
property ID_CLIENTEIsNull: Boolean read GetID_CLIENTEIsNull write SetID_CLIENTEIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property FECHA_ALBARAN: DateTime read GetFECHA_ALBARANValue write SetFECHA_ALBARANValue;
property FECHA_ALBARANIsNull: Boolean read GetFECHA_ALBARANIsNull write SetFECHA_ALBARANIsNull;
property ID_PEDIDO: Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
property ID_PEDIDOIsNull: Boolean read GetID_PEDIDOIsNull write SetID_PEDIDOIsNull;
property REFERENCIA_CLIENTE: String read GetREFERENCIA_CLIENTEValue write SetREFERENCIA_CLIENTEValue;
property REFERENCIA_CLIENTEIsNull: Boolean read GetREFERENCIA_CLIENTEIsNull write SetREFERENCIA_CLIENTEIsNull;
property TIPO: String read GetTIPOValue write SetTIPOValue;
property TIPOIsNull: Boolean read GetTIPOIsNull write SetTIPOIsNull;
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
property ID_ALMACEN: Integer read GetID_ALMACENValue write SetID_ALMACENValue;
property ID_ALMACENIsNull: Boolean read GetID_ALMACENIsNull write SetID_ALMACENIsNull;
property NOMBRE_ALMACEN: String read GetNOMBRE_ALMACENValue write SetNOMBRE_ALMACENValue;
property NOMBRE_ALMACENIsNull: Boolean read GetNOMBRE_ALMACENIsNull write SetNOMBRE_ALMACENIsNull;
property ID_FACTURA: Integer read GetID_FACTURAValue write SetID_FACTURAValue;
property ID_FACTURAIsNull: Boolean read GetID_FACTURAIsNull write SetID_FACTURAIsNull;
property REF_PEDIDO: String read GetREF_PEDIDOValue write SetREF_PEDIDOValue;
property REF_PEDIDOIsNull: Boolean read GetREF_PEDIDOIsNull write SetREF_PEDIDOIsNull;
property CALLE: String read GetCALLEValue write SetCALLEValue;
property CALLEIsNull: Boolean read GetCALLEIsNull write SetCALLEIsNull;
property REF_FACTURA: String read GetREF_FACTURAValue write SetREF_FACTURAValue;
property REF_FACTURAIsNull: Boolean read GetREF_FACTURAIsNull write SetREF_FACTURAIsNull;
property CODIGO_POSTAL: String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue;
property CODIGO_POSTALIsNull: Boolean read GetCODIGO_POSTALIsNull write SetCODIGO_POSTALIsNull;
property POBLACION: String read GetPOBLACIONValue write SetPOBLACIONValue;
property POBLACIONIsNull: Boolean read GetPOBLACIONIsNull write SetPOBLACIONIsNull;
property PROVINCIA: String read GetPROVINCIAValue write SetPROVINCIAValue;
property PROVINCIAIsNull: Boolean read GetPROVINCIAIsNull write SetPROVINCIAIsNull;
property PERSONA_CONTACTO: String read GetPERSONA_CONTACTOValue write SetPERSONA_CONTACTOValue;
property PERSONA_CONTACTOIsNull: Boolean read GetPERSONA_CONTACTOIsNull write SetPERSONA_CONTACTOIsNull;
property TELEFONO: String read GetTELEFONOValue write SetTELEFONOValue;
property TELEFONOIsNull: Boolean read GetTELEFONOIsNull write SetTELEFONOIsNull;
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
property BASE_IMPONIBLEIsNull: Boolean read GetBASE_IMPONIBLEIsNull write SetBASE_IMPONIBLEIsNull;
property IMPORTE_NETO: Currency read GetIMPORTE_NETOValue write SetIMPORTE_NETOValue;
property IMPORTE_NETOIsNull: Boolean read GetIMPORTE_NETOIsNull write SetIMPORTE_NETOIsNull;
property IMPORTE_PORTE: Currency read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
property IMPORTE_PORTEIsNull: Boolean read GetIMPORTE_PORTEIsNull write SetIMPORTE_PORTEIsNull;
property DESCUENTO: Float read GetDESCUENTOValue write SetDESCUENTOValue;
property DESCUENTOIsNull: Boolean read GetDESCUENTOIsNull write SetDESCUENTOIsNull;
property IMPORTE_DESCUENTO: Currency read GetIMPORTE_DESCUENTOValue write SetIMPORTE_DESCUENTOValue;
property IMPORTE_DESCUENTOIsNull: Boolean read GetIMPORTE_DESCUENTOIsNull write SetIMPORTE_DESCUENTOIsNull;
property IVA: Float read GetIVAValue write SetIVAValue;
property IVAIsNull: Boolean read GetIVAIsNull write SetIVAIsNull;
property IMPORTE_IVA: Currency read GetIMPORTE_IVAValue write SetIMPORTE_IVAValue;
property IMPORTE_IVAIsNull: Boolean read GetIMPORTE_IVAIsNull write SetIMPORTE_IVAIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
property OBSERVACIONES: IROStrings read GetOBSERVACIONESValue;
property OBSERVACIONESIsNull: Boolean read GetOBSERVACIONESIsNull write SetOBSERVACIONESIsNull;
property INCIDENCIAS: IROStrings read GetINCIDENCIASValue;
property INCIDENCIASIsNull: Boolean read GetINCIDENCIASIsNull write SetINCIDENCIASIsNull;
property INCIDENCIAS_ACTIVAS: Integer read GetINCIDENCIAS_ACTIVASValue write SetINCIDENCIAS_ACTIVASValue;
property INCIDENCIAS_ACTIVASIsNull: Boolean read GetINCIDENCIAS_ACTIVASIsNull write SetINCIDENCIAS_ACTIVASIsNull;
property FECHA_ALTA: DateTime read GetFECHA_ALTAValue write SetFECHA_ALTAValue;
property FECHA_ALTAIsNull: Boolean read GetFECHA_ALTAIsNull write SetFECHA_ALTAIsNull;
property FECHA_MODIFICACION: DateTime read GetFECHA_MODIFICACIONValue write SetFECHA_MODIFICACIONValue;
property FECHA_MODIFICACIONIsNull: Boolean read GetFECHA_MODIFICACIONIsNull write SetFECHA_MODIFICACIONIsNull;
property USUARIO: String read GetUSUARIOValue write SetUSUARIOValue;
property USUARIOIsNull: Boolean read GetUSUARIOIsNull write SetUSUARIOIsNull;
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
property ID_FORMA_PAGO: Integer read GetID_FORMA_PAGOValue write SetID_FORMA_PAGOValue;
property ID_FORMA_PAGOIsNull: Boolean read GetID_FORMA_PAGOIsNull write SetID_FORMA_PAGOIsNull;
property FECHA_PREVISTA_ENVIO: DateTime read GetFECHA_PREVISTA_ENVIOValue write SetFECHA_PREVISTA_ENVIOValue;
property FECHA_PREVISTA_ENVIOIsNull: Boolean read GetFECHA_PREVISTA_ENVIOIsNull write SetFECHA_PREVISTA_ENVIOIsNull;
property FECHA_ENVIO: DateTime read GetFECHA_ENVIOValue write SetFECHA_ENVIOValue;
property FECHA_ENVIOIsNull: Boolean read GetFECHA_ENVIOIsNull write SetFECHA_ENVIOIsNull;
property FECHA_RECEPCION: DateTime read GetFECHA_RECEPCIONValue write SetFECHA_RECEPCIONValue;
property FECHA_RECEPCIONIsNull: Boolean read GetFECHA_RECEPCIONIsNull write SetFECHA_RECEPCIONIsNull;
end;
{ TAlbaranesCliente_RefreshDataTableRules }
TAlbaranesCliente_RefreshDataTableRules = class(TIntfObjectDADataTableRules, IAlbaranesCliente_Refresh)
private
f_OBSERVACIONES: IROStrings;
f_INCIDENCIAS: IROStrings;
procedure OBSERVACIONES_OnChange(Sender: TObject);
procedure INCIDENCIAS_OnChange(Sender: TObject);
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_CLIENTEValue: Integer; virtual;
procedure SetID_CLIENTEValue(const aValue: Integer); virtual;
function GetID_CLIENTEIsNull: Boolean; virtual;
procedure SetID_CLIENTEIsNull(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_ALBARANValue: DateTime; virtual;
procedure SetFECHA_ALBARANValue(const aValue: DateTime); virtual;
function GetFECHA_ALBARANIsNull: Boolean; virtual;
procedure SetFECHA_ALBARANIsNull(const aValue: Boolean); virtual;
function GetID_PEDIDOValue: Integer; virtual;
procedure SetID_PEDIDOValue(const aValue: Integer); virtual;
function GetID_PEDIDOIsNull: Boolean; virtual;
procedure SetID_PEDIDOIsNull(const aValue: Boolean); virtual;
function GetREFERENCIA_CLIENTEValue: String; virtual;
procedure SetREFERENCIA_CLIENTEValue(const aValue: String); virtual;
function GetREFERENCIA_CLIENTEIsNull: Boolean; virtual;
procedure SetREFERENCIA_CLIENTEIsNull(const aValue: Boolean); virtual;
function GetTIPOValue: String; virtual;
procedure SetTIPOValue(const aValue: String); virtual;
function GetTIPOIsNull: Boolean; virtual;
procedure SetTIPOIsNull(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 GetID_ALMACENValue: Integer; virtual;
procedure SetID_ALMACENValue(const aValue: Integer); virtual;
function GetID_ALMACENIsNull: Boolean; virtual;
procedure SetID_ALMACENIsNull(const aValue: Boolean); virtual;
function GetNOMBRE_ALMACENValue: String; virtual;
procedure SetNOMBRE_ALMACENValue(const aValue: String); virtual;
function GetNOMBRE_ALMACENIsNull: Boolean; virtual;
procedure SetNOMBRE_ALMACENIsNull(const aValue: Boolean); virtual;
function GetID_FACTURAValue: Integer; virtual;
procedure SetID_FACTURAValue(const aValue: Integer); virtual;
function GetID_FACTURAIsNull: Boolean; virtual;
procedure SetID_FACTURAIsNull(const aValue: Boolean); virtual;
function GetREF_PEDIDOValue: String; virtual;
procedure SetREF_PEDIDOValue(const aValue: String); virtual;
function GetREF_PEDIDOIsNull: Boolean; virtual;
procedure SetREF_PEDIDOIsNull(const aValue: Boolean); virtual;
function GetCALLEValue: String; virtual;
procedure SetCALLEValue(const aValue: String); virtual;
function GetCALLEIsNull: Boolean; virtual;
procedure SetCALLEIsNull(const aValue: Boolean); virtual;
function GetREF_FACTURAValue: String; virtual;
procedure SetREF_FACTURAValue(const aValue: String); virtual;
function GetREF_FACTURAIsNull: Boolean; virtual;
procedure SetREF_FACTURAIsNull(const aValue: Boolean); virtual;
function GetCODIGO_POSTALValue: String; virtual;
procedure SetCODIGO_POSTALValue(const aValue: String); virtual;
function GetCODIGO_POSTALIsNull: Boolean; virtual;
procedure SetCODIGO_POSTALIsNull(const aValue: Boolean); virtual;
function GetPOBLACIONValue: String; virtual;
procedure SetPOBLACIONValue(const aValue: String); virtual;
function GetPOBLACIONIsNull: Boolean; virtual;
procedure SetPOBLACIONIsNull(const aValue: Boolean); virtual;
function GetPROVINCIAValue: String; virtual;
procedure SetPROVINCIAValue(const aValue: String); virtual;
function GetPROVINCIAIsNull: Boolean; virtual;
procedure SetPROVINCIAIsNull(const aValue: Boolean); virtual;
function GetPERSONA_CONTACTOValue: String; virtual;
procedure SetPERSONA_CONTACTOValue(const aValue: String); virtual;
function GetPERSONA_CONTACTOIsNull: Boolean; virtual;
procedure SetPERSONA_CONTACTOIsNull(const aValue: Boolean); virtual;
function GetTELEFONOValue: String; virtual;
procedure SetTELEFONOValue(const aValue: String); virtual;
function GetTELEFONOIsNull: Boolean; virtual;
procedure SetTELEFONOIsNull(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 GetIMPORTE_NETOValue: Currency; virtual;
procedure SetIMPORTE_NETOValue(const aValue: Currency); virtual;
function GetIMPORTE_NETOIsNull: Boolean; virtual;
procedure SetIMPORTE_NETOIsNull(const aValue: Boolean); virtual;
function GetIMPORTE_PORTEValue: Currency; virtual;
procedure SetIMPORTE_PORTEValue(const aValue: Currency); virtual;
function GetIMPORTE_PORTEIsNull: Boolean; virtual;
procedure SetIMPORTE_PORTEIsNull(const aValue: Boolean); virtual;
function GetDESCUENTOValue: Float; virtual;
procedure SetDESCUENTOValue(const aValue: Float); virtual;
function GetDESCUENTOIsNull: Boolean; virtual;
procedure SetDESCUENTOIsNull(const aValue: Boolean); virtual;
function GetIMPORTE_DESCUENTOValue: Currency; virtual;
procedure SetIMPORTE_DESCUENTOValue(const aValue: Currency); virtual;
function GetIMPORTE_DESCUENTOIsNull: Boolean; virtual;
procedure SetIMPORTE_DESCUENTOIsNull(const aValue: Boolean); virtual;
function GetIVAValue: Float; virtual;
procedure SetIVAValue(const aValue: Float); virtual;
function GetIVAIsNull: Boolean; virtual;
procedure SetIVAIsNull(const aValue: Boolean); virtual;
function GetIMPORTE_IVAValue: Currency; virtual;
procedure SetIMPORTE_IVAValue(const aValue: Currency); virtual;
function GetIMPORTE_IVAIsNull: Boolean; virtual;
procedure SetIMPORTE_IVAIsNull(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 GetOBSERVACIONESValue: IROStrings; virtual;
function GetOBSERVACIONESIsNull: Boolean; virtual;
procedure SetOBSERVACIONESIsNull(const aValue: Boolean); virtual;
function GetINCIDENCIASValue: IROStrings; virtual;
function GetINCIDENCIASIsNull: Boolean; virtual;
procedure SetINCIDENCIASIsNull(const aValue: Boolean); virtual;
function GetINCIDENCIAS_ACTIVASValue: Integer; virtual;
procedure SetINCIDENCIAS_ACTIVASValue(const aValue: Integer); virtual;
function GetINCIDENCIAS_ACTIVASIsNull: Boolean; virtual;
procedure SetINCIDENCIAS_ACTIVASIsNull(const aValue: Boolean); virtual;
function GetFECHA_ALTAValue: DateTime; virtual;
procedure SetFECHA_ALTAValue(const aValue: DateTime); virtual;
function GetFECHA_ALTAIsNull: Boolean; virtual;
procedure SetFECHA_ALTAIsNull(const aValue: Boolean); virtual;
function GetFECHA_MODIFICACIONValue: DateTime; virtual;
procedure SetFECHA_MODIFICACIONValue(const aValue: DateTime); virtual;
function GetFECHA_MODIFICACIONIsNull: Boolean; virtual;
procedure SetFECHA_MODIFICACIONIsNull(const aValue: Boolean); virtual;
function GetUSUARIOValue: String; virtual;
procedure SetUSUARIOValue(const aValue: String); virtual;
function GetUSUARIOIsNull: Boolean; virtual;
procedure SetUSUARIOIsNull(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_FORMA_PAGOValue: Integer; virtual;
procedure SetID_FORMA_PAGOValue(const aValue: Integer); virtual;
function GetID_FORMA_PAGOIsNull: Boolean; virtual;
procedure SetID_FORMA_PAGOIsNull(const aValue: Boolean); virtual;
function GetFECHA_PREVISTA_ENVIOValue: DateTime; virtual;
procedure SetFECHA_PREVISTA_ENVIOValue(const aValue: DateTime); virtual;
function GetFECHA_PREVISTA_ENVIOIsNull: Boolean; virtual;
procedure SetFECHA_PREVISTA_ENVIOIsNull(const aValue: Boolean); virtual;
function GetFECHA_ENVIOValue: DateTime; virtual;
procedure SetFECHA_ENVIOValue(const aValue: DateTime); virtual;
function GetFECHA_ENVIOIsNull: Boolean; virtual;
procedure SetFECHA_ENVIOIsNull(const aValue: Boolean); virtual;
function GetFECHA_RECEPCIONValue: DateTime; virtual;
procedure SetFECHA_RECEPCIONValue(const aValue: DateTime); virtual;
function GetFECHA_RECEPCIONIsNull: Boolean; virtual;
procedure SetFECHA_RECEPCIONIsNull(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 ID_CLIENTE: Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
property ID_CLIENTEIsNull: Boolean read GetID_CLIENTEIsNull write SetID_CLIENTEIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property FECHA_ALBARAN: DateTime read GetFECHA_ALBARANValue write SetFECHA_ALBARANValue;
property FECHA_ALBARANIsNull: Boolean read GetFECHA_ALBARANIsNull write SetFECHA_ALBARANIsNull;
property ID_PEDIDO: Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
property ID_PEDIDOIsNull: Boolean read GetID_PEDIDOIsNull write SetID_PEDIDOIsNull;
property REFERENCIA_CLIENTE: String read GetREFERENCIA_CLIENTEValue write SetREFERENCIA_CLIENTEValue;
property REFERENCIA_CLIENTEIsNull: Boolean read GetREFERENCIA_CLIENTEIsNull write SetREFERENCIA_CLIENTEIsNull;
property TIPO: String read GetTIPOValue write SetTIPOValue;
property TIPOIsNull: Boolean read GetTIPOIsNull write SetTIPOIsNull;
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
property ID_ALMACEN: Integer read GetID_ALMACENValue write SetID_ALMACENValue;
property ID_ALMACENIsNull: Boolean read GetID_ALMACENIsNull write SetID_ALMACENIsNull;
property NOMBRE_ALMACEN: String read GetNOMBRE_ALMACENValue write SetNOMBRE_ALMACENValue;
property NOMBRE_ALMACENIsNull: Boolean read GetNOMBRE_ALMACENIsNull write SetNOMBRE_ALMACENIsNull;
property ID_FACTURA: Integer read GetID_FACTURAValue write SetID_FACTURAValue;
property ID_FACTURAIsNull: Boolean read GetID_FACTURAIsNull write SetID_FACTURAIsNull;
property REF_PEDIDO: String read GetREF_PEDIDOValue write SetREF_PEDIDOValue;
property REF_PEDIDOIsNull: Boolean read GetREF_PEDIDOIsNull write SetREF_PEDIDOIsNull;
property CALLE: String read GetCALLEValue write SetCALLEValue;
property CALLEIsNull: Boolean read GetCALLEIsNull write SetCALLEIsNull;
property REF_FACTURA: String read GetREF_FACTURAValue write SetREF_FACTURAValue;
property REF_FACTURAIsNull: Boolean read GetREF_FACTURAIsNull write SetREF_FACTURAIsNull;
property CODIGO_POSTAL: String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue;
property CODIGO_POSTALIsNull: Boolean read GetCODIGO_POSTALIsNull write SetCODIGO_POSTALIsNull;
property POBLACION: String read GetPOBLACIONValue write SetPOBLACIONValue;
property POBLACIONIsNull: Boolean read GetPOBLACIONIsNull write SetPOBLACIONIsNull;
property PROVINCIA: String read GetPROVINCIAValue write SetPROVINCIAValue;
property PROVINCIAIsNull: Boolean read GetPROVINCIAIsNull write SetPROVINCIAIsNull;
property PERSONA_CONTACTO: String read GetPERSONA_CONTACTOValue write SetPERSONA_CONTACTOValue;
property PERSONA_CONTACTOIsNull: Boolean read GetPERSONA_CONTACTOIsNull write SetPERSONA_CONTACTOIsNull;
property TELEFONO: String read GetTELEFONOValue write SetTELEFONOValue;
property TELEFONOIsNull: Boolean read GetTELEFONOIsNull write SetTELEFONOIsNull;
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
property BASE_IMPONIBLEIsNull: Boolean read GetBASE_IMPONIBLEIsNull write SetBASE_IMPONIBLEIsNull;
property IMPORTE_NETO: Currency read GetIMPORTE_NETOValue write SetIMPORTE_NETOValue;
property IMPORTE_NETOIsNull: Boolean read GetIMPORTE_NETOIsNull write SetIMPORTE_NETOIsNull;
property IMPORTE_PORTE: Currency read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
property IMPORTE_PORTEIsNull: Boolean read GetIMPORTE_PORTEIsNull write SetIMPORTE_PORTEIsNull;
property DESCUENTO: Float read GetDESCUENTOValue write SetDESCUENTOValue;
property DESCUENTOIsNull: Boolean read GetDESCUENTOIsNull write SetDESCUENTOIsNull;
property IMPORTE_DESCUENTO: Currency read GetIMPORTE_DESCUENTOValue write SetIMPORTE_DESCUENTOValue;
property IMPORTE_DESCUENTOIsNull: Boolean read GetIMPORTE_DESCUENTOIsNull write SetIMPORTE_DESCUENTOIsNull;
property IVA: Float read GetIVAValue write SetIVAValue;
property IVAIsNull: Boolean read GetIVAIsNull write SetIVAIsNull;
property IMPORTE_IVA: Currency read GetIMPORTE_IVAValue write SetIMPORTE_IVAValue;
property IMPORTE_IVAIsNull: Boolean read GetIMPORTE_IVAIsNull write SetIMPORTE_IVAIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
property OBSERVACIONES: IROStrings read GetOBSERVACIONESValue;
property OBSERVACIONESIsNull: Boolean read GetOBSERVACIONESIsNull write SetOBSERVACIONESIsNull;
property INCIDENCIAS: IROStrings read GetINCIDENCIASValue;
property INCIDENCIASIsNull: Boolean read GetINCIDENCIASIsNull write SetINCIDENCIASIsNull;
property INCIDENCIAS_ACTIVAS: Integer read GetINCIDENCIAS_ACTIVASValue write SetINCIDENCIAS_ACTIVASValue;
property INCIDENCIAS_ACTIVASIsNull: Boolean read GetINCIDENCIAS_ACTIVASIsNull write SetINCIDENCIAS_ACTIVASIsNull;
property FECHA_ALTA: DateTime read GetFECHA_ALTAValue write SetFECHA_ALTAValue;
property FECHA_ALTAIsNull: Boolean read GetFECHA_ALTAIsNull write SetFECHA_ALTAIsNull;
property FECHA_MODIFICACION: DateTime read GetFECHA_MODIFICACIONValue write SetFECHA_MODIFICACIONValue;
property FECHA_MODIFICACIONIsNull: Boolean read GetFECHA_MODIFICACIONIsNull write SetFECHA_MODIFICACIONIsNull;
property USUARIO: String read GetUSUARIOValue write SetUSUARIOValue;
property USUARIOIsNull: Boolean read GetUSUARIOIsNull write SetUSUARIOIsNull;
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
property ID_FORMA_PAGO: Integer read GetID_FORMA_PAGOValue write SetID_FORMA_PAGOValue;
property ID_FORMA_PAGOIsNull: Boolean read GetID_FORMA_PAGOIsNull write SetID_FORMA_PAGOIsNull;
property FECHA_PREVISTA_ENVIO: DateTime read GetFECHA_PREVISTA_ENVIOValue write SetFECHA_PREVISTA_ENVIOValue;
property FECHA_PREVISTA_ENVIOIsNull: Boolean read GetFECHA_PREVISTA_ENVIOIsNull write SetFECHA_PREVISTA_ENVIOIsNull;
property FECHA_ENVIO: DateTime read GetFECHA_ENVIOValue write SetFECHA_ENVIOValue;
property FECHA_ENVIOIsNull: Boolean read GetFECHA_ENVIOIsNull write SetFECHA_ENVIOIsNull;
property FECHA_RECEPCION: DateTime read GetFECHA_RECEPCIONValue write SetFECHA_RECEPCIONValue;
property FECHA_RECEPCIONIsNull: Boolean read GetFECHA_RECEPCIONIsNull write SetFECHA_RECEPCIONIsNull;
public
constructor Create(aDataTable: TDADataTable); override;
destructor Destroy; override;
end;
implementation
uses Variants, uROBinaryHelpers;
{ TDarReferenciaDataTableRules }
constructor TDarReferenciaDataTableRules.Create(aDataTable: TDADataTable);
begin
inherited;
end;
destructor TDarReferenciaDataTableRules.Destroy;
begin
inherited;
end;
function TDarReferenciaDataTableRules.GetVALORValue: String;
begin
result := DataTable.Fields[idx_DarReferenciaVALOR].AsString;
end;
procedure TDarReferenciaDataTableRules.SetVALORValue(const aValue: String);
begin
DataTable.Fields[idx_DarReferenciaVALOR].AsString := aValue;
end;
function TDarReferenciaDataTableRules.GetVALORIsNull: boolean;
begin
result := DataTable.Fields[idx_DarReferenciaVALOR].IsNull;
end;
procedure TDarReferenciaDataTableRules.SetVALORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_DarReferenciaVALOR].AsVariant := Null;
end;
{ TAlbaranesClienteDataTableRules }
constructor TAlbaranesClienteDataTableRules.Create(aDataTable: TDADataTable);
var
StrList: TStringList;
begin
inherited;
StrList := TStringList.Create;
StrList.OnChange := OBSERVACIONES_OnChange;
f_OBSERVACIONES := NewROStrings(StrList,True);
StrList := TStringList.Create;
StrList.OnChange := INCIDENCIAS_OnChange;
f_INCIDENCIAS := NewROStrings(StrList,True);
end;
destructor TAlbaranesClienteDataTableRules.Destroy;
begin
inherited;
end;
procedure TAlbaranesClienteDataTableRules.OBSERVACIONES_OnChange(Sender: TObject);
begin
if DataTable.Editing then DataTable.Fields[idx_AlbaranesClienteOBSERVACIONES].AsVariant := TStringList(Sender).Text;
end;
procedure TAlbaranesClienteDataTableRules.INCIDENCIAS_OnChange(Sender: TObject);
begin
if DataTable.Editing then DataTable.Fields[idx_AlbaranesClienteINCIDENCIAS].AsVariant := TStringList(Sender).Text;
end;
function TAlbaranesClienteDataTableRules.GetIDValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesClienteID].AsInteger;
end;
procedure TAlbaranesClienteDataTableRules.SetIDValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesClienteID].AsInteger := aValue;
end;
function TAlbaranesClienteDataTableRules.GetIDIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteID].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetIDIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteID].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetID_EMPRESAValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_EMPRESA].AsInteger;
end;
procedure TAlbaranesClienteDataTableRules.SetID_EMPRESAValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesClienteID_EMPRESA].AsInteger := aValue;
end;
function TAlbaranesClienteDataTableRules.GetID_EMPRESAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_EMPRESA].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetID_EMPRESAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteID_EMPRESA].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetID_CLIENTEValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_CLIENTE].AsInteger;
end;
procedure TAlbaranesClienteDataTableRules.SetID_CLIENTEValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesClienteID_CLIENTE].AsInteger := aValue;
end;
function TAlbaranesClienteDataTableRules.GetID_CLIENTEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_CLIENTE].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetID_CLIENTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteID_CLIENTE].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetNOMBREValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteNOMBRE].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetNOMBREValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteNOMBRE].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetNOMBREIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteNOMBRE].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetNOMBREIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteNOMBRE].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_ALBARANValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_ALBARAN].AsDateTime;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_ALBARANValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesClienteFECHA_ALBARAN].AsDateTime := aValue;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_ALBARANIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_ALBARAN].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_ALBARANIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteFECHA_ALBARAN].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetREFERENCIAValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteREFERENCIA].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetREFERENCIAValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteREFERENCIA].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetREFERENCIAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteREFERENCIA].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetREFERENCIAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteREFERENCIA].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetREFERENCIA_CLIENTEValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteREFERENCIA_CLIENTE].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetREFERENCIA_CLIENTEValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteREFERENCIA_CLIENTE].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetREFERENCIA_CLIENTEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteREFERENCIA_CLIENTE].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetREFERENCIA_CLIENTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteREFERENCIA_CLIENTE].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetTIPOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteTIPO].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetTIPOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteTIPO].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetTIPOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteTIPO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetTIPOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteTIPO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetSITUACIONValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteSITUACION].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetSITUACIONValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteSITUACION].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetSITUACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteSITUACION].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetSITUACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteSITUACION].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetID_ALMACENValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_ALMACEN].AsInteger;
end;
procedure TAlbaranesClienteDataTableRules.SetID_ALMACENValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesClienteID_ALMACEN].AsInteger := aValue;
end;
function TAlbaranesClienteDataTableRules.GetID_ALMACENIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_ALMACEN].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetID_ALMACENIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteID_ALMACEN].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetNOMBRE_ALMACENValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteNOMBRE_ALMACEN].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetNOMBRE_ALMACENValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteNOMBRE_ALMACEN].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetNOMBRE_ALMACENIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteNOMBRE_ALMACEN].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetNOMBRE_ALMACENIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteNOMBRE_ALMACEN].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetID_PEDIDOValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_PEDIDO].AsInteger;
end;
procedure TAlbaranesClienteDataTableRules.SetID_PEDIDOValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesClienteID_PEDIDO].AsInteger := aValue;
end;
function TAlbaranesClienteDataTableRules.GetID_PEDIDOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_PEDIDO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetID_PEDIDOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteID_PEDIDO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetREF_PEDIDOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteREF_PEDIDO].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetREF_PEDIDOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteREF_PEDIDO].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetREF_PEDIDOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteREF_PEDIDO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetREF_PEDIDOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteREF_PEDIDO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetID_FACTURAValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_FACTURA].AsInteger;
end;
procedure TAlbaranesClienteDataTableRules.SetID_FACTURAValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesClienteID_FACTURA].AsInteger := aValue;
end;
function TAlbaranesClienteDataTableRules.GetID_FACTURAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_FACTURA].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetID_FACTURAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteID_FACTURA].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetREF_FACTURAValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteREF_FACTURA].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetREF_FACTURAValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteREF_FACTURA].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetREF_FACTURAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteREF_FACTURA].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetREF_FACTURAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteREF_FACTURA].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetCALLEValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteCALLE].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetCALLEValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteCALLE].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetCALLEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteCALLE].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetCALLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteCALLE].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetCODIGO_POSTALValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteCODIGO_POSTAL].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetCODIGO_POSTALValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteCODIGO_POSTAL].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetCODIGO_POSTALIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteCODIGO_POSTAL].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetCODIGO_POSTALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteCODIGO_POSTAL].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetPOBLACIONValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClientePOBLACION].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetPOBLACIONValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClientePOBLACION].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetPOBLACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClientePOBLACION].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetPOBLACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClientePOBLACION].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetPROVINCIAValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClientePROVINCIA].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetPROVINCIAValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClientePROVINCIA].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetPROVINCIAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClientePROVINCIA].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetPROVINCIAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClientePROVINCIA].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetPERSONA_CONTACTOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClientePERSONA_CONTACTO].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetPERSONA_CONTACTOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClientePERSONA_CONTACTO].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetPERSONA_CONTACTOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClientePERSONA_CONTACTO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetPERSONA_CONTACTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClientePERSONA_CONTACTO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetTELEFONOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteTELEFONO].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetTELEFONOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteTELEFONO].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetTELEFONOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteTELEFONO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetTELEFONOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteTELEFONO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetIMPORTE_NETOValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesClienteIMPORTE_NETO].AsCurrency;
end;
procedure TAlbaranesClienteDataTableRules.SetIMPORTE_NETOValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesClienteIMPORTE_NETO].AsCurrency := aValue;
end;
function TAlbaranesClienteDataTableRules.GetIMPORTE_NETOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteIMPORTE_NETO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetIMPORTE_NETOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteIMPORTE_NETO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetIMPORTE_PORTEValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesClienteIMPORTE_PORTE].AsCurrency;
end;
procedure TAlbaranesClienteDataTableRules.SetIMPORTE_PORTEValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesClienteIMPORTE_PORTE].AsCurrency := aValue;
end;
function TAlbaranesClienteDataTableRules.GetIMPORTE_PORTEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteIMPORTE_PORTE].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetIMPORTE_PORTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteIMPORTE_PORTE].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetDESCUENTOValue: Float;
begin
result := DataTable.Fields[idx_AlbaranesClienteDESCUENTO].AsFloat;
end;
procedure TAlbaranesClienteDataTableRules.SetDESCUENTOValue(const aValue: Float);
begin
DataTable.Fields[idx_AlbaranesClienteDESCUENTO].AsFloat := aValue;
end;
function TAlbaranesClienteDataTableRules.GetDESCUENTOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteDESCUENTO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetDESCUENTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteDESCUENTO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetIMPORTE_DESCUENTOValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesClienteIMPORTE_DESCUENTO].AsCurrency;
end;
procedure TAlbaranesClienteDataTableRules.SetIMPORTE_DESCUENTOValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesClienteIMPORTE_DESCUENTO].AsCurrency := aValue;
end;
function TAlbaranesClienteDataTableRules.GetIMPORTE_DESCUENTOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteIMPORTE_DESCUENTO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetIMPORTE_DESCUENTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteIMPORTE_DESCUENTO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetBASE_IMPONIBLEValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesClienteBASE_IMPONIBLE].AsCurrency;
end;
procedure TAlbaranesClienteDataTableRules.SetBASE_IMPONIBLEValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesClienteBASE_IMPONIBLE].AsCurrency := aValue;
end;
function TAlbaranesClienteDataTableRules.GetBASE_IMPONIBLEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteBASE_IMPONIBLE].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetBASE_IMPONIBLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteBASE_IMPONIBLE].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetIVAValue: Float;
begin
result := DataTable.Fields[idx_AlbaranesClienteIVA].AsFloat;
end;
procedure TAlbaranesClienteDataTableRules.SetIVAValue(const aValue: Float);
begin
DataTable.Fields[idx_AlbaranesClienteIVA].AsFloat := aValue;
end;
function TAlbaranesClienteDataTableRules.GetIVAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteIVA].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetIVAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteIVA].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetIMPORTE_IVAValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesClienteIMPORTE_IVA].AsCurrency;
end;
procedure TAlbaranesClienteDataTableRules.SetIMPORTE_IVAValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesClienteIMPORTE_IVA].AsCurrency := aValue;
end;
function TAlbaranesClienteDataTableRules.GetIMPORTE_IVAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteIMPORTE_IVA].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetIMPORTE_IVAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteIMPORTE_IVA].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetIMPORTE_TOTALValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesClienteIMPORTE_TOTAL].AsCurrency;
end;
procedure TAlbaranesClienteDataTableRules.SetIMPORTE_TOTALValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesClienteIMPORTE_TOTAL].AsCurrency := aValue;
end;
function TAlbaranesClienteDataTableRules.GetIMPORTE_TOTALIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteIMPORTE_TOTAL].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetIMPORTE_TOTALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteIMPORTE_TOTAL].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetOBSERVACIONESValue: IROStrings;
begin
result := f_OBSERVACIONES;
result.Text := DataTable.Fields[idx_AlbaranesClienteOBSERVACIONES].AsString;
end;
function TAlbaranesClienteDataTableRules.GetOBSERVACIONESIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteOBSERVACIONES].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetOBSERVACIONESIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteOBSERVACIONES].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetINCIDENCIASValue: IROStrings;
begin
result := f_INCIDENCIAS;
result.Text := DataTable.Fields[idx_AlbaranesClienteINCIDENCIAS].AsString;
end;
function TAlbaranesClienteDataTableRules.GetINCIDENCIASIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteINCIDENCIAS].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetINCIDENCIASIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteINCIDENCIAS].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetINCIDENCIAS_ACTIVASValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesClienteINCIDENCIAS_ACTIVAS].AsInteger;
end;
procedure TAlbaranesClienteDataTableRules.SetINCIDENCIAS_ACTIVASValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesClienteINCIDENCIAS_ACTIVAS].AsInteger := aValue;
end;
function TAlbaranesClienteDataTableRules.GetINCIDENCIAS_ACTIVASIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteINCIDENCIAS_ACTIVAS].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetINCIDENCIAS_ACTIVASIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteINCIDENCIAS_ACTIVAS].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_ALTAValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_ALTA].AsDateTime;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_ALTAValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesClienteFECHA_ALTA].AsDateTime := aValue;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_ALTAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_ALTA].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_ALTAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteFECHA_ALTA].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_MODIFICACIONValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_MODIFICACION].AsDateTime;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesClienteFECHA_MODIFICACION].AsDateTime := aValue;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_MODIFICACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_MODIFICACION].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_MODIFICACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteFECHA_MODIFICACION].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetUSUARIOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesClienteUSUARIO].AsString;
end;
procedure TAlbaranesClienteDataTableRules.SetUSUARIOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesClienteUSUARIO].AsString := aValue;
end;
function TAlbaranesClienteDataTableRules.GetUSUARIOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteUSUARIO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetUSUARIOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteUSUARIO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetID_FORMA_PAGOValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_FORMA_PAGO].AsInteger;
end;
procedure TAlbaranesClienteDataTableRules.SetID_FORMA_PAGOValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesClienteID_FORMA_PAGO].AsInteger := aValue;
end;
function TAlbaranesClienteDataTableRules.GetID_FORMA_PAGOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteID_FORMA_PAGO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetID_FORMA_PAGOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteID_FORMA_PAGO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_PREVISTA_ENVIOValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_PREVISTA_ENVIO].AsDateTime;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_PREVISTA_ENVIOValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesClienteFECHA_PREVISTA_ENVIO].AsDateTime := aValue;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_PREVISTA_ENVIOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_PREVISTA_ENVIO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_PREVISTA_ENVIOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteFECHA_PREVISTA_ENVIO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_ENVIOValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_ENVIO].AsDateTime;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_ENVIOValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesClienteFECHA_ENVIO].AsDateTime := aValue;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_ENVIOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_ENVIO].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_ENVIOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteFECHA_ENVIO].AsVariant := Null;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_RECEPCIONValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_RECEPCION].AsDateTime;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_RECEPCIONValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesClienteFECHA_RECEPCION].AsDateTime := aValue;
end;
function TAlbaranesClienteDataTableRules.GetFECHA_RECEPCIONIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesClienteFECHA_RECEPCION].IsNull;
end;
procedure TAlbaranesClienteDataTableRules.SetFECHA_RECEPCIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesClienteFECHA_RECEPCION].AsVariant := Null;
end;
{ TAlbaranesCliente_DetallesDataTableRules }
constructor TAlbaranesCliente_DetallesDataTableRules.Create(aDataTable: TDADataTable);
begin
inherited;
end;
destructor TAlbaranesCliente_DetallesDataTableRules.Destroy;
begin
inherited;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetIDValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesID].AsInteger;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetIDValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesID].AsInteger := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetIDIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesID].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetIDIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesID].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetID_ALBARANValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesID_ALBARAN].AsInteger;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetID_ALBARANValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesID_ALBARAN].AsInteger := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetID_ALBARANIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesID_ALBARAN].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetID_ALBARANIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesID_ALBARAN].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetPOSICIONValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesPOSICION].AsInteger;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetPOSICIONValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesPOSICION].AsInteger := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetPOSICIONIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesPOSICION].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetPOSICIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesPOSICION].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetTIPO_DETALLEValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesTIPO_DETALLE].AsString;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetTIPO_DETALLEValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesTIPO_DETALLE].AsString := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetTIPO_DETALLEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesTIPO_DETALLE].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetTIPO_DETALLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesTIPO_DETALLE].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetID_ARTICULOValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesID_ARTICULO].AsInteger;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetID_ARTICULOValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesID_ARTICULO].AsInteger := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetID_ARTICULOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesID_ARTICULO].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetID_ARTICULOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesID_ARTICULO].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetCONCEPTOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesCONCEPTO].AsString;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetCONCEPTOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesCONCEPTO].AsString := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetCONCEPTOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesCONCEPTO].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetCONCEPTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesCONCEPTO].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetCANTIDADValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesCANTIDAD].AsInteger;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetCANTIDADValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesCANTIDAD].AsInteger := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetCANTIDADIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesCANTIDAD].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetCANTIDADIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesCANTIDAD].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetIMPORTE_UNIDADValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_UNIDAD].AsCurrency;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetIMPORTE_UNIDADValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_UNIDAD].AsCurrency := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetIMPORTE_UNIDADIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_UNIDAD].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetIMPORTE_UNIDADIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_UNIDAD].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetDESCUENTOValue: Float;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesDESCUENTO].AsFloat;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetDESCUENTOValue(const aValue: Float);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesDESCUENTO].AsFloat := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetDESCUENTOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesDESCUENTO].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetDESCUENTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesDESCUENTO].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetIMPORTE_PORTEValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_PORTE].AsCurrency;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetIMPORTE_PORTEValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_PORTE].AsCurrency := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetIMPORTE_PORTEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_PORTE].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetIMPORTE_PORTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_PORTE].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetIMPORTE_TOTALValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_TOTAL].AsCurrency;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetIMPORTE_TOTALValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_TOTAL].AsCurrency := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetIMPORTE_TOTALIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_TOTAL].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetIMPORTE_TOTALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesIMPORTE_TOTAL].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetVISIBLEValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesVISIBLE].AsInteger;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetVISIBLEValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesVISIBLE].AsInteger := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetVISIBLEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesVISIBLE].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetVISIBLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesVISIBLE].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetFECHA_ALTAValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesFECHA_ALTA].AsDateTime;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetFECHA_ALTAValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesFECHA_ALTA].AsDateTime := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetFECHA_ALTAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesFECHA_ALTA].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetFECHA_ALTAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesFECHA_ALTA].AsVariant := Null;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetFECHA_MODIFICACIONValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesFECHA_MODIFICACION].AsDateTime;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesCliente_DetallesFECHA_MODIFICACION].AsDateTime := aValue;
end;
function TAlbaranesCliente_DetallesDataTableRules.GetFECHA_MODIFICACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_DetallesFECHA_MODIFICACION].IsNull;
end;
procedure TAlbaranesCliente_DetallesDataTableRules.SetFECHA_MODIFICACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_DetallesFECHA_MODIFICACION].AsVariant := Null;
end;
{ TAlbaranesCliente_Detalles_RefreshDataTableRules }
constructor TAlbaranesCliente_Detalles_RefreshDataTableRules.Create(aDataTable: TDADataTable);
begin
inherited;
end;
destructor TAlbaranesCliente_Detalles_RefreshDataTableRules.Destroy;
begin
inherited;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetIDValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID].AsInteger;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetIDValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID].AsInteger := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetIDIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetIDIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetID_ALBARANValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID_ALBARAN].AsInteger;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetID_ALBARANValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID_ALBARAN].AsInteger := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetID_ALBARANIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID_ALBARAN].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetID_ALBARANIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID_ALBARAN].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetPOSICIONValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshPOSICION].AsInteger;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetPOSICIONValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshPOSICION].AsInteger := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetPOSICIONIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshPOSICION].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetPOSICIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshPOSICION].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetTIPO_DETALLEValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshTIPO_DETALLE].AsString;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetTIPO_DETALLEValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshTIPO_DETALLE].AsString := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetTIPO_DETALLEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshTIPO_DETALLE].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetTIPO_DETALLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshTIPO_DETALLE].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetREFERENCIAValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshREFERENCIA].AsString;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetREFERENCIAValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshREFERENCIA].AsString := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetREFERENCIAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshREFERENCIA].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetREFERENCIAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshREFERENCIA].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetID_ARTICULOValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID_ARTICULO].AsInteger;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetID_ARTICULOValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID_ARTICULO].AsInteger := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetID_ARTICULOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID_ARTICULO].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetID_ARTICULOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshID_ARTICULO].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetCONCEPTOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshCONCEPTO].AsString;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetCONCEPTOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshCONCEPTO].AsString := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetCONCEPTOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshCONCEPTO].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetCONCEPTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshCONCEPTO].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetCANTIDADValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshCANTIDAD].AsInteger;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetCANTIDADValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshCANTIDAD].AsInteger := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetCANTIDADIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshCANTIDAD].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetCANTIDADIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshCANTIDAD].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetIMPORTE_UNIDADValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_UNIDAD].AsCurrency;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetIMPORTE_UNIDADValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_UNIDAD].AsCurrency := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetIMPORTE_UNIDADIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_UNIDAD].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetIMPORTE_UNIDADIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_UNIDAD].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetIMPORTE_TOTALValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_TOTAL].AsCurrency;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetIMPORTE_TOTALValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_TOTAL].AsCurrency := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetIMPORTE_TOTALIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_TOTAL].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetIMPORTE_TOTALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_TOTAL].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetDESCUENTOValue: Float;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshDESCUENTO].AsFloat;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetDESCUENTOValue(const aValue: Float);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshDESCUENTO].AsFloat := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetDESCUENTOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshDESCUENTO].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetDESCUENTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshDESCUENTO].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetIMPORTE_PORTEValue: Float;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_PORTE].AsFloat;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetIMPORTE_PORTEValue(const aValue: Float);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_PORTE].AsFloat := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetIMPORTE_PORTEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_PORTE].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetIMPORTE_PORTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshIMPORTE_PORTE].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetVISIBLEValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshVISIBLE].AsInteger;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetVISIBLEValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshVISIBLE].AsInteger := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetVISIBLEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshVISIBLE].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetVISIBLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshVISIBLE].AsVariant := Null;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetREFERENCIA_PROVEEDORValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshREFERENCIA_PROVEEDOR].AsString;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetREFERENCIA_PROVEEDORValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshREFERENCIA_PROVEEDOR].AsString := aValue;
end;
function TAlbaranesCliente_Detalles_RefreshDataTableRules.GetREFERENCIA_PROVEEDORIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshREFERENCIA_PROVEEDOR].IsNull;
end;
procedure TAlbaranesCliente_Detalles_RefreshDataTableRules.SetREFERENCIA_PROVEEDORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_Detalles_RefreshREFERENCIA_PROVEEDOR].AsVariant := Null;
end;
{ TAlbaranesCliente_RefreshDataTableRules }
constructor TAlbaranesCliente_RefreshDataTableRules.Create(aDataTable: TDADataTable);
var
StrList: TStringList;
begin
inherited;
StrList := TStringList.Create;
StrList.OnChange := OBSERVACIONES_OnChange;
f_OBSERVACIONES := NewROStrings(StrList,True);
StrList := TStringList.Create;
StrList.OnChange := INCIDENCIAS_OnChange;
f_INCIDENCIAS := NewROStrings(StrList,True);
end;
destructor TAlbaranesCliente_RefreshDataTableRules.Destroy;
begin
inherited;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.OBSERVACIONES_OnChange(Sender: TObject);
begin
if DataTable.Editing then DataTable.Fields[idx_AlbaranesCliente_RefreshOBSERVACIONES].AsVariant := TStringList(Sender).Text;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.INCIDENCIAS_OnChange(Sender: TObject);
begin
if DataTable.Editing then DataTable.Fields[idx_AlbaranesCliente_RefreshINCIDENCIAS].AsVariant := TStringList(Sender).Text;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIDValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID].AsInteger;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIDValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshID].AsInteger := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIDIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIDIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshID].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_EMPRESAValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_EMPRESA].AsInteger;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_EMPRESAValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshID_EMPRESA].AsInteger := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_EMPRESAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_EMPRESA].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_EMPRESAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshID_EMPRESA].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_CLIENTEValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_CLIENTE].AsInteger;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_CLIENTEValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshID_CLIENTE].AsInteger := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_CLIENTEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_CLIENTE].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_CLIENTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshID_CLIENTE].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetREFERENCIAValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshREFERENCIA].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetREFERENCIAValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshREFERENCIA].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetREFERENCIAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshREFERENCIA].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetREFERENCIAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshREFERENCIA].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_ALBARANValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ALBARAN].AsDateTime;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_ALBARANValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ALBARAN].AsDateTime := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_ALBARANIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ALBARAN].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_ALBARANIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ALBARAN].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_PEDIDOValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_PEDIDO].AsInteger;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_PEDIDOValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshID_PEDIDO].AsInteger := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_PEDIDOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_PEDIDO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_PEDIDOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshID_PEDIDO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetREFERENCIA_CLIENTEValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshREFERENCIA_CLIENTE].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetREFERENCIA_CLIENTEValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshREFERENCIA_CLIENTE].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetREFERENCIA_CLIENTEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshREFERENCIA_CLIENTE].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetREFERENCIA_CLIENTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshREFERENCIA_CLIENTE].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetTIPOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshTIPO].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetTIPOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshTIPO].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetTIPOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshTIPO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetTIPOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshTIPO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetSITUACIONValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshSITUACION].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetSITUACIONValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshSITUACION].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetSITUACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshSITUACION].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetSITUACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshSITUACION].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_ALMACENValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_ALMACEN].AsInteger;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_ALMACENValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshID_ALMACEN].AsInteger := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_ALMACENIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_ALMACEN].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_ALMACENIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshID_ALMACEN].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetNOMBRE_ALMACENValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshNOMBRE_ALMACEN].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetNOMBRE_ALMACENValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshNOMBRE_ALMACEN].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetNOMBRE_ALMACENIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshNOMBRE_ALMACEN].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetNOMBRE_ALMACENIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshNOMBRE_ALMACEN].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_FACTURAValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_FACTURA].AsInteger;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_FACTURAValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshID_FACTURA].AsInteger := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_FACTURAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_FACTURA].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_FACTURAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshID_FACTURA].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetREF_PEDIDOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshREF_PEDIDO].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetREF_PEDIDOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshREF_PEDIDO].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetREF_PEDIDOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshREF_PEDIDO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetREF_PEDIDOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshREF_PEDIDO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetCALLEValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshCALLE].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetCALLEValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshCALLE].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetCALLEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshCALLE].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetCALLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshCALLE].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetREF_FACTURAValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshREF_FACTURA].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetREF_FACTURAValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshREF_FACTURA].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetREF_FACTURAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshREF_FACTURA].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetREF_FACTURAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshREF_FACTURA].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetCODIGO_POSTALValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshCODIGO_POSTAL].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetCODIGO_POSTALValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshCODIGO_POSTAL].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetCODIGO_POSTALIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshCODIGO_POSTAL].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetCODIGO_POSTALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshCODIGO_POSTAL].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetPOBLACIONValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshPOBLACION].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetPOBLACIONValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshPOBLACION].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetPOBLACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshPOBLACION].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetPOBLACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshPOBLACION].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetPROVINCIAValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshPROVINCIA].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetPROVINCIAValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshPROVINCIA].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetPROVINCIAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshPROVINCIA].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetPROVINCIAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshPROVINCIA].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetPERSONA_CONTACTOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshPERSONA_CONTACTO].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetPERSONA_CONTACTOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshPERSONA_CONTACTO].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetPERSONA_CONTACTOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshPERSONA_CONTACTO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetPERSONA_CONTACTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshPERSONA_CONTACTO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetTELEFONOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshTELEFONO].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetTELEFONOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshTELEFONO].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetTELEFONOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshTELEFONO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetTELEFONOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshTELEFONO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetBASE_IMPONIBLEValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshBASE_IMPONIBLE].AsCurrency;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetBASE_IMPONIBLEValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshBASE_IMPONIBLE].AsCurrency := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetBASE_IMPONIBLEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshBASE_IMPONIBLE].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetBASE_IMPONIBLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshBASE_IMPONIBLE].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIMPORTE_NETOValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_NETO].AsCurrency;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIMPORTE_NETOValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_NETO].AsCurrency := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIMPORTE_NETOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_NETO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIMPORTE_NETOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_NETO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIMPORTE_PORTEValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_PORTE].AsCurrency;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIMPORTE_PORTEValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_PORTE].AsCurrency := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIMPORTE_PORTEIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_PORTE].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIMPORTE_PORTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_PORTE].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetDESCUENTOValue: Float;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshDESCUENTO].AsFloat;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetDESCUENTOValue(const aValue: Float);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshDESCUENTO].AsFloat := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetDESCUENTOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshDESCUENTO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetDESCUENTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshDESCUENTO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIMPORTE_DESCUENTOValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_DESCUENTO].AsCurrency;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIMPORTE_DESCUENTOValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_DESCUENTO].AsCurrency := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIMPORTE_DESCUENTOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_DESCUENTO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIMPORTE_DESCUENTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_DESCUENTO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIVAValue: Float;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIVA].AsFloat;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIVAValue(const aValue: Float);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshIVA].AsFloat := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIVAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIVA].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIVAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshIVA].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIMPORTE_IVAValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_IVA].AsCurrency;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIMPORTE_IVAValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_IVA].AsCurrency := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIMPORTE_IVAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_IVA].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIMPORTE_IVAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_IVA].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIMPORTE_TOTALValue: Currency;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_TOTAL].AsCurrency;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIMPORTE_TOTALValue(const aValue: Currency);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_TOTAL].AsCurrency := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetIMPORTE_TOTALIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_TOTAL].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetIMPORTE_TOTALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshIMPORTE_TOTAL].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetOBSERVACIONESValue: IROStrings;
begin
result := f_OBSERVACIONES;
result.Text := DataTable.Fields[idx_AlbaranesCliente_RefreshOBSERVACIONES].AsString;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetOBSERVACIONESIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshOBSERVACIONES].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetOBSERVACIONESIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshOBSERVACIONES].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetINCIDENCIASValue: IROStrings;
begin
result := f_INCIDENCIAS;
result.Text := DataTable.Fields[idx_AlbaranesCliente_RefreshINCIDENCIAS].AsString;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetINCIDENCIASIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshINCIDENCIAS].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetINCIDENCIASIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshINCIDENCIAS].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetINCIDENCIAS_ACTIVASValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshINCIDENCIAS_ACTIVAS].AsInteger;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetINCIDENCIAS_ACTIVASValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshINCIDENCIAS_ACTIVAS].AsInteger := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetINCIDENCIAS_ACTIVASIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshINCIDENCIAS_ACTIVAS].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetINCIDENCIAS_ACTIVASIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshINCIDENCIAS_ACTIVAS].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_ALTAValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ALTA].AsDateTime;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_ALTAValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ALTA].AsDateTime := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_ALTAIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ALTA].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_ALTAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ALTA].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_MODIFICACIONValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_MODIFICACION].AsDateTime;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_MODIFICACION].AsDateTime := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_MODIFICACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_MODIFICACION].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_MODIFICACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_MODIFICACION].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetUSUARIOValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshUSUARIO].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetUSUARIOValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshUSUARIO].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetUSUARIOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshUSUARIO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetUSUARIOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshUSUARIO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetNOMBREValue: String;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshNOMBRE].AsString;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetNOMBREValue(const aValue: String);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshNOMBRE].AsString := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetNOMBREIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshNOMBRE].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetNOMBREIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshNOMBRE].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_FORMA_PAGOValue: Integer;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_FORMA_PAGO].AsInteger;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_FORMA_PAGOValue(const aValue: Integer);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshID_FORMA_PAGO].AsInteger := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetID_FORMA_PAGOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshID_FORMA_PAGO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetID_FORMA_PAGOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshID_FORMA_PAGO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_PREVISTA_ENVIOValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_PREVISTA_ENVIO].AsDateTime;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_PREVISTA_ENVIOValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_PREVISTA_ENVIO].AsDateTime := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_PREVISTA_ENVIOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_PREVISTA_ENVIO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_PREVISTA_ENVIOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_PREVISTA_ENVIO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_ENVIOValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ENVIO].AsDateTime;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_ENVIOValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ENVIO].AsDateTime := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_ENVIOIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ENVIO].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_ENVIOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_ENVIO].AsVariant := Null;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_RECEPCIONValue: DateTime;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_RECEPCION].AsDateTime;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_RECEPCIONValue(const aValue: DateTime);
begin
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_RECEPCION].AsDateTime := aValue;
end;
function TAlbaranesCliente_RefreshDataTableRules.GetFECHA_RECEPCIONIsNull: boolean;
begin
result := DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_RECEPCION].IsNull;
end;
procedure TAlbaranesCliente_RefreshDataTableRules.SetFECHA_RECEPCIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_AlbaranesCliente_RefreshFECHA_RECEPCION].AsVariant := Null;
end;
initialization
RegisterDataTableRules(RID_DarReferencia, TDarReferenciaDataTableRules);
RegisterDataTableRules(RID_AlbaranesCliente, TAlbaranesClienteDataTableRules);
RegisterDataTableRules(RID_AlbaranesCliente_Detalles, TAlbaranesCliente_DetallesDataTableRules);
RegisterDataTableRules(RID_AlbaranesCliente_Detalles_Refresh, TAlbaranesCliente_Detalles_RefreshDataTableRules);
RegisterDataTableRules(RID_AlbaranesCliente_Refresh, TAlbaranesCliente_RefreshDataTableRules);
end.