unit schAlbaranesProveedorServer_Intf;

interface

uses
  Classes, DB, SysUtils, uROClasses, uDADataTable, uDABusinessProcessor, schAlbaranesProveedorClient_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 = '{F1B43432-A3E7-44D4-AF56-D2CA222CA3B3}';
  RID_AlbaranesProveedorDelta = '{A1201763-99E7-462F-86AD-AAA14EFE7A60}';
  RID_AlbaranesProveedor_DetallesDelta = '{9DD8A677-8A3F-4948-8C8C-1B40BB98AE6F}';
  RID_AlbaranesProveedor_Detalles_RefreshDelta = '{5663912C-0DD4-4B61-9F49-A9EFD19CA7CE}';
  RID_AlbaranesProveedor_RefreshDelta = '{978B6667-02B7-49EC-B0E0-96D2672CCE4B}';

type
  { IDarReferenciaDelta }
  IDarReferenciaDelta = interface(IDarReferencia)
  ['{F1B43432-A3E7-44D4-AF56-D2CA222CA3B3}']
    { 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;

  { IAlbaranesProveedorDelta }
  IAlbaranesProveedorDelta = interface(IAlbaranesProveedor)
  ['{A1201763-99E7-462F-86AD-AAA14EFE7A60}']
    { Property getters and setters }
    function GetOldIDValue : Integer;
    function GetOldID_EMPRESAValue : Integer;
    function GetOldID_PROVEEDORValue : Integer;
    function GetOldNOMBREValue : String;
    function GetOldFECHA_ALBARANValue : DateTime;
    function GetOldREFERENCIAValue : String;
    function GetOldREFERENCIA_PROVEEDORValue : String;
    function GetOldTIPOValue : String;
    function GetOldID_ALMACENValue : Integer;
    function GetOldNOMBRE_ALMACENValue : String;
    function GetOldID_PEDIDOValue : Integer;
    function GetOldREF_PED_PROVEEDORValue : String;
    function GetOldID_FACTURAValue : Integer;
    function GetOldREF_FACTURAValue : String;
    function GetOldREF_FACTURA_PROVValue : String;
    function GetOldCALLEValue : String;
    function GetOldCODIGO_POSTALValue : String;
    function GetOldPOBLACIONValue : String;
    function GetOldPROVINCIAValue : String;
    function GetOldPERSONA_CONTACTOValue : String;
    function GetOldTELEFONOValue : String;
    function GetOldIMPORTE_NETOValue : Currency;
    function GetOldIMPORTE_PORTEValue : Currency;
    function GetOldDESCUENTOValue : Float;
    function GetOldIMPORTE_DESCUENTOValue : Currency;
    function GetOldBASE_IMPONIBLEValue : Currency;
    function GetOldIVAValue : Float;
    function GetOldIMPORTE_IVAValue : Currency;
    function GetOldIMPORTE_TOTALValue : Currency;
    function GetOldOBSERVACIONESValue : IROStrings;
    function GetOldINCIDENCIASValue : IROStrings;
    function GetOldINCIDENCIAS_ACTIVASValue : Integer;
    function GetOldFECHA_ALTAValue : DateTime;
    function GetOldFECHA_MODIFICACIONValue : DateTime;
    function GetOldUSUARIOValue : String;
    function GetOldID_FORMA_PAGOValue : Integer;

    { Properties }
    property OldID : Integer read GetOldIDValue;
    property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue;
    property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue;
    property OldNOMBRE : String read GetOldNOMBREValue;
    property OldFECHA_ALBARAN : DateTime read GetOldFECHA_ALBARANValue;
    property OldREFERENCIA : String read GetOldREFERENCIAValue;
    property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue;
    property OldTIPO : String read GetOldTIPOValue;
    property OldID_ALMACEN : Integer read GetOldID_ALMACENValue;
    property OldNOMBRE_ALMACEN : String read GetOldNOMBRE_ALMACENValue;
    property OldID_PEDIDO : Integer read GetOldID_PEDIDOValue;
    property OldREF_PED_PROVEEDOR : String read GetOldREF_PED_PROVEEDORValue;
    property OldID_FACTURA : Integer read GetOldID_FACTURAValue;
    property OldREF_FACTURA : String read GetOldREF_FACTURAValue;
    property OldREF_FACTURA_PROV : String read GetOldREF_FACTURA_PROVValue;
    property OldCALLE : String read GetOldCALLEValue;
    property OldCODIGO_POSTAL : String read GetOldCODIGO_POSTALValue;
    property OldPOBLACION : String read GetOldPOBLACIONValue;
    property OldPROVINCIA : String read GetOldPROVINCIAValue;
    property OldPERSONA_CONTACTO : String read GetOldPERSONA_CONTACTOValue;
    property OldTELEFONO : String read GetOldTELEFONOValue;
    property OldIMPORTE_NETO : Currency read GetOldIMPORTE_NETOValue;
    property OldIMPORTE_PORTE : Currency read GetOldIMPORTE_PORTEValue;
    property OldDESCUENTO : Float read GetOldDESCUENTOValue;
    property OldIMPORTE_DESCUENTO : Currency read GetOldIMPORTE_DESCUENTOValue;
    property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue;
    property OldIVA : Float read GetOldIVAValue;
    property OldIMPORTE_IVA : Currency read GetOldIMPORTE_IVAValue;
    property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue;
    property OldOBSERVACIONES : IROStrings read GetOldOBSERVACIONESValue;
    property OldINCIDENCIAS : IROStrings read GetOldINCIDENCIASValue;
    property OldINCIDENCIAS_ACTIVAS : Integer read GetOldINCIDENCIAS_ACTIVASValue;
    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;
  end;

  { TAlbaranesProveedorBusinessProcessorRules }
  TAlbaranesProveedorBusinessProcessorRules = class(TDABusinessProcessorRules, IAlbaranesProveedor, IAlbaranesProveedorDelta)
  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 GetID_PROVEEDORValue: Integer; virtual;
    function GetOldID_PROVEEDORValue: Integer; virtual;
    procedure SetID_PROVEEDORValue(const aValue: Integer); virtual;
    function GetNOMBREValue: String; virtual;
    function GetOldNOMBREValue: String; virtual;
    procedure SetNOMBREValue(const aValue: String); virtual;
    function GetFECHA_ALBARANValue: DateTime; virtual;
    function GetOldFECHA_ALBARANValue: DateTime; virtual;
    procedure SetFECHA_ALBARANValue(const aValue: DateTime); 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;
    function GetTIPOValue: String; virtual;
    function GetOldTIPOValue: String; virtual;
    procedure SetTIPOValue(const aValue: String); virtual;
    function GetID_ALMACENValue: Integer; virtual;
    function GetOldID_ALMACENValue: Integer; virtual;
    procedure SetID_ALMACENValue(const aValue: Integer); virtual;
    function GetNOMBRE_ALMACENValue: String; virtual;
    function GetOldNOMBRE_ALMACENValue: String; virtual;
    procedure SetNOMBRE_ALMACENValue(const aValue: String); virtual;
    function GetID_PEDIDOValue: Integer; virtual;
    function GetOldID_PEDIDOValue: Integer; virtual;
    procedure SetID_PEDIDOValue(const aValue: Integer); virtual;
    function GetREF_PED_PROVEEDORValue: String; virtual;
    function GetOldREF_PED_PROVEEDORValue: String; virtual;
    procedure SetREF_PED_PROVEEDORValue(const aValue: String); virtual;
    function GetID_FACTURAValue: Integer; virtual;
    function GetOldID_FACTURAValue: Integer; virtual;
    procedure SetID_FACTURAValue(const aValue: Integer); virtual;
    function GetREF_FACTURAValue: String; virtual;
    function GetOldREF_FACTURAValue: String; virtual;
    procedure SetREF_FACTURAValue(const aValue: String); virtual;
    function GetREF_FACTURA_PROVValue: String; virtual;
    function GetOldREF_FACTURA_PROVValue: String; virtual;
    procedure SetREF_FACTURA_PROVValue(const aValue: String); virtual;
    function GetCALLEValue: String; virtual;
    function GetOldCALLEValue: String; virtual;
    procedure SetCALLEValue(const aValue: String); virtual;
    function GetCODIGO_POSTALValue: String; virtual;
    function GetOldCODIGO_POSTALValue: String; virtual;
    procedure SetCODIGO_POSTALValue(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 GetPERSONA_CONTACTOValue: String; virtual;
    function GetOldPERSONA_CONTACTOValue: String; virtual;
    procedure SetPERSONA_CONTACTOValue(const aValue: String); virtual;
    function GetTELEFONOValue: String; virtual;
    function GetOldTELEFONOValue: String; virtual;
    procedure SetTELEFONOValue(const aValue: String); 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 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 GetBASE_IMPONIBLEValue: Currency; virtual;
    function GetOldBASE_IMPONIBLEValue: Currency; virtual;
    procedure SetBASE_IMPONIBLEValue(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 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 GetINCIDENCIASValue: IROStrings; virtual;
    function GetOldINCIDENCIASValue: IROStrings; virtual;
    procedure SetINCIDENCIASValue(const aValue: IROStrings); virtual;
    function GetINCIDENCIAS_ACTIVASValue: Integer; virtual;
    function GetOldINCIDENCIAS_ACTIVASValue: Integer; virtual;
    procedure SetINCIDENCIAS_ACTIVASValue(const aValue: Integer); 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;

    { 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 ID_PROVEEDOR : Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue;
    property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue;
    property NOMBRE : String read GetNOMBREValue write SetNOMBREValue;
    property OldNOMBRE : String read GetOldNOMBREValue;
    property FECHA_ALBARAN : DateTime read GetFECHA_ALBARANValue write SetFECHA_ALBARANValue;
    property OldFECHA_ALBARAN : DateTime read GetOldFECHA_ALBARANValue;
    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;
    property TIPO : String read GetTIPOValue write SetTIPOValue;
    property OldTIPO : String read GetOldTIPOValue;
    property ID_ALMACEN : Integer read GetID_ALMACENValue write SetID_ALMACENValue;
    property OldID_ALMACEN : Integer read GetOldID_ALMACENValue;
    property NOMBRE_ALMACEN : String read GetNOMBRE_ALMACENValue write SetNOMBRE_ALMACENValue;
    property OldNOMBRE_ALMACEN : String read GetOldNOMBRE_ALMACENValue;
    property ID_PEDIDO : Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
    property OldID_PEDIDO : Integer read GetOldID_PEDIDOValue;
    property REF_PED_PROVEEDOR : String read GetREF_PED_PROVEEDORValue write SetREF_PED_PROVEEDORValue;
    property OldREF_PED_PROVEEDOR : String read GetOldREF_PED_PROVEEDORValue;
    property ID_FACTURA : Integer read GetID_FACTURAValue write SetID_FACTURAValue;
    property OldID_FACTURA : Integer read GetOldID_FACTURAValue;
    property REF_FACTURA : String read GetREF_FACTURAValue write SetREF_FACTURAValue;
    property OldREF_FACTURA : String read GetOldREF_FACTURAValue;
    property REF_FACTURA_PROV : String read GetREF_FACTURA_PROVValue write SetREF_FACTURA_PROVValue;
    property OldREF_FACTURA_PROV : String read GetOldREF_FACTURA_PROVValue;
    property CALLE : String read GetCALLEValue write SetCALLEValue;
    property OldCALLE : String read GetOldCALLEValue;
    property CODIGO_POSTAL : String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue;
    property OldCODIGO_POSTAL : String read GetOldCODIGO_POSTALValue;
    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 PERSONA_CONTACTO : String read GetPERSONA_CONTACTOValue write SetPERSONA_CONTACTOValue;
    property OldPERSONA_CONTACTO : String read GetOldPERSONA_CONTACTOValue;
    property TELEFONO : String read GetTELEFONOValue write SetTELEFONOValue;
    property OldTELEFONO : String read GetOldTELEFONOValue;
    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 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 BASE_IMPONIBLE : Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
    property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue;
    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 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 INCIDENCIAS : IROStrings read GetINCIDENCIASValue write SetINCIDENCIASValue;
    property OldINCIDENCIAS : IROStrings read GetOldINCIDENCIASValue;
    property INCIDENCIAS_ACTIVAS : Integer read GetINCIDENCIAS_ACTIVASValue write SetINCIDENCIAS_ACTIVASValue;
    property OldINCIDENCIAS_ACTIVAS : Integer read GetOldINCIDENCIAS_ACTIVASValue;
    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;

  public
    constructor Create(aBusinessProcessor: TDABusinessProcessor); override;
    destructor Destroy; override;

  end;

  { IAlbaranesProveedor_DetallesDelta }
  IAlbaranesProveedor_DetallesDelta = interface(IAlbaranesProveedor_Detalles)
  ['{9DD8A677-8A3F-4948-8C8C-1B40BB98AE6F}']
    { Property getters and setters }
    function GetOldIDValue : Integer;
    function GetOldID_ALBARANValue : Integer;
    function GetOldPOSICIONValue : Integer;
    function GetOldTIPO_DETALLEValue : String;
    function GetOldREFERENCIAValue : String;
    function GetOldID_ARTICULOValue : Integer;
    function GetOldCONCEPTOValue : String;
    function GetOldCANTIDADValue : Integer;
    function GetOldIMPORTE_UNIDADValue : Currency;
    function GetOldIMPORTE_TOTALValue : Currency;
    function GetOldDESCUENTOValue : Float;
    function GetOldIMPORTE_PORTEValue : Currency;
    function GetOldVISIBLEValue : Integer;
    function GetOldREFERENCIA_PROVEEDORValue : String;

    { Properties }
    property OldID : Integer read GetOldIDValue;
    property OldID_ALBARAN : Integer read GetOldID_ALBARANValue;
    property OldPOSICION : Integer read GetOldPOSICIONValue;
    property OldTIPO_DETALLE : String read GetOldTIPO_DETALLEValue;
    property OldREFERENCIA : String read GetOldREFERENCIAValue;
    property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
    property OldCONCEPTO : String read GetOldCONCEPTOValue;
    property OldCANTIDAD : Integer read GetOldCANTIDADValue;
    property OldIMPORTE_UNIDAD : Currency read GetOldIMPORTE_UNIDADValue;
    property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue;
    property OldDESCUENTO : Float read GetOldDESCUENTOValue;
    property OldIMPORTE_PORTE : Currency read GetOldIMPORTE_PORTEValue;
    property OldVISIBLE : Integer read GetOldVISIBLEValue;
    property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue;
  end;

  { TAlbaranesProveedor_DetallesBusinessProcessorRules }
  TAlbaranesProveedor_DetallesBusinessProcessorRules = class(TDABusinessProcessorRules, IAlbaranesProveedor_Detalles, IAlbaranesProveedor_DetallesDelta)
  private
  protected
    { Property getters and setters }
    function GetIDValue: Integer; virtual;
    function GetOldIDValue: Integer; virtual;
    procedure SetIDValue(const aValue: Integer); virtual;
    function GetID_ALBARANValue: Integer; virtual;
    function GetOldID_ALBARANValue: Integer; virtual;
    procedure SetID_ALBARANValue(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 GetREFERENCIAValue: String; virtual;
    function GetOldREFERENCIAValue: String; virtual;
    procedure SetREFERENCIAValue(const aValue: String); virtual;
    function GetID_ARTICULOValue: Integer; virtual;
    function GetOldID_ARTICULOValue: Integer; virtual;
    procedure SetID_ARTICULOValue(const aValue: Integer); 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 GetIMPORTE_TOTALValue: Currency; virtual;
    function GetOldIMPORTE_TOTALValue: Currency; virtual;
    procedure SetIMPORTE_TOTALValue(const aValue: Currency); virtual;
    function GetDESCUENTOValue: Float; virtual;
    function GetOldDESCUENTOValue: Float; virtual;
    procedure SetDESCUENTOValue(const aValue: Float); virtual;
    function GetIMPORTE_PORTEValue: Currency; virtual;
    function GetOldIMPORTE_PORTEValue: Currency; virtual;
    procedure SetIMPORTE_PORTEValue(const aValue: Currency); virtual;
    function GetVISIBLEValue: Integer; virtual;
    function GetOldVISIBLEValue: Integer; virtual;
    procedure SetVISIBLEValue(const aValue: Integer); 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_ALBARAN : Integer read GetID_ALBARANValue write SetID_ALBARANValue;
    property OldID_ALBARAN : Integer read GetOldID_ALBARANValue;
    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 REFERENCIA : String read GetREFERENCIAValue write SetREFERENCIAValue;
    property OldREFERENCIA : String read GetOldREFERENCIAValue;
    property ID_ARTICULO : Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
    property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
    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 IMPORTE_TOTAL : Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
    property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue;
    property DESCUENTO : Float read GetDESCUENTOValue write SetDESCUENTOValue;
    property OldDESCUENTO : Float read GetOldDESCUENTOValue;
    property IMPORTE_PORTE : Currency read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
    property OldIMPORTE_PORTE : Currency read GetOldIMPORTE_PORTEValue;
    property VISIBLE : Integer read GetVISIBLEValue write SetVISIBLEValue;
    property OldVISIBLE : Integer read GetOldVISIBLEValue;
    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;

  { IAlbaranesProveedor_Detalles_RefreshDelta }
  IAlbaranesProveedor_Detalles_RefreshDelta = interface(IAlbaranesProveedor_Detalles_Refresh)
  ['{5663912C-0DD4-4B61-9F49-A9EFD19CA7CE}']
    { Property getters and setters }
    function GetOldIDValue : Integer;
    function GetOldID_ALBARANValue : Integer;
    function GetOldPOSICIONValue : Integer;
    function GetOldTIPO_DETALLEValue : String;
    function GetOldREFERENCIAValue : String;
    function GetOldID_ARTICULOValue : Integer;
    function GetOldCONCEPTOValue : String;
    function GetOldCANTIDADValue : Integer;
    function GetOldIMPORTE_UNIDADValue : Currency;
    function GetOldIMPORTE_TOTALValue : Currency;
    function GetOldDESCUENTOValue : Float;
    function GetOldIMPORTE_PORTEValue : Float;
    function GetOldVISIBLEValue : Integer;
    function GetOldREFERENCIA_PROVEEDORValue : String;

    { Properties }
    property OldID : Integer read GetOldIDValue;
    property OldID_ALBARAN : Integer read GetOldID_ALBARANValue;
    property OldPOSICION : Integer read GetOldPOSICIONValue;
    property OldTIPO_DETALLE : String read GetOldTIPO_DETALLEValue;
    property OldREFERENCIA : String read GetOldREFERENCIAValue;
    property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
    property OldCONCEPTO : String read GetOldCONCEPTOValue;
    property OldCANTIDAD : Integer read GetOldCANTIDADValue;
    property OldIMPORTE_UNIDAD : Currency read GetOldIMPORTE_UNIDADValue;
    property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue;
    property OldDESCUENTO : Float read GetOldDESCUENTOValue;
    property OldIMPORTE_PORTE : Float read GetOldIMPORTE_PORTEValue;
    property OldVISIBLE : Integer read GetOldVISIBLEValue;
    property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue;
  end;

  { TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules }
  TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules = class(TDABusinessProcessorRules, IAlbaranesProveedor_Detalles_Refresh, IAlbaranesProveedor_Detalles_RefreshDelta)
  private
  protected
    { Property getters and setters }
    function GetIDValue: Integer; virtual;
    function GetOldIDValue: Integer; virtual;
    procedure SetIDValue(const aValue: Integer); virtual;
    function GetID_ALBARANValue: Integer; virtual;
    function GetOldID_ALBARANValue: Integer; virtual;
    procedure SetID_ALBARANValue(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 GetREFERENCIAValue: String; virtual;
    function GetOldREFERENCIAValue: String; virtual;
    procedure SetREFERENCIAValue(const aValue: String); virtual;
    function GetID_ARTICULOValue: Integer; virtual;
    function GetOldID_ARTICULOValue: Integer; virtual;
    procedure SetID_ARTICULOValue(const aValue: Integer); 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 GetIMPORTE_TOTALValue: Currency; virtual;
    function GetOldIMPORTE_TOTALValue: Currency; virtual;
    procedure SetIMPORTE_TOTALValue(const aValue: Currency); virtual;
    function GetDESCUENTOValue: Float; virtual;
    function GetOldDESCUENTOValue: Float; virtual;
    procedure SetDESCUENTOValue(const aValue: Float); virtual;
    function GetIMPORTE_PORTEValue: Float; virtual;
    function GetOldIMPORTE_PORTEValue: Float; virtual;
    procedure SetIMPORTE_PORTEValue(const aValue: Float); virtual;
    function GetVISIBLEValue: Integer; virtual;
    function GetOldVISIBLEValue: Integer; virtual;
    procedure SetVISIBLEValue(const aValue: Integer); 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_ALBARAN : Integer read GetID_ALBARANValue write SetID_ALBARANValue;
    property OldID_ALBARAN : Integer read GetOldID_ALBARANValue;
    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 REFERENCIA : String read GetREFERENCIAValue write SetREFERENCIAValue;
    property OldREFERENCIA : String read GetOldREFERENCIAValue;
    property ID_ARTICULO : Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
    property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
    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 IMPORTE_TOTAL : Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
    property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue;
    property DESCUENTO : Float read GetDESCUENTOValue write SetDESCUENTOValue;
    property OldDESCUENTO : Float read GetOldDESCUENTOValue;
    property IMPORTE_PORTE : Float read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
    property OldIMPORTE_PORTE : Float read GetOldIMPORTE_PORTEValue;
    property VISIBLE : Integer read GetVISIBLEValue write SetVISIBLEValue;
    property OldVISIBLE : Integer read GetOldVISIBLEValue;
    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;

  { IAlbaranesProveedor_RefreshDelta }
  IAlbaranesProveedor_RefreshDelta = interface(IAlbaranesProveedor_Refresh)
  ['{978B6667-02B7-49EC-B0E0-96D2672CCE4B}']
    { Property getters and setters }
    function GetOldIDValue : Integer;
    function GetOldID_EMPRESAValue : Integer;
    function GetOldID_PROVEEDORValue : Integer;
    function GetOldNOMBREValue : String;
    function GetOldFECHA_ALBARANValue : DateTime;
    function GetOldREFERENCIAValue : String;
    function GetOldREFERENCIA_PROVEEDORValue : String;
    function GetOldTIPOValue : String;
    function GetOldID_ALMACENValue : Integer;
    function GetOldNOMBRE_ALMACENValue : String;
    function GetOldID_PEDIDOValue : Integer;
    function GetOldREF_PED_PROVEEDORValue : String;
    function GetOldID_FACTURAValue : Integer;
    function GetOldREF_FACTURAValue : String;
    function GetOldREF_FACTURA_PROVValue : String;
    function GetOldCALLEValue : String;
    function GetOldCODIGO_POSTALValue : String;
    function GetOldPOBLACIONValue : String;
    function GetOldPROVINCIAValue : String;
    function GetOldPERSONA_CONTACTOValue : String;
    function GetOldTELEFONOValue : String;
    function GetOldIMPORTE_NETOValue : Currency;
    function GetOldIMPORTE_PORTEValue : Currency;
    function GetOldDESCUENTOValue : Float;
    function GetOldIMPORTE_DESCUENTOValue : Currency;
    function GetOldBASE_IMPONIBLEValue : Currency;
    function GetOldIVAValue : Float;
    function GetOldIMPORTE_IVAValue : Currency;
    function GetOldIMPORTE_TOTALValue : Currency;
    function GetOldOBSERVACIONESValue : IROStrings;
    function GetOldINCIDENCIASValue : IROStrings;
    function GetOldINCIDENCIAS_ACTIVASValue : Integer;
    function GetOldFECHA_ALTAValue : DateTime;
    function GetOldFECHA_MODIFICACIONValue : DateTime;
    function GetOldUSUARIOValue : String;
    function GetOldID_FORMA_PAGOValue : Integer;

    { Properties }
    property OldID : Integer read GetOldIDValue;
    property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue;
    property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue;
    property OldNOMBRE : String read GetOldNOMBREValue;
    property OldFECHA_ALBARAN : DateTime read GetOldFECHA_ALBARANValue;
    property OldREFERENCIA : String read GetOldREFERENCIAValue;
    property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue;
    property OldTIPO : String read GetOldTIPOValue;
    property OldID_ALMACEN : Integer read GetOldID_ALMACENValue;
    property OldNOMBRE_ALMACEN : String read GetOldNOMBRE_ALMACENValue;
    property OldID_PEDIDO : Integer read GetOldID_PEDIDOValue;
    property OldREF_PED_PROVEEDOR : String read GetOldREF_PED_PROVEEDORValue;
    property OldID_FACTURA : Integer read GetOldID_FACTURAValue;
    property OldREF_FACTURA : String read GetOldREF_FACTURAValue;
    property OldREF_FACTURA_PROV : String read GetOldREF_FACTURA_PROVValue;
    property OldCALLE : String read GetOldCALLEValue;
    property OldCODIGO_POSTAL : String read GetOldCODIGO_POSTALValue;
    property OldPOBLACION : String read GetOldPOBLACIONValue;
    property OldPROVINCIA : String read GetOldPROVINCIAValue;
    property OldPERSONA_CONTACTO : String read GetOldPERSONA_CONTACTOValue;
    property OldTELEFONO : String read GetOldTELEFONOValue;
    property OldIMPORTE_NETO : Currency read GetOldIMPORTE_NETOValue;
    property OldIMPORTE_PORTE : Currency read GetOldIMPORTE_PORTEValue;
    property OldDESCUENTO : Float read GetOldDESCUENTOValue;
    property OldIMPORTE_DESCUENTO : Currency read GetOldIMPORTE_DESCUENTOValue;
    property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue;
    property OldIVA : Float read GetOldIVAValue;
    property OldIMPORTE_IVA : Currency read GetOldIMPORTE_IVAValue;
    property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue;
    property OldOBSERVACIONES : IROStrings read GetOldOBSERVACIONESValue;
    property OldINCIDENCIAS : IROStrings read GetOldINCIDENCIASValue;
    property OldINCIDENCIAS_ACTIVAS : Integer read GetOldINCIDENCIAS_ACTIVASValue;
    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;
  end;

  { TAlbaranesProveedor_RefreshBusinessProcessorRules }
  TAlbaranesProveedor_RefreshBusinessProcessorRules = class(TDABusinessProcessorRules, IAlbaranesProveedor_Refresh, IAlbaranesProveedor_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 GetID_PROVEEDORValue: Integer; virtual;
    function GetOldID_PROVEEDORValue: Integer; virtual;
    procedure SetID_PROVEEDORValue(const aValue: Integer); virtual;
    function GetNOMBREValue: String; virtual;
    function GetOldNOMBREValue: String; virtual;
    procedure SetNOMBREValue(const aValue: String); virtual;
    function GetFECHA_ALBARANValue: DateTime; virtual;
    function GetOldFECHA_ALBARANValue: DateTime; virtual;
    procedure SetFECHA_ALBARANValue(const aValue: DateTime); 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;
    function GetTIPOValue: String; virtual;
    function GetOldTIPOValue: String; virtual;
    procedure SetTIPOValue(const aValue: String); virtual;
    function GetID_ALMACENValue: Integer; virtual;
    function GetOldID_ALMACENValue: Integer; virtual;
    procedure SetID_ALMACENValue(const aValue: Integer); virtual;
    function GetNOMBRE_ALMACENValue: String; virtual;
    function GetOldNOMBRE_ALMACENValue: String; virtual;
    procedure SetNOMBRE_ALMACENValue(const aValue: String); virtual;
    function GetID_PEDIDOValue: Integer; virtual;
    function GetOldID_PEDIDOValue: Integer; virtual;
    procedure SetID_PEDIDOValue(const aValue: Integer); virtual;
    function GetREF_PED_PROVEEDORValue: String; virtual;
    function GetOldREF_PED_PROVEEDORValue: String; virtual;
    procedure SetREF_PED_PROVEEDORValue(const aValue: String); virtual;
    function GetID_FACTURAValue: Integer; virtual;
    function GetOldID_FACTURAValue: Integer; virtual;
    procedure SetID_FACTURAValue(const aValue: Integer); virtual;
    function GetREF_FACTURAValue: String; virtual;
    function GetOldREF_FACTURAValue: String; virtual;
    procedure SetREF_FACTURAValue(const aValue: String); virtual;
    function GetREF_FACTURA_PROVValue: String; virtual;
    function GetOldREF_FACTURA_PROVValue: String; virtual;
    procedure SetREF_FACTURA_PROVValue(const aValue: String); virtual;
    function GetCALLEValue: String; virtual;
    function GetOldCALLEValue: String; virtual;
    procedure SetCALLEValue(const aValue: String); virtual;
    function GetCODIGO_POSTALValue: String; virtual;
    function GetOldCODIGO_POSTALValue: String; virtual;
    procedure SetCODIGO_POSTALValue(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 GetPERSONA_CONTACTOValue: String; virtual;
    function GetOldPERSONA_CONTACTOValue: String; virtual;
    procedure SetPERSONA_CONTACTOValue(const aValue: String); virtual;
    function GetTELEFONOValue: String; virtual;
    function GetOldTELEFONOValue: String; virtual;
    procedure SetTELEFONOValue(const aValue: String); 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 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 GetBASE_IMPONIBLEValue: Currency; virtual;
    function GetOldBASE_IMPONIBLEValue: Currency; virtual;
    procedure SetBASE_IMPONIBLEValue(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 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 GetINCIDENCIASValue: IROStrings; virtual;
    function GetOldINCIDENCIASValue: IROStrings; virtual;
    procedure SetINCIDENCIASValue(const aValue: IROStrings); virtual;
    function GetINCIDENCIAS_ACTIVASValue: Integer; virtual;
    function GetOldINCIDENCIAS_ACTIVASValue: Integer; virtual;
    procedure SetINCIDENCIAS_ACTIVASValue(const aValue: Integer); 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;

    { 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 ID_PROVEEDOR : Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue;
    property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue;
    property NOMBRE : String read GetNOMBREValue write SetNOMBREValue;
    property OldNOMBRE : String read GetOldNOMBREValue;
    property FECHA_ALBARAN : DateTime read GetFECHA_ALBARANValue write SetFECHA_ALBARANValue;
    property OldFECHA_ALBARAN : DateTime read GetOldFECHA_ALBARANValue;
    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;
    property TIPO : String read GetTIPOValue write SetTIPOValue;
    property OldTIPO : String read GetOldTIPOValue;
    property ID_ALMACEN : Integer read GetID_ALMACENValue write SetID_ALMACENValue;
    property OldID_ALMACEN : Integer read GetOldID_ALMACENValue;
    property NOMBRE_ALMACEN : String read GetNOMBRE_ALMACENValue write SetNOMBRE_ALMACENValue;
    property OldNOMBRE_ALMACEN : String read GetOldNOMBRE_ALMACENValue;
    property ID_PEDIDO : Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
    property OldID_PEDIDO : Integer read GetOldID_PEDIDOValue;
    property REF_PED_PROVEEDOR : String read GetREF_PED_PROVEEDORValue write SetREF_PED_PROVEEDORValue;
    property OldREF_PED_PROVEEDOR : String read GetOldREF_PED_PROVEEDORValue;
    property ID_FACTURA : Integer read GetID_FACTURAValue write SetID_FACTURAValue;
    property OldID_FACTURA : Integer read GetOldID_FACTURAValue;
    property REF_FACTURA : String read GetREF_FACTURAValue write SetREF_FACTURAValue;
    property OldREF_FACTURA : String read GetOldREF_FACTURAValue;
    property REF_FACTURA_PROV : String read GetREF_FACTURA_PROVValue write SetREF_FACTURA_PROVValue;
    property OldREF_FACTURA_PROV : String read GetOldREF_FACTURA_PROVValue;
    property CALLE : String read GetCALLEValue write SetCALLEValue;
    property OldCALLE : String read GetOldCALLEValue;
    property CODIGO_POSTAL : String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue;
    property OldCODIGO_POSTAL : String read GetOldCODIGO_POSTALValue;
    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 PERSONA_CONTACTO : String read GetPERSONA_CONTACTOValue write SetPERSONA_CONTACTOValue;
    property OldPERSONA_CONTACTO : String read GetOldPERSONA_CONTACTOValue;
    property TELEFONO : String read GetTELEFONOValue write SetTELEFONOValue;
    property OldTELEFONO : String read GetOldTELEFONOValue;
    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 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 BASE_IMPONIBLE : Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
    property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue;
    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 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 INCIDENCIAS : IROStrings read GetINCIDENCIASValue write SetINCIDENCIASValue;
    property OldINCIDENCIAS : IROStrings read GetOldINCIDENCIASValue;
    property INCIDENCIAS_ACTIVAS : Integer read GetINCIDENCIAS_ACTIVASValue write SetINCIDENCIAS_ACTIVASValue;
    property OldINCIDENCIAS_ACTIVAS : Integer read GetOldINCIDENCIAS_ACTIVASValue;
    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;

  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;


{ TAlbaranesProveedorBusinessProcessorRules }
constructor TAlbaranesProveedorBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
begin
  inherited;
end;

destructor TAlbaranesProveedorBusinessProcessorRules.Destroy;
begin
  inherited;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetIDValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldIDValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorID];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetIDValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetID_EMPRESAValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_EMPRESA];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldID_EMPRESAValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorID_EMPRESA];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetID_EMPRESAValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_EMPRESA] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetID_PROVEEDORValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_PROVEEDOR];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldID_PROVEEDORValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorID_PROVEEDOR];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetID_PROVEEDORValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_PROVEEDOR] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetNOMBREValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorNOMBRE];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldNOMBREValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorNOMBRE];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetNOMBREValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorNOMBRE] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetFECHA_ALBARANValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorFECHA_ALBARAN];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldFECHA_ALBARANValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorFECHA_ALBARAN];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetFECHA_ALBARANValue(const aValue: DateTime);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorFECHA_ALBARAN] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetREFERENCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorREFERENCIA];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldREFERENCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorREFERENCIA];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetREFERENCIAValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorREFERENCIA] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetREFERENCIA_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorREFERENCIA_PROVEEDOR];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldREFERENCIA_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorREFERENCIA_PROVEEDOR];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetREFERENCIA_PROVEEDORValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorREFERENCIA_PROVEEDOR] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetTIPOValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorTIPO];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldTIPOValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorTIPO];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetTIPOValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorTIPO] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetID_ALMACENValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_ALMACEN];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldID_ALMACENValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorID_ALMACEN];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetID_ALMACENValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_ALMACEN] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetNOMBRE_ALMACENValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorNOMBRE_ALMACEN];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldNOMBRE_ALMACENValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorNOMBRE_ALMACEN];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetNOMBRE_ALMACENValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorNOMBRE_ALMACEN] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetID_PEDIDOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_PEDIDO];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldID_PEDIDOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorID_PEDIDO];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetID_PEDIDOValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_PEDIDO] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetREF_PED_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorREF_PED_PROVEEDOR];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldREF_PED_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorREF_PED_PROVEEDOR];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetREF_PED_PROVEEDORValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorREF_PED_PROVEEDOR] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetID_FACTURAValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_FACTURA];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldID_FACTURAValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorID_FACTURA];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetID_FACTURAValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_FACTURA] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetREF_FACTURAValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorREF_FACTURA];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldREF_FACTURAValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorREF_FACTURA];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetREF_FACTURAValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorREF_FACTURA] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetREF_FACTURA_PROVValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorREF_FACTURA_PROV];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldREF_FACTURA_PROVValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorREF_FACTURA_PROV];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetREF_FACTURA_PROVValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorREF_FACTURA_PROV] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetCALLEValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorCALLE];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldCALLEValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorCALLE];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetCALLEValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorCALLE] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetCODIGO_POSTALValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorCODIGO_POSTAL];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldCODIGO_POSTALValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorCODIGO_POSTAL];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetCODIGO_POSTALValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorCODIGO_POSTAL] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetPOBLACIONValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorPOBLACION];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldPOBLACIONValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorPOBLACION];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetPOBLACIONValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorPOBLACION] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetPROVINCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorPROVINCIA];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldPROVINCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorPROVINCIA];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetPROVINCIAValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorPROVINCIA] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetPERSONA_CONTACTOValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorPERSONA_CONTACTO];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldPERSONA_CONTACTOValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorPERSONA_CONTACTO];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetPERSONA_CONTACTOValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorPERSONA_CONTACTO] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetTELEFONOValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorTELEFONO];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldTELEFONOValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorTELEFONO];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetTELEFONOValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorTELEFONO] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetIMPORTE_NETOValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIMPORTE_NETO];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldIMPORTE_NETOValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorIMPORTE_NETO];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetIMPORTE_NETOValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIMPORTE_NETO] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetIMPORTE_PORTEValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIMPORTE_PORTE];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldIMPORTE_PORTEValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorIMPORTE_PORTE];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetIMPORTE_PORTEValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIMPORTE_PORTE] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetDESCUENTOValue: Float;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorDESCUENTO];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldDESCUENTOValue: Float;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorDESCUENTO];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetDESCUENTOValue(const aValue: Float);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorDESCUENTO] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetIMPORTE_DESCUENTOValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIMPORTE_DESCUENTO];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldIMPORTE_DESCUENTOValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorIMPORTE_DESCUENTO];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetIMPORTE_DESCUENTOValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIMPORTE_DESCUENTO] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetBASE_IMPONIBLEValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorBASE_IMPONIBLE];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldBASE_IMPONIBLEValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorBASE_IMPONIBLE];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetBASE_IMPONIBLEValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorBASE_IMPONIBLE] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetIVAValue: Float;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIVA];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldIVAValue: Float;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorIVA];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetIVAValue(const aValue: Float);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIVA] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetIMPORTE_IVAValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIMPORTE_IVA];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldIMPORTE_IVAValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorIMPORTE_IVA];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetIMPORTE_IVAValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIMPORTE_IVA] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetIMPORTE_TOTALValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIMPORTE_TOTAL];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorIMPORTE_TOTAL];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorIMPORTE_TOTAL] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOBSERVACIONESValue: IROStrings;
begin
  result := NewROStrings();
  result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorOBSERVACIONES];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldOBSERVACIONESValue: IROStrings;
begin
  result := NewROStrings();
  result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorOBSERVACIONES];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetOBSERVACIONESValue(const aValue: IROStrings);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorOBSERVACIONES] := aValue.Text;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetINCIDENCIASValue: IROStrings;
begin
  result := NewROStrings();
  result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorINCIDENCIAS];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldINCIDENCIASValue: IROStrings;
begin
  result := NewROStrings();
  result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorINCIDENCIAS];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetINCIDENCIASValue(const aValue: IROStrings);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorINCIDENCIAS] := aValue.Text;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetINCIDENCIAS_ACTIVASValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorINCIDENCIAS_ACTIVAS];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldINCIDENCIAS_ACTIVASValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorINCIDENCIAS_ACTIVAS];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetINCIDENCIAS_ACTIVASValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorINCIDENCIAS_ACTIVAS] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetFECHA_ALTAValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorFECHA_ALTA];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldFECHA_ALTAValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorFECHA_ALTA];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetFECHA_ALTAValue(const aValue: DateTime);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorFECHA_ALTA] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetFECHA_MODIFICACIONValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorFECHA_MODIFICACION];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldFECHA_MODIFICACIONValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorFECHA_MODIFICACION];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorFECHA_MODIFICACION] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetUSUARIOValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorUSUARIO];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldUSUARIOValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorUSUARIO];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetUSUARIOValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorUSUARIO] := aValue;
end;

function TAlbaranesProveedorBusinessProcessorRules.GetID_FORMA_PAGOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_FORMA_PAGO];
end;

function TAlbaranesProveedorBusinessProcessorRules.GetOldID_FORMA_PAGOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedorID_FORMA_PAGO];
end;

procedure TAlbaranesProveedorBusinessProcessorRules.SetID_FORMA_PAGOValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedorID_FORMA_PAGO] := aValue;
end;


{ TAlbaranesProveedor_DetallesBusinessProcessorRules }
constructor TAlbaranesProveedor_DetallesBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
begin
  inherited;
end;

destructor TAlbaranesProveedor_DetallesBusinessProcessorRules.Destroy;
begin
  inherited;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetIDValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesID];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldIDValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesID];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetIDValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesID] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetID_ALBARANValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesID_ALBARAN];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldID_ALBARANValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesID_ALBARAN];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetID_ALBARANValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesID_ALBARAN] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetPOSICIONValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesPOSICION];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldPOSICIONValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesPOSICION];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetPOSICIONValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesPOSICION] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetTIPO_DETALLEValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesTIPO_DETALLE];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldTIPO_DETALLEValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesTIPO_DETALLE];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetTIPO_DETALLEValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesTIPO_DETALLE] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetREFERENCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesREFERENCIA];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldREFERENCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesREFERENCIA];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetREFERENCIAValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesREFERENCIA] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetID_ARTICULOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesID_ARTICULO];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldID_ARTICULOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesID_ARTICULO];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetID_ARTICULOValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesID_ARTICULO] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetCONCEPTOValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesCONCEPTO];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldCONCEPTOValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesCONCEPTO];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetCONCEPTOValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesCONCEPTO] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetCANTIDADValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesCANTIDAD];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldCANTIDADValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesCANTIDAD];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetCANTIDADValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesCANTIDAD] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetIMPORTE_UNIDADValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesIMPORTE_UNIDAD];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldIMPORTE_UNIDADValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesIMPORTE_UNIDAD];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetIMPORTE_UNIDADValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesIMPORTE_UNIDAD] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetIMPORTE_TOTALValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesIMPORTE_TOTAL];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesIMPORTE_TOTAL];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesIMPORTE_TOTAL] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetDESCUENTOValue: Float;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesDESCUENTO];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldDESCUENTOValue: Float;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesDESCUENTO];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetDESCUENTOValue(const aValue: Float);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesDESCUENTO] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetIMPORTE_PORTEValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesIMPORTE_PORTE];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldIMPORTE_PORTEValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesIMPORTE_PORTE];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetIMPORTE_PORTEValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesIMPORTE_PORTE] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetVISIBLEValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesVISIBLE];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldVISIBLEValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesVISIBLE];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetVISIBLEValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesVISIBLE] := aValue;
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetREFERENCIA_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesREFERENCIA_PROVEEDOR];
end;

function TAlbaranesProveedor_DetallesBusinessProcessorRules.GetOldREFERENCIA_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_DetallesREFERENCIA_PROVEEDOR];
end;

procedure TAlbaranesProveedor_DetallesBusinessProcessorRules.SetREFERENCIA_PROVEEDORValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_DetallesREFERENCIA_PROVEEDOR] := aValue;
end;


{ TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules }
constructor TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
begin
  inherited;
end;

destructor TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.Destroy;
begin
  inherited;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetIDValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshID];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldIDValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshID];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetIDValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshID] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetID_ALBARANValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshID_ALBARAN];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldID_ALBARANValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshID_ALBARAN];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetID_ALBARANValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshID_ALBARAN] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetPOSICIONValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshPOSICION];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldPOSICIONValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshPOSICION];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetPOSICIONValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshPOSICION] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetTIPO_DETALLEValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshTIPO_DETALLE];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldTIPO_DETALLEValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshTIPO_DETALLE];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetTIPO_DETALLEValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshTIPO_DETALLE] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetREFERENCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshREFERENCIA];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldREFERENCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshREFERENCIA];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetREFERENCIAValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshREFERENCIA] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetID_ARTICULOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshID_ARTICULO];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldID_ARTICULOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshID_ARTICULO];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetID_ARTICULOValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshID_ARTICULO] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetCONCEPTOValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshCONCEPTO];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldCONCEPTOValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshCONCEPTO];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetCONCEPTOValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshCONCEPTO] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetCANTIDADValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshCANTIDAD];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldCANTIDADValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshCANTIDAD];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetCANTIDADValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshCANTIDAD] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetIMPORTE_UNIDADValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshIMPORTE_UNIDAD];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldIMPORTE_UNIDADValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshIMPORTE_UNIDAD];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetIMPORTE_UNIDADValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshIMPORTE_UNIDAD] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetIMPORTE_TOTALValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshIMPORTE_TOTAL];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshIMPORTE_TOTAL];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshIMPORTE_TOTAL] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetDESCUENTOValue: Float;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshDESCUENTO];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldDESCUENTOValue: Float;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshDESCUENTO];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetDESCUENTOValue(const aValue: Float);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshDESCUENTO] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetIMPORTE_PORTEValue: Float;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshIMPORTE_PORTE];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldIMPORTE_PORTEValue: Float;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshIMPORTE_PORTE];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetIMPORTE_PORTEValue(const aValue: Float);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshIMPORTE_PORTE] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetVISIBLEValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshVISIBLE];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldVISIBLEValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshVISIBLE];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetVISIBLEValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshVISIBLE] := aValue;
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetREFERENCIA_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshREFERENCIA_PROVEEDOR];
end;

function TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.GetOldREFERENCIA_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_Detalles_RefreshREFERENCIA_PROVEEDOR];
end;

procedure TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules.SetREFERENCIA_PROVEEDORValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_Detalles_RefreshREFERENCIA_PROVEEDOR] := aValue;
end;


{ TAlbaranesProveedor_RefreshBusinessProcessorRules }
constructor TAlbaranesProveedor_RefreshBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
begin
  inherited;
end;

destructor TAlbaranesProveedor_RefreshBusinessProcessorRules.Destroy;
begin
  inherited;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetIDValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldIDValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshID];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetIDValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetID_EMPRESAValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_EMPRESA];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldID_EMPRESAValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshID_EMPRESA];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetID_EMPRESAValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_EMPRESA] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetID_PROVEEDORValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_PROVEEDOR];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldID_PROVEEDORValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshID_PROVEEDOR];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetID_PROVEEDORValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_PROVEEDOR] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetNOMBREValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshNOMBRE];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldNOMBREValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshNOMBRE];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetNOMBREValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshNOMBRE] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetFECHA_ALBARANValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshFECHA_ALBARAN];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldFECHA_ALBARANValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshFECHA_ALBARAN];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetFECHA_ALBARANValue(const aValue: DateTime);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshFECHA_ALBARAN] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetREFERENCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshREFERENCIA];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldREFERENCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshREFERENCIA];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetREFERENCIAValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshREFERENCIA] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetREFERENCIA_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshREFERENCIA_PROVEEDOR];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldREFERENCIA_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshREFERENCIA_PROVEEDOR];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetREFERENCIA_PROVEEDORValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshREFERENCIA_PROVEEDOR] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetTIPOValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshTIPO];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldTIPOValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshTIPO];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetTIPOValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshTIPO] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetID_ALMACENValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_ALMACEN];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldID_ALMACENValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshID_ALMACEN];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetID_ALMACENValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_ALMACEN] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetNOMBRE_ALMACENValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshNOMBRE_ALMACEN];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldNOMBRE_ALMACENValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshNOMBRE_ALMACEN];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetNOMBRE_ALMACENValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshNOMBRE_ALMACEN] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetID_PEDIDOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_PEDIDO];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldID_PEDIDOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshID_PEDIDO];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetID_PEDIDOValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_PEDIDO] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetREF_PED_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshREF_PED_PROVEEDOR];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldREF_PED_PROVEEDORValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshREF_PED_PROVEEDOR];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetREF_PED_PROVEEDORValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshREF_PED_PROVEEDOR] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetID_FACTURAValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_FACTURA];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldID_FACTURAValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshID_FACTURA];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetID_FACTURAValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_FACTURA] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetREF_FACTURAValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshREF_FACTURA];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldREF_FACTURAValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshREF_FACTURA];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetREF_FACTURAValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshREF_FACTURA] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetREF_FACTURA_PROVValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshREF_FACTURA_PROV];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldREF_FACTURA_PROVValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshREF_FACTURA_PROV];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetREF_FACTURA_PROVValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshREF_FACTURA_PROV] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetCALLEValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshCALLE];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldCALLEValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshCALLE];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetCALLEValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshCALLE] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetCODIGO_POSTALValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshCODIGO_POSTAL];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldCODIGO_POSTALValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshCODIGO_POSTAL];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetCODIGO_POSTALValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshCODIGO_POSTAL] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetPOBLACIONValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshPOBLACION];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldPOBLACIONValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshPOBLACION];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetPOBLACIONValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshPOBLACION] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetPROVINCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshPROVINCIA];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldPROVINCIAValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshPROVINCIA];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetPROVINCIAValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshPROVINCIA] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetPERSONA_CONTACTOValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshPERSONA_CONTACTO];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldPERSONA_CONTACTOValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshPERSONA_CONTACTO];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetPERSONA_CONTACTOValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshPERSONA_CONTACTO] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetTELEFONOValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshTELEFONO];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldTELEFONOValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshTELEFONO];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetTELEFONOValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshTELEFONO] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetIMPORTE_NETOValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_NETO];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldIMPORTE_NETOValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_NETO];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetIMPORTE_NETOValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_NETO] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetIMPORTE_PORTEValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_PORTE];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldIMPORTE_PORTEValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_PORTE];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetIMPORTE_PORTEValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_PORTE] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetDESCUENTOValue: Float;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshDESCUENTO];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldDESCUENTOValue: Float;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshDESCUENTO];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetDESCUENTOValue(const aValue: Float);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshDESCUENTO] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetIMPORTE_DESCUENTOValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_DESCUENTO];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldIMPORTE_DESCUENTOValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_DESCUENTO];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetIMPORTE_DESCUENTOValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_DESCUENTO] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetBASE_IMPONIBLEValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshBASE_IMPONIBLE];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldBASE_IMPONIBLEValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshBASE_IMPONIBLE];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetBASE_IMPONIBLEValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshBASE_IMPONIBLE] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetIVAValue: Float;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIVA];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldIVAValue: Float;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshIVA];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetIVAValue(const aValue: Float);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIVA] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetIMPORTE_IVAValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_IVA];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldIMPORTE_IVAValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_IVA];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetIMPORTE_IVAValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_IVA] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetIMPORTE_TOTALValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_TOTAL];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Currency;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_TOTAL];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Currency);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshIMPORTE_TOTAL] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOBSERVACIONESValue: IROStrings;
begin
  result := NewROStrings();
  result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshOBSERVACIONES];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldOBSERVACIONESValue: IROStrings;
begin
  result := NewROStrings();
  result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshOBSERVACIONES];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetOBSERVACIONESValue(const aValue: IROStrings);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshOBSERVACIONES] := aValue.Text;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetINCIDENCIASValue: IROStrings;
begin
  result := NewROStrings();
  result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshINCIDENCIAS];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldINCIDENCIASValue: IROStrings;
begin
  result := NewROStrings();
  result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshINCIDENCIAS];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetINCIDENCIASValue(const aValue: IROStrings);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshINCIDENCIAS] := aValue.Text;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetINCIDENCIAS_ACTIVASValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshINCIDENCIAS_ACTIVAS];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldINCIDENCIAS_ACTIVASValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshINCIDENCIAS_ACTIVAS];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetINCIDENCIAS_ACTIVASValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshINCIDENCIAS_ACTIVAS] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetFECHA_ALTAValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshFECHA_ALTA];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldFECHA_ALTAValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshFECHA_ALTA];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetFECHA_ALTAValue(const aValue: DateTime);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshFECHA_ALTA] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetFECHA_MODIFICACIONValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshFECHA_MODIFICACION];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldFECHA_MODIFICACIONValue: DateTime;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshFECHA_MODIFICACION];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshFECHA_MODIFICACION] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetUSUARIOValue: String;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshUSUARIO];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldUSUARIOValue: String;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshUSUARIO];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetUSUARIOValue(const aValue: String);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshUSUARIO] := aValue;
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetID_FORMA_PAGOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_FORMA_PAGO];
end;

function TAlbaranesProveedor_RefreshBusinessProcessorRules.GetOldID_FORMA_PAGOValue: Integer;
begin
  result := BusinessProcessor.CurrentChange.OldValueByName[fld_AlbaranesProveedor_RefreshID_FORMA_PAGO];
end;

procedure TAlbaranesProveedor_RefreshBusinessProcessorRules.SetID_FORMA_PAGOValue(const aValue: Integer);
begin
  BusinessProcessor.CurrentChange.NewValueByName[fld_AlbaranesProveedor_RefreshID_FORMA_PAGO] := aValue;
end;


initialization
  RegisterBusinessProcessorRules(RID_DarReferenciaDelta, TDarReferenciaBusinessProcessorRules);
  RegisterBusinessProcessorRules(RID_AlbaranesProveedorDelta, TAlbaranesProveedorBusinessProcessorRules);
  RegisterBusinessProcessorRules(RID_AlbaranesProveedor_DetallesDelta, TAlbaranesProveedor_DetallesBusinessProcessorRules);
  RegisterBusinessProcessorRules(RID_AlbaranesProveedor_Detalles_RefreshDelta, TAlbaranesProveedor_Detalles_RefreshBusinessProcessorRules);
  RegisterBusinessProcessorRules(RID_AlbaranesProveedor_RefreshDelta, TAlbaranesProveedor_RefreshBusinessProcessorRules);

end.
