AbetoDesign_FactuGES2/Source/Modulos/Pedidos a proveedor/Model/schPedidosProveedorClient_Intf.pas
2025-07-23 12:19:05 +02:00

4282 lines
198 KiB
ObjectPascal

unit schPedidosProveedorClient_Intf;
interface
uses
Classes, DB, schBase_Intf, SysUtils, uROClasses, uDAInterfaces, 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_ListaAnosPedidos = '{D9CF4C5F-0869-456B-B13F-204D5AFCA6DB}';
RID_PedidosProveedor = '{640179D3-F64D-4E6D-BF3D-CAA830906106}';
RID_PedidosProveedor_Detalles = '{764A8A4A-2454-446C-A000-9D760969A485}';
RID_PedidosProveedor_Articulos_Pendientes = '{0B9AD022-244E-48FA-ABE6-72F64E082275}';
RID_PedidosProveedorConArticuloBuscado = '{F501B685-3205-460A-8BC4-8C141483B5F5}';
{ Data table names }
nme_ListaAnosPedidos = 'ListaAnosPedidos';
nme_PedidosProveedor = 'PedidosProveedor';
nme_PedidosProveedor_Detalles = 'PedidosProveedor_Detalles';
nme_PedidosProveedor_Articulos_Pendientes = 'PedidosProveedor_Articulos_Pendientes';
nme_PedidosProveedorConArticuloBuscado = 'PedidosProveedorConArticuloBuscado';
{ ListaAnosPedidos fields }
fld_ListaAnosPedidosANO = 'ANO';
{ ListaAnosPedidos field indexes }
idx_ListaAnosPedidosANO = 0;
{ PedidosProveedor fields }
fld_PedidosProveedorID = 'ID';
fld_PedidosProveedorID_EMPRESA = 'ID_EMPRESA';
fld_PedidosProveedorID_PROVEEDOR = 'ID_PROVEEDOR';
fld_PedidosProveedorNOMBRE = 'NOMBRE';
fld_PedidosProveedorNOMBRE_COMERCIAL = 'NOMBRE_COMERCIAL';
fld_PedidosProveedorREFERENCIA = 'REFERENCIA';
fld_PedidosProveedorSITUACION = 'SITUACION';
fld_PedidosProveedorFECHA_ENVIO = 'FECHA_ENVIO';
fld_PedidosProveedorFECHA_PEDIDO = 'FECHA_PEDIDO';
fld_PedidosProveedorFECHA_CONFIRMACION = 'FECHA_CONFIRMACION';
fld_PedidosProveedorFECHA_ENTREGA = 'FECHA_ENTREGA';
fld_PedidosProveedorID_ALMACEN = 'ID_ALMACEN';
fld_PedidosProveedorNOMBRE_ALMACEN = 'NOMBRE_ALMACEN';
fld_PedidosProveedorOBSERVACIONES = 'OBSERVACIONES';
fld_PedidosProveedorIMPORTE_TOTAL = 'IMPORTE_TOTAL';
fld_PedidosProveedorINCIDENCIAS = 'INCIDENCIAS';
fld_PedidosProveedorINCIDENCIAS_ACTIVAS = 'INCIDENCIAS_ACTIVAS';
fld_PedidosProveedorCALLE = 'CALLE';
fld_PedidosProveedorPOBLACION = 'POBLACION';
fld_PedidosProveedorPROVINCIA = 'PROVINCIA';
fld_PedidosProveedorCODIGO_POSTAL = 'CODIGO_POSTAL';
fld_PedidosProveedorPERSONA_CONTACTO = 'PERSONA_CONTACTO';
fld_PedidosProveedorTELEFONO = 'TELEFONO';
fld_PedidosProveedorFECHA_ALTA = 'FECHA_ALTA';
fld_PedidosProveedorFECHA_MODIFICACION = 'FECHA_MODIFICACION';
fld_PedidosProveedorUSUARIO = 'USUARIO';
fld_PedidosProveedorID_CONTRATO_CLIENTE = 'ID_CONTRATO_CLIENTE';
fld_PedidosProveedorREF_CON_CLIENTE = 'REF_CON_CLIENTE';
fld_PedidosProveedorNOMBRE_CLIENTE = 'NOMBRE_CLIENTE';
fld_PedidosProveedorIMPORTE_NETO = 'IMPORTE_NETO';
fld_PedidosProveedorIMPORTE_PORTE = 'IMPORTE_PORTE';
fld_PedidosProveedorDESCUENTO = 'DESCUENTO';
fld_PedidosProveedorIMPORTE_DESCUENTO = 'IMPORTE_DESCUENTO';
fld_PedidosProveedorBASE_IMPONIBLE = 'BASE_IMPONIBLE';
fld_PedidosProveedorIVA = 'IVA';
fld_PedidosProveedorIMPORTE_IVA = 'IMPORTE_IVA';
fld_PedidosProveedorID_FORMA_PAGO = 'ID_FORMA_PAGO';
fld_PedidosProveedorID_TIENDA = 'ID_TIENDA';
fld_PedidosProveedorID_VENDEDOR = 'ID_VENDEDOR';
fld_PedidosProveedorVENDEDOR = 'VENDEDOR';
fld_PedidosProveedorREF_VENDEDOR = 'REF_VENDEDOR';
fld_PedidosProveedorID_DIRECCION = 'ID_DIRECCION';
fld_PedidosProveedorID_TIPO_IVA = 'ID_TIPO_IVA';
fld_PedidosProveedorID_ALBARAN = 'ID_ALBARAN';
fld_PedidosProveedorREF_ALBARAN = 'REF_ALBARAN';
fld_PedidosProveedorID_FACTURA = 'ID_FACTURA';
fld_PedidosProveedorREF_FACTURA = 'REF_FACTURA';
fld_PedidosProveedorCONCEPTO_BUSQUEDA = 'CONCEPTO_BUSQUEDA';
{ PedidosProveedor field indexes }
idx_PedidosProveedorID = 0;
idx_PedidosProveedorID_EMPRESA = 1;
idx_PedidosProveedorID_PROVEEDOR = 2;
idx_PedidosProveedorNOMBRE = 3;
idx_PedidosProveedorNOMBRE_COMERCIAL = 4;
idx_PedidosProveedorREFERENCIA = 5;
idx_PedidosProveedorSITUACION = 6;
idx_PedidosProveedorFECHA_ENVIO = 7;
idx_PedidosProveedorFECHA_PEDIDO = 8;
idx_PedidosProveedorFECHA_CONFIRMACION = 9;
idx_PedidosProveedorFECHA_ENTREGA = 10;
idx_PedidosProveedorID_ALMACEN = 11;
idx_PedidosProveedorNOMBRE_ALMACEN = 12;
idx_PedidosProveedorOBSERVACIONES = 13;
idx_PedidosProveedorIMPORTE_TOTAL = 14;
idx_PedidosProveedorINCIDENCIAS = 15;
idx_PedidosProveedorINCIDENCIAS_ACTIVAS = 16;
idx_PedidosProveedorCALLE = 17;
idx_PedidosProveedorPOBLACION = 18;
idx_PedidosProveedorPROVINCIA = 19;
idx_PedidosProveedorCODIGO_POSTAL = 20;
idx_PedidosProveedorPERSONA_CONTACTO = 21;
idx_PedidosProveedorTELEFONO = 22;
idx_PedidosProveedorFECHA_ALTA = 23;
idx_PedidosProveedorFECHA_MODIFICACION = 24;
idx_PedidosProveedorUSUARIO = 25;
idx_PedidosProveedorID_CONTRATO_CLIENTE = 26;
idx_PedidosProveedorREF_CON_CLIENTE = 27;
idx_PedidosProveedorNOMBRE_CLIENTE = 28;
idx_PedidosProveedorIMPORTE_NETO = 29;
idx_PedidosProveedorIMPORTE_PORTE = 30;
idx_PedidosProveedorDESCUENTO = 31;
idx_PedidosProveedorIMPORTE_DESCUENTO = 32;
idx_PedidosProveedorBASE_IMPONIBLE = 33;
idx_PedidosProveedorIVA = 34;
idx_PedidosProveedorIMPORTE_IVA = 35;
idx_PedidosProveedorID_FORMA_PAGO = 36;
idx_PedidosProveedorID_TIENDA = 37;
idx_PedidosProveedorID_VENDEDOR = 38;
idx_PedidosProveedorVENDEDOR = 39;
idx_PedidosProveedorREF_VENDEDOR = 40;
idx_PedidosProveedorID_DIRECCION = 41;
idx_PedidosProveedorID_TIPO_IVA = 42;
idx_PedidosProveedorID_ALBARAN = 43;
idx_PedidosProveedorREF_ALBARAN = 44;
idx_PedidosProveedorID_FACTURA = 45;
idx_PedidosProveedorREF_FACTURA = 46;
idx_PedidosProveedorCONCEPTO_BUSQUEDA = 47;
{ PedidosProveedor_Detalles fields }
fld_PedidosProveedor_DetallesID = 'ID';
fld_PedidosProveedor_DetallesID_PEDIDO = 'ID_PEDIDO';
fld_PedidosProveedor_DetallesPOSICION = 'POSICION';
fld_PedidosProveedor_DetallesTIPO_DETALLE = 'TIPO_DETALLE';
fld_PedidosProveedor_DetallesCONCEPTO = 'CONCEPTO';
fld_PedidosProveedor_DetallesCANTIDAD = 'CANTIDAD';
fld_PedidosProveedor_DetallesIMPORTE_UNIDAD = 'IMPORTE_UNIDAD';
fld_PedidosProveedor_DetallesIMPORTE_TOTAL = 'IMPORTE_TOTAL';
fld_PedidosProveedor_DetallesVISIBLE = 'VISIBLE';
fld_PedidosProveedor_DetallesID_ARTICULO = 'ID_ARTICULO';
fld_PedidosProveedor_DetallesDESCUENTO = 'DESCUENTO';
fld_PedidosProveedor_DetallesIMPORTE_PORTE = 'IMPORTE_PORTE';
fld_PedidosProveedor_DetallesVALORADO = 'VALORADO';
fld_PedidosProveedor_DetallesREFERENCIA = 'REFERENCIA';
fld_PedidosProveedor_DetallesUNIDAD_MEDIDA = 'UNIDAD_MEDIDA';
fld_PedidosProveedor_DetallesREFERENCIA_PROVEEDOR = 'REFERENCIA_PROVEEDOR';
{ PedidosProveedor_Detalles field indexes }
idx_PedidosProveedor_DetallesID = 0;
idx_PedidosProveedor_DetallesID_PEDIDO = 1;
idx_PedidosProveedor_DetallesPOSICION = 2;
idx_PedidosProveedor_DetallesTIPO_DETALLE = 3;
idx_PedidosProveedor_DetallesCONCEPTO = 4;
idx_PedidosProveedor_DetallesCANTIDAD = 5;
idx_PedidosProveedor_DetallesIMPORTE_UNIDAD = 6;
idx_PedidosProveedor_DetallesIMPORTE_TOTAL = 7;
idx_PedidosProveedor_DetallesVISIBLE = 8;
idx_PedidosProveedor_DetallesID_ARTICULO = 9;
idx_PedidosProveedor_DetallesDESCUENTO = 10;
idx_PedidosProveedor_DetallesIMPORTE_PORTE = 11;
idx_PedidosProveedor_DetallesVALORADO = 12;
idx_PedidosProveedor_DetallesREFERENCIA = 13;
idx_PedidosProveedor_DetallesUNIDAD_MEDIDA = 14;
idx_PedidosProveedor_DetallesREFERENCIA_PROVEEDOR = 15;
{ PedidosProveedor_Articulos_Pendientes fields }
fld_PedidosProveedor_Articulos_PendientesID_PEDIDO = 'ID_PEDIDO';
fld_PedidosProveedor_Articulos_PendientesREFERENCIA = 'REFERENCIA';
fld_PedidosProveedor_Articulos_PendientesID_ARTICULO = 'ID_ARTICULO';
fld_PedidosProveedor_Articulos_PendientesCONCEPTO = 'CONCEPTO';
fld_PedidosProveedor_Articulos_PendientesCANTIDAD = 'CANTIDAD';
fld_PedidosProveedor_Articulos_PendientesREFERENCIA_PROVEEDOR = 'REFERENCIA_PROVEEDOR';
{ PedidosProveedor_Articulos_Pendientes field indexes }
idx_PedidosProveedor_Articulos_PendientesID_PEDIDO = 0;
idx_PedidosProveedor_Articulos_PendientesREFERENCIA = 1;
idx_PedidosProveedor_Articulos_PendientesID_ARTICULO = 2;
idx_PedidosProveedor_Articulos_PendientesCONCEPTO = 3;
idx_PedidosProveedor_Articulos_PendientesCANTIDAD = 4;
idx_PedidosProveedor_Articulos_PendientesREFERENCIA_PROVEEDOR = 5;
{ PedidosProveedorConArticuloBuscado fields }
fld_PedidosProveedorConArticuloBuscadoID = 'ID';
fld_PedidosProveedorConArticuloBuscadoID_EMPRESA = 'ID_EMPRESA';
fld_PedidosProveedorConArticuloBuscadoID_PROVEEDOR = 'ID_PROVEEDOR';
fld_PedidosProveedorConArticuloBuscadoNOMBRE = 'NOMBRE';
fld_PedidosProveedorConArticuloBuscadoNOMBRE_COMERCIAL = 'NOMBRE_COMERCIAL';
fld_PedidosProveedorConArticuloBuscadoREFERENCIA = 'REFERENCIA';
fld_PedidosProveedorConArticuloBuscadoSITUACION = 'SITUACION';
fld_PedidosProveedorConArticuloBuscadoFECHA_ENVIO = 'FECHA_ENVIO';
fld_PedidosProveedorConArticuloBuscadoFECHA_PEDIDO = 'FECHA_PEDIDO';
fld_PedidosProveedorConArticuloBuscadoFECHA_CONFIRMACION = 'FECHA_CONFIRMACION';
fld_PedidosProveedorConArticuloBuscadoFECHA_ENTREGA = 'FECHA_ENTREGA';
fld_PedidosProveedorConArticuloBuscadoID_ALMACEN = 'ID_ALMACEN';
fld_PedidosProveedorConArticuloBuscadoNOMBRE_ALMACEN = 'NOMBRE_ALMACEN';
fld_PedidosProveedorConArticuloBuscadoOBSERVACIONES = 'OBSERVACIONES';
fld_PedidosProveedorConArticuloBuscadoIMPORTE_TOTAL = 'IMPORTE_TOTAL';
fld_PedidosProveedorConArticuloBuscadoINCIDENCIAS = 'INCIDENCIAS';
fld_PedidosProveedorConArticuloBuscadoINCIDENCIAS_ACTIVAS = 'INCIDENCIAS_ACTIVAS';
fld_PedidosProveedorConArticuloBuscadoCALLE = 'CALLE';
fld_PedidosProveedorConArticuloBuscadoPOBLACION = 'POBLACION';
fld_PedidosProveedorConArticuloBuscadoPROVINCIA = 'PROVINCIA';
fld_PedidosProveedorConArticuloBuscadoCODIGO_POSTAL = 'CODIGO_POSTAL';
fld_PedidosProveedorConArticuloBuscadoPERSONA_CONTACTO = 'PERSONA_CONTACTO';
fld_PedidosProveedorConArticuloBuscadoTELEFONO = 'TELEFONO';
fld_PedidosProveedorConArticuloBuscadoFECHA_ALTA = 'FECHA_ALTA';
fld_PedidosProveedorConArticuloBuscadoFECHA_MODIFICACION = 'FECHA_MODIFICACION';
fld_PedidosProveedorConArticuloBuscadoUSUARIO = 'USUARIO';
fld_PedidosProveedorConArticuloBuscadoID_CONTRATO_CLIENTE = 'ID_CONTRATO_CLIENTE';
fld_PedidosProveedorConArticuloBuscadoREF_CON_CLIENTE = 'REF_CON_CLIENTE';
fld_PedidosProveedorConArticuloBuscadoNOMBRE_CLIENTE = 'NOMBRE_CLIENTE';
fld_PedidosProveedorConArticuloBuscadoIMPORTE_NETO = 'IMPORTE_NETO';
fld_PedidosProveedorConArticuloBuscadoIMPORTE_PORTE = 'IMPORTE_PORTE';
fld_PedidosProveedorConArticuloBuscadoDESCUENTO = 'DESCUENTO';
fld_PedidosProveedorConArticuloBuscadoIMPORTE_DESCUENTO = 'IMPORTE_DESCUENTO';
fld_PedidosProveedorConArticuloBuscadoBASE_IMPONIBLE = 'BASE_IMPONIBLE';
fld_PedidosProveedorConArticuloBuscadoIVA = 'IVA';
fld_PedidosProveedorConArticuloBuscadoIMPORTE_IVA = 'IMPORTE_IVA';
fld_PedidosProveedorConArticuloBuscadoID_FORMA_PAGO = 'ID_FORMA_PAGO';
fld_PedidosProveedorConArticuloBuscadoID_TIENDA = 'ID_TIENDA';
fld_PedidosProveedorConArticuloBuscadoID_VENDEDOR = 'ID_VENDEDOR';
fld_PedidosProveedorConArticuloBuscadoVENDEDOR = 'VENDEDOR';
fld_PedidosProveedorConArticuloBuscadoREF_VENDEDOR = 'REF_VENDEDOR';
fld_PedidosProveedorConArticuloBuscadoID_DIRECCION = 'ID_DIRECCION';
fld_PedidosProveedorConArticuloBuscadoID_TIPO_IVA = 'ID_TIPO_IVA';
fld_PedidosProveedorConArticuloBuscadoCONCEPTO_BUSQUEDA = 'CONCEPTO_BUSQUEDA';
{ PedidosProveedorConArticuloBuscado field indexes }
idx_PedidosProveedorConArticuloBuscadoID = 0;
idx_PedidosProveedorConArticuloBuscadoID_EMPRESA = 1;
idx_PedidosProveedorConArticuloBuscadoID_PROVEEDOR = 2;
idx_PedidosProveedorConArticuloBuscadoNOMBRE = 3;
idx_PedidosProveedorConArticuloBuscadoNOMBRE_COMERCIAL = 4;
idx_PedidosProveedorConArticuloBuscadoREFERENCIA = 5;
idx_PedidosProveedorConArticuloBuscadoSITUACION = 6;
idx_PedidosProveedorConArticuloBuscadoFECHA_ENVIO = 7;
idx_PedidosProveedorConArticuloBuscadoFECHA_PEDIDO = 8;
idx_PedidosProveedorConArticuloBuscadoFECHA_CONFIRMACION = 9;
idx_PedidosProveedorConArticuloBuscadoFECHA_ENTREGA = 10;
idx_PedidosProveedorConArticuloBuscadoID_ALMACEN = 11;
idx_PedidosProveedorConArticuloBuscadoNOMBRE_ALMACEN = 12;
idx_PedidosProveedorConArticuloBuscadoOBSERVACIONES = 13;
idx_PedidosProveedorConArticuloBuscadoIMPORTE_TOTAL = 14;
idx_PedidosProveedorConArticuloBuscadoINCIDENCIAS = 15;
idx_PedidosProveedorConArticuloBuscadoINCIDENCIAS_ACTIVAS = 16;
idx_PedidosProveedorConArticuloBuscadoCALLE = 17;
idx_PedidosProveedorConArticuloBuscadoPOBLACION = 18;
idx_PedidosProveedorConArticuloBuscadoPROVINCIA = 19;
idx_PedidosProveedorConArticuloBuscadoCODIGO_POSTAL = 20;
idx_PedidosProveedorConArticuloBuscadoPERSONA_CONTACTO = 21;
idx_PedidosProveedorConArticuloBuscadoTELEFONO = 22;
idx_PedidosProveedorConArticuloBuscadoFECHA_ALTA = 23;
idx_PedidosProveedorConArticuloBuscadoFECHA_MODIFICACION = 24;
idx_PedidosProveedorConArticuloBuscadoUSUARIO = 25;
idx_PedidosProveedorConArticuloBuscadoID_CONTRATO_CLIENTE = 26;
idx_PedidosProveedorConArticuloBuscadoREF_CON_CLIENTE = 27;
idx_PedidosProveedorConArticuloBuscadoNOMBRE_CLIENTE = 28;
idx_PedidosProveedorConArticuloBuscadoIMPORTE_NETO = 29;
idx_PedidosProveedorConArticuloBuscadoIMPORTE_PORTE = 30;
idx_PedidosProveedorConArticuloBuscadoDESCUENTO = 31;
idx_PedidosProveedorConArticuloBuscadoIMPORTE_DESCUENTO = 32;
idx_PedidosProveedorConArticuloBuscadoBASE_IMPONIBLE = 33;
idx_PedidosProveedorConArticuloBuscadoIVA = 34;
idx_PedidosProveedorConArticuloBuscadoIMPORTE_IVA = 35;
idx_PedidosProveedorConArticuloBuscadoID_FORMA_PAGO = 36;
idx_PedidosProveedorConArticuloBuscadoID_TIENDA = 37;
idx_PedidosProveedorConArticuloBuscadoID_VENDEDOR = 38;
idx_PedidosProveedorConArticuloBuscadoVENDEDOR = 39;
idx_PedidosProveedorConArticuloBuscadoREF_VENDEDOR = 40;
idx_PedidosProveedorConArticuloBuscadoID_DIRECCION = 41;
idx_PedidosProveedorConArticuloBuscadoID_TIPO_IVA = 42;
idx_PedidosProveedorConArticuloBuscadoCONCEPTO_BUSQUEDA = 43;
type
{ IListaAnosPedidos }
IListaAnosPedidos = interface(IDAStronglyTypedDataTable)
['{7FBAD21F-18C5-4BBA-A6CB-46B7DCCC06B0}']
{ Property getters and setters }
function GetANOValue: String;
procedure SetANOValue(const aValue: String);
function GetANOIsNull: Boolean;
procedure SetANOIsNull(const aValue: Boolean);
{ Properties }
property ANO: String read GetANOValue write SetANOValue;
property ANOIsNull: Boolean read GetANOIsNull write SetANOIsNull;
end;
{ TListaAnosPedidosDataTableRules }
TListaAnosPedidosDataTableRules = class(TIntfObjectDADataTableRules, IListaAnosPedidos)
private
protected
{ Property getters and setters }
function GetANOValue: String; virtual;
procedure SetANOValue(const aValue: String); virtual;
function GetANOIsNull: Boolean; virtual;
procedure SetANOIsNull(const aValue: Boolean); virtual;
{ Properties }
property ANO: String read GetANOValue write SetANOValue;
property ANOIsNull: Boolean read GetANOIsNull write SetANOIsNull;
public
constructor Create(aDataTable: TDADataTable); override;
destructor Destroy; override;
end;
{ IPedidosProveedor }
IPedidosProveedor = interface(IDAStronglyTypedDataTable)
['{28E1AE1E-1C11-47E1-B202-271253E5284F}']
{ 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_PROVEEDORValue: Integer;
procedure SetID_PROVEEDORValue(const aValue: Integer);
function GetID_PROVEEDORIsNull: Boolean;
procedure SetID_PROVEEDORIsNull(const aValue: Boolean);
function GetNOMBREValue: String;
procedure SetNOMBREValue(const aValue: String);
function GetNOMBREIsNull: Boolean;
procedure SetNOMBREIsNull(const aValue: Boolean);
function GetNOMBRE_COMERCIALValue: String;
procedure SetNOMBRE_COMERCIALValue(const aValue: String);
function GetNOMBRE_COMERCIALIsNull: Boolean;
procedure SetNOMBRE_COMERCIALIsNull(const aValue: Boolean);
function GetREFERENCIAValue: String;
procedure SetREFERENCIAValue(const aValue: String);
function GetREFERENCIAIsNull: Boolean;
procedure SetREFERENCIAIsNull(const aValue: Boolean);
function GetSITUACIONValue: String;
procedure SetSITUACIONValue(const aValue: String);
function GetSITUACIONIsNull: Boolean;
procedure SetSITUACIONIsNull(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_PEDIDOValue: DateTime;
procedure SetFECHA_PEDIDOValue(const aValue: DateTime);
function GetFECHA_PEDIDOIsNull: Boolean;
procedure SetFECHA_PEDIDOIsNull(const aValue: Boolean);
function GetFECHA_CONFIRMACIONValue: DateTime;
procedure SetFECHA_CONFIRMACIONValue(const aValue: DateTime);
function GetFECHA_CONFIRMACIONIsNull: Boolean;
procedure SetFECHA_CONFIRMACIONIsNull(const aValue: Boolean);
function GetFECHA_ENTREGAValue: DateTime;
procedure SetFECHA_ENTREGAValue(const aValue: DateTime);
function GetFECHA_ENTREGAIsNull: Boolean;
procedure SetFECHA_ENTREGAIsNull(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 GetOBSERVACIONESValue: IROStrings;
function GetOBSERVACIONESIsNull: Boolean;
procedure SetOBSERVACIONESIsNull(const aValue: Boolean);
function GetIMPORTE_TOTALValue: Currency;
procedure SetIMPORTE_TOTALValue(const aValue: Currency);
function GetIMPORTE_TOTALIsNull: Boolean;
procedure SetIMPORTE_TOTALIsNull(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 GetCALLEValue: String;
procedure SetCALLEValue(const aValue: String);
function GetCALLEIsNull: Boolean;
procedure SetCALLEIsNull(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 GetCODIGO_POSTALValue: String;
procedure SetCODIGO_POSTALValue(const aValue: String);
function GetCODIGO_POSTALIsNull: Boolean;
procedure SetCODIGO_POSTALIsNull(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 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_CONTRATO_CLIENTEValue: Integer;
procedure SetID_CONTRATO_CLIENTEValue(const aValue: Integer);
function GetID_CONTRATO_CLIENTEIsNull: Boolean;
procedure SetID_CONTRATO_CLIENTEIsNull(const aValue: Boolean);
function GetREF_CON_CLIENTEValue: String;
procedure SetREF_CON_CLIENTEValue(const aValue: String);
function GetREF_CON_CLIENTEIsNull: Boolean;
procedure SetREF_CON_CLIENTEIsNull(const aValue: Boolean);
function GetNOMBRE_CLIENTEValue: String;
procedure SetNOMBRE_CLIENTEValue(const aValue: String);
function GetNOMBRE_CLIENTEIsNull: Boolean;
procedure SetNOMBRE_CLIENTEIsNull(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 GetID_FORMA_PAGOValue: Integer;
procedure SetID_FORMA_PAGOValue(const aValue: Integer);
function GetID_FORMA_PAGOIsNull: Boolean;
procedure SetID_FORMA_PAGOIsNull(const aValue: Boolean);
function GetID_TIENDAValue: Integer;
procedure SetID_TIENDAValue(const aValue: Integer);
function GetID_TIENDAIsNull: Boolean;
procedure SetID_TIENDAIsNull(const aValue: Boolean);
function GetID_VENDEDORValue: Integer;
procedure SetID_VENDEDORValue(const aValue: Integer);
function GetID_VENDEDORIsNull: Boolean;
procedure SetID_VENDEDORIsNull(const aValue: Boolean);
function GetVENDEDORValue: String;
procedure SetVENDEDORValue(const aValue: String);
function GetVENDEDORIsNull: Boolean;
procedure SetVENDEDORIsNull(const aValue: Boolean);
function GetREF_VENDEDORValue: String;
procedure SetREF_VENDEDORValue(const aValue: String);
function GetREF_VENDEDORIsNull: Boolean;
procedure SetREF_VENDEDORIsNull(const aValue: Boolean);
function GetID_DIRECCIONValue: Integer;
procedure SetID_DIRECCIONValue(const aValue: Integer);
function GetID_DIRECCIONIsNull: Boolean;
procedure SetID_DIRECCIONIsNull(const aValue: Boolean);
function GetID_TIPO_IVAValue: Integer;
procedure SetID_TIPO_IVAValue(const aValue: Integer);
function GetID_TIPO_IVAIsNull: Boolean;
procedure SetID_TIPO_IVAIsNull(const aValue: Boolean);
function GetID_ALBARANValue: Integer;
procedure SetID_ALBARANValue(const aValue: Integer);
function GetID_ALBARANIsNull: Boolean;
procedure SetID_ALBARANIsNull(const aValue: Boolean);
function GetREF_ALBARANValue: String;
procedure SetREF_ALBARANValue(const aValue: String);
function GetREF_ALBARANIsNull: Boolean;
procedure SetREF_ALBARANIsNull(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 GetCONCEPTO_BUSQUEDAValue: String;
procedure SetCONCEPTO_BUSQUEDAValue(const aValue: String);
function GetCONCEPTO_BUSQUEDAIsNull: Boolean;
procedure SetCONCEPTO_BUSQUEDAIsNull(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_PROVEEDOR: Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue;
property ID_PROVEEDORIsNull: Boolean read GetID_PROVEEDORIsNull write SetID_PROVEEDORIsNull;
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
property NOMBRE_COMERCIAL: String read GetNOMBRE_COMERCIALValue write SetNOMBRE_COMERCIALValue;
property NOMBRE_COMERCIALIsNull: Boolean read GetNOMBRE_COMERCIALIsNull write SetNOMBRE_COMERCIALIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
property FECHA_ENVIO: DateTime read GetFECHA_ENVIOValue write SetFECHA_ENVIOValue;
property FECHA_ENVIOIsNull: Boolean read GetFECHA_ENVIOIsNull write SetFECHA_ENVIOIsNull;
property FECHA_PEDIDO: DateTime read GetFECHA_PEDIDOValue write SetFECHA_PEDIDOValue;
property FECHA_PEDIDOIsNull: Boolean read GetFECHA_PEDIDOIsNull write SetFECHA_PEDIDOIsNull;
property FECHA_CONFIRMACION: DateTime read GetFECHA_CONFIRMACIONValue write SetFECHA_CONFIRMACIONValue;
property FECHA_CONFIRMACIONIsNull: Boolean read GetFECHA_CONFIRMACIONIsNull write SetFECHA_CONFIRMACIONIsNull;
property FECHA_ENTREGA: DateTime read GetFECHA_ENTREGAValue write SetFECHA_ENTREGAValue;
property FECHA_ENTREGAIsNull: Boolean read GetFECHA_ENTREGAIsNull write SetFECHA_ENTREGAIsNull;
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 OBSERVACIONES: IROStrings read GetOBSERVACIONESValue;
property OBSERVACIONESIsNull: Boolean read GetOBSERVACIONESIsNull write SetOBSERVACIONESIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
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 CALLE: String read GetCALLEValue write SetCALLEValue;
property CALLEIsNull: Boolean read GetCALLEIsNull write SetCALLEIsNull;
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 CODIGO_POSTAL: String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue;
property CODIGO_POSTALIsNull: Boolean read GetCODIGO_POSTALIsNull write SetCODIGO_POSTALIsNull;
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 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_CONTRATO_CLIENTE: Integer read GetID_CONTRATO_CLIENTEValue write SetID_CONTRATO_CLIENTEValue;
property ID_CONTRATO_CLIENTEIsNull: Boolean read GetID_CONTRATO_CLIENTEIsNull write SetID_CONTRATO_CLIENTEIsNull;
property REF_CON_CLIENTE: String read GetREF_CON_CLIENTEValue write SetREF_CON_CLIENTEValue;
property REF_CON_CLIENTEIsNull: Boolean read GetREF_CON_CLIENTEIsNull write SetREF_CON_CLIENTEIsNull;
property NOMBRE_CLIENTE: String read GetNOMBRE_CLIENTEValue write SetNOMBRE_CLIENTEValue;
property NOMBRE_CLIENTEIsNull: Boolean read GetNOMBRE_CLIENTEIsNull write SetNOMBRE_CLIENTEIsNull;
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 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 ID_TIENDA: Integer read GetID_TIENDAValue write SetID_TIENDAValue;
property ID_TIENDAIsNull: Boolean read GetID_TIENDAIsNull write SetID_TIENDAIsNull;
property ID_VENDEDOR: Integer read GetID_VENDEDORValue write SetID_VENDEDORValue;
property ID_VENDEDORIsNull: Boolean read GetID_VENDEDORIsNull write SetID_VENDEDORIsNull;
property VENDEDOR: String read GetVENDEDORValue write SetVENDEDORValue;
property VENDEDORIsNull: Boolean read GetVENDEDORIsNull write SetVENDEDORIsNull;
property REF_VENDEDOR: String read GetREF_VENDEDORValue write SetREF_VENDEDORValue;
property REF_VENDEDORIsNull: Boolean read GetREF_VENDEDORIsNull write SetREF_VENDEDORIsNull;
property ID_DIRECCION: Integer read GetID_DIRECCIONValue write SetID_DIRECCIONValue;
property ID_DIRECCIONIsNull: Boolean read GetID_DIRECCIONIsNull write SetID_DIRECCIONIsNull;
property ID_TIPO_IVA: Integer read GetID_TIPO_IVAValue write SetID_TIPO_IVAValue;
property ID_TIPO_IVAIsNull: Boolean read GetID_TIPO_IVAIsNull write SetID_TIPO_IVAIsNull;
property ID_ALBARAN: Integer read GetID_ALBARANValue write SetID_ALBARANValue;
property ID_ALBARANIsNull: Boolean read GetID_ALBARANIsNull write SetID_ALBARANIsNull;
property REF_ALBARAN: String read GetREF_ALBARANValue write SetREF_ALBARANValue;
property REF_ALBARANIsNull: Boolean read GetREF_ALBARANIsNull write SetREF_ALBARANIsNull;
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 CONCEPTO_BUSQUEDA: String read GetCONCEPTO_BUSQUEDAValue write SetCONCEPTO_BUSQUEDAValue;
property CONCEPTO_BUSQUEDAIsNull: Boolean read GetCONCEPTO_BUSQUEDAIsNull write SetCONCEPTO_BUSQUEDAIsNull;
end;
{ TPedidosProveedorDataTableRules }
TPedidosProveedorDataTableRules = class(TIntfObjectDADataTableRules, IPedidosProveedor)
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_PROVEEDORValue: Integer; virtual;
procedure SetID_PROVEEDORValue(const aValue: Integer); virtual;
function GetID_PROVEEDORIsNull: Boolean; virtual;
procedure SetID_PROVEEDORIsNull(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 GetNOMBRE_COMERCIALValue: String; virtual;
procedure SetNOMBRE_COMERCIALValue(const aValue: String); virtual;
function GetNOMBRE_COMERCIALIsNull: Boolean; virtual;
procedure SetNOMBRE_COMERCIALIsNull(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 GetSITUACIONValue: String; virtual;
procedure SetSITUACIONValue(const aValue: String); virtual;
function GetSITUACIONIsNull: Boolean; virtual;
procedure SetSITUACIONIsNull(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_PEDIDOValue: DateTime; virtual;
procedure SetFECHA_PEDIDOValue(const aValue: DateTime); virtual;
function GetFECHA_PEDIDOIsNull: Boolean; virtual;
procedure SetFECHA_PEDIDOIsNull(const aValue: Boolean); virtual;
function GetFECHA_CONFIRMACIONValue: DateTime; virtual;
procedure SetFECHA_CONFIRMACIONValue(const aValue: DateTime); virtual;
function GetFECHA_CONFIRMACIONIsNull: Boolean; virtual;
procedure SetFECHA_CONFIRMACIONIsNull(const aValue: Boolean); virtual;
function GetFECHA_ENTREGAValue: DateTime; virtual;
procedure SetFECHA_ENTREGAValue(const aValue: DateTime); virtual;
function GetFECHA_ENTREGAIsNull: Boolean; virtual;
procedure SetFECHA_ENTREGAIsNull(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 GetOBSERVACIONESValue: IROStrings; virtual;
function GetOBSERVACIONESIsNull: Boolean; virtual;
procedure SetOBSERVACIONESIsNull(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 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 GetCALLEValue: String; virtual;
procedure SetCALLEValue(const aValue: String); virtual;
function GetCALLEIsNull: Boolean; virtual;
procedure SetCALLEIsNull(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 GetCODIGO_POSTALValue: String; virtual;
procedure SetCODIGO_POSTALValue(const aValue: String); virtual;
function GetCODIGO_POSTALIsNull: Boolean; virtual;
procedure SetCODIGO_POSTALIsNull(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 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_CONTRATO_CLIENTEValue: Integer; virtual;
procedure SetID_CONTRATO_CLIENTEValue(const aValue: Integer); virtual;
function GetID_CONTRATO_CLIENTEIsNull: Boolean; virtual;
procedure SetID_CONTRATO_CLIENTEIsNull(const aValue: Boolean); virtual;
function GetREF_CON_CLIENTEValue: String; virtual;
procedure SetREF_CON_CLIENTEValue(const aValue: String); virtual;
function GetREF_CON_CLIENTEIsNull: Boolean; virtual;
procedure SetREF_CON_CLIENTEIsNull(const aValue: Boolean); virtual;
function GetNOMBRE_CLIENTEValue: String; virtual;
procedure SetNOMBRE_CLIENTEValue(const aValue: String); virtual;
function GetNOMBRE_CLIENTEIsNull: Boolean; virtual;
procedure SetNOMBRE_CLIENTEIsNull(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 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 GetID_TIENDAValue: Integer; virtual;
procedure SetID_TIENDAValue(const aValue: Integer); virtual;
function GetID_TIENDAIsNull: Boolean; virtual;
procedure SetID_TIENDAIsNull(const aValue: Boolean); virtual;
function GetID_VENDEDORValue: Integer; virtual;
procedure SetID_VENDEDORValue(const aValue: Integer); virtual;
function GetID_VENDEDORIsNull: Boolean; virtual;
procedure SetID_VENDEDORIsNull(const aValue: Boolean); virtual;
function GetVENDEDORValue: String; virtual;
procedure SetVENDEDORValue(const aValue: String); virtual;
function GetVENDEDORIsNull: Boolean; virtual;
procedure SetVENDEDORIsNull(const aValue: Boolean); virtual;
function GetREF_VENDEDORValue: String; virtual;
procedure SetREF_VENDEDORValue(const aValue: String); virtual;
function GetREF_VENDEDORIsNull: Boolean; virtual;
procedure SetREF_VENDEDORIsNull(const aValue: Boolean); virtual;
function GetID_DIRECCIONValue: Integer; virtual;
procedure SetID_DIRECCIONValue(const aValue: Integer); virtual;
function GetID_DIRECCIONIsNull: Boolean; virtual;
procedure SetID_DIRECCIONIsNull(const aValue: Boolean); virtual;
function GetID_TIPO_IVAValue: Integer; virtual;
procedure SetID_TIPO_IVAValue(const aValue: Integer); virtual;
function GetID_TIPO_IVAIsNull: Boolean; virtual;
procedure SetID_TIPO_IVAIsNull(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 GetREF_ALBARANValue: String; virtual;
procedure SetREF_ALBARANValue(const aValue: String); virtual;
function GetREF_ALBARANIsNull: Boolean; virtual;
procedure SetREF_ALBARANIsNull(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 GetCONCEPTO_BUSQUEDAValue: String; virtual;
procedure SetCONCEPTO_BUSQUEDAValue(const aValue: String); virtual;
function GetCONCEPTO_BUSQUEDAIsNull: Boolean; virtual;
procedure SetCONCEPTO_BUSQUEDAIsNull(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_PROVEEDOR: Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue;
property ID_PROVEEDORIsNull: Boolean read GetID_PROVEEDORIsNull write SetID_PROVEEDORIsNull;
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
property NOMBRE_COMERCIAL: String read GetNOMBRE_COMERCIALValue write SetNOMBRE_COMERCIALValue;
property NOMBRE_COMERCIALIsNull: Boolean read GetNOMBRE_COMERCIALIsNull write SetNOMBRE_COMERCIALIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
property FECHA_ENVIO: DateTime read GetFECHA_ENVIOValue write SetFECHA_ENVIOValue;
property FECHA_ENVIOIsNull: Boolean read GetFECHA_ENVIOIsNull write SetFECHA_ENVIOIsNull;
property FECHA_PEDIDO: DateTime read GetFECHA_PEDIDOValue write SetFECHA_PEDIDOValue;
property FECHA_PEDIDOIsNull: Boolean read GetFECHA_PEDIDOIsNull write SetFECHA_PEDIDOIsNull;
property FECHA_CONFIRMACION: DateTime read GetFECHA_CONFIRMACIONValue write SetFECHA_CONFIRMACIONValue;
property FECHA_CONFIRMACIONIsNull: Boolean read GetFECHA_CONFIRMACIONIsNull write SetFECHA_CONFIRMACIONIsNull;
property FECHA_ENTREGA: DateTime read GetFECHA_ENTREGAValue write SetFECHA_ENTREGAValue;
property FECHA_ENTREGAIsNull: Boolean read GetFECHA_ENTREGAIsNull write SetFECHA_ENTREGAIsNull;
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 OBSERVACIONES: IROStrings read GetOBSERVACIONESValue;
property OBSERVACIONESIsNull: Boolean read GetOBSERVACIONESIsNull write SetOBSERVACIONESIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
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 CALLE: String read GetCALLEValue write SetCALLEValue;
property CALLEIsNull: Boolean read GetCALLEIsNull write SetCALLEIsNull;
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 CODIGO_POSTAL: String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue;
property CODIGO_POSTALIsNull: Boolean read GetCODIGO_POSTALIsNull write SetCODIGO_POSTALIsNull;
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 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_CONTRATO_CLIENTE: Integer read GetID_CONTRATO_CLIENTEValue write SetID_CONTRATO_CLIENTEValue;
property ID_CONTRATO_CLIENTEIsNull: Boolean read GetID_CONTRATO_CLIENTEIsNull write SetID_CONTRATO_CLIENTEIsNull;
property REF_CON_CLIENTE: String read GetREF_CON_CLIENTEValue write SetREF_CON_CLIENTEValue;
property REF_CON_CLIENTEIsNull: Boolean read GetREF_CON_CLIENTEIsNull write SetREF_CON_CLIENTEIsNull;
property NOMBRE_CLIENTE: String read GetNOMBRE_CLIENTEValue write SetNOMBRE_CLIENTEValue;
property NOMBRE_CLIENTEIsNull: Boolean read GetNOMBRE_CLIENTEIsNull write SetNOMBRE_CLIENTEIsNull;
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 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 ID_TIENDA: Integer read GetID_TIENDAValue write SetID_TIENDAValue;
property ID_TIENDAIsNull: Boolean read GetID_TIENDAIsNull write SetID_TIENDAIsNull;
property ID_VENDEDOR: Integer read GetID_VENDEDORValue write SetID_VENDEDORValue;
property ID_VENDEDORIsNull: Boolean read GetID_VENDEDORIsNull write SetID_VENDEDORIsNull;
property VENDEDOR: String read GetVENDEDORValue write SetVENDEDORValue;
property VENDEDORIsNull: Boolean read GetVENDEDORIsNull write SetVENDEDORIsNull;
property REF_VENDEDOR: String read GetREF_VENDEDORValue write SetREF_VENDEDORValue;
property REF_VENDEDORIsNull: Boolean read GetREF_VENDEDORIsNull write SetREF_VENDEDORIsNull;
property ID_DIRECCION: Integer read GetID_DIRECCIONValue write SetID_DIRECCIONValue;
property ID_DIRECCIONIsNull: Boolean read GetID_DIRECCIONIsNull write SetID_DIRECCIONIsNull;
property ID_TIPO_IVA: Integer read GetID_TIPO_IVAValue write SetID_TIPO_IVAValue;
property ID_TIPO_IVAIsNull: Boolean read GetID_TIPO_IVAIsNull write SetID_TIPO_IVAIsNull;
property ID_ALBARAN: Integer read GetID_ALBARANValue write SetID_ALBARANValue;
property ID_ALBARANIsNull: Boolean read GetID_ALBARANIsNull write SetID_ALBARANIsNull;
property REF_ALBARAN: String read GetREF_ALBARANValue write SetREF_ALBARANValue;
property REF_ALBARANIsNull: Boolean read GetREF_ALBARANIsNull write SetREF_ALBARANIsNull;
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 CONCEPTO_BUSQUEDA: String read GetCONCEPTO_BUSQUEDAValue write SetCONCEPTO_BUSQUEDAValue;
property CONCEPTO_BUSQUEDAIsNull: Boolean read GetCONCEPTO_BUSQUEDAIsNull write SetCONCEPTO_BUSQUEDAIsNull;
public
constructor Create(aDataTable: TDADataTable); override;
destructor Destroy; override;
end;
{ IPedidosProveedor_Detalles }
IPedidosProveedor_Detalles = interface(IDAStronglyTypedDataTable)
['{E2F8C2BD-6B95-45C7-B080-C6CE1F4DABFD}']
{ Property getters and setters }
function GetIDValue: Integer;
procedure SetIDValue(const aValue: Integer);
function GetIDIsNull: Boolean;
procedure SetIDIsNull(const aValue: Boolean);
function GetID_PEDIDOValue: Integer;
procedure SetID_PEDIDOValue(const aValue: Integer);
function GetID_PEDIDOIsNull: Boolean;
procedure SetID_PEDIDOIsNull(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 GetCONCEPTOValue: String;
procedure SetCONCEPTOValue(const aValue: String);
function GetCONCEPTOIsNull: Boolean;
procedure SetCONCEPTOIsNull(const aValue: Boolean);
function GetCANTIDADValue: Currency;
procedure SetCANTIDADValue(const aValue: Currency);
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 GetVISIBLEValue: Integer;
procedure SetVISIBLEValue(const aValue: Integer);
function GetVISIBLEIsNull: Boolean;
procedure SetVISIBLEIsNull(const aValue: Boolean);
function GetID_ARTICULOValue: Integer;
procedure SetID_ARTICULOValue(const aValue: Integer);
function GetID_ARTICULOIsNull: Boolean;
procedure SetID_ARTICULOIsNull(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 GetVALORADOValue: SmallInt;
procedure SetVALORADOValue(const aValue: SmallInt);
function GetVALORADOIsNull: Boolean;
procedure SetVALORADOIsNull(const aValue: Boolean);
function GetREFERENCIAValue: String;
procedure SetREFERENCIAValue(const aValue: String);
function GetREFERENCIAIsNull: Boolean;
procedure SetREFERENCIAIsNull(const aValue: Boolean);
function GetUNIDAD_MEDIDAValue: String;
procedure SetUNIDAD_MEDIDAValue(const aValue: String);
function GetUNIDAD_MEDIDAIsNull: Boolean;
procedure SetUNIDAD_MEDIDAIsNull(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_PEDIDO: Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
property ID_PEDIDOIsNull: Boolean read GetID_PEDIDOIsNull write SetID_PEDIDOIsNull;
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 CONCEPTO: String read GetCONCEPTOValue write SetCONCEPTOValue;
property CONCEPTOIsNull: Boolean read GetCONCEPTOIsNull write SetCONCEPTOIsNull;
property CANTIDAD: Currency 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 VISIBLE: Integer read GetVISIBLEValue write SetVISIBLEValue;
property VISIBLEIsNull: Boolean read GetVISIBLEIsNull write SetVISIBLEIsNull;
property ID_ARTICULO: Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
property ID_ARTICULOIsNull: Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
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 VALORADO: SmallInt read GetVALORADOValue write SetVALORADOValue;
property VALORADOIsNull: Boolean read GetVALORADOIsNull write SetVALORADOIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property UNIDAD_MEDIDA: String read GetUNIDAD_MEDIDAValue write SetUNIDAD_MEDIDAValue;
property UNIDAD_MEDIDAIsNull: Boolean read GetUNIDAD_MEDIDAIsNull write SetUNIDAD_MEDIDAIsNull;
property REFERENCIA_PROVEEDOR: String read GetREFERENCIA_PROVEEDORValue write SetREFERENCIA_PROVEEDORValue;
property REFERENCIA_PROVEEDORIsNull: Boolean read GetREFERENCIA_PROVEEDORIsNull write SetREFERENCIA_PROVEEDORIsNull;
end;
{ TPedidosProveedor_DetallesDataTableRules }
TPedidosProveedor_DetallesDataTableRules = class(TIntfObjectDADataTableRules, IPedidosProveedor_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_PEDIDOValue: Integer; virtual;
procedure SetID_PEDIDOValue(const aValue: Integer); virtual;
function GetID_PEDIDOIsNull: Boolean; virtual;
procedure SetID_PEDIDOIsNull(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 GetCONCEPTOValue: String; virtual;
procedure SetCONCEPTOValue(const aValue: String); virtual;
function GetCONCEPTOIsNull: Boolean; virtual;
procedure SetCONCEPTOIsNull(const aValue: Boolean); virtual;
function GetCANTIDADValue: Currency; virtual;
procedure SetCANTIDADValue(const aValue: Currency); 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 GetVISIBLEValue: Integer; virtual;
procedure SetVISIBLEValue(const aValue: Integer); virtual;
function GetVISIBLEIsNull: Boolean; virtual;
procedure SetVISIBLEIsNull(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 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 GetVALORADOValue: SmallInt; virtual;
procedure SetVALORADOValue(const aValue: SmallInt); virtual;
function GetVALORADOIsNull: Boolean; virtual;
procedure SetVALORADOIsNull(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 GetUNIDAD_MEDIDAValue: String; virtual;
procedure SetUNIDAD_MEDIDAValue(const aValue: String); virtual;
function GetUNIDAD_MEDIDAIsNull: Boolean; virtual;
procedure SetUNIDAD_MEDIDAIsNull(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_PEDIDO: Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
property ID_PEDIDOIsNull: Boolean read GetID_PEDIDOIsNull write SetID_PEDIDOIsNull;
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 CONCEPTO: String read GetCONCEPTOValue write SetCONCEPTOValue;
property CONCEPTOIsNull: Boolean read GetCONCEPTOIsNull write SetCONCEPTOIsNull;
property CANTIDAD: Currency 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 VISIBLE: Integer read GetVISIBLEValue write SetVISIBLEValue;
property VISIBLEIsNull: Boolean read GetVISIBLEIsNull write SetVISIBLEIsNull;
property ID_ARTICULO: Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
property ID_ARTICULOIsNull: Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
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 VALORADO: SmallInt read GetVALORADOValue write SetVALORADOValue;
property VALORADOIsNull: Boolean read GetVALORADOIsNull write SetVALORADOIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property UNIDAD_MEDIDA: String read GetUNIDAD_MEDIDAValue write SetUNIDAD_MEDIDAValue;
property UNIDAD_MEDIDAIsNull: Boolean read GetUNIDAD_MEDIDAIsNull write SetUNIDAD_MEDIDAIsNull;
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;
{ IPedidosProveedor_Articulos_Pendientes }
IPedidosProveedor_Articulos_Pendientes = interface(IDAStronglyTypedDataTable)
['{8F36C6F5-433D-42EC-882C-D6BAD141C181}']
{ Property getters and setters }
function GetID_PEDIDOValue: Integer;
procedure SetID_PEDIDOValue(const aValue: Integer);
function GetID_PEDIDOIsNull: Boolean;
procedure SetID_PEDIDOIsNull(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: Currency;
procedure SetCANTIDADValue(const aValue: Currency);
function GetCANTIDADIsNull: Boolean;
procedure SetCANTIDADIsNull(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_PEDIDO: Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
property ID_PEDIDOIsNull: Boolean read GetID_PEDIDOIsNull write SetID_PEDIDOIsNull;
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: Currency read GetCANTIDADValue write SetCANTIDADValue;
property CANTIDADIsNull: Boolean read GetCANTIDADIsNull write SetCANTIDADIsNull;
property REFERENCIA_PROVEEDOR: String read GetREFERENCIA_PROVEEDORValue write SetREFERENCIA_PROVEEDORValue;
property REFERENCIA_PROVEEDORIsNull: Boolean read GetREFERENCIA_PROVEEDORIsNull write SetREFERENCIA_PROVEEDORIsNull;
end;
{ TPedidosProveedor_Articulos_PendientesDataTableRules }
TPedidosProveedor_Articulos_PendientesDataTableRules = class(TIntfObjectDADataTableRules, IPedidosProveedor_Articulos_Pendientes)
private
protected
{ Property getters and setters }
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 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: Currency; virtual;
procedure SetCANTIDADValue(const aValue: Currency); virtual;
function GetCANTIDADIsNull: Boolean; virtual;
procedure SetCANTIDADIsNull(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_PEDIDO: Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
property ID_PEDIDOIsNull: Boolean read GetID_PEDIDOIsNull write SetID_PEDIDOIsNull;
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: Currency read GetCANTIDADValue write SetCANTIDADValue;
property CANTIDADIsNull: Boolean read GetCANTIDADIsNull write SetCANTIDADIsNull;
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;
{ IPedidosProveedorConArticuloBuscado }
IPedidosProveedorConArticuloBuscado = interface(IDAStronglyTypedDataTable)
['{FCE4FAFE-0D3A-4B79-B8FC-09E7C97B47DD}']
{ 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_PROVEEDORValue: Integer;
procedure SetID_PROVEEDORValue(const aValue: Integer);
function GetID_PROVEEDORIsNull: Boolean;
procedure SetID_PROVEEDORIsNull(const aValue: Boolean);
function GetNOMBREValue: String;
procedure SetNOMBREValue(const aValue: String);
function GetNOMBREIsNull: Boolean;
procedure SetNOMBREIsNull(const aValue: Boolean);
function GetNOMBRE_COMERCIALValue: String;
procedure SetNOMBRE_COMERCIALValue(const aValue: String);
function GetNOMBRE_COMERCIALIsNull: Boolean;
procedure SetNOMBRE_COMERCIALIsNull(const aValue: Boolean);
function GetREFERENCIAValue: String;
procedure SetREFERENCIAValue(const aValue: String);
function GetREFERENCIAIsNull: Boolean;
procedure SetREFERENCIAIsNull(const aValue: Boolean);
function GetSITUACIONValue: String;
procedure SetSITUACIONValue(const aValue: String);
function GetSITUACIONIsNull: Boolean;
procedure SetSITUACIONIsNull(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_PEDIDOValue: DateTime;
procedure SetFECHA_PEDIDOValue(const aValue: DateTime);
function GetFECHA_PEDIDOIsNull: Boolean;
procedure SetFECHA_PEDIDOIsNull(const aValue: Boolean);
function GetFECHA_CONFIRMACIONValue: DateTime;
procedure SetFECHA_CONFIRMACIONValue(const aValue: DateTime);
function GetFECHA_CONFIRMACIONIsNull: Boolean;
procedure SetFECHA_CONFIRMACIONIsNull(const aValue: Boolean);
function GetFECHA_ENTREGAValue: DateTime;
procedure SetFECHA_ENTREGAValue(const aValue: DateTime);
function GetFECHA_ENTREGAIsNull: Boolean;
procedure SetFECHA_ENTREGAIsNull(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 GetOBSERVACIONESValue: IROStrings;
function GetOBSERVACIONESIsNull: Boolean;
procedure SetOBSERVACIONESIsNull(const aValue: Boolean);
function GetIMPORTE_TOTALValue: Currency;
procedure SetIMPORTE_TOTALValue(const aValue: Currency);
function GetIMPORTE_TOTALIsNull: Boolean;
procedure SetIMPORTE_TOTALIsNull(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 GetCALLEValue: String;
procedure SetCALLEValue(const aValue: String);
function GetCALLEIsNull: Boolean;
procedure SetCALLEIsNull(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 GetCODIGO_POSTALValue: String;
procedure SetCODIGO_POSTALValue(const aValue: String);
function GetCODIGO_POSTALIsNull: Boolean;
procedure SetCODIGO_POSTALIsNull(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 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_CONTRATO_CLIENTEValue: Integer;
procedure SetID_CONTRATO_CLIENTEValue(const aValue: Integer);
function GetID_CONTRATO_CLIENTEIsNull: Boolean;
procedure SetID_CONTRATO_CLIENTEIsNull(const aValue: Boolean);
function GetREF_CON_CLIENTEValue: String;
procedure SetREF_CON_CLIENTEValue(const aValue: String);
function GetREF_CON_CLIENTEIsNull: Boolean;
procedure SetREF_CON_CLIENTEIsNull(const aValue: Boolean);
function GetNOMBRE_CLIENTEValue: String;
procedure SetNOMBRE_CLIENTEValue(const aValue: String);
function GetNOMBRE_CLIENTEIsNull: Boolean;
procedure SetNOMBRE_CLIENTEIsNull(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 GetID_FORMA_PAGOValue: Integer;
procedure SetID_FORMA_PAGOValue(const aValue: Integer);
function GetID_FORMA_PAGOIsNull: Boolean;
procedure SetID_FORMA_PAGOIsNull(const aValue: Boolean);
function GetID_TIENDAValue: Integer;
procedure SetID_TIENDAValue(const aValue: Integer);
function GetID_TIENDAIsNull: Boolean;
procedure SetID_TIENDAIsNull(const aValue: Boolean);
function GetID_VENDEDORValue: Integer;
procedure SetID_VENDEDORValue(const aValue: Integer);
function GetID_VENDEDORIsNull: Boolean;
procedure SetID_VENDEDORIsNull(const aValue: Boolean);
function GetVENDEDORValue: String;
procedure SetVENDEDORValue(const aValue: String);
function GetVENDEDORIsNull: Boolean;
procedure SetVENDEDORIsNull(const aValue: Boolean);
function GetREF_VENDEDORValue: String;
procedure SetREF_VENDEDORValue(const aValue: String);
function GetREF_VENDEDORIsNull: Boolean;
procedure SetREF_VENDEDORIsNull(const aValue: Boolean);
function GetID_DIRECCIONValue: Integer;
procedure SetID_DIRECCIONValue(const aValue: Integer);
function GetID_DIRECCIONIsNull: Boolean;
procedure SetID_DIRECCIONIsNull(const aValue: Boolean);
function GetID_TIPO_IVAValue: Integer;
procedure SetID_TIPO_IVAValue(const aValue: Integer);
function GetID_TIPO_IVAIsNull: Boolean;
procedure SetID_TIPO_IVAIsNull(const aValue: Boolean);
function GetCONCEPTO_BUSQUEDAValue: String;
procedure SetCONCEPTO_BUSQUEDAValue(const aValue: String);
function GetCONCEPTO_BUSQUEDAIsNull: Boolean;
procedure SetCONCEPTO_BUSQUEDAIsNull(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_PROVEEDOR: Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue;
property ID_PROVEEDORIsNull: Boolean read GetID_PROVEEDORIsNull write SetID_PROVEEDORIsNull;
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
property NOMBRE_COMERCIAL: String read GetNOMBRE_COMERCIALValue write SetNOMBRE_COMERCIALValue;
property NOMBRE_COMERCIALIsNull: Boolean read GetNOMBRE_COMERCIALIsNull write SetNOMBRE_COMERCIALIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
property FECHA_ENVIO: DateTime read GetFECHA_ENVIOValue write SetFECHA_ENVIOValue;
property FECHA_ENVIOIsNull: Boolean read GetFECHA_ENVIOIsNull write SetFECHA_ENVIOIsNull;
property FECHA_PEDIDO: DateTime read GetFECHA_PEDIDOValue write SetFECHA_PEDIDOValue;
property FECHA_PEDIDOIsNull: Boolean read GetFECHA_PEDIDOIsNull write SetFECHA_PEDIDOIsNull;
property FECHA_CONFIRMACION: DateTime read GetFECHA_CONFIRMACIONValue write SetFECHA_CONFIRMACIONValue;
property FECHA_CONFIRMACIONIsNull: Boolean read GetFECHA_CONFIRMACIONIsNull write SetFECHA_CONFIRMACIONIsNull;
property FECHA_ENTREGA: DateTime read GetFECHA_ENTREGAValue write SetFECHA_ENTREGAValue;
property FECHA_ENTREGAIsNull: Boolean read GetFECHA_ENTREGAIsNull write SetFECHA_ENTREGAIsNull;
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 OBSERVACIONES: IROStrings read GetOBSERVACIONESValue;
property OBSERVACIONESIsNull: Boolean read GetOBSERVACIONESIsNull write SetOBSERVACIONESIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
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 CALLE: String read GetCALLEValue write SetCALLEValue;
property CALLEIsNull: Boolean read GetCALLEIsNull write SetCALLEIsNull;
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 CODIGO_POSTAL: String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue;
property CODIGO_POSTALIsNull: Boolean read GetCODIGO_POSTALIsNull write SetCODIGO_POSTALIsNull;
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 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_CONTRATO_CLIENTE: Integer read GetID_CONTRATO_CLIENTEValue write SetID_CONTRATO_CLIENTEValue;
property ID_CONTRATO_CLIENTEIsNull: Boolean read GetID_CONTRATO_CLIENTEIsNull write SetID_CONTRATO_CLIENTEIsNull;
property REF_CON_CLIENTE: String read GetREF_CON_CLIENTEValue write SetREF_CON_CLIENTEValue;
property REF_CON_CLIENTEIsNull: Boolean read GetREF_CON_CLIENTEIsNull write SetREF_CON_CLIENTEIsNull;
property NOMBRE_CLIENTE: String read GetNOMBRE_CLIENTEValue write SetNOMBRE_CLIENTEValue;
property NOMBRE_CLIENTEIsNull: Boolean read GetNOMBRE_CLIENTEIsNull write SetNOMBRE_CLIENTEIsNull;
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 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 ID_TIENDA: Integer read GetID_TIENDAValue write SetID_TIENDAValue;
property ID_TIENDAIsNull: Boolean read GetID_TIENDAIsNull write SetID_TIENDAIsNull;
property ID_VENDEDOR: Integer read GetID_VENDEDORValue write SetID_VENDEDORValue;
property ID_VENDEDORIsNull: Boolean read GetID_VENDEDORIsNull write SetID_VENDEDORIsNull;
property VENDEDOR: String read GetVENDEDORValue write SetVENDEDORValue;
property VENDEDORIsNull: Boolean read GetVENDEDORIsNull write SetVENDEDORIsNull;
property REF_VENDEDOR: String read GetREF_VENDEDORValue write SetREF_VENDEDORValue;
property REF_VENDEDORIsNull: Boolean read GetREF_VENDEDORIsNull write SetREF_VENDEDORIsNull;
property ID_DIRECCION: Integer read GetID_DIRECCIONValue write SetID_DIRECCIONValue;
property ID_DIRECCIONIsNull: Boolean read GetID_DIRECCIONIsNull write SetID_DIRECCIONIsNull;
property ID_TIPO_IVA: Integer read GetID_TIPO_IVAValue write SetID_TIPO_IVAValue;
property ID_TIPO_IVAIsNull: Boolean read GetID_TIPO_IVAIsNull write SetID_TIPO_IVAIsNull;
property CONCEPTO_BUSQUEDA: String read GetCONCEPTO_BUSQUEDAValue write SetCONCEPTO_BUSQUEDAValue;
property CONCEPTO_BUSQUEDAIsNull: Boolean read GetCONCEPTO_BUSQUEDAIsNull write SetCONCEPTO_BUSQUEDAIsNull;
end;
{ TPedidosProveedorConArticuloBuscadoDataTableRules }
TPedidosProveedorConArticuloBuscadoDataTableRules = class(TIntfObjectDADataTableRules, IPedidosProveedorConArticuloBuscado)
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_PROVEEDORValue: Integer; virtual;
procedure SetID_PROVEEDORValue(const aValue: Integer); virtual;
function GetID_PROVEEDORIsNull: Boolean; virtual;
procedure SetID_PROVEEDORIsNull(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 GetNOMBRE_COMERCIALValue: String; virtual;
procedure SetNOMBRE_COMERCIALValue(const aValue: String); virtual;
function GetNOMBRE_COMERCIALIsNull: Boolean; virtual;
procedure SetNOMBRE_COMERCIALIsNull(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 GetSITUACIONValue: String; virtual;
procedure SetSITUACIONValue(const aValue: String); virtual;
function GetSITUACIONIsNull: Boolean; virtual;
procedure SetSITUACIONIsNull(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_PEDIDOValue: DateTime; virtual;
procedure SetFECHA_PEDIDOValue(const aValue: DateTime); virtual;
function GetFECHA_PEDIDOIsNull: Boolean; virtual;
procedure SetFECHA_PEDIDOIsNull(const aValue: Boolean); virtual;
function GetFECHA_CONFIRMACIONValue: DateTime; virtual;
procedure SetFECHA_CONFIRMACIONValue(const aValue: DateTime); virtual;
function GetFECHA_CONFIRMACIONIsNull: Boolean; virtual;
procedure SetFECHA_CONFIRMACIONIsNull(const aValue: Boolean); virtual;
function GetFECHA_ENTREGAValue: DateTime; virtual;
procedure SetFECHA_ENTREGAValue(const aValue: DateTime); virtual;
function GetFECHA_ENTREGAIsNull: Boolean; virtual;
procedure SetFECHA_ENTREGAIsNull(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 GetOBSERVACIONESValue: IROStrings; virtual;
function GetOBSERVACIONESIsNull: Boolean; virtual;
procedure SetOBSERVACIONESIsNull(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 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 GetCALLEValue: String; virtual;
procedure SetCALLEValue(const aValue: String); virtual;
function GetCALLEIsNull: Boolean; virtual;
procedure SetCALLEIsNull(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 GetCODIGO_POSTALValue: String; virtual;
procedure SetCODIGO_POSTALValue(const aValue: String); virtual;
function GetCODIGO_POSTALIsNull: Boolean; virtual;
procedure SetCODIGO_POSTALIsNull(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 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_CONTRATO_CLIENTEValue: Integer; virtual;
procedure SetID_CONTRATO_CLIENTEValue(const aValue: Integer); virtual;
function GetID_CONTRATO_CLIENTEIsNull: Boolean; virtual;
procedure SetID_CONTRATO_CLIENTEIsNull(const aValue: Boolean); virtual;
function GetREF_CON_CLIENTEValue: String; virtual;
procedure SetREF_CON_CLIENTEValue(const aValue: String); virtual;
function GetREF_CON_CLIENTEIsNull: Boolean; virtual;
procedure SetREF_CON_CLIENTEIsNull(const aValue: Boolean); virtual;
function GetNOMBRE_CLIENTEValue: String; virtual;
procedure SetNOMBRE_CLIENTEValue(const aValue: String); virtual;
function GetNOMBRE_CLIENTEIsNull: Boolean; virtual;
procedure SetNOMBRE_CLIENTEIsNull(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 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 GetID_TIENDAValue: Integer; virtual;
procedure SetID_TIENDAValue(const aValue: Integer); virtual;
function GetID_TIENDAIsNull: Boolean; virtual;
procedure SetID_TIENDAIsNull(const aValue: Boolean); virtual;
function GetID_VENDEDORValue: Integer; virtual;
procedure SetID_VENDEDORValue(const aValue: Integer); virtual;
function GetID_VENDEDORIsNull: Boolean; virtual;
procedure SetID_VENDEDORIsNull(const aValue: Boolean); virtual;
function GetVENDEDORValue: String; virtual;
procedure SetVENDEDORValue(const aValue: String); virtual;
function GetVENDEDORIsNull: Boolean; virtual;
procedure SetVENDEDORIsNull(const aValue: Boolean); virtual;
function GetREF_VENDEDORValue: String; virtual;
procedure SetREF_VENDEDORValue(const aValue: String); virtual;
function GetREF_VENDEDORIsNull: Boolean; virtual;
procedure SetREF_VENDEDORIsNull(const aValue: Boolean); virtual;
function GetID_DIRECCIONValue: Integer; virtual;
procedure SetID_DIRECCIONValue(const aValue: Integer); virtual;
function GetID_DIRECCIONIsNull: Boolean; virtual;
procedure SetID_DIRECCIONIsNull(const aValue: Boolean); virtual;
function GetID_TIPO_IVAValue: Integer; virtual;
procedure SetID_TIPO_IVAValue(const aValue: Integer); virtual;
function GetID_TIPO_IVAIsNull: Boolean; virtual;
procedure SetID_TIPO_IVAIsNull(const aValue: Boolean); virtual;
function GetCONCEPTO_BUSQUEDAValue: String; virtual;
procedure SetCONCEPTO_BUSQUEDAValue(const aValue: String); virtual;
function GetCONCEPTO_BUSQUEDAIsNull: Boolean; virtual;
procedure SetCONCEPTO_BUSQUEDAIsNull(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_PROVEEDOR: Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue;
property ID_PROVEEDORIsNull: Boolean read GetID_PROVEEDORIsNull write SetID_PROVEEDORIsNull;
property NOMBRE: String read GetNOMBREValue write SetNOMBREValue;
property NOMBREIsNull: Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
property NOMBRE_COMERCIAL: String read GetNOMBRE_COMERCIALValue write SetNOMBRE_COMERCIALValue;
property NOMBRE_COMERCIALIsNull: Boolean read GetNOMBRE_COMERCIALIsNull write SetNOMBRE_COMERCIALIsNull;
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
property REFERENCIAIsNull: Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
property FECHA_ENVIO: DateTime read GetFECHA_ENVIOValue write SetFECHA_ENVIOValue;
property FECHA_ENVIOIsNull: Boolean read GetFECHA_ENVIOIsNull write SetFECHA_ENVIOIsNull;
property FECHA_PEDIDO: DateTime read GetFECHA_PEDIDOValue write SetFECHA_PEDIDOValue;
property FECHA_PEDIDOIsNull: Boolean read GetFECHA_PEDIDOIsNull write SetFECHA_PEDIDOIsNull;
property FECHA_CONFIRMACION: DateTime read GetFECHA_CONFIRMACIONValue write SetFECHA_CONFIRMACIONValue;
property FECHA_CONFIRMACIONIsNull: Boolean read GetFECHA_CONFIRMACIONIsNull write SetFECHA_CONFIRMACIONIsNull;
property FECHA_ENTREGA: DateTime read GetFECHA_ENTREGAValue write SetFECHA_ENTREGAValue;
property FECHA_ENTREGAIsNull: Boolean read GetFECHA_ENTREGAIsNull write SetFECHA_ENTREGAIsNull;
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 OBSERVACIONES: IROStrings read GetOBSERVACIONESValue;
property OBSERVACIONESIsNull: Boolean read GetOBSERVACIONESIsNull write SetOBSERVACIONESIsNull;
property IMPORTE_TOTAL: Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
property IMPORTE_TOTALIsNull: Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
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 CALLE: String read GetCALLEValue write SetCALLEValue;
property CALLEIsNull: Boolean read GetCALLEIsNull write SetCALLEIsNull;
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 CODIGO_POSTAL: String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue;
property CODIGO_POSTALIsNull: Boolean read GetCODIGO_POSTALIsNull write SetCODIGO_POSTALIsNull;
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 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_CONTRATO_CLIENTE: Integer read GetID_CONTRATO_CLIENTEValue write SetID_CONTRATO_CLIENTEValue;
property ID_CONTRATO_CLIENTEIsNull: Boolean read GetID_CONTRATO_CLIENTEIsNull write SetID_CONTRATO_CLIENTEIsNull;
property REF_CON_CLIENTE: String read GetREF_CON_CLIENTEValue write SetREF_CON_CLIENTEValue;
property REF_CON_CLIENTEIsNull: Boolean read GetREF_CON_CLIENTEIsNull write SetREF_CON_CLIENTEIsNull;
property NOMBRE_CLIENTE: String read GetNOMBRE_CLIENTEValue write SetNOMBRE_CLIENTEValue;
property NOMBRE_CLIENTEIsNull: Boolean read GetNOMBRE_CLIENTEIsNull write SetNOMBRE_CLIENTEIsNull;
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 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 ID_TIENDA: Integer read GetID_TIENDAValue write SetID_TIENDAValue;
property ID_TIENDAIsNull: Boolean read GetID_TIENDAIsNull write SetID_TIENDAIsNull;
property ID_VENDEDOR: Integer read GetID_VENDEDORValue write SetID_VENDEDORValue;
property ID_VENDEDORIsNull: Boolean read GetID_VENDEDORIsNull write SetID_VENDEDORIsNull;
property VENDEDOR: String read GetVENDEDORValue write SetVENDEDORValue;
property VENDEDORIsNull: Boolean read GetVENDEDORIsNull write SetVENDEDORIsNull;
property REF_VENDEDOR: String read GetREF_VENDEDORValue write SetREF_VENDEDORValue;
property REF_VENDEDORIsNull: Boolean read GetREF_VENDEDORIsNull write SetREF_VENDEDORIsNull;
property ID_DIRECCION: Integer read GetID_DIRECCIONValue write SetID_DIRECCIONValue;
property ID_DIRECCIONIsNull: Boolean read GetID_DIRECCIONIsNull write SetID_DIRECCIONIsNull;
property ID_TIPO_IVA: Integer read GetID_TIPO_IVAValue write SetID_TIPO_IVAValue;
property ID_TIPO_IVAIsNull: Boolean read GetID_TIPO_IVAIsNull write SetID_TIPO_IVAIsNull;
property CONCEPTO_BUSQUEDA: String read GetCONCEPTO_BUSQUEDAValue write SetCONCEPTO_BUSQUEDAValue;
property CONCEPTO_BUSQUEDAIsNull: Boolean read GetCONCEPTO_BUSQUEDAIsNull write SetCONCEPTO_BUSQUEDAIsNull;
public
constructor Create(aDataTable: TDADataTable); override;
destructor Destroy; override;
end;
implementation
uses Variants, uROBinaryHelpers;
{ TListaAnosPedidosDataTableRules }
constructor TListaAnosPedidosDataTableRules.Create(aDataTable: TDADataTable);
begin
inherited;
end;
destructor TListaAnosPedidosDataTableRules.Destroy;
begin
inherited;
end;
function TListaAnosPedidosDataTableRules.GetANOValue: String;
begin
result := DataTable.Fields[idx_ListaAnosPedidosANO].AsString;
end;
procedure TListaAnosPedidosDataTableRules.SetANOValue(const aValue: String);
begin
DataTable.Fields[idx_ListaAnosPedidosANO].AsString := aValue;
end;
function TListaAnosPedidosDataTableRules.GetANOIsNull: boolean;
begin
result := DataTable.Fields[idx_ListaAnosPedidosANO].IsNull;
end;
procedure TListaAnosPedidosDataTableRules.SetANOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_ListaAnosPedidosANO].AsVariant := Null;
end;
{ TPedidosProveedorDataTableRules }
constructor TPedidosProveedorDataTableRules.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 TPedidosProveedorDataTableRules.Destroy;
begin
inherited;
end;
procedure TPedidosProveedorDataTableRules.OBSERVACIONES_OnChange(Sender: TObject);
begin
if DataTable.Editing then DataTable.Fields[idx_PedidosProveedorOBSERVACIONES].AsVariant := TStringList(Sender).Text;
end;
procedure TPedidosProveedorDataTableRules.INCIDENCIAS_OnChange(Sender: TObject);
begin
if DataTable.Editing then DataTable.Fields[idx_PedidosProveedorINCIDENCIAS].AsVariant := TStringList(Sender).Text;
end;
function TPedidosProveedorDataTableRules.GetIDValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetIDValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetIDIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetIDIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetID_EMPRESAValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID_EMPRESA].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetID_EMPRESAValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID_EMPRESA].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetID_EMPRESAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID_EMPRESA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetID_EMPRESAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID_EMPRESA].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetID_PROVEEDORValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID_PROVEEDOR].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetID_PROVEEDORValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID_PROVEEDOR].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetID_PROVEEDORIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID_PROVEEDOR].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetID_PROVEEDORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID_PROVEEDOR].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetNOMBREValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorNOMBRE].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetNOMBREValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorNOMBRE].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetNOMBREIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorNOMBRE].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetNOMBREIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorNOMBRE].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetNOMBRE_COMERCIALValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorNOMBRE_COMERCIAL].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetNOMBRE_COMERCIALValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorNOMBRE_COMERCIAL].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetNOMBRE_COMERCIALIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorNOMBRE_COMERCIAL].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetNOMBRE_COMERCIALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorNOMBRE_COMERCIAL].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetREFERENCIAValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorREFERENCIA].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetREFERENCIAValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorREFERENCIA].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetREFERENCIAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorREFERENCIA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetREFERENCIAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorREFERENCIA].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetSITUACIONValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorSITUACION].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetSITUACIONValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorSITUACION].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetSITUACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorSITUACION].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetSITUACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorSITUACION].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetFECHA_ENVIOValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_ENVIO].AsDateTime;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_ENVIOValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorFECHA_ENVIO].AsDateTime := aValue;
end;
function TPedidosProveedorDataTableRules.GetFECHA_ENVIOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_ENVIO].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_ENVIOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorFECHA_ENVIO].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetFECHA_PEDIDOValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_PEDIDO].AsDateTime;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_PEDIDOValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorFECHA_PEDIDO].AsDateTime := aValue;
end;
function TPedidosProveedorDataTableRules.GetFECHA_PEDIDOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_PEDIDO].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_PEDIDOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorFECHA_PEDIDO].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetFECHA_CONFIRMACIONValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_CONFIRMACION].AsDateTime;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_CONFIRMACIONValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorFECHA_CONFIRMACION].AsDateTime := aValue;
end;
function TPedidosProveedorDataTableRules.GetFECHA_CONFIRMACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_CONFIRMACION].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_CONFIRMACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorFECHA_CONFIRMACION].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetFECHA_ENTREGAValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_ENTREGA].AsDateTime;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_ENTREGAValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorFECHA_ENTREGA].AsDateTime := aValue;
end;
function TPedidosProveedorDataTableRules.GetFECHA_ENTREGAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_ENTREGA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_ENTREGAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorFECHA_ENTREGA].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetID_ALMACENValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID_ALMACEN].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetID_ALMACENValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID_ALMACEN].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetID_ALMACENIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID_ALMACEN].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetID_ALMACENIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID_ALMACEN].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetNOMBRE_ALMACENValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorNOMBRE_ALMACEN].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetNOMBRE_ALMACENValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorNOMBRE_ALMACEN].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetNOMBRE_ALMACENIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorNOMBRE_ALMACEN].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetNOMBRE_ALMACENIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorNOMBRE_ALMACEN].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetOBSERVACIONESValue: IROStrings;
begin
result := f_OBSERVACIONES;
result.Text := DataTable.Fields[idx_PedidosProveedorOBSERVACIONES].AsString;
end;
function TPedidosProveedorDataTableRules.GetOBSERVACIONESIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorOBSERVACIONES].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetOBSERVACIONESIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorOBSERVACIONES].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetIMPORTE_TOTALValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorIMPORTE_TOTAL].AsCurrency;
end;
procedure TPedidosProveedorDataTableRules.SetIMPORTE_TOTALValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorIMPORTE_TOTAL].AsCurrency := aValue;
end;
function TPedidosProveedorDataTableRules.GetIMPORTE_TOTALIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorIMPORTE_TOTAL].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetIMPORTE_TOTALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorIMPORTE_TOTAL].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetINCIDENCIASValue: IROStrings;
begin
result := f_INCIDENCIAS;
result.Text := DataTable.Fields[idx_PedidosProveedorINCIDENCIAS].AsString;
end;
function TPedidosProveedorDataTableRules.GetINCIDENCIASIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorINCIDENCIAS].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetINCIDENCIASIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorINCIDENCIAS].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetINCIDENCIAS_ACTIVASValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorINCIDENCIAS_ACTIVAS].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetINCIDENCIAS_ACTIVASValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorINCIDENCIAS_ACTIVAS].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetINCIDENCIAS_ACTIVASIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorINCIDENCIAS_ACTIVAS].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetINCIDENCIAS_ACTIVASIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorINCIDENCIAS_ACTIVAS].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetCALLEValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorCALLE].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetCALLEValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorCALLE].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetCALLEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorCALLE].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetCALLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorCALLE].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetPOBLACIONValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorPOBLACION].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetPOBLACIONValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorPOBLACION].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetPOBLACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorPOBLACION].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetPOBLACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorPOBLACION].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetPROVINCIAValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorPROVINCIA].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetPROVINCIAValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorPROVINCIA].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetPROVINCIAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorPROVINCIA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetPROVINCIAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorPROVINCIA].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetCODIGO_POSTALValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorCODIGO_POSTAL].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetCODIGO_POSTALValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorCODIGO_POSTAL].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetCODIGO_POSTALIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorCODIGO_POSTAL].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetCODIGO_POSTALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorCODIGO_POSTAL].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetPERSONA_CONTACTOValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorPERSONA_CONTACTO].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetPERSONA_CONTACTOValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorPERSONA_CONTACTO].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetPERSONA_CONTACTOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorPERSONA_CONTACTO].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetPERSONA_CONTACTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorPERSONA_CONTACTO].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetTELEFONOValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorTELEFONO].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetTELEFONOValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorTELEFONO].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetTELEFONOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorTELEFONO].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetTELEFONOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorTELEFONO].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetFECHA_ALTAValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_ALTA].AsDateTime;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_ALTAValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorFECHA_ALTA].AsDateTime := aValue;
end;
function TPedidosProveedorDataTableRules.GetFECHA_ALTAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_ALTA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_ALTAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorFECHA_ALTA].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetFECHA_MODIFICACIONValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_MODIFICACION].AsDateTime;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorFECHA_MODIFICACION].AsDateTime := aValue;
end;
function TPedidosProveedorDataTableRules.GetFECHA_MODIFICACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorFECHA_MODIFICACION].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetFECHA_MODIFICACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorFECHA_MODIFICACION].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetUSUARIOValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorUSUARIO].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetUSUARIOValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorUSUARIO].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetUSUARIOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorUSUARIO].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetUSUARIOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorUSUARIO].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetID_CONTRATO_CLIENTEValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID_CONTRATO_CLIENTE].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetID_CONTRATO_CLIENTEValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID_CONTRATO_CLIENTE].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetID_CONTRATO_CLIENTEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID_CONTRATO_CLIENTE].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetID_CONTRATO_CLIENTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID_CONTRATO_CLIENTE].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetREF_CON_CLIENTEValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorREF_CON_CLIENTE].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetREF_CON_CLIENTEValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorREF_CON_CLIENTE].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetREF_CON_CLIENTEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorREF_CON_CLIENTE].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetREF_CON_CLIENTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorREF_CON_CLIENTE].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetNOMBRE_CLIENTEValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorNOMBRE_CLIENTE].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetNOMBRE_CLIENTEValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorNOMBRE_CLIENTE].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetNOMBRE_CLIENTEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorNOMBRE_CLIENTE].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetNOMBRE_CLIENTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorNOMBRE_CLIENTE].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetIMPORTE_NETOValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorIMPORTE_NETO].AsCurrency;
end;
procedure TPedidosProveedorDataTableRules.SetIMPORTE_NETOValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorIMPORTE_NETO].AsCurrency := aValue;
end;
function TPedidosProveedorDataTableRules.GetIMPORTE_NETOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorIMPORTE_NETO].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetIMPORTE_NETOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorIMPORTE_NETO].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetIMPORTE_PORTEValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorIMPORTE_PORTE].AsCurrency;
end;
procedure TPedidosProveedorDataTableRules.SetIMPORTE_PORTEValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorIMPORTE_PORTE].AsCurrency := aValue;
end;
function TPedidosProveedorDataTableRules.GetIMPORTE_PORTEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorIMPORTE_PORTE].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetIMPORTE_PORTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorIMPORTE_PORTE].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetDESCUENTOValue: Float;
begin
result := DataTable.Fields[idx_PedidosProveedorDESCUENTO].AsFloat;
end;
procedure TPedidosProveedorDataTableRules.SetDESCUENTOValue(const aValue: Float);
begin
DataTable.Fields[idx_PedidosProveedorDESCUENTO].AsFloat := aValue;
end;
function TPedidosProveedorDataTableRules.GetDESCUENTOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorDESCUENTO].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetDESCUENTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorDESCUENTO].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetIMPORTE_DESCUENTOValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorIMPORTE_DESCUENTO].AsCurrency;
end;
procedure TPedidosProveedorDataTableRules.SetIMPORTE_DESCUENTOValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorIMPORTE_DESCUENTO].AsCurrency := aValue;
end;
function TPedidosProveedorDataTableRules.GetIMPORTE_DESCUENTOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorIMPORTE_DESCUENTO].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetIMPORTE_DESCUENTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorIMPORTE_DESCUENTO].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetBASE_IMPONIBLEValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorBASE_IMPONIBLE].AsCurrency;
end;
procedure TPedidosProveedorDataTableRules.SetBASE_IMPONIBLEValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorBASE_IMPONIBLE].AsCurrency := aValue;
end;
function TPedidosProveedorDataTableRules.GetBASE_IMPONIBLEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorBASE_IMPONIBLE].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetBASE_IMPONIBLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorBASE_IMPONIBLE].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetIVAValue: Float;
begin
result := DataTable.Fields[idx_PedidosProveedorIVA].AsFloat;
end;
procedure TPedidosProveedorDataTableRules.SetIVAValue(const aValue: Float);
begin
DataTable.Fields[idx_PedidosProveedorIVA].AsFloat := aValue;
end;
function TPedidosProveedorDataTableRules.GetIVAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorIVA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetIVAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorIVA].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetIMPORTE_IVAValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorIMPORTE_IVA].AsCurrency;
end;
procedure TPedidosProveedorDataTableRules.SetIMPORTE_IVAValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorIMPORTE_IVA].AsCurrency := aValue;
end;
function TPedidosProveedorDataTableRules.GetIMPORTE_IVAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorIMPORTE_IVA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetIMPORTE_IVAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorIMPORTE_IVA].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetID_FORMA_PAGOValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID_FORMA_PAGO].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetID_FORMA_PAGOValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID_FORMA_PAGO].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetID_FORMA_PAGOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID_FORMA_PAGO].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetID_FORMA_PAGOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID_FORMA_PAGO].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetID_TIENDAValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID_TIENDA].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetID_TIENDAValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID_TIENDA].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetID_TIENDAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID_TIENDA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetID_TIENDAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID_TIENDA].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetID_VENDEDORValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID_VENDEDOR].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetID_VENDEDORValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID_VENDEDOR].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetID_VENDEDORIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID_VENDEDOR].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetID_VENDEDORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID_VENDEDOR].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetVENDEDORValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorVENDEDOR].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetVENDEDORValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorVENDEDOR].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetVENDEDORIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorVENDEDOR].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetVENDEDORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorVENDEDOR].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetREF_VENDEDORValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorREF_VENDEDOR].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetREF_VENDEDORValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorREF_VENDEDOR].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetREF_VENDEDORIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorREF_VENDEDOR].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetREF_VENDEDORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorREF_VENDEDOR].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetID_DIRECCIONValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID_DIRECCION].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetID_DIRECCIONValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID_DIRECCION].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetID_DIRECCIONIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID_DIRECCION].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetID_DIRECCIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID_DIRECCION].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetID_TIPO_IVAValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID_TIPO_IVA].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetID_TIPO_IVAValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID_TIPO_IVA].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetID_TIPO_IVAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID_TIPO_IVA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetID_TIPO_IVAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID_TIPO_IVA].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetID_ALBARANValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID_ALBARAN].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetID_ALBARANValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID_ALBARAN].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetID_ALBARANIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID_ALBARAN].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetID_ALBARANIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID_ALBARAN].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetREF_ALBARANValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorREF_ALBARAN].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetREF_ALBARANValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorREF_ALBARAN].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetREF_ALBARANIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorREF_ALBARAN].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetREF_ALBARANIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorREF_ALBARAN].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetID_FACTURAValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorID_FACTURA].AsInteger;
end;
procedure TPedidosProveedorDataTableRules.SetID_FACTURAValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorID_FACTURA].AsInteger := aValue;
end;
function TPedidosProveedorDataTableRules.GetID_FACTURAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorID_FACTURA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetID_FACTURAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorID_FACTURA].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetREF_FACTURAValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorREF_FACTURA].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetREF_FACTURAValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorREF_FACTURA].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetREF_FACTURAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorREF_FACTURA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetREF_FACTURAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorREF_FACTURA].AsVariant := Null;
end;
function TPedidosProveedorDataTableRules.GetCONCEPTO_BUSQUEDAValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorCONCEPTO_BUSQUEDA].AsString;
end;
procedure TPedidosProveedorDataTableRules.SetCONCEPTO_BUSQUEDAValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorCONCEPTO_BUSQUEDA].AsString := aValue;
end;
function TPedidosProveedorDataTableRules.GetCONCEPTO_BUSQUEDAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorCONCEPTO_BUSQUEDA].IsNull;
end;
procedure TPedidosProveedorDataTableRules.SetCONCEPTO_BUSQUEDAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorCONCEPTO_BUSQUEDA].AsVariant := Null;
end;
{ TPedidosProveedor_DetallesDataTableRules }
constructor TPedidosProveedor_DetallesDataTableRules.Create(aDataTable: TDADataTable);
begin
inherited;
end;
destructor TPedidosProveedor_DetallesDataTableRules.Destroy;
begin
inherited;
end;
function TPedidosProveedor_DetallesDataTableRules.GetIDValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesID].AsInteger;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetIDValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesID].AsInteger := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetIDIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesID].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetIDIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesID].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetID_PEDIDOValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesID_PEDIDO].AsInteger;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetID_PEDIDOValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesID_PEDIDO].AsInteger := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetID_PEDIDOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesID_PEDIDO].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetID_PEDIDOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesID_PEDIDO].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetPOSICIONValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesPOSICION].AsInteger;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetPOSICIONValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesPOSICION].AsInteger := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetPOSICIONIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesPOSICION].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetPOSICIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesPOSICION].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetTIPO_DETALLEValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesTIPO_DETALLE].AsString;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetTIPO_DETALLEValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesTIPO_DETALLE].AsString := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetTIPO_DETALLEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesTIPO_DETALLE].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetTIPO_DETALLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesTIPO_DETALLE].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetCONCEPTOValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesCONCEPTO].AsString;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetCONCEPTOValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesCONCEPTO].AsString := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetCONCEPTOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesCONCEPTO].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetCONCEPTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesCONCEPTO].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetCANTIDADValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesCANTIDAD].AsCurrency;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetCANTIDADValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesCANTIDAD].AsCurrency := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetCANTIDADIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesCANTIDAD].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetCANTIDADIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesCANTIDAD].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetIMPORTE_UNIDADValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_UNIDAD].AsCurrency;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetIMPORTE_UNIDADValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_UNIDAD].AsCurrency := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetIMPORTE_UNIDADIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_UNIDAD].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetIMPORTE_UNIDADIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_UNIDAD].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetIMPORTE_TOTALValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_TOTAL].AsCurrency;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetIMPORTE_TOTALValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_TOTAL].AsCurrency := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetIMPORTE_TOTALIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_TOTAL].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetIMPORTE_TOTALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_TOTAL].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetVISIBLEValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesVISIBLE].AsInteger;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetVISIBLEValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesVISIBLE].AsInteger := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetVISIBLEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesVISIBLE].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetVISIBLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesVISIBLE].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetID_ARTICULOValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesID_ARTICULO].AsInteger;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetID_ARTICULOValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesID_ARTICULO].AsInteger := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetID_ARTICULOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesID_ARTICULO].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetID_ARTICULOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesID_ARTICULO].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetDESCUENTOValue: Float;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesDESCUENTO].AsFloat;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetDESCUENTOValue(const aValue: Float);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesDESCUENTO].AsFloat := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetDESCUENTOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesDESCUENTO].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetDESCUENTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesDESCUENTO].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetIMPORTE_PORTEValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_PORTE].AsCurrency;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetIMPORTE_PORTEValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_PORTE].AsCurrency := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetIMPORTE_PORTEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_PORTE].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetIMPORTE_PORTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesIMPORTE_PORTE].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetVALORADOValue: SmallInt;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesVALORADO].AsSmallInt;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetVALORADOValue(const aValue: SmallInt);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesVALORADO].AsSmallInt := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetVALORADOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesVALORADO].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetVALORADOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesVALORADO].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetREFERENCIAValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesREFERENCIA].AsString;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetREFERENCIAValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesREFERENCIA].AsString := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetREFERENCIAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesREFERENCIA].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetREFERENCIAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesREFERENCIA].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetUNIDAD_MEDIDAValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesUNIDAD_MEDIDA].AsString;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetUNIDAD_MEDIDAValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesUNIDAD_MEDIDA].AsString := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetUNIDAD_MEDIDAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesUNIDAD_MEDIDA].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetUNIDAD_MEDIDAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesUNIDAD_MEDIDA].AsVariant := Null;
end;
function TPedidosProveedor_DetallesDataTableRules.GetREFERENCIA_PROVEEDORValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesREFERENCIA_PROVEEDOR].AsString;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetREFERENCIA_PROVEEDORValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedor_DetallesREFERENCIA_PROVEEDOR].AsString := aValue;
end;
function TPedidosProveedor_DetallesDataTableRules.GetREFERENCIA_PROVEEDORIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_DetallesREFERENCIA_PROVEEDOR].IsNull;
end;
procedure TPedidosProveedor_DetallesDataTableRules.SetREFERENCIA_PROVEEDORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_DetallesREFERENCIA_PROVEEDOR].AsVariant := Null;
end;
{ TPedidosProveedor_Articulos_PendientesDataTableRules }
constructor TPedidosProveedor_Articulos_PendientesDataTableRules.Create(aDataTable: TDADataTable);
begin
inherited;
end;
destructor TPedidosProveedor_Articulos_PendientesDataTableRules.Destroy;
begin
inherited;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetID_PEDIDOValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesID_PEDIDO].AsInteger;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetID_PEDIDOValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesID_PEDIDO].AsInteger := aValue;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetID_PEDIDOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesID_PEDIDO].IsNull;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetID_PEDIDOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesID_PEDIDO].AsVariant := Null;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetREFERENCIAValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesREFERENCIA].AsString;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetREFERENCIAValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesREFERENCIA].AsString := aValue;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetREFERENCIAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesREFERENCIA].IsNull;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetREFERENCIAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesREFERENCIA].AsVariant := Null;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetID_ARTICULOValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesID_ARTICULO].AsInteger;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetID_ARTICULOValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesID_ARTICULO].AsInteger := aValue;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetID_ARTICULOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesID_ARTICULO].IsNull;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetID_ARTICULOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesID_ARTICULO].AsVariant := Null;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetCONCEPTOValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesCONCEPTO].AsString;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetCONCEPTOValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesCONCEPTO].AsString := aValue;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetCONCEPTOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesCONCEPTO].IsNull;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetCONCEPTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesCONCEPTO].AsVariant := Null;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetCANTIDADValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesCANTIDAD].AsCurrency;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetCANTIDADValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesCANTIDAD].AsCurrency := aValue;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetCANTIDADIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesCANTIDAD].IsNull;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetCANTIDADIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesCANTIDAD].AsVariant := Null;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetREFERENCIA_PROVEEDORValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesREFERENCIA_PROVEEDOR].AsString;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetREFERENCIA_PROVEEDORValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesREFERENCIA_PROVEEDOR].AsString := aValue;
end;
function TPedidosProveedor_Articulos_PendientesDataTableRules.GetREFERENCIA_PROVEEDORIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesREFERENCIA_PROVEEDOR].IsNull;
end;
procedure TPedidosProveedor_Articulos_PendientesDataTableRules.SetREFERENCIA_PROVEEDORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedor_Articulos_PendientesREFERENCIA_PROVEEDOR].AsVariant := Null;
end;
{ TPedidosProveedorConArticuloBuscadoDataTableRules }
constructor TPedidosProveedorConArticuloBuscadoDataTableRules.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 TPedidosProveedorConArticuloBuscadoDataTableRules.Destroy;
begin
inherited;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.OBSERVACIONES_OnChange(Sender: TObject);
begin
if DataTable.Editing then DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoOBSERVACIONES].AsVariant := TStringList(Sender).Text;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.INCIDENCIAS_OnChange(Sender: TObject);
begin
if DataTable.Editing then DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoINCIDENCIAS].AsVariant := TStringList(Sender).Text;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIDValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID].AsInteger;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIDValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID].AsInteger := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIDIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIDIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_EMPRESAValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_EMPRESA].AsInteger;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_EMPRESAValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_EMPRESA].AsInteger := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_EMPRESAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_EMPRESA].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_EMPRESAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_EMPRESA].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_PROVEEDORValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_PROVEEDOR].AsInteger;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_PROVEEDORValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_PROVEEDOR].AsInteger := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_PROVEEDORIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_PROVEEDOR].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_PROVEEDORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_PROVEEDOR].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetNOMBREValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetNOMBREValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetNOMBREIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetNOMBREIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetNOMBRE_COMERCIALValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_COMERCIAL].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetNOMBRE_COMERCIALValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_COMERCIAL].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetNOMBRE_COMERCIALIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_COMERCIAL].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetNOMBRE_COMERCIALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_COMERCIAL].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetREFERENCIAValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREFERENCIA].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetREFERENCIAValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREFERENCIA].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetREFERENCIAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREFERENCIA].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetREFERENCIAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREFERENCIA].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetSITUACIONValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoSITUACION].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetSITUACIONValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoSITUACION].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetSITUACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoSITUACION].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetSITUACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoSITUACION].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_ENVIOValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ENVIO].AsDateTime;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_ENVIOValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ENVIO].AsDateTime := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_ENVIOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ENVIO].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_ENVIOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ENVIO].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_PEDIDOValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_PEDIDO].AsDateTime;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_PEDIDOValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_PEDIDO].AsDateTime := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_PEDIDOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_PEDIDO].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_PEDIDOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_PEDIDO].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_CONFIRMACIONValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_CONFIRMACION].AsDateTime;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_CONFIRMACIONValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_CONFIRMACION].AsDateTime := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_CONFIRMACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_CONFIRMACION].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_CONFIRMACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_CONFIRMACION].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_ENTREGAValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ENTREGA].AsDateTime;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_ENTREGAValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ENTREGA].AsDateTime := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_ENTREGAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ENTREGA].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_ENTREGAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ENTREGA].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_ALMACENValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_ALMACEN].AsInteger;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_ALMACENValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_ALMACEN].AsInteger := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_ALMACENIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_ALMACEN].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_ALMACENIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_ALMACEN].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetNOMBRE_ALMACENValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_ALMACEN].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetNOMBRE_ALMACENValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_ALMACEN].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetNOMBRE_ALMACENIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_ALMACEN].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetNOMBRE_ALMACENIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_ALMACEN].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetOBSERVACIONESValue: IROStrings;
begin
result := f_OBSERVACIONES;
result.Text := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoOBSERVACIONES].AsString;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetOBSERVACIONESIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoOBSERVACIONES].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetOBSERVACIONESIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoOBSERVACIONES].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIMPORTE_TOTALValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_TOTAL].AsCurrency;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIMPORTE_TOTALValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_TOTAL].AsCurrency := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIMPORTE_TOTALIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_TOTAL].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIMPORTE_TOTALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_TOTAL].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetINCIDENCIASValue: IROStrings;
begin
result := f_INCIDENCIAS;
result.Text := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoINCIDENCIAS].AsString;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetINCIDENCIASIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoINCIDENCIAS].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetINCIDENCIASIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoINCIDENCIAS].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetINCIDENCIAS_ACTIVASValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoINCIDENCIAS_ACTIVAS].AsInteger;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetINCIDENCIAS_ACTIVASValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoINCIDENCIAS_ACTIVAS].AsInteger := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetINCIDENCIAS_ACTIVASIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoINCIDENCIAS_ACTIVAS].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetINCIDENCIAS_ACTIVASIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoINCIDENCIAS_ACTIVAS].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetCALLEValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCALLE].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetCALLEValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCALLE].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetCALLEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCALLE].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetCALLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCALLE].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetPOBLACIONValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPOBLACION].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetPOBLACIONValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPOBLACION].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetPOBLACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPOBLACION].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetPOBLACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPOBLACION].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetPROVINCIAValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPROVINCIA].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetPROVINCIAValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPROVINCIA].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetPROVINCIAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPROVINCIA].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetPROVINCIAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPROVINCIA].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetCODIGO_POSTALValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCODIGO_POSTAL].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetCODIGO_POSTALValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCODIGO_POSTAL].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetCODIGO_POSTALIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCODIGO_POSTAL].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetCODIGO_POSTALIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCODIGO_POSTAL].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetPERSONA_CONTACTOValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPERSONA_CONTACTO].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetPERSONA_CONTACTOValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPERSONA_CONTACTO].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetPERSONA_CONTACTOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPERSONA_CONTACTO].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetPERSONA_CONTACTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoPERSONA_CONTACTO].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetTELEFONOValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoTELEFONO].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetTELEFONOValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoTELEFONO].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetTELEFONOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoTELEFONO].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetTELEFONOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoTELEFONO].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_ALTAValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ALTA].AsDateTime;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_ALTAValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ALTA].AsDateTime := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_ALTAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ALTA].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_ALTAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_ALTA].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_MODIFICACIONValue: DateTime;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_MODIFICACION].AsDateTime;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_MODIFICACION].AsDateTime := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetFECHA_MODIFICACIONIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_MODIFICACION].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetFECHA_MODIFICACIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoFECHA_MODIFICACION].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetUSUARIOValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoUSUARIO].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetUSUARIOValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoUSUARIO].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetUSUARIOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoUSUARIO].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetUSUARIOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoUSUARIO].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_CONTRATO_CLIENTEValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_CONTRATO_CLIENTE].AsInteger;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_CONTRATO_CLIENTEValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_CONTRATO_CLIENTE].AsInteger := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_CONTRATO_CLIENTEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_CONTRATO_CLIENTE].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_CONTRATO_CLIENTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_CONTRATO_CLIENTE].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetREF_CON_CLIENTEValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREF_CON_CLIENTE].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetREF_CON_CLIENTEValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREF_CON_CLIENTE].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetREF_CON_CLIENTEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREF_CON_CLIENTE].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetREF_CON_CLIENTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREF_CON_CLIENTE].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetNOMBRE_CLIENTEValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_CLIENTE].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetNOMBRE_CLIENTEValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_CLIENTE].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetNOMBRE_CLIENTEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_CLIENTE].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetNOMBRE_CLIENTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoNOMBRE_CLIENTE].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIMPORTE_NETOValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_NETO].AsCurrency;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIMPORTE_NETOValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_NETO].AsCurrency := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIMPORTE_NETOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_NETO].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIMPORTE_NETOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_NETO].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIMPORTE_PORTEValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_PORTE].AsCurrency;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIMPORTE_PORTEValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_PORTE].AsCurrency := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIMPORTE_PORTEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_PORTE].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIMPORTE_PORTEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_PORTE].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetDESCUENTOValue: Float;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoDESCUENTO].AsFloat;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetDESCUENTOValue(const aValue: Float);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoDESCUENTO].AsFloat := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetDESCUENTOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoDESCUENTO].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetDESCUENTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoDESCUENTO].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIMPORTE_DESCUENTOValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_DESCUENTO].AsCurrency;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIMPORTE_DESCUENTOValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_DESCUENTO].AsCurrency := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIMPORTE_DESCUENTOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_DESCUENTO].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIMPORTE_DESCUENTOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_DESCUENTO].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetBASE_IMPONIBLEValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoBASE_IMPONIBLE].AsCurrency;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetBASE_IMPONIBLEValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoBASE_IMPONIBLE].AsCurrency := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetBASE_IMPONIBLEIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoBASE_IMPONIBLE].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetBASE_IMPONIBLEIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoBASE_IMPONIBLE].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIVAValue: Float;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIVA].AsFloat;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIVAValue(const aValue: Float);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIVA].AsFloat := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIVAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIVA].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIVAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIVA].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIMPORTE_IVAValue: Currency;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_IVA].AsCurrency;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIMPORTE_IVAValue(const aValue: Currency);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_IVA].AsCurrency := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetIMPORTE_IVAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_IVA].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetIMPORTE_IVAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoIMPORTE_IVA].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_FORMA_PAGOValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_FORMA_PAGO].AsInteger;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_FORMA_PAGOValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_FORMA_PAGO].AsInteger := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_FORMA_PAGOIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_FORMA_PAGO].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_FORMA_PAGOIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_FORMA_PAGO].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_TIENDAValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_TIENDA].AsInteger;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_TIENDAValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_TIENDA].AsInteger := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_TIENDAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_TIENDA].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_TIENDAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_TIENDA].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_VENDEDORValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_VENDEDOR].AsInteger;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_VENDEDORValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_VENDEDOR].AsInteger := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_VENDEDORIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_VENDEDOR].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_VENDEDORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_VENDEDOR].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetVENDEDORValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoVENDEDOR].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetVENDEDORValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoVENDEDOR].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetVENDEDORIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoVENDEDOR].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetVENDEDORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoVENDEDOR].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetREF_VENDEDORValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREF_VENDEDOR].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetREF_VENDEDORValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREF_VENDEDOR].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetREF_VENDEDORIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREF_VENDEDOR].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetREF_VENDEDORIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoREF_VENDEDOR].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_DIRECCIONValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_DIRECCION].AsInteger;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_DIRECCIONValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_DIRECCION].AsInteger := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_DIRECCIONIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_DIRECCION].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_DIRECCIONIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_DIRECCION].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_TIPO_IVAValue: Integer;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_TIPO_IVA].AsInteger;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_TIPO_IVAValue(const aValue: Integer);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_TIPO_IVA].AsInteger := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetID_TIPO_IVAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_TIPO_IVA].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetID_TIPO_IVAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoID_TIPO_IVA].AsVariant := Null;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetCONCEPTO_BUSQUEDAValue: String;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCONCEPTO_BUSQUEDA].AsString;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetCONCEPTO_BUSQUEDAValue(const aValue: String);
begin
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCONCEPTO_BUSQUEDA].AsString := aValue;
end;
function TPedidosProveedorConArticuloBuscadoDataTableRules.GetCONCEPTO_BUSQUEDAIsNull: boolean;
begin
result := DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCONCEPTO_BUSQUEDA].IsNull;
end;
procedure TPedidosProveedorConArticuloBuscadoDataTableRules.SetCONCEPTO_BUSQUEDAIsNull(const aValue: Boolean);
begin
if aValue then
DataTable.Fields[idx_PedidosProveedorConArticuloBuscadoCONCEPTO_BUSQUEDA].AsVariant := Null;
end;
initialization
RegisterDataTableRules(RID_ListaAnosPedidos, TListaAnosPedidosDataTableRules);
RegisterDataTableRules(RID_PedidosProveedor, TPedidosProveedorDataTableRules);
RegisterDataTableRules(RID_PedidosProveedor_Detalles, TPedidosProveedor_DetallesDataTableRules);
RegisterDataTableRules(RID_PedidosProveedor_Articulos_Pendientes, TPedidosProveedor_Articulos_PendientesDataTableRules);
RegisterDataTableRules(RID_PedidosProveedorConArticuloBuscado, TPedidosProveedorConArticuloBuscadoDataTableRules);
end.