unit schFacturasProveedorServer_Intf; interface uses Classes, DB, SysUtils, uROClasses, uDADataTable, uDABusinessProcessor, schFacturasProveedorClient_Intf; const { Delta 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_darReferenciaDelta = '{9811D236-BBAF-41FA-BA7C-27CFA776F2BA}'; RID_FacturasProveedorDelta = '{D0D34618-4ADB-4D35-96BF-AB713867C946}'; RID_FacturasProveedor_DetallesDelta = '{EB4106FB-07FA-4683-9055-D44215CB3A30}'; RID_FacturasProveedor_Detalles_RefreshDelta = '{DF491E40-B1CA-4976-9167-E3B022F545D3}'; RID_FacturasProveedor_RefreshDelta = '{F4B987F7-529B-43A3-9264-157ACC3C6BAC}'; type { IdarReferenciaDelta } IdarReferenciaDelta = interface(IdarReferencia) ['{9811D236-BBAF-41FA-BA7C-27CFA776F2BA}'] { Property getters and setters } function GetOldVALORValue : String; { Properties } property OldVALOR : String read GetOldVALORValue; end; { TdarReferenciaBusinessProcessorRules } TdarReferenciaBusinessProcessorRules = class(TDABusinessProcessorRules, IdarReferencia, IdarReferenciaDelta) private protected { Property getters and setters } function GetVALORValue: String; virtual; function GetOldVALORValue: String; virtual; procedure SetVALORValue(const aValue: String); virtual; { Properties } property VALOR : String read GetVALORValue write SetVALORValue; property OldVALOR : String read GetOldVALORValue; public constructor Create(aBusinessProcessor: TDABusinessProcessor); override; destructor Destroy; override; end; { IFacturasProveedorDelta } IFacturasProveedorDelta = interface(IFacturasProveedor) ['{D0D34618-4ADB-4D35-96BF-AB713867C946}'] { Property getters and setters } function GetOldIDValue : Integer; function GetOldID_EMPRESAValue : Integer; function GetOldREFERENCIAValue : String; function GetOldTIPOValue : String; function GetOldREFERENCIA_PROVEEDORValue : String; function GetOldFECHA_FACTURAValue : DateTime; function GetOldSITUACIONValue : String; function GetOldBASE_IMPONIBLEValue : Currency; function GetOldDESCUENTOValue : Float; function GetOldIMPORTE_DESCUENTOValue : Currency; function GetOldIVAValue : Float; function GetOldIMPORTE_IVAValue : Currency; function GetOldREValue : Float; function GetOldIMPORTE_REValue : Currency; function GetOldIMPORTE_TOTALValue : Currency; function GetOldOBSERVACIONESValue : IROStrings; function GetOldID_PROVEEDORValue : Integer; function GetOldNIF_CIFValue : String; function GetOldNOMBREValue : String; function GetOldCALLEValue : String; function GetOldPOBLACIONValue : String; function GetOldPROVINCIAValue : String; function GetOldCODIGO_POSTALValue : String; function GetOldFECHA_ALTAValue : DateTime; function GetOldFECHA_MODIFICACIONValue : DateTime; function GetOldUSUARIOValue : String; function GetOldID_FORMA_PAGOValue : Integer; function GetOldRECARGO_EQUIVALENCIAValue : Integer; function GetOldID_TIPO_IVAValue : Integer; function GetOldIMPORTE_NETOValue : Currency; function GetOldIMPORTE_PORTEValue : Currency; function GetOldFECHA_VENCIMIENTOValue : DateTime; { Properties } property OldID : Integer read GetOldIDValue; property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue; property OldREFERENCIA : String read GetOldREFERENCIAValue; property OldTIPO : String read GetOldTIPOValue; property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue; property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue; property OldSITUACION : String read GetOldSITUACIONValue; property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue; property OldDESCUENTO : Float read GetOldDESCUENTOValue; property OldIMPORTE_DESCUENTO : Currency read GetOldIMPORTE_DESCUENTOValue; property OldIVA : Float read GetOldIVAValue; property OldIMPORTE_IVA : Currency read GetOldIMPORTE_IVAValue; property OldRE : Float read GetOldREValue; property OldIMPORTE_RE : Currency read GetOldIMPORTE_REValue; property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue; property OldOBSERVACIONES : IROStrings read GetOldOBSERVACIONESValue; property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue; property OldNIF_CIF : String read GetOldNIF_CIFValue; property OldNOMBRE : String read GetOldNOMBREValue; property OldCALLE : String read GetOldCALLEValue; property OldPOBLACION : String read GetOldPOBLACIONValue; property OldPROVINCIA : String read GetOldPROVINCIAValue; property OldCODIGO_POSTAL : String read GetOldCODIGO_POSTALValue; property OldFECHA_ALTA : DateTime read GetOldFECHA_ALTAValue; property OldFECHA_MODIFICACION : DateTime read GetOldFECHA_MODIFICACIONValue; property OldUSUARIO : String read GetOldUSUARIOValue; property OldID_FORMA_PAGO : Integer read GetOldID_FORMA_PAGOValue; property OldRECARGO_EQUIVALENCIA : Integer read GetOldRECARGO_EQUIVALENCIAValue; property OldID_TIPO_IVA : Integer read GetOldID_TIPO_IVAValue; property OldIMPORTE_NETO : Currency read GetOldIMPORTE_NETOValue; property OldIMPORTE_PORTE : Currency read GetOldIMPORTE_PORTEValue; property OldFECHA_VENCIMIENTO : DateTime read GetOldFECHA_VENCIMIENTOValue; end; { TFacturasProveedorBusinessProcessorRules } TFacturasProveedorBusinessProcessorRules = class(TDABusinessProcessorRules, IFacturasProveedor, IFacturasProveedorDelta) private protected { Property getters and setters } function GetIDValue: Integer; virtual; function GetOldIDValue: Integer; virtual; procedure SetIDValue(const aValue: Integer); virtual; function GetID_EMPRESAValue: Integer; virtual; function GetOldID_EMPRESAValue: Integer; virtual; procedure SetID_EMPRESAValue(const aValue: Integer); virtual; function GetREFERENCIAValue: String; virtual; function GetOldREFERENCIAValue: String; virtual; procedure SetREFERENCIAValue(const aValue: String); virtual; function GetTIPOValue: String; virtual; function GetOldTIPOValue: String; virtual; procedure SetTIPOValue(const aValue: String); virtual; function GetREFERENCIA_PROVEEDORValue: String; virtual; function GetOldREFERENCIA_PROVEEDORValue: String; virtual; procedure SetREFERENCIA_PROVEEDORValue(const aValue: String); virtual; function GetFECHA_FACTURAValue: DateTime; virtual; function GetOldFECHA_FACTURAValue: DateTime; virtual; procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual; function GetSITUACIONValue: String; virtual; function GetOldSITUACIONValue: String; virtual; procedure SetSITUACIONValue(const aValue: String); virtual; function GetBASE_IMPONIBLEValue: Currency; virtual; function GetOldBASE_IMPONIBLEValue: Currency; virtual; procedure SetBASE_IMPONIBLEValue(const aValue: Currency); virtual; function GetDESCUENTOValue: Float; virtual; function GetOldDESCUENTOValue: Float; virtual; procedure SetDESCUENTOValue(const aValue: Float); virtual; function GetIMPORTE_DESCUENTOValue: Currency; virtual; function GetOldIMPORTE_DESCUENTOValue: Currency; virtual; procedure SetIMPORTE_DESCUENTOValue(const aValue: Currency); virtual; function GetIVAValue: Float; virtual; function GetOldIVAValue: Float; virtual; procedure SetIVAValue(const aValue: Float); virtual; function GetIMPORTE_IVAValue: Currency; virtual; function GetOldIMPORTE_IVAValue: Currency; virtual; procedure SetIMPORTE_IVAValue(const aValue: Currency); virtual; function GetREValue: Float; virtual; function GetOldREValue: Float; virtual; procedure SetREValue(const aValue: Float); virtual; function GetIMPORTE_REValue: Currency; virtual; function GetOldIMPORTE_REValue: Currency; virtual; procedure SetIMPORTE_REValue(const aValue: Currency); virtual; function GetIMPORTE_TOTALValue: Currency; virtual; function GetOldIMPORTE_TOTALValue: Currency; virtual; procedure SetIMPORTE_TOTALValue(const aValue: Currency); virtual; function GetOBSERVACIONESValue: IROStrings; virtual; function GetOldOBSERVACIONESValue: IROStrings; virtual; procedure SetOBSERVACIONESValue(const aValue: IROStrings); virtual; function GetID_PROVEEDORValue: Integer; virtual; function GetOldID_PROVEEDORValue: Integer; virtual; procedure SetID_PROVEEDORValue(const aValue: Integer); virtual; function GetNIF_CIFValue: String; virtual; function GetOldNIF_CIFValue: String; virtual; procedure SetNIF_CIFValue(const aValue: String); virtual; function GetNOMBREValue: String; virtual; function GetOldNOMBREValue: String; virtual; procedure SetNOMBREValue(const aValue: String); virtual; function GetCALLEValue: String; virtual; function GetOldCALLEValue: String; virtual; procedure SetCALLEValue(const aValue: String); virtual; function GetPOBLACIONValue: String; virtual; function GetOldPOBLACIONValue: String; virtual; procedure SetPOBLACIONValue(const aValue: String); virtual; function GetPROVINCIAValue: String; virtual; function GetOldPROVINCIAValue: String; virtual; procedure SetPROVINCIAValue(const aValue: String); virtual; function GetCODIGO_POSTALValue: String; virtual; function GetOldCODIGO_POSTALValue: String; virtual; procedure SetCODIGO_POSTALValue(const aValue: String); virtual; function GetFECHA_ALTAValue: DateTime; virtual; function GetOldFECHA_ALTAValue: DateTime; virtual; procedure SetFECHA_ALTAValue(const aValue: DateTime); virtual; function GetFECHA_MODIFICACIONValue: DateTime; virtual; function GetOldFECHA_MODIFICACIONValue: DateTime; virtual; procedure SetFECHA_MODIFICACIONValue(const aValue: DateTime); virtual; function GetUSUARIOValue: String; virtual; function GetOldUSUARIOValue: String; virtual; procedure SetUSUARIOValue(const aValue: String); virtual; function GetID_FORMA_PAGOValue: Integer; virtual; function GetOldID_FORMA_PAGOValue: Integer; virtual; procedure SetID_FORMA_PAGOValue(const aValue: Integer); virtual; function GetRECARGO_EQUIVALENCIAValue: Integer; virtual; function GetOldRECARGO_EQUIVALENCIAValue: Integer; virtual; procedure SetRECARGO_EQUIVALENCIAValue(const aValue: Integer); virtual; function GetID_TIPO_IVAValue: Integer; virtual; function GetOldID_TIPO_IVAValue: Integer; virtual; procedure SetID_TIPO_IVAValue(const aValue: Integer); virtual; function GetIMPORTE_NETOValue: Currency; virtual; function GetOldIMPORTE_NETOValue: Currency; virtual; procedure SetIMPORTE_NETOValue(const aValue: Currency); virtual; function GetIMPORTE_PORTEValue: Currency; virtual; function GetOldIMPORTE_PORTEValue: Currency; virtual; procedure SetIMPORTE_PORTEValue(const aValue: Currency); virtual; function GetFECHA_VENCIMIENTOValue: DateTime; virtual; function GetOldFECHA_VENCIMIENTOValue: DateTime; virtual; procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime); virtual; { Properties } property ID : Integer read GetIDValue write SetIDValue; property OldID : Integer read GetOldIDValue; property ID_EMPRESA : Integer read GetID_EMPRESAValue write SetID_EMPRESAValue; property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue; property REFERENCIA : String read GetREFERENCIAValue write SetREFERENCIAValue; property OldREFERENCIA : String read GetOldREFERENCIAValue; property TIPO : String read GetTIPOValue write SetTIPOValue; property OldTIPO : String read GetOldTIPOValue; property REFERENCIA_PROVEEDOR : String read GetREFERENCIA_PROVEEDORValue write SetREFERENCIA_PROVEEDORValue; property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue; property FECHA_FACTURA : DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue; property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue; property SITUACION : String read GetSITUACIONValue write SetSITUACIONValue; property OldSITUACION : String read GetOldSITUACIONValue; property BASE_IMPONIBLE : Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue; property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue; property DESCUENTO : Float read GetDESCUENTOValue write SetDESCUENTOValue; property OldDESCUENTO : Float read GetOldDESCUENTOValue; property IMPORTE_DESCUENTO : Currency read GetIMPORTE_DESCUENTOValue write SetIMPORTE_DESCUENTOValue; property OldIMPORTE_DESCUENTO : Currency read GetOldIMPORTE_DESCUENTOValue; property IVA : Float read GetIVAValue write SetIVAValue; property OldIVA : Float read GetOldIVAValue; property IMPORTE_IVA : Currency read GetIMPORTE_IVAValue write SetIMPORTE_IVAValue; property OldIMPORTE_IVA : Currency read GetOldIMPORTE_IVAValue; property RE : Float read GetREValue write SetREValue; property OldRE : Float read GetOldREValue; property IMPORTE_RE : Currency read GetIMPORTE_REValue write SetIMPORTE_REValue; property OldIMPORTE_RE : Currency read GetOldIMPORTE_REValue; property IMPORTE_TOTAL : Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue; property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue; property OBSERVACIONES : IROStrings read GetOBSERVACIONESValue write SetOBSERVACIONESValue; property OldOBSERVACIONES : IROStrings read GetOldOBSERVACIONESValue; property ID_PROVEEDOR : Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue; property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue; property NIF_CIF : String read GetNIF_CIFValue write SetNIF_CIFValue; property OldNIF_CIF : String read GetOldNIF_CIFValue; property NOMBRE : String read GetNOMBREValue write SetNOMBREValue; property OldNOMBRE : String read GetOldNOMBREValue; property CALLE : String read GetCALLEValue write SetCALLEValue; property OldCALLE : String read GetOldCALLEValue; property POBLACION : String read GetPOBLACIONValue write SetPOBLACIONValue; property OldPOBLACION : String read GetOldPOBLACIONValue; property PROVINCIA : String read GetPROVINCIAValue write SetPROVINCIAValue; property OldPROVINCIA : String read GetOldPROVINCIAValue; property CODIGO_POSTAL : String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue; property OldCODIGO_POSTAL : String read GetOldCODIGO_POSTALValue; property FECHA_ALTA : DateTime read GetFECHA_ALTAValue write SetFECHA_ALTAValue; property OldFECHA_ALTA : DateTime read GetOldFECHA_ALTAValue; property FECHA_MODIFICACION : DateTime read GetFECHA_MODIFICACIONValue write SetFECHA_MODIFICACIONValue; property OldFECHA_MODIFICACION : DateTime read GetOldFECHA_MODIFICACIONValue; property USUARIO : String read GetUSUARIOValue write SetUSUARIOValue; property OldUSUARIO : String read GetOldUSUARIOValue; property ID_FORMA_PAGO : Integer read GetID_FORMA_PAGOValue write SetID_FORMA_PAGOValue; property OldID_FORMA_PAGO : Integer read GetOldID_FORMA_PAGOValue; property RECARGO_EQUIVALENCIA : Integer read GetRECARGO_EQUIVALENCIAValue write SetRECARGO_EQUIVALENCIAValue; property OldRECARGO_EQUIVALENCIA : Integer read GetOldRECARGO_EQUIVALENCIAValue; property ID_TIPO_IVA : Integer read GetID_TIPO_IVAValue write SetID_TIPO_IVAValue; property OldID_TIPO_IVA : Integer read GetOldID_TIPO_IVAValue; property IMPORTE_NETO : Currency read GetIMPORTE_NETOValue write SetIMPORTE_NETOValue; property OldIMPORTE_NETO : Currency read GetOldIMPORTE_NETOValue; property IMPORTE_PORTE : Currency read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue; property OldIMPORTE_PORTE : Currency read GetOldIMPORTE_PORTEValue; property FECHA_VENCIMIENTO : DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue; property OldFECHA_VENCIMIENTO : DateTime read GetOldFECHA_VENCIMIENTOValue; public constructor Create(aBusinessProcessor: TDABusinessProcessor); override; destructor Destroy; override; end; { IFacturasProveedor_DetallesDelta } IFacturasProveedor_DetallesDelta = interface(IFacturasProveedor_Detalles) ['{EB4106FB-07FA-4683-9055-D44215CB3A30}'] { Property getters and setters } function GetOldIDValue : Integer; function GetOldID_FACTURAValue : Integer; function GetOldPOSICIONValue : Integer; function GetOldTIPO_DETALLEValue : String; function GetOldCONCEPTOValue : String; function GetOldCANTIDADValue : Integer; function GetOldIMPORTE_UNIDADValue : Currency; function GetOldDESCUENTOValue : Float; function GetOldIMPORTE_TOTALValue : Currency; function GetOldID_ARTICULOValue : Integer; function GetOldVISIBLEValue : Integer; function GetOldIMPORTE_PORTEValue : Float; function GetOldREFERENCIAValue : String; function GetOldREFERENCIA_PROVEEDORValue : String; { Properties } property OldID : Integer read GetOldIDValue; property OldID_FACTURA : Integer read GetOldID_FACTURAValue; property OldPOSICION : Integer read GetOldPOSICIONValue; property OldTIPO_DETALLE : String read GetOldTIPO_DETALLEValue; property OldCONCEPTO : String read GetOldCONCEPTOValue; property OldCANTIDAD : Integer read GetOldCANTIDADValue; property OldIMPORTE_UNIDAD : Currency read GetOldIMPORTE_UNIDADValue; property OldDESCUENTO : Float read GetOldDESCUENTOValue; property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue; property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue; property OldVISIBLE : Integer read GetOldVISIBLEValue; property OldIMPORTE_PORTE : Float read GetOldIMPORTE_PORTEValue; property OldREFERENCIA : String read GetOldREFERENCIAValue; property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue; end; { TFacturasProveedor_DetallesBusinessProcessorRules } TFacturasProveedor_DetallesBusinessProcessorRules = class(TDABusinessProcessorRules, IFacturasProveedor_Detalles, IFacturasProveedor_DetallesDelta) private protected { Property getters and setters } function GetIDValue: Integer; virtual; function GetOldIDValue: Integer; virtual; procedure SetIDValue(const aValue: Integer); virtual; function GetID_FACTURAValue: Integer; virtual; function GetOldID_FACTURAValue: Integer; virtual; procedure SetID_FACTURAValue(const aValue: Integer); virtual; function GetPOSICIONValue: Integer; virtual; function GetOldPOSICIONValue: Integer; virtual; procedure SetPOSICIONValue(const aValue: Integer); virtual; function GetTIPO_DETALLEValue: String; virtual; function GetOldTIPO_DETALLEValue: String; virtual; procedure SetTIPO_DETALLEValue(const aValue: String); virtual; function GetCONCEPTOValue: String; virtual; function GetOldCONCEPTOValue: String; virtual; procedure SetCONCEPTOValue(const aValue: String); virtual; function GetCANTIDADValue: Integer; virtual; function GetOldCANTIDADValue: Integer; virtual; procedure SetCANTIDADValue(const aValue: Integer); virtual; function GetIMPORTE_UNIDADValue: Currency; virtual; function GetOldIMPORTE_UNIDADValue: Currency; virtual; procedure SetIMPORTE_UNIDADValue(const aValue: Currency); virtual; function GetDESCUENTOValue: Float; virtual; function GetOldDESCUENTOValue: Float; virtual; procedure SetDESCUENTOValue(const aValue: Float); virtual; function GetIMPORTE_TOTALValue: Currency; virtual; function GetOldIMPORTE_TOTALValue: Currency; virtual; procedure SetIMPORTE_TOTALValue(const aValue: Currency); virtual; function GetID_ARTICULOValue: Integer; virtual; function GetOldID_ARTICULOValue: Integer; virtual; procedure SetID_ARTICULOValue(const aValue: Integer); virtual; function GetVISIBLEValue: Integer; virtual; function GetOldVISIBLEValue: Integer; virtual; procedure SetVISIBLEValue(const aValue: Integer); virtual; function GetIMPORTE_PORTEValue: Float; virtual; function GetOldIMPORTE_PORTEValue: Float; virtual; procedure SetIMPORTE_PORTEValue(const aValue: Float); virtual; function GetREFERENCIAValue: String; virtual; function GetOldREFERENCIAValue: String; virtual; procedure SetREFERENCIAValue(const aValue: String); virtual; function GetREFERENCIA_PROVEEDORValue: String; virtual; function GetOldREFERENCIA_PROVEEDORValue: String; virtual; procedure SetREFERENCIA_PROVEEDORValue(const aValue: String); virtual; { Properties } property ID : Integer read GetIDValue write SetIDValue; property OldID : Integer read GetOldIDValue; property ID_FACTURA : Integer read GetID_FACTURAValue write SetID_FACTURAValue; property OldID_FACTURA : Integer read GetOldID_FACTURAValue; property POSICION : Integer read GetPOSICIONValue write SetPOSICIONValue; property OldPOSICION : Integer read GetOldPOSICIONValue; property TIPO_DETALLE : String read GetTIPO_DETALLEValue write SetTIPO_DETALLEValue; property OldTIPO_DETALLE : String read GetOldTIPO_DETALLEValue; property CONCEPTO : String read GetCONCEPTOValue write SetCONCEPTOValue; property OldCONCEPTO : String read GetOldCONCEPTOValue; property CANTIDAD : Integer read GetCANTIDADValue write SetCANTIDADValue; property OldCANTIDAD : Integer read GetOldCANTIDADValue; property IMPORTE_UNIDAD : Currency read GetIMPORTE_UNIDADValue write SetIMPORTE_UNIDADValue; property OldIMPORTE_UNIDAD : Currency read GetOldIMPORTE_UNIDADValue; property DESCUENTO : Float read GetDESCUENTOValue write SetDESCUENTOValue; property OldDESCUENTO : Float read GetOldDESCUENTOValue; property IMPORTE_TOTAL : Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue; property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue; property ID_ARTICULO : Integer read GetID_ARTICULOValue write SetID_ARTICULOValue; property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue; property VISIBLE : Integer read GetVISIBLEValue write SetVISIBLEValue; property OldVISIBLE : Integer read GetOldVISIBLEValue; property IMPORTE_PORTE : Float read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue; property OldIMPORTE_PORTE : Float read GetOldIMPORTE_PORTEValue; property REFERENCIA : String read GetREFERENCIAValue write SetREFERENCIAValue; property OldREFERENCIA : String read GetOldREFERENCIAValue; property REFERENCIA_PROVEEDOR : String read GetREFERENCIA_PROVEEDORValue write SetREFERENCIA_PROVEEDORValue; property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue; public constructor Create(aBusinessProcessor: TDABusinessProcessor); override; destructor Destroy; override; end; { IFacturasProveedor_Detalles_RefreshDelta } IFacturasProveedor_Detalles_RefreshDelta = interface(IFacturasProveedor_Detalles_Refresh) ['{DF491E40-B1CA-4976-9167-E3B022F545D3}'] { Property getters and setters } function GetOldIDValue : Integer; function GetOldID_FACTURAValue : Integer; function GetOldPOSICIONValue : Integer; function GetOldTIPO_DETALLEValue : String; function GetOldCONCEPTOValue : String; function GetOldCANTIDADValue : Integer; function GetOldIMPORTE_UNIDADValue : Currency; function GetOldDESCUENTOValue : Float; function GetOldIMPORTE_TOTALValue : Currency; function GetOldID_ARTICULOValue : Integer; function GetOldVISIBLEValue : Integer; function GetOldIMPORTE_PORTEValue : Float; function GetOldREFERENCIAValue : String; function GetOldREFERENCIA_PROVEEDORValue : String; { Properties } property OldID : Integer read GetOldIDValue; property OldID_FACTURA : Integer read GetOldID_FACTURAValue; property OldPOSICION : Integer read GetOldPOSICIONValue; property OldTIPO_DETALLE : String read GetOldTIPO_DETALLEValue; property OldCONCEPTO : String read GetOldCONCEPTOValue; property OldCANTIDAD : Integer read GetOldCANTIDADValue; property OldIMPORTE_UNIDAD : Currency read GetOldIMPORTE_UNIDADValue; property OldDESCUENTO : Float read GetOldDESCUENTOValue; property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue; property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue; property OldVISIBLE : Integer read GetOldVISIBLEValue; property OldIMPORTE_PORTE : Float read GetOldIMPORTE_PORTEValue; property OldREFERENCIA : String read GetOldREFERENCIAValue; property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue; end; { TFacturasProveedor_Detalles_RefreshBusinessProcessorRules } TFacturasProveedor_Detalles_RefreshBusinessProcessorRules = class(TDABusinessProcessorRules, IFacturasProveedor_Detalles_Refresh, IFacturasProveedor_Detalles_RefreshDelta) private protected { Property getters and setters } function GetIDValue: Integer; virtual; function GetOldIDValue: Integer; virtual; procedure SetIDValue(const aValue: Integer); virtual; function GetID_FACTURAValue: Integer; virtual; function GetOldID_FACTURAValue: Integer; virtual; procedure SetID_FACTURAValue(const aValue: Integer); virtual; function GetPOSICIONValue: Integer; virtual; function GetOldPOSICIONValue: Integer; virtual; procedure SetPOSICIONValue(const aValue: Integer); virtual; function GetTIPO_DETALLEValue: String; virtual; function GetOldTIPO_DETALLEValue: String; virtual; procedure SetTIPO_DETALLEValue(const aValue: String); virtual; function GetCONCEPTOValue: String; virtual; function GetOldCONCEPTOValue: String; virtual; procedure SetCONCEPTOValue(const aValue: String); virtual; function GetCANTIDADValue: Integer; virtual; function GetOldCANTIDADValue: Integer; virtual; procedure SetCANTIDADValue(const aValue: Integer); virtual; function GetIMPORTE_UNIDADValue: Currency; virtual; function GetOldIMPORTE_UNIDADValue: Currency; virtual; procedure SetIMPORTE_UNIDADValue(const aValue: Currency); virtual; function GetDESCUENTOValue: Float; virtual; function GetOldDESCUENTOValue: Float; virtual; procedure SetDESCUENTOValue(const aValue: Float); virtual; function GetIMPORTE_TOTALValue: Currency; virtual; function GetOldIMPORTE_TOTALValue: Currency; virtual; procedure SetIMPORTE_TOTALValue(const aValue: Currency); virtual; function GetID_ARTICULOValue: Integer; virtual; function GetOldID_ARTICULOValue: Integer; virtual; procedure SetID_ARTICULOValue(const aValue: Integer); virtual; function GetVISIBLEValue: Integer; virtual; function GetOldVISIBLEValue: Integer; virtual; procedure SetVISIBLEValue(const aValue: Integer); virtual; function GetIMPORTE_PORTEValue: Float; virtual; function GetOldIMPORTE_PORTEValue: Float; virtual; procedure SetIMPORTE_PORTEValue(const aValue: Float); virtual; function GetREFERENCIAValue: String; virtual; function GetOldREFERENCIAValue: String; virtual; procedure SetREFERENCIAValue(const aValue: String); virtual; function GetREFERENCIA_PROVEEDORValue: String; virtual; function GetOldREFERENCIA_PROVEEDORValue: String; virtual; procedure SetREFERENCIA_PROVEEDORValue(const aValue: String); virtual; { Properties } property ID : Integer read GetIDValue write SetIDValue; property OldID : Integer read GetOldIDValue; property ID_FACTURA : Integer read GetID_FACTURAValue write SetID_FACTURAValue; property OldID_FACTURA : Integer read GetOldID_FACTURAValue; property POSICION : Integer read GetPOSICIONValue write SetPOSICIONValue; property OldPOSICION : Integer read GetOldPOSICIONValue; property TIPO_DETALLE : String read GetTIPO_DETALLEValue write SetTIPO_DETALLEValue; property OldTIPO_DETALLE : String read GetOldTIPO_DETALLEValue; property CONCEPTO : String read GetCONCEPTOValue write SetCONCEPTOValue; property OldCONCEPTO : String read GetOldCONCEPTOValue; property CANTIDAD : Integer read GetCANTIDADValue write SetCANTIDADValue; property OldCANTIDAD : Integer read GetOldCANTIDADValue; property IMPORTE_UNIDAD : Currency read GetIMPORTE_UNIDADValue write SetIMPORTE_UNIDADValue; property OldIMPORTE_UNIDAD : Currency read GetOldIMPORTE_UNIDADValue; property DESCUENTO : Float read GetDESCUENTOValue write SetDESCUENTOValue; property OldDESCUENTO : Float read GetOldDESCUENTOValue; property IMPORTE_TOTAL : Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue; property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue; property ID_ARTICULO : Integer read GetID_ARTICULOValue write SetID_ARTICULOValue; property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue; property VISIBLE : Integer read GetVISIBLEValue write SetVISIBLEValue; property OldVISIBLE : Integer read GetOldVISIBLEValue; property IMPORTE_PORTE : Float read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue; property OldIMPORTE_PORTE : Float read GetOldIMPORTE_PORTEValue; property REFERENCIA : String read GetREFERENCIAValue write SetREFERENCIAValue; property OldREFERENCIA : String read GetOldREFERENCIAValue; property REFERENCIA_PROVEEDOR : String read GetREFERENCIA_PROVEEDORValue write SetREFERENCIA_PROVEEDORValue; property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue; public constructor Create(aBusinessProcessor: TDABusinessProcessor); override; destructor Destroy; override; end; { IFacturasProveedor_RefreshDelta } IFacturasProveedor_RefreshDelta = interface(IFacturasProveedor_Refresh) ['{F4B987F7-529B-43A3-9264-157ACC3C6BAC}'] { Property getters and setters } function GetOldIDValue : Integer; function GetOldID_EMPRESAValue : Integer; function GetOldREFERENCIAValue : String; function GetOldTIPOValue : String; function GetOldREFERENCIA_PROVEEDORValue : String; function GetOldFECHA_FACTURAValue : DateTime; function GetOldSITUACIONValue : String; function GetOldBASE_IMPONIBLEValue : Currency; function GetOldDESCUENTOValue : Float; function GetOldIMPORTE_DESCUENTOValue : Currency; function GetOldIVAValue : Float; function GetOldIMPORTE_IVAValue : Currency; function GetOldREValue : Float; function GetOldIMPORTE_REValue : Currency; function GetOldIMPORTE_TOTALValue : Currency; function GetOldOBSERVACIONESValue : IROStrings; function GetOldID_PROVEEDORValue : Integer; function GetOldNIF_CIFValue : String; function GetOldNOMBREValue : String; function GetOldCALLEValue : String; function GetOldPOBLACIONValue : String; function GetOldPROVINCIAValue : String; function GetOldCODIGO_POSTALValue : String; function GetOldFECHA_ALTAValue : DateTime; function GetOldFECHA_MODIFICACIONValue : DateTime; function GetOldUSUARIOValue : String; function GetOldID_FORMA_PAGOValue : Integer; function GetOldRECARGO_EQUIVALENCIAValue : Integer; function GetOldID_TIPO_IVAValue : Integer; function GetOldIMPORTE_NETOValue : Currency; function GetOldIMPORTE_PORTEValue : Currency; function GetOldFECHA_VENCIMIENTOValue : DateTime; { Properties } property OldID : Integer read GetOldIDValue; property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue; property OldREFERENCIA : String read GetOldREFERENCIAValue; property OldTIPO : String read GetOldTIPOValue; property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue; property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue; property OldSITUACION : String read GetOldSITUACIONValue; property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue; property OldDESCUENTO : Float read GetOldDESCUENTOValue; property OldIMPORTE_DESCUENTO : Currency read GetOldIMPORTE_DESCUENTOValue; property OldIVA : Float read GetOldIVAValue; property OldIMPORTE_IVA : Currency read GetOldIMPORTE_IVAValue; property OldRE : Float read GetOldREValue; property OldIMPORTE_RE : Currency read GetOldIMPORTE_REValue; property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue; property OldOBSERVACIONES : IROStrings read GetOldOBSERVACIONESValue; property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue; property OldNIF_CIF : String read GetOldNIF_CIFValue; property OldNOMBRE : String read GetOldNOMBREValue; property OldCALLE : String read GetOldCALLEValue; property OldPOBLACION : String read GetOldPOBLACIONValue; property OldPROVINCIA : String read GetOldPROVINCIAValue; property OldCODIGO_POSTAL : String read GetOldCODIGO_POSTALValue; property OldFECHA_ALTA : DateTime read GetOldFECHA_ALTAValue; property OldFECHA_MODIFICACION : DateTime read GetOldFECHA_MODIFICACIONValue; property OldUSUARIO : String read GetOldUSUARIOValue; property OldID_FORMA_PAGO : Integer read GetOldID_FORMA_PAGOValue; property OldRECARGO_EQUIVALENCIA : Integer read GetOldRECARGO_EQUIVALENCIAValue; property OldID_TIPO_IVA : Integer read GetOldID_TIPO_IVAValue; property OldIMPORTE_NETO : Currency read GetOldIMPORTE_NETOValue; property OldIMPORTE_PORTE : Currency read GetOldIMPORTE_PORTEValue; property OldFECHA_VENCIMIENTO : DateTime read GetOldFECHA_VENCIMIENTOValue; end; { TFacturasProveedor_RefreshBusinessProcessorRules } TFacturasProveedor_RefreshBusinessProcessorRules = class(TDABusinessProcessorRules, IFacturasProveedor_Refresh, IFacturasProveedor_RefreshDelta) private protected { Property getters and setters } function GetIDValue: Integer; virtual; function GetOldIDValue: Integer; virtual; procedure SetIDValue(const aValue: Integer); virtual; function GetID_EMPRESAValue: Integer; virtual; function GetOldID_EMPRESAValue: Integer; virtual; procedure SetID_EMPRESAValue(const aValue: Integer); virtual; function GetREFERENCIAValue: String; virtual; function GetOldREFERENCIAValue: String; virtual; procedure SetREFERENCIAValue(const aValue: String); virtual; function GetTIPOValue: String; virtual; function GetOldTIPOValue: String; virtual; procedure SetTIPOValue(const aValue: String); virtual; function GetREFERENCIA_PROVEEDORValue: String; virtual; function GetOldREFERENCIA_PROVEEDORValue: String; virtual; procedure SetREFERENCIA_PROVEEDORValue(const aValue: String); virtual; function GetFECHA_FACTURAValue: DateTime; virtual; function GetOldFECHA_FACTURAValue: DateTime; virtual; procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual; function GetSITUACIONValue: String; virtual; function GetOldSITUACIONValue: String; virtual; procedure SetSITUACIONValue(const aValue: String); virtual; function GetBASE_IMPONIBLEValue: Currency; virtual; function GetOldBASE_IMPONIBLEValue: Currency; virtual; procedure SetBASE_IMPONIBLEValue(const aValue: Currency); virtual; function GetDESCUENTOValue: Float; virtual; function GetOldDESCUENTOValue: Float; virtual; procedure SetDESCUENTOValue(const aValue: Float); virtual; function GetIMPORTE_DESCUENTOValue: Currency; virtual; function GetOldIMPORTE_DESCUENTOValue: Currency; virtual; procedure SetIMPORTE_DESCUENTOValue(const aValue: Currency); virtual; function GetIVAValue: Float; virtual; function GetOldIVAValue: Float; virtual; procedure SetIVAValue(const aValue: Float); virtual; function GetIMPORTE_IVAValue: Currency; virtual; function GetOldIMPORTE_IVAValue: Currency; virtual; procedure SetIMPORTE_IVAValue(const aValue: Currency); virtual; function GetREValue: Float; virtual; function GetOldREValue: Float; virtual; procedure SetREValue(const aValue: Float); virtual; function GetIMPORTE_REValue: Currency; virtual; function GetOldIMPORTE_REValue: Currency; virtual; procedure SetIMPORTE_REValue(const aValue: Currency); virtual; function GetIMPORTE_TOTALValue: Currency; virtual; function GetOldIMPORTE_TOTALValue: Currency; virtual; procedure SetIMPORTE_TOTALValue(const aValue: Currency); virtual; function GetOBSERVACIONESValue: IROStrings; virtual; function GetOldOBSERVACIONESValue: IROStrings; virtual; procedure SetOBSERVACIONESValue(const aValue: IROStrings); virtual; function GetID_PROVEEDORValue: Integer; virtual; function GetOldID_PROVEEDORValue: Integer; virtual; procedure SetID_PROVEEDORValue(const aValue: Integer); virtual; function GetNIF_CIFValue: String; virtual; function GetOldNIF_CIFValue: String; virtual; procedure SetNIF_CIFValue(const aValue: String); virtual; function GetNOMBREValue: String; virtual; function GetOldNOMBREValue: String; virtual; procedure SetNOMBREValue(const aValue: String); virtual; function GetCALLEValue: String; virtual; function GetOldCALLEValue: String; virtual; procedure SetCALLEValue(const aValue: String); virtual; function GetPOBLACIONValue: String; virtual; function GetOldPOBLACIONValue: String; virtual; procedure SetPOBLACIONValue(const aValue: String); virtual; function GetPROVINCIAValue: String; virtual; function GetOldPROVINCIAValue: String; virtual; procedure SetPROVINCIAValue(const aValue: String); virtual; function GetCODIGO_POSTALValue: String; virtual; function GetOldCODIGO_POSTALValue: String; virtual; procedure SetCODIGO_POSTALValue(const aValue: String); virtual; function GetFECHA_ALTAValue: DateTime; virtual; function GetOldFECHA_ALTAValue: DateTime; virtual; procedure SetFECHA_ALTAValue(const aValue: DateTime); virtual; function GetFECHA_MODIFICACIONValue: DateTime; virtual; function GetOldFECHA_MODIFICACIONValue: DateTime; virtual; procedure SetFECHA_MODIFICACIONValue(const aValue: DateTime); virtual; function GetUSUARIOValue: String; virtual; function GetOldUSUARIOValue: String; virtual; procedure SetUSUARIOValue(const aValue: String); virtual; function GetID_FORMA_PAGOValue: Integer; virtual; function GetOldID_FORMA_PAGOValue: Integer; virtual; procedure SetID_FORMA_PAGOValue(const aValue: Integer); virtual; function GetRECARGO_EQUIVALENCIAValue: Integer; virtual; function GetOldRECARGO_EQUIVALENCIAValue: Integer; virtual; procedure SetRECARGO_EQUIVALENCIAValue(const aValue: Integer); virtual; function GetID_TIPO_IVAValue: Integer; virtual; function GetOldID_TIPO_IVAValue: Integer; virtual; procedure SetID_TIPO_IVAValue(const aValue: Integer); virtual; function GetIMPORTE_NETOValue: Currency; virtual; function GetOldIMPORTE_NETOValue: Currency; virtual; procedure SetIMPORTE_NETOValue(const aValue: Currency); virtual; function GetIMPORTE_PORTEValue: Currency; virtual; function GetOldIMPORTE_PORTEValue: Currency; virtual; procedure SetIMPORTE_PORTEValue(const aValue: Currency); virtual; function GetFECHA_VENCIMIENTOValue: DateTime; virtual; function GetOldFECHA_VENCIMIENTOValue: DateTime; virtual; procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime); virtual; { Properties } property ID : Integer read GetIDValue write SetIDValue; property OldID : Integer read GetOldIDValue; property ID_EMPRESA : Integer read GetID_EMPRESAValue write SetID_EMPRESAValue; property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue; property REFERENCIA : String read GetREFERENCIAValue write SetREFERENCIAValue; property OldREFERENCIA : String read GetOldREFERENCIAValue; property TIPO : String read GetTIPOValue write SetTIPOValue; property OldTIPO : String read GetOldTIPOValue; property REFERENCIA_PROVEEDOR : String read GetREFERENCIA_PROVEEDORValue write SetREFERENCIA_PROVEEDORValue; property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue; property FECHA_FACTURA : DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue; property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue; property SITUACION : String read GetSITUACIONValue write SetSITUACIONValue; property OldSITUACION : String read GetOldSITUACIONValue; property BASE_IMPONIBLE : Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue; property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue; property DESCUENTO : Float read GetDESCUENTOValue write SetDESCUENTOValue; property OldDESCUENTO : Float read GetOldDESCUENTOValue; property IMPORTE_DESCUENTO : Currency read GetIMPORTE_DESCUENTOValue write SetIMPORTE_DESCUENTOValue; property OldIMPORTE_DESCUENTO : Currency read GetOldIMPORTE_DESCUENTOValue; property IVA : Float read GetIVAValue write SetIVAValue; property OldIVA : Float read GetOldIVAValue; property IMPORTE_IVA : Currency read GetIMPORTE_IVAValue write SetIMPORTE_IVAValue; property OldIMPORTE_IVA : Currency read GetOldIMPORTE_IVAValue; property RE : Float read GetREValue write SetREValue; property OldRE : Float read GetOldREValue; property IMPORTE_RE : Currency read GetIMPORTE_REValue write SetIMPORTE_REValue; property OldIMPORTE_RE : Currency read GetOldIMPORTE_REValue; property IMPORTE_TOTAL : Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue; property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue; property OBSERVACIONES : IROStrings read GetOBSERVACIONESValue write SetOBSERVACIONESValue; property OldOBSERVACIONES : IROStrings read GetOldOBSERVACIONESValue; property ID_PROVEEDOR : Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue; property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue; property NIF_CIF : String read GetNIF_CIFValue write SetNIF_CIFValue; property OldNIF_CIF : String read GetOldNIF_CIFValue; property NOMBRE : String read GetNOMBREValue write SetNOMBREValue; property OldNOMBRE : String read GetOldNOMBREValue; property CALLE : String read GetCALLEValue write SetCALLEValue; property OldCALLE : String read GetOldCALLEValue; property POBLACION : String read GetPOBLACIONValue write SetPOBLACIONValue; property OldPOBLACION : String read GetOldPOBLACIONValue; property PROVINCIA : String read GetPROVINCIAValue write SetPROVINCIAValue; property OldPROVINCIA : String read GetOldPROVINCIAValue; property CODIGO_POSTAL : String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue; property OldCODIGO_POSTAL : String read GetOldCODIGO_POSTALValue; property FECHA_ALTA : DateTime read GetFECHA_ALTAValue write SetFECHA_ALTAValue; property OldFECHA_ALTA : DateTime read GetOldFECHA_ALTAValue; property FECHA_MODIFICACION : DateTime read GetFECHA_MODIFICACIONValue write SetFECHA_MODIFICACIONValue; property OldFECHA_MODIFICACION : DateTime read GetOldFECHA_MODIFICACIONValue; property USUARIO : String read GetUSUARIOValue write SetUSUARIOValue; property OldUSUARIO : String read GetOldUSUARIOValue; property ID_FORMA_PAGO : Integer read GetID_FORMA_PAGOValue write SetID_FORMA_PAGOValue; property OldID_FORMA_PAGO : Integer read GetOldID_FORMA_PAGOValue; property RECARGO_EQUIVALENCIA : Integer read GetRECARGO_EQUIVALENCIAValue write SetRECARGO_EQUIVALENCIAValue; property OldRECARGO_EQUIVALENCIA : Integer read GetOldRECARGO_EQUIVALENCIAValue; property ID_TIPO_IVA : Integer read GetID_TIPO_IVAValue write SetID_TIPO_IVAValue; property OldID_TIPO_IVA : Integer read GetOldID_TIPO_IVAValue; property IMPORTE_NETO : Currency read GetIMPORTE_NETOValue write SetIMPORTE_NETOValue; property OldIMPORTE_NETO : Currency read GetOldIMPORTE_NETOValue; property IMPORTE_PORTE : Currency read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue; property OldIMPORTE_PORTE : Currency read GetOldIMPORTE_PORTEValue; property FECHA_VENCIMIENTO : DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue; property OldFECHA_VENCIMIENTO : DateTime read GetOldFECHA_VENCIMIENTOValue; public constructor Create(aBusinessProcessor: TDABusinessProcessor); override; destructor Destroy; override; end; implementation uses Variants, uROBinaryHelpers; { TdarReferenciaBusinessProcessorRules } constructor TdarReferenciaBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor); begin inherited; end; destructor TdarReferenciaBusinessProcessorRules.Destroy; begin inherited; end; function TdarReferenciaBusinessProcessorRules.GetVALORValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_darReferenciaVALOR]; end; function TdarReferenciaBusinessProcessorRules.GetOldVALORValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_darReferenciaVALOR]; end; procedure TdarReferenciaBusinessProcessorRules.SetVALORValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_darReferenciaVALOR] := aValue; end; { TFacturasProveedorBusinessProcessorRules } constructor TFacturasProveedorBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor); begin inherited; end; destructor TFacturasProveedorBusinessProcessorRules.Destroy; begin inherited; end; function TFacturasProveedorBusinessProcessorRules.GetIDValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorID]; end; function TFacturasProveedorBusinessProcessorRules.GetOldIDValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorID]; end; procedure TFacturasProveedorBusinessProcessorRules.SetIDValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorID] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetID_EMPRESAValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorID_EMPRESA]; end; function TFacturasProveedorBusinessProcessorRules.GetOldID_EMPRESAValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorID_EMPRESA]; end; procedure TFacturasProveedorBusinessProcessorRules.SetID_EMPRESAValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorID_EMPRESA] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetREFERENCIAValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorREFERENCIA]; end; function TFacturasProveedorBusinessProcessorRules.GetOldREFERENCIAValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorREFERENCIA]; end; procedure TFacturasProveedorBusinessProcessorRules.SetREFERENCIAValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorREFERENCIA] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetTIPOValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorTIPO]; end; function TFacturasProveedorBusinessProcessorRules.GetOldTIPOValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorTIPO]; end; procedure TFacturasProveedorBusinessProcessorRules.SetTIPOValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorTIPO] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetREFERENCIA_PROVEEDORValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorREFERENCIA_PROVEEDOR]; end; function TFacturasProveedorBusinessProcessorRules.GetOldREFERENCIA_PROVEEDORValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorREFERENCIA_PROVEEDOR]; end; procedure TFacturasProveedorBusinessProcessorRules.SetREFERENCIA_PROVEEDORValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorREFERENCIA_PROVEEDOR] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetFECHA_FACTURAValue: DateTime; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_FACTURA]; end; function TFacturasProveedorBusinessProcessorRules.GetOldFECHA_FACTURAValue: DateTime; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorFECHA_FACTURA]; end; procedure TFacturasProveedorBusinessProcessorRules.SetFECHA_FACTURAValue(const aValue: DateTime); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_FACTURA] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetSITUACIONValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorSITUACION]; end; function TFacturasProveedorBusinessProcessorRules.GetOldSITUACIONValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorSITUACION]; end; procedure TFacturasProveedorBusinessProcessorRules.SetSITUACIONValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorSITUACION] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetBASE_IMPONIBLEValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorBASE_IMPONIBLE]; end; function TFacturasProveedorBusinessProcessorRules.GetOldBASE_IMPONIBLEValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorBASE_IMPONIBLE]; end; procedure TFacturasProveedorBusinessProcessorRules.SetBASE_IMPONIBLEValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorBASE_IMPONIBLE] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetDESCUENTOValue: Float; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorDESCUENTO]; end; function TFacturasProveedorBusinessProcessorRules.GetOldDESCUENTOValue: Float; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorDESCUENTO]; end; procedure TFacturasProveedorBusinessProcessorRules.SetDESCUENTOValue(const aValue: Float); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorDESCUENTO] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetIMPORTE_DESCUENTOValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_DESCUENTO]; end; function TFacturasProveedorBusinessProcessorRules.GetOldIMPORTE_DESCUENTOValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorIMPORTE_DESCUENTO]; end; procedure TFacturasProveedorBusinessProcessorRules.SetIMPORTE_DESCUENTOValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_DESCUENTO] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetIVAValue: Float; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIVA]; end; function TFacturasProveedorBusinessProcessorRules.GetOldIVAValue: Float; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorIVA]; end; procedure TFacturasProveedorBusinessProcessorRules.SetIVAValue(const aValue: Float); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIVA] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetIMPORTE_IVAValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_IVA]; end; function TFacturasProveedorBusinessProcessorRules.GetOldIMPORTE_IVAValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorIMPORTE_IVA]; end; procedure TFacturasProveedorBusinessProcessorRules.SetIMPORTE_IVAValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_IVA] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetREValue: Float; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorRE]; end; function TFacturasProveedorBusinessProcessorRules.GetOldREValue: Float; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorRE]; end; procedure TFacturasProveedorBusinessProcessorRules.SetREValue(const aValue: Float); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorRE] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetIMPORTE_REValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_RE]; end; function TFacturasProveedorBusinessProcessorRules.GetOldIMPORTE_REValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorIMPORTE_RE]; end; procedure TFacturasProveedorBusinessProcessorRules.SetIMPORTE_REValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_RE] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetIMPORTE_TOTALValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_TOTAL]; end; function TFacturasProveedorBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorIMPORTE_TOTAL]; end; procedure TFacturasProveedorBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_TOTAL] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetOBSERVACIONESValue: IROStrings; begin result := NewROStrings(); result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorOBSERVACIONES]; end; function TFacturasProveedorBusinessProcessorRules.GetOldOBSERVACIONESValue: IROStrings; begin result := NewROStrings(); result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorOBSERVACIONES]; end; procedure TFacturasProveedorBusinessProcessorRules.SetOBSERVACIONESValue(const aValue: IROStrings); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorOBSERVACIONES] := aValue.Text; end; function TFacturasProveedorBusinessProcessorRules.GetID_PROVEEDORValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorID_PROVEEDOR]; end; function TFacturasProveedorBusinessProcessorRules.GetOldID_PROVEEDORValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorID_PROVEEDOR]; end; procedure TFacturasProveedorBusinessProcessorRules.SetID_PROVEEDORValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorID_PROVEEDOR] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetNIF_CIFValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorNIF_CIF]; end; function TFacturasProveedorBusinessProcessorRules.GetOldNIF_CIFValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorNIF_CIF]; end; procedure TFacturasProveedorBusinessProcessorRules.SetNIF_CIFValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorNIF_CIF] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetNOMBREValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorNOMBRE]; end; function TFacturasProveedorBusinessProcessorRules.GetOldNOMBREValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorNOMBRE]; end; procedure TFacturasProveedorBusinessProcessorRules.SetNOMBREValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorNOMBRE] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetCALLEValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorCALLE]; end; function TFacturasProveedorBusinessProcessorRules.GetOldCALLEValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorCALLE]; end; procedure TFacturasProveedorBusinessProcessorRules.SetCALLEValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorCALLE] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetPOBLACIONValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorPOBLACION]; end; function TFacturasProveedorBusinessProcessorRules.GetOldPOBLACIONValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorPOBLACION]; end; procedure TFacturasProveedorBusinessProcessorRules.SetPOBLACIONValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorPOBLACION] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetPROVINCIAValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorPROVINCIA]; end; function TFacturasProveedorBusinessProcessorRules.GetOldPROVINCIAValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorPROVINCIA]; end; procedure TFacturasProveedorBusinessProcessorRules.SetPROVINCIAValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorPROVINCIA] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetCODIGO_POSTALValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorCODIGO_POSTAL]; end; function TFacturasProveedorBusinessProcessorRules.GetOldCODIGO_POSTALValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorCODIGO_POSTAL]; end; procedure TFacturasProveedorBusinessProcessorRules.SetCODIGO_POSTALValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorCODIGO_POSTAL] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetFECHA_ALTAValue: DateTime; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_ALTA]; end; function TFacturasProveedorBusinessProcessorRules.GetOldFECHA_ALTAValue: DateTime; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorFECHA_ALTA]; end; procedure TFacturasProveedorBusinessProcessorRules.SetFECHA_ALTAValue(const aValue: DateTime); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_ALTA] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetFECHA_MODIFICACIONValue: DateTime; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_MODIFICACION]; end; function TFacturasProveedorBusinessProcessorRules.GetOldFECHA_MODIFICACIONValue: DateTime; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorFECHA_MODIFICACION]; end; procedure TFacturasProveedorBusinessProcessorRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_MODIFICACION] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetUSUARIOValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorUSUARIO]; end; function TFacturasProveedorBusinessProcessorRules.GetOldUSUARIOValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorUSUARIO]; end; procedure TFacturasProveedorBusinessProcessorRules.SetUSUARIOValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorUSUARIO] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetID_FORMA_PAGOValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorID_FORMA_PAGO]; end; function TFacturasProveedorBusinessProcessorRules.GetOldID_FORMA_PAGOValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorID_FORMA_PAGO]; end; procedure TFacturasProveedorBusinessProcessorRules.SetID_FORMA_PAGOValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorID_FORMA_PAGO] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetRECARGO_EQUIVALENCIAValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorRECARGO_EQUIVALENCIA]; end; function TFacturasProveedorBusinessProcessorRules.GetOldRECARGO_EQUIVALENCIAValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorRECARGO_EQUIVALENCIA]; end; procedure TFacturasProveedorBusinessProcessorRules.SetRECARGO_EQUIVALENCIAValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorRECARGO_EQUIVALENCIA] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetID_TIPO_IVAValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorID_TIPO_IVA]; end; function TFacturasProveedorBusinessProcessorRules.GetOldID_TIPO_IVAValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorID_TIPO_IVA]; end; procedure TFacturasProveedorBusinessProcessorRules.SetID_TIPO_IVAValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorID_TIPO_IVA] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetIMPORTE_NETOValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_NETO]; end; function TFacturasProveedorBusinessProcessorRules.GetOldIMPORTE_NETOValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorIMPORTE_NETO]; end; procedure TFacturasProveedorBusinessProcessorRules.SetIMPORTE_NETOValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_NETO] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetIMPORTE_PORTEValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_PORTE]; end; function TFacturasProveedorBusinessProcessorRules.GetOldIMPORTE_PORTEValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorIMPORTE_PORTE]; end; procedure TFacturasProveedorBusinessProcessorRules.SetIMPORTE_PORTEValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorIMPORTE_PORTE] := aValue; end; function TFacturasProveedorBusinessProcessorRules.GetFECHA_VENCIMIENTOValue: DateTime; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_VENCIMIENTO]; end; function TFacturasProveedorBusinessProcessorRules.GetOldFECHA_VENCIMIENTOValue: DateTime; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorFECHA_VENCIMIENTO]; end; procedure TFacturasProveedorBusinessProcessorRules.SetFECHA_VENCIMIENTOValue(const aValue: DateTime); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_VENCIMIENTO] := aValue; end; { TFacturasProveedor_DetallesBusinessProcessorRules } constructor TFacturasProveedor_DetallesBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor); begin inherited; end; destructor TFacturasProveedor_DetallesBusinessProcessorRules.Destroy; begin inherited; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetIDValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesID]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldIDValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesID]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetIDValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesID] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetID_FACTURAValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesID_FACTURA]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldID_FACTURAValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesID_FACTURA]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetID_FACTURAValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesID_FACTURA] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetPOSICIONValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesPOSICION]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldPOSICIONValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesPOSICION]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetPOSICIONValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesPOSICION] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetTIPO_DETALLEValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesTIPO_DETALLE]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldTIPO_DETALLEValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesTIPO_DETALLE]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetTIPO_DETALLEValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesTIPO_DETALLE] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetCONCEPTOValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesCONCEPTO]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldCONCEPTOValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesCONCEPTO]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetCONCEPTOValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesCONCEPTO] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetCANTIDADValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesCANTIDAD]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldCANTIDADValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesCANTIDAD]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetCANTIDADValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesCANTIDAD] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetIMPORTE_UNIDADValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesIMPORTE_UNIDAD]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldIMPORTE_UNIDADValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesIMPORTE_UNIDAD]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetIMPORTE_UNIDADValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesIMPORTE_UNIDAD] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetDESCUENTOValue: Float; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesDESCUENTO]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldDESCUENTOValue: Float; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesDESCUENTO]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetDESCUENTOValue(const aValue: Float); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesDESCUENTO] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetIMPORTE_TOTALValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesIMPORTE_TOTAL]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesIMPORTE_TOTAL]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesIMPORTE_TOTAL] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetID_ARTICULOValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesID_ARTICULO]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldID_ARTICULOValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesID_ARTICULO]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetID_ARTICULOValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesID_ARTICULO] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetVISIBLEValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesVISIBLE]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldVISIBLEValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesVISIBLE]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetVISIBLEValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesVISIBLE] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetIMPORTE_PORTEValue: Float; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesIMPORTE_PORTE]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldIMPORTE_PORTEValue: Float; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesIMPORTE_PORTE]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetIMPORTE_PORTEValue(const aValue: Float); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesIMPORTE_PORTE] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetREFERENCIAValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesREFERENCIA]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldREFERENCIAValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesREFERENCIA]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetREFERENCIAValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesREFERENCIA] := aValue; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetREFERENCIA_PROVEEDORValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesREFERENCIA_PROVEEDOR]; end; function TFacturasProveedor_DetallesBusinessProcessorRules.GetOldREFERENCIA_PROVEEDORValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_DetallesREFERENCIA_PROVEEDOR]; end; procedure TFacturasProveedor_DetallesBusinessProcessorRules.SetREFERENCIA_PROVEEDORValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_DetallesREFERENCIA_PROVEEDOR] := aValue; end; { TFacturasProveedor_Detalles_RefreshBusinessProcessorRules } constructor TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor); begin inherited; end; destructor TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.Destroy; begin inherited; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetIDValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshID]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldIDValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshID]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetIDValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshID] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetID_FACTURAValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshID_FACTURA]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldID_FACTURAValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshID_FACTURA]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetID_FACTURAValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshID_FACTURA] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetPOSICIONValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshPOSICION]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldPOSICIONValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshPOSICION]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetPOSICIONValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshPOSICION] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetTIPO_DETALLEValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshTIPO_DETALLE]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldTIPO_DETALLEValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshTIPO_DETALLE]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetTIPO_DETALLEValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshTIPO_DETALLE] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetCONCEPTOValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshCONCEPTO]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldCONCEPTOValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshCONCEPTO]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetCONCEPTOValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshCONCEPTO] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetCANTIDADValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshCANTIDAD]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldCANTIDADValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshCANTIDAD]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetCANTIDADValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshCANTIDAD] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetIMPORTE_UNIDADValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshIMPORTE_UNIDAD]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldIMPORTE_UNIDADValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshIMPORTE_UNIDAD]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetIMPORTE_UNIDADValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshIMPORTE_UNIDAD] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetDESCUENTOValue: Float; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshDESCUENTO]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldDESCUENTOValue: Float; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshDESCUENTO]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetDESCUENTOValue(const aValue: Float); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshDESCUENTO] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetIMPORTE_TOTALValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshIMPORTE_TOTAL]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshIMPORTE_TOTAL]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshIMPORTE_TOTAL] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetID_ARTICULOValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshID_ARTICULO]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldID_ARTICULOValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshID_ARTICULO]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetID_ARTICULOValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshID_ARTICULO] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetVISIBLEValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshVISIBLE]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldVISIBLEValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshVISIBLE]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetVISIBLEValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshVISIBLE] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetIMPORTE_PORTEValue: Float; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshIMPORTE_PORTE]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldIMPORTE_PORTEValue: Float; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshIMPORTE_PORTE]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetIMPORTE_PORTEValue(const aValue: Float); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshIMPORTE_PORTE] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetREFERENCIAValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshREFERENCIA]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldREFERENCIAValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshREFERENCIA]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetREFERENCIAValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshREFERENCIA] := aValue; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetREFERENCIA_PROVEEDORValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshREFERENCIA_PROVEEDOR]; end; function TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.GetOldREFERENCIA_PROVEEDORValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_Detalles_RefreshREFERENCIA_PROVEEDOR]; end; procedure TFacturasProveedor_Detalles_RefreshBusinessProcessorRules.SetREFERENCIA_PROVEEDORValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_Detalles_RefreshREFERENCIA_PROVEEDOR] := aValue; end; { TFacturasProveedor_RefreshBusinessProcessorRules } constructor TFacturasProveedor_RefreshBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor); begin inherited; end; destructor TFacturasProveedor_RefreshBusinessProcessorRules.Destroy; begin inherited; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetIDValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshID]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldIDValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshID]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetIDValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshID] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetID_EMPRESAValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshID_EMPRESA]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldID_EMPRESAValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshID_EMPRESA]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetID_EMPRESAValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshID_EMPRESA] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetREFERENCIAValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshREFERENCIA]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldREFERENCIAValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshREFERENCIA]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetREFERENCIAValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshREFERENCIA] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetTIPOValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshTIPO]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldTIPOValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshTIPO]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetTIPOValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshTIPO] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetREFERENCIA_PROVEEDORValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshREFERENCIA_PROVEEDOR]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldREFERENCIA_PROVEEDORValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshREFERENCIA_PROVEEDOR]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetREFERENCIA_PROVEEDORValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshREFERENCIA_PROVEEDOR] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetFECHA_FACTURAValue: DateTime; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshFECHA_FACTURA]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldFECHA_FACTURAValue: DateTime; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshFECHA_FACTURA]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetFECHA_FACTURAValue(const aValue: DateTime); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshFECHA_FACTURA] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetSITUACIONValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshSITUACION]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldSITUACIONValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshSITUACION]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetSITUACIONValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshSITUACION] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetBASE_IMPONIBLEValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshBASE_IMPONIBLE]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldBASE_IMPONIBLEValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshBASE_IMPONIBLE]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetBASE_IMPONIBLEValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshBASE_IMPONIBLE] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetDESCUENTOValue: Float; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshDESCUENTO]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldDESCUENTOValue: Float; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshDESCUENTO]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetDESCUENTOValue(const aValue: Float); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshDESCUENTO] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetIMPORTE_DESCUENTOValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_DESCUENTO]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldIMPORTE_DESCUENTOValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshIMPORTE_DESCUENTO]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetIMPORTE_DESCUENTOValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_DESCUENTO] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetIVAValue: Float; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIVA]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldIVAValue: Float; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshIVA]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetIVAValue(const aValue: Float); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIVA] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetIMPORTE_IVAValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_IVA]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldIMPORTE_IVAValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshIMPORTE_IVA]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetIMPORTE_IVAValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_IVA] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetREValue: Float; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshRE]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldREValue: Float; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshRE]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetREValue(const aValue: Float); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshRE] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetIMPORTE_REValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_RE]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldIMPORTE_REValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshIMPORTE_RE]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetIMPORTE_REValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_RE] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetIMPORTE_TOTALValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_TOTAL]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshIMPORTE_TOTAL]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_TOTAL] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOBSERVACIONESValue: IROStrings; begin result := NewROStrings(); result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshOBSERVACIONES]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldOBSERVACIONESValue: IROStrings; begin result := NewROStrings(); result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshOBSERVACIONES]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetOBSERVACIONESValue(const aValue: IROStrings); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshOBSERVACIONES] := aValue.Text; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetID_PROVEEDORValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshID_PROVEEDOR]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldID_PROVEEDORValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshID_PROVEEDOR]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetID_PROVEEDORValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshID_PROVEEDOR] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetNIF_CIFValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshNIF_CIF]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldNIF_CIFValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshNIF_CIF]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetNIF_CIFValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshNIF_CIF] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetNOMBREValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshNOMBRE]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldNOMBREValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshNOMBRE]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetNOMBREValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshNOMBRE] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetCALLEValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshCALLE]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldCALLEValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshCALLE]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetCALLEValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshCALLE] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetPOBLACIONValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshPOBLACION]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldPOBLACIONValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshPOBLACION]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetPOBLACIONValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshPOBLACION] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetPROVINCIAValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshPROVINCIA]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldPROVINCIAValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshPROVINCIA]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetPROVINCIAValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshPROVINCIA] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetCODIGO_POSTALValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshCODIGO_POSTAL]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldCODIGO_POSTALValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshCODIGO_POSTAL]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetCODIGO_POSTALValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshCODIGO_POSTAL] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetFECHA_ALTAValue: DateTime; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshFECHA_ALTA]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldFECHA_ALTAValue: DateTime; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshFECHA_ALTA]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetFECHA_ALTAValue(const aValue: DateTime); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshFECHA_ALTA] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetFECHA_MODIFICACIONValue: DateTime; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshFECHA_MODIFICACION]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldFECHA_MODIFICACIONValue: DateTime; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshFECHA_MODIFICACION]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshFECHA_MODIFICACION] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetUSUARIOValue: String; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshUSUARIO]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldUSUARIOValue: String; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshUSUARIO]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetUSUARIOValue(const aValue: String); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshUSUARIO] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetID_FORMA_PAGOValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshID_FORMA_PAGO]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldID_FORMA_PAGOValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshID_FORMA_PAGO]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetID_FORMA_PAGOValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshID_FORMA_PAGO] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetRECARGO_EQUIVALENCIAValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshRECARGO_EQUIVALENCIA]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldRECARGO_EQUIVALENCIAValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshRECARGO_EQUIVALENCIA]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetRECARGO_EQUIVALENCIAValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshRECARGO_EQUIVALENCIA] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetID_TIPO_IVAValue: Integer; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshID_TIPO_IVA]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldID_TIPO_IVAValue: Integer; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshID_TIPO_IVA]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetID_TIPO_IVAValue(const aValue: Integer); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshID_TIPO_IVA] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetIMPORTE_NETOValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_NETO]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldIMPORTE_NETOValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshIMPORTE_NETO]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetIMPORTE_NETOValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_NETO] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetIMPORTE_PORTEValue: Currency; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_PORTE]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldIMPORTE_PORTEValue: Currency; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshIMPORTE_PORTE]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetIMPORTE_PORTEValue(const aValue: Currency); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshIMPORTE_PORTE] := aValue; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetFECHA_VENCIMIENTOValue: DateTime; begin result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshFECHA_VENCIMIENTO]; end; function TFacturasProveedor_RefreshBusinessProcessorRules.GetOldFECHA_VENCIMIENTOValue: DateTime; begin result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedor_RefreshFECHA_VENCIMIENTO]; end; procedure TFacturasProveedor_RefreshBusinessProcessorRules.SetFECHA_VENCIMIENTOValue(const aValue: DateTime); begin BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedor_RefreshFECHA_VENCIMIENTO] := aValue; end; initialization RegisterBusinessProcessorRules(RID_darReferenciaDelta, TdarReferenciaBusinessProcessorRules); RegisterBusinessProcessorRules(RID_FacturasProveedorDelta, TFacturasProveedorBusinessProcessorRules); RegisterBusinessProcessorRules(RID_FacturasProveedor_DetallesDelta, TFacturasProveedor_DetallesBusinessProcessorRules); RegisterBusinessProcessorRules(RID_FacturasProveedor_Detalles_RefreshDelta, TFacturasProveedor_Detalles_RefreshBusinessProcessorRules); RegisterBusinessProcessorRules(RID_FacturasProveedor_RefreshDelta, TFacturasProveedor_RefreshBusinessProcessorRules); end.