AbetoDesign_FactuGES2/Source/Modulos/Pedidos a proveedor/Model/schPedidosProveedorClient_Intf.pas

2401 lines
107 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_PedidosProveedor = '{4E752719-6613-44CF-9F29-9BA8F3B21274}';
RID_PedidosProveedor_Detalles = '{98B62831-E8A1-4514-AEB7-A8EF3B2E89BF}';
RID_PedidosProveedor_Articulos_Pendientes = '{5DDBA92C-9284-4359-9837-ED10ACAD3C09}';
{ Data table names }
nme_PedidosProveedor = 'PedidosProveedor';
nme_PedidosProveedor_Detalles = 'PedidosProveedor_Detalles';
nme_PedidosProveedor_Articulos_Pendientes = 'PedidosProveedor_Articulos_Pendientes';
{ 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';
{ 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;
{ 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;
type
{ IPedidosProveedor }
IPedidosProveedor = interface(IDAStronglyTypedDataTable)
['{EA82CE1D-A551-4E68-813D-606DA43FBBC0}']
{ 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);
{ 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;
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;
{ 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;
public
constructor Create(aDataTable: TDADataTable); override;
destructor Destroy; override;
end;
{ IPedidosProveedor_Detalles }
IPedidosProveedor_Detalles = interface(IDAStronglyTypedDataTable)
['{68CA0238-D1D9-4149-9E11-CFC4A2632654}']
{ 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)
['{6E82BD35-BF19-4BA9-ACA0-5434F2B0F36D}']
{ 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;
implementation
uses Variants, uROBinaryHelpers;
{ 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;
{ 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;
initialization
RegisterDataTableRules(RID_PedidosProveedor, TPedidosProveedorDataTableRules);
RegisterDataTableRules(RID_PedidosProveedor_Detalles, TPedidosProveedor_DetallesDataTableRules);
RegisterDataTableRules(RID_PedidosProveedor_Articulos_Pendientes, TPedidosProveedor_Articulos_PendientesDataTableRules);
end.