1348 lines
60 KiB
ObjectPascal
1348 lines
60 KiB
ObjectPascal
|
|
unit schPedidosClienteServer_Intf;
|
||
|
|
|
||
|
|
interface
|
||
|
|
|
||
|
|
uses
|
||
|
|
Classes, DB, SysUtils, uROClasses, uDADataTable, uDABusinessProcessor, schPedidosClienteClient_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_PedidosClienteDelta = '{BF52F36B-822D-4981-ABA7-B37C5C4DDA7B}';
|
||
|
|
RID_PedidosCliente_DetallesDelta = '{88D1FE24-172D-405E-A2C6-0B222E851F3E}';
|
||
|
|
RID_PedidosCliente_RefreshDelta = '{A43BC081-9A40-441C-8989-E6478373F210}';
|
||
|
|
|
||
|
|
type
|
||
|
|
{ IPedidosClienteDelta }
|
||
|
|
IPedidosClienteDelta = interface(IPedidosCliente)
|
||
|
|
['{BF52F36B-822D-4981-ABA7-B37C5C4DDA7B}']
|
||
|
|
{ Property getters and setters }
|
||
|
|
function GetOldIDValue : Integer;
|
||
|
|
function GetOldID_EMPRESAValue : Integer;
|
||
|
|
function GetOldID_CLIENTEValue : Integer;
|
||
|
|
function GetOldUSUARIOValue : String;
|
||
|
|
function GetOldFECHA_PEDIDOValue : DateTime;
|
||
|
|
function GetOldFECHA_CONFIRMACIONValue : DateTime;
|
||
|
|
function GetOldFECHA_ENTREGAValue : DateTime;
|
||
|
|
function GetOldSITUACIONValue : String;
|
||
|
|
function GetOldCALLEValue : String;
|
||
|
|
function GetOldCODIGO_POSTALValue : String;
|
||
|
|
function GetOldPOBLACIONValue : String;
|
||
|
|
function GetOldPROVINCIAValue : String;
|
||
|
|
function GetOldPERSONA_CONTACTOValue : String;
|
||
|
|
function GetOldTELEFONOValue : String;
|
||
|
|
function GetOldREFERENCIAValue : String;
|
||
|
|
function GetOldIMPORTE_TOTALValue : Float;
|
||
|
|
function GetOldINCIDENCIASValue : IROStrings;
|
||
|
|
function GetOldINCIDENCIAS_ACTIVASValue : Integer;
|
||
|
|
function GetOldOBSERVACIONESValue : IROStrings;
|
||
|
|
function GetOldNOMBREValue : String;
|
||
|
|
function GetOldFECHA_ALTAValue : DateTime;
|
||
|
|
function GetOldFECHA_MODIFICACIONValue : DateTime;
|
||
|
|
|
||
|
|
{ Properties }
|
||
|
|
property OldID : Integer read GetOldIDValue;
|
||
|
|
property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue;
|
||
|
|
property OldID_CLIENTE : Integer read GetOldID_CLIENTEValue;
|
||
|
|
property OldUSUARIO : String read GetOldUSUARIOValue;
|
||
|
|
property OldFECHA_PEDIDO : DateTime read GetOldFECHA_PEDIDOValue;
|
||
|
|
property OldFECHA_CONFIRMACION : DateTime read GetOldFECHA_CONFIRMACIONValue;
|
||
|
|
property OldFECHA_ENTREGA : DateTime read GetOldFECHA_ENTREGAValue;
|
||
|
|
property OldSITUACION : String read GetOldSITUACIONValue;
|
||
|
|
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 OldREFERENCIA : String read GetOldREFERENCIAValue;
|
||
|
|
property OldIMPORTE_TOTAL : Float read GetOldIMPORTE_TOTALValue;
|
||
|
|
property OldINCIDENCIAS : IROStrings read GetOldINCIDENCIASValue;
|
||
|
|
property OldINCIDENCIAS_ACTIVAS : Integer read GetOldINCIDENCIAS_ACTIVASValue;
|
||
|
|
property OldOBSERVACIONES : IROStrings read GetOldOBSERVACIONESValue;
|
||
|
|
property OldNOMBRE : String read GetOldNOMBREValue;
|
||
|
|
property OldFECHA_ALTA : DateTime read GetOldFECHA_ALTAValue;
|
||
|
|
property OldFECHA_MODIFICACION : DateTime read GetOldFECHA_MODIFICACIONValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
{ TPedidosClienteBusinessProcessorRules }
|
||
|
|
TPedidosClienteBusinessProcessorRules = class(TDABusinessProcessorRules, IPedidosCliente, IPedidosClienteDelta)
|
||
|
|
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_CLIENTEValue: Integer; virtual;
|
||
|
|
function GetOldID_CLIENTEValue: Integer; virtual;
|
||
|
|
procedure SetID_CLIENTEValue(const aValue: Integer); virtual;
|
||
|
|
function GetUSUARIOValue: String; virtual;
|
||
|
|
function GetOldUSUARIOValue: String; virtual;
|
||
|
|
procedure SetUSUARIOValue(const aValue: String); virtual;
|
||
|
|
function GetFECHA_PEDIDOValue: DateTime; virtual;
|
||
|
|
function GetOldFECHA_PEDIDOValue: DateTime; virtual;
|
||
|
|
procedure SetFECHA_PEDIDOValue(const aValue: DateTime); virtual;
|
||
|
|
function GetFECHA_CONFIRMACIONValue: DateTime; virtual;
|
||
|
|
function GetOldFECHA_CONFIRMACIONValue: DateTime; virtual;
|
||
|
|
procedure SetFECHA_CONFIRMACIONValue(const aValue: DateTime); virtual;
|
||
|
|
function GetFECHA_ENTREGAValue: DateTime; virtual;
|
||
|
|
function GetOldFECHA_ENTREGAValue: DateTime; virtual;
|
||
|
|
procedure SetFECHA_ENTREGAValue(const aValue: DateTime); virtual;
|
||
|
|
function GetSITUACIONValue: String; virtual;
|
||
|
|
function GetOldSITUACIONValue: String; virtual;
|
||
|
|
procedure SetSITUACIONValue(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 GetREFERENCIAValue: String; virtual;
|
||
|
|
function GetOldREFERENCIAValue: String; virtual;
|
||
|
|
procedure SetREFERENCIAValue(const aValue: String); virtual;
|
||
|
|
function GetIMPORTE_TOTALValue: Float; virtual;
|
||
|
|
function GetOldIMPORTE_TOTALValue: Float; virtual;
|
||
|
|
procedure SetIMPORTE_TOTALValue(const aValue: Float); 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 GetOBSERVACIONESValue: IROStrings; virtual;
|
||
|
|
function GetOldOBSERVACIONESValue: IROStrings; virtual;
|
||
|
|
procedure SetOBSERVACIONESValue(const aValue: IROStrings); virtual;
|
||
|
|
function GetNOMBREValue: String; virtual;
|
||
|
|
function GetOldNOMBREValue: String; virtual;
|
||
|
|
procedure SetNOMBREValue(const aValue: String); virtual;
|
||
|
|
function GetFECHA_ALTAValue: DateTime; virtual;
|
||
|
|
function GetOldFECHA_ALTAValue: DateTime; virtual;
|
||
|
|
procedure SetFECHA_ALTAValue(const aValue: DateTime); virtual;
|
||
|
|
function GetFECHA_MODIFICACIONValue: DateTime; virtual;
|
||
|
|
function GetOldFECHA_MODIFICACIONValue: DateTime; virtual;
|
||
|
|
procedure SetFECHA_MODIFICACIONValue(const aValue: DateTime); virtual;
|
||
|
|
|
||
|
|
{ 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_CLIENTE : Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
|
||
|
|
property OldID_CLIENTE : Integer read GetOldID_CLIENTEValue;
|
||
|
|
property USUARIO : String read GetUSUARIOValue write SetUSUARIOValue;
|
||
|
|
property OldUSUARIO : String read GetOldUSUARIOValue;
|
||
|
|
property FECHA_PEDIDO : DateTime read GetFECHA_PEDIDOValue write SetFECHA_PEDIDOValue;
|
||
|
|
property OldFECHA_PEDIDO : DateTime read GetOldFECHA_PEDIDOValue;
|
||
|
|
property FECHA_CONFIRMACION : DateTime read GetFECHA_CONFIRMACIONValue write SetFECHA_CONFIRMACIONValue;
|
||
|
|
property OldFECHA_CONFIRMACION : DateTime read GetOldFECHA_CONFIRMACIONValue;
|
||
|
|
property FECHA_ENTREGA : DateTime read GetFECHA_ENTREGAValue write SetFECHA_ENTREGAValue;
|
||
|
|
property OldFECHA_ENTREGA : DateTime read GetOldFECHA_ENTREGAValue;
|
||
|
|
property SITUACION : String read GetSITUACIONValue write SetSITUACIONValue;
|
||
|
|
property OldSITUACION : String read GetOldSITUACIONValue;
|
||
|
|
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 REFERENCIA : String read GetREFERENCIAValue write SetREFERENCIAValue;
|
||
|
|
property OldREFERENCIA : String read GetOldREFERENCIAValue;
|
||
|
|
property IMPORTE_TOTAL : Float read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
||
|
|
property OldIMPORTE_TOTAL : Float read GetOldIMPORTE_TOTALValue;
|
||
|
|
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 OBSERVACIONES : IROStrings read GetOBSERVACIONESValue write SetOBSERVACIONESValue;
|
||
|
|
property OldOBSERVACIONES : IROStrings read GetOldOBSERVACIONESValue;
|
||
|
|
property NOMBRE : String read GetNOMBREValue write SetNOMBREValue;
|
||
|
|
property OldNOMBRE : String read GetOldNOMBREValue;
|
||
|
|
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;
|
||
|
|
|
||
|
|
public
|
||
|
|
constructor Create(aBusinessProcessor: TDABusinessProcessor); override;
|
||
|
|
destructor Destroy; override;
|
||
|
|
|
||
|
|
end;
|
||
|
|
|
||
|
|
{ IPedidosCliente_DetallesDelta }
|
||
|
|
IPedidosCliente_DetallesDelta = interface(IPedidosCliente_Detalles)
|
||
|
|
['{88D1FE24-172D-405E-A2C6-0B222E851F3E}']
|
||
|
|
{ Property getters and setters }
|
||
|
|
function GetOldIDValue : Integer;
|
||
|
|
function GetOldID_PEDIDOValue : Integer;
|
||
|
|
function GetOldPOSICIONValue : Integer;
|
||
|
|
function GetOldTIPO_DETALLEValue : String;
|
||
|
|
function GetOldREFERENCIAValue : String;
|
||
|
|
function GetOldID_ARTICULOValue : Integer;
|
||
|
|
function GetOldCONCEPTOValue : String;
|
||
|
|
function GetOldCANTIDADValue : Integer;
|
||
|
|
function GetOldIMPORTE_UNIDADValue : Float;
|
||
|
|
function GetOldIMPORTE_TOTALValue : Float;
|
||
|
|
function GetOldVISIBLEValue : Integer;
|
||
|
|
|
||
|
|
{ Properties }
|
||
|
|
property OldID : Integer read GetOldIDValue;
|
||
|
|
property OldID_PEDIDO : Integer read GetOldID_PEDIDOValue;
|
||
|
|
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 : Float read GetOldIMPORTE_UNIDADValue;
|
||
|
|
property OldIMPORTE_TOTAL : Float read GetOldIMPORTE_TOTALValue;
|
||
|
|
property OldVISIBLE : Integer read GetOldVISIBLEValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
{ TPedidosCliente_DetallesBusinessProcessorRules }
|
||
|
|
TPedidosCliente_DetallesBusinessProcessorRules = class(TDABusinessProcessorRules, IPedidosCliente_Detalles, IPedidosCliente_DetallesDelta)
|
||
|
|
private
|
||
|
|
protected
|
||
|
|
{ Property getters and setters }
|
||
|
|
function GetIDValue: Integer; virtual;
|
||
|
|
function GetOldIDValue: Integer; virtual;
|
||
|
|
procedure SetIDValue(const aValue: Integer); virtual;
|
||
|
|
function GetID_PEDIDOValue: Integer; virtual;
|
||
|
|
function GetOldID_PEDIDOValue: Integer; virtual;
|
||
|
|
procedure SetID_PEDIDOValue(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: Float; virtual;
|
||
|
|
function GetOldIMPORTE_UNIDADValue: Float; virtual;
|
||
|
|
procedure SetIMPORTE_UNIDADValue(const aValue: Float); virtual;
|
||
|
|
function GetIMPORTE_TOTALValue: Float; virtual;
|
||
|
|
function GetOldIMPORTE_TOTALValue: Float; virtual;
|
||
|
|
procedure SetIMPORTE_TOTALValue(const aValue: Float); virtual;
|
||
|
|
function GetVISIBLEValue: Integer; virtual;
|
||
|
|
function GetOldVISIBLEValue: Integer; virtual;
|
||
|
|
procedure SetVISIBLEValue(const aValue: Integer); virtual;
|
||
|
|
|
||
|
|
{ Properties }
|
||
|
|
property ID : Integer read GetIDValue write SetIDValue;
|
||
|
|
property OldID : Integer read GetOldIDValue;
|
||
|
|
property ID_PEDIDO : Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
|
||
|
|
property OldID_PEDIDO : Integer read GetOldID_PEDIDOValue;
|
||
|
|
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 : Float read GetIMPORTE_UNIDADValue write SetIMPORTE_UNIDADValue;
|
||
|
|
property OldIMPORTE_UNIDAD : Float read GetOldIMPORTE_UNIDADValue;
|
||
|
|
property IMPORTE_TOTAL : Float read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
||
|
|
property OldIMPORTE_TOTAL : Float read GetOldIMPORTE_TOTALValue;
|
||
|
|
property VISIBLE : Integer read GetVISIBLEValue write SetVISIBLEValue;
|
||
|
|
property OldVISIBLE : Integer read GetOldVISIBLEValue;
|
||
|
|
|
||
|
|
public
|
||
|
|
constructor Create(aBusinessProcessor: TDABusinessProcessor); override;
|
||
|
|
destructor Destroy; override;
|
||
|
|
|
||
|
|
end;
|
||
|
|
|
||
|
|
{ IPedidosCliente_RefreshDelta }
|
||
|
|
IPedidosCliente_RefreshDelta = interface(IPedidosCliente_Refresh)
|
||
|
|
['{A43BC081-9A40-441C-8989-E6478373F210}']
|
||
|
|
{ Property getters and setters }
|
||
|
|
function GetOldIDValue : Integer;
|
||
|
|
function GetOldID_EMPRESAValue : Integer;
|
||
|
|
function GetOldID_CLIENTEValue : Integer;
|
||
|
|
function GetOldUSUARIOValue : String;
|
||
|
|
function GetOldFECHA_PEDIDOValue : DateTime;
|
||
|
|
function GetOldFECHA_CONFIRMACIONValue : DateTime;
|
||
|
|
function GetOldFECHA_ENTREGAValue : DateTime;
|
||
|
|
function GetOldSITUACIONValue : String;
|
||
|
|
function GetOldCALLEValue : String;
|
||
|
|
function GetOldCODIGO_POSTALValue : String;
|
||
|
|
function GetOldPOBLACIONValue : String;
|
||
|
|
function GetOldPROVINCIAValue : String;
|
||
|
|
function GetOldPERSONA_CONTACTOValue : String;
|
||
|
|
function GetOldTELEFONOValue : String;
|
||
|
|
function GetOldREFERENCIAValue : String;
|
||
|
|
function GetOldIMPORTE_TOTALValue : Float;
|
||
|
|
function GetOldINCIDENCIASValue : IROStrings;
|
||
|
|
function GetOldINCIDENCIAS_ACTIVASValue : Integer;
|
||
|
|
function GetOldOBSERVACIONESValue : IROStrings;
|
||
|
|
function GetOldNOMBREValue : String;
|
||
|
|
function GetOldFECHA_ALTAValue : DateTime;
|
||
|
|
function GetOldFECHA_MODIFICACIONValue : DateTime;
|
||
|
|
|
||
|
|
{ Properties }
|
||
|
|
property OldID : Integer read GetOldIDValue;
|
||
|
|
property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue;
|
||
|
|
property OldID_CLIENTE : Integer read GetOldID_CLIENTEValue;
|
||
|
|
property OldUSUARIO : String read GetOldUSUARIOValue;
|
||
|
|
property OldFECHA_PEDIDO : DateTime read GetOldFECHA_PEDIDOValue;
|
||
|
|
property OldFECHA_CONFIRMACION : DateTime read GetOldFECHA_CONFIRMACIONValue;
|
||
|
|
property OldFECHA_ENTREGA : DateTime read GetOldFECHA_ENTREGAValue;
|
||
|
|
property OldSITUACION : String read GetOldSITUACIONValue;
|
||
|
|
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 OldREFERENCIA : String read GetOldREFERENCIAValue;
|
||
|
|
property OldIMPORTE_TOTAL : Float read GetOldIMPORTE_TOTALValue;
|
||
|
|
property OldINCIDENCIAS : IROStrings read GetOldINCIDENCIASValue;
|
||
|
|
property OldINCIDENCIAS_ACTIVAS : Integer read GetOldINCIDENCIAS_ACTIVASValue;
|
||
|
|
property OldOBSERVACIONES : IROStrings read GetOldOBSERVACIONESValue;
|
||
|
|
property OldNOMBRE : String read GetOldNOMBREValue;
|
||
|
|
property OldFECHA_ALTA : DateTime read GetOldFECHA_ALTAValue;
|
||
|
|
property OldFECHA_MODIFICACION : DateTime read GetOldFECHA_MODIFICACIONValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
{ TPedidosCliente_RefreshBusinessProcessorRules }
|
||
|
|
TPedidosCliente_RefreshBusinessProcessorRules = class(TDABusinessProcessorRules, IPedidosCliente_Refresh, IPedidosCliente_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_CLIENTEValue: Integer; virtual;
|
||
|
|
function GetOldID_CLIENTEValue: Integer; virtual;
|
||
|
|
procedure SetID_CLIENTEValue(const aValue: Integer); virtual;
|
||
|
|
function GetUSUARIOValue: String; virtual;
|
||
|
|
function GetOldUSUARIOValue: String; virtual;
|
||
|
|
procedure SetUSUARIOValue(const aValue: String); virtual;
|
||
|
|
function GetFECHA_PEDIDOValue: DateTime; virtual;
|
||
|
|
function GetOldFECHA_PEDIDOValue: DateTime; virtual;
|
||
|
|
procedure SetFECHA_PEDIDOValue(const aValue: DateTime); virtual;
|
||
|
|
function GetFECHA_CONFIRMACIONValue: DateTime; virtual;
|
||
|
|
function GetOldFECHA_CONFIRMACIONValue: DateTime; virtual;
|
||
|
|
procedure SetFECHA_CONFIRMACIONValue(const aValue: DateTime); virtual;
|
||
|
|
function GetFECHA_ENTREGAValue: DateTime; virtual;
|
||
|
|
function GetOldFECHA_ENTREGAValue: DateTime; virtual;
|
||
|
|
procedure SetFECHA_ENTREGAValue(const aValue: DateTime); virtual;
|
||
|
|
function GetSITUACIONValue: String; virtual;
|
||
|
|
function GetOldSITUACIONValue: String; virtual;
|
||
|
|
procedure SetSITUACIONValue(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 GetREFERENCIAValue: String; virtual;
|
||
|
|
function GetOldREFERENCIAValue: String; virtual;
|
||
|
|
procedure SetREFERENCIAValue(const aValue: String); virtual;
|
||
|
|
function GetIMPORTE_TOTALValue: Float; virtual;
|
||
|
|
function GetOldIMPORTE_TOTALValue: Float; virtual;
|
||
|
|
procedure SetIMPORTE_TOTALValue(const aValue: Float); 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 GetOBSERVACIONESValue: IROStrings; virtual;
|
||
|
|
function GetOldOBSERVACIONESValue: IROStrings; virtual;
|
||
|
|
procedure SetOBSERVACIONESValue(const aValue: IROStrings); virtual;
|
||
|
|
function GetNOMBREValue: String; virtual;
|
||
|
|
function GetOldNOMBREValue: String; virtual;
|
||
|
|
procedure SetNOMBREValue(const aValue: String); virtual;
|
||
|
|
function GetFECHA_ALTAValue: DateTime; virtual;
|
||
|
|
function GetOldFECHA_ALTAValue: DateTime; virtual;
|
||
|
|
procedure SetFECHA_ALTAValue(const aValue: DateTime); virtual;
|
||
|
|
function GetFECHA_MODIFICACIONValue: DateTime; virtual;
|
||
|
|
function GetOldFECHA_MODIFICACIONValue: DateTime; virtual;
|
||
|
|
procedure SetFECHA_MODIFICACIONValue(const aValue: DateTime); virtual;
|
||
|
|
|
||
|
|
{ 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_CLIENTE : Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
|
||
|
|
property OldID_CLIENTE : Integer read GetOldID_CLIENTEValue;
|
||
|
|
property USUARIO : String read GetUSUARIOValue write SetUSUARIOValue;
|
||
|
|
property OldUSUARIO : String read GetOldUSUARIOValue;
|
||
|
|
property FECHA_PEDIDO : DateTime read GetFECHA_PEDIDOValue write SetFECHA_PEDIDOValue;
|
||
|
|
property OldFECHA_PEDIDO : DateTime read GetOldFECHA_PEDIDOValue;
|
||
|
|
property FECHA_CONFIRMACION : DateTime read GetFECHA_CONFIRMACIONValue write SetFECHA_CONFIRMACIONValue;
|
||
|
|
property OldFECHA_CONFIRMACION : DateTime read GetOldFECHA_CONFIRMACIONValue;
|
||
|
|
property FECHA_ENTREGA : DateTime read GetFECHA_ENTREGAValue write SetFECHA_ENTREGAValue;
|
||
|
|
property OldFECHA_ENTREGA : DateTime read GetOldFECHA_ENTREGAValue;
|
||
|
|
property SITUACION : String read GetSITUACIONValue write SetSITUACIONValue;
|
||
|
|
property OldSITUACION : String read GetOldSITUACIONValue;
|
||
|
|
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 REFERENCIA : String read GetREFERENCIAValue write SetREFERENCIAValue;
|
||
|
|
property OldREFERENCIA : String read GetOldREFERENCIAValue;
|
||
|
|
property IMPORTE_TOTAL : Float read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
||
|
|
property OldIMPORTE_TOTAL : Float read GetOldIMPORTE_TOTALValue;
|
||
|
|
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 OBSERVACIONES : IROStrings read GetOBSERVACIONESValue write SetOBSERVACIONESValue;
|
||
|
|
property OldOBSERVACIONES : IROStrings read GetOldOBSERVACIONESValue;
|
||
|
|
property NOMBRE : String read GetNOMBREValue write SetNOMBREValue;
|
||
|
|
property OldNOMBRE : String read GetOldNOMBREValue;
|
||
|
|
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;
|
||
|
|
|
||
|
|
public
|
||
|
|
constructor Create(aBusinessProcessor: TDABusinessProcessor); override;
|
||
|
|
destructor Destroy; override;
|
||
|
|
|
||
|
|
end;
|
||
|
|
|
||
|
|
implementation
|
||
|
|
|
||
|
|
uses
|
||
|
|
Variants, uROBinaryHelpers;
|
||
|
|
|
||
|
|
{ TPedidosClienteBusinessProcessorRules }
|
||
|
|
constructor TPedidosClienteBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
|
||
|
|
begin
|
||
|
|
inherited;
|
||
|
|
end;
|
||
|
|
|
||
|
|
destructor TPedidosClienteBusinessProcessorRules.Destroy;
|
||
|
|
begin
|
||
|
|
inherited;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetIDValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIDValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIDValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetID_EMPRESAValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_EMPRESA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldID_EMPRESAValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID_EMPRESA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetID_EMPRESAValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_EMPRESA] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetID_CLIENTEValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_CLIENTE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldID_CLIENTEValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID_CLIENTE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetID_CLIENTEValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_CLIENTE] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetUSUARIOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteUSUARIO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldUSUARIOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteUSUARIO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetUSUARIOValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteUSUARIO] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_PEDIDOValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_PEDIDO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_PEDIDOValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_PEDIDO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_PEDIDOValue(const aValue: DateTime);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_PEDIDO] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_CONFIRMACIONValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_CONFIRMACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_CONFIRMACIONValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_CONFIRMACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_CONFIRMACIONValue(const aValue: DateTime);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_CONFIRMACION] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_ENTREGAValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_ENTREGA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_ENTREGAValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_ENTREGA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_ENTREGAValue(const aValue: DateTime);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_ENTREGA] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetSITUACIONValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteSITUACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldSITUACIONValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteSITUACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetSITUACIONValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteSITUACION] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetCALLEValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCALLE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldCALLEValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteCALLE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetCALLEValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCALLE] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetCODIGO_POSTALValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCODIGO_POSTAL];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldCODIGO_POSTALValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteCODIGO_POSTAL];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetCODIGO_POSTALValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCODIGO_POSTAL] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetPOBLACIONValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePOBLACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldPOBLACIONValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClientePOBLACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetPOBLACIONValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePOBLACION] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetPROVINCIAValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePROVINCIA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldPROVINCIAValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClientePROVINCIA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetPROVINCIAValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePROVINCIA] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetPERSONA_CONTACTOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePERSONA_CONTACTO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldPERSONA_CONTACTOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClientePERSONA_CONTACTO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetPERSONA_CONTACTOValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePERSONA_CONTACTO] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetTELEFONOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteTELEFONO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldTELEFONOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteTELEFONO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetTELEFONOValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteTELEFONO] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetREFERENCIAValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREFERENCIA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldREFERENCIAValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteREFERENCIA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetREFERENCIAValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREFERENCIA] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetIMPORTE_TOTALValue: Float;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_TOTAL];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Float;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIMPORTE_TOTAL];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Float);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_TOTAL] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetINCIDENCIASValue: IROStrings;
|
||
|
|
begin
|
||
|
|
result := NewROStrings();
|
||
|
|
result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldINCIDENCIASValue: IROStrings;
|
||
|
|
begin
|
||
|
|
result := NewROStrings();
|
||
|
|
result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteINCIDENCIAS];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetINCIDENCIASValue(const aValue: IROStrings);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS] := aValue.Text;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetINCIDENCIAS_ACTIVASValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS_ACTIVAS];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldINCIDENCIAS_ACTIVASValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteINCIDENCIAS_ACTIVAS];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetINCIDENCIAS_ACTIVASValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS_ACTIVAS] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOBSERVACIONESValue: IROStrings;
|
||
|
|
begin
|
||
|
|
result := NewROStrings();
|
||
|
|
result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteOBSERVACIONES];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldOBSERVACIONESValue: IROStrings;
|
||
|
|
begin
|
||
|
|
result := NewROStrings();
|
||
|
|
result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteOBSERVACIONES];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetOBSERVACIONESValue(const aValue: IROStrings);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteOBSERVACIONES] := aValue.Text;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetNOMBREValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNOMBRE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldNOMBREValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteNOMBRE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetNOMBREValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNOMBRE] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_ALTAValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_ALTA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_ALTAValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_ALTA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_ALTAValue(const aValue: DateTime);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_ALTA] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_MODIFICACIONValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_MODIFICACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_MODIFICACIONValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_MODIFICACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_MODIFICACION] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
|
||
|
|
{ TPedidosCliente_DetallesBusinessProcessorRules }
|
||
|
|
constructor TPedidosCliente_DetallesBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
|
||
|
|
begin
|
||
|
|
inherited;
|
||
|
|
end;
|
||
|
|
|
||
|
|
destructor TPedidosCliente_DetallesBusinessProcessorRules.Destroy;
|
||
|
|
begin
|
||
|
|
inherited;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetIDValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldIDValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesID];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetIDValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetID_PEDIDOValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID_PEDIDO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldID_PEDIDOValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesID_PEDIDO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetID_PEDIDOValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID_PEDIDO] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetPOSICIONValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesPOSICION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldPOSICIONValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesPOSICION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetPOSICIONValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesPOSICION] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetTIPO_DETALLEValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesTIPO_DETALLE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldTIPO_DETALLEValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesTIPO_DETALLE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetTIPO_DETALLEValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesTIPO_DETALLE] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetREFERENCIAValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesREFERENCIA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldREFERENCIAValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesREFERENCIA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetREFERENCIAValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesREFERENCIA] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetID_ARTICULOValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID_ARTICULO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldID_ARTICULOValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesID_ARTICULO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetID_ARTICULOValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID_ARTICULO] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetCONCEPTOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCONCEPTO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldCONCEPTOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesCONCEPTO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetCONCEPTOValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCONCEPTO] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetCANTIDADValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCANTIDAD];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldCANTIDADValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesCANTIDAD];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetCANTIDADValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCANTIDAD] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetIMPORTE_UNIDADValue: Float;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_UNIDAD];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldIMPORTE_UNIDADValue: Float;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesIMPORTE_UNIDAD];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetIMPORTE_UNIDADValue(const aValue: Float);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_UNIDAD] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetIMPORTE_TOTALValue: Float;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_TOTAL];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Float;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesIMPORTE_TOTAL];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Float);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_TOTAL] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetVISIBLEValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesVISIBLE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldVISIBLEValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesVISIBLE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetVISIBLEValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesVISIBLE] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
|
||
|
|
{ TPedidosCliente_RefreshBusinessProcessorRules }
|
||
|
|
constructor TPedidosCliente_RefreshBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
|
||
|
|
begin
|
||
|
|
inherited;
|
||
|
|
end;
|
||
|
|
|
||
|
|
destructor TPedidosCliente_RefreshBusinessProcessorRules.Destroy;
|
||
|
|
begin
|
||
|
|
inherited;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetIDValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshID];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldIDValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshID];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetIDValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshID] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetID_EMPRESAValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshID_EMPRESA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldID_EMPRESAValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshID_EMPRESA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetID_EMPRESAValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshID_EMPRESA] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetID_CLIENTEValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshID_CLIENTE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldID_CLIENTEValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshID_CLIENTE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetID_CLIENTEValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshID_CLIENTE] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetUSUARIOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshUSUARIO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldUSUARIOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshUSUARIO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetUSUARIOValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshUSUARIO] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetFECHA_PEDIDOValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshFECHA_PEDIDO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldFECHA_PEDIDOValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshFECHA_PEDIDO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetFECHA_PEDIDOValue(const aValue: DateTime);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshFECHA_PEDIDO] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetFECHA_CONFIRMACIONValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshFECHA_CONFIRMACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldFECHA_CONFIRMACIONValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshFECHA_CONFIRMACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetFECHA_CONFIRMACIONValue(const aValue: DateTime);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshFECHA_CONFIRMACION] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetFECHA_ENTREGAValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshFECHA_ENTREGA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldFECHA_ENTREGAValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshFECHA_ENTREGA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetFECHA_ENTREGAValue(const aValue: DateTime);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshFECHA_ENTREGA] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetSITUACIONValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshSITUACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldSITUACIONValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshSITUACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetSITUACIONValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshSITUACION] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetCALLEValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshCALLE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldCALLEValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshCALLE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetCALLEValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshCALLE] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetCODIGO_POSTALValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshCODIGO_POSTAL];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldCODIGO_POSTALValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshCODIGO_POSTAL];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetCODIGO_POSTALValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshCODIGO_POSTAL] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetPOBLACIONValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshPOBLACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldPOBLACIONValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshPOBLACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetPOBLACIONValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshPOBLACION] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetPROVINCIAValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshPROVINCIA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldPROVINCIAValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshPROVINCIA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetPROVINCIAValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshPROVINCIA] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetPERSONA_CONTACTOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshPERSONA_CONTACTO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldPERSONA_CONTACTOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshPERSONA_CONTACTO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetPERSONA_CONTACTOValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshPERSONA_CONTACTO] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetTELEFONOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshTELEFONO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldTELEFONOValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshTELEFONO];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetTELEFONOValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshTELEFONO] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetREFERENCIAValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshREFERENCIA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldREFERENCIAValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshREFERENCIA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetREFERENCIAValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshREFERENCIA] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetIMPORTE_TOTALValue: Float;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshIMPORTE_TOTAL];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Float;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshIMPORTE_TOTAL];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Float);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshIMPORTE_TOTAL] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetINCIDENCIASValue: IROStrings;
|
||
|
|
begin
|
||
|
|
result := NewROStrings();
|
||
|
|
result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshINCIDENCIAS];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldINCIDENCIASValue: IROStrings;
|
||
|
|
begin
|
||
|
|
result := NewROStrings();
|
||
|
|
result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshINCIDENCIAS];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetINCIDENCIASValue(const aValue: IROStrings);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshINCIDENCIAS] := aValue.Text;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetINCIDENCIAS_ACTIVASValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshINCIDENCIAS_ACTIVAS];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldINCIDENCIAS_ACTIVASValue: Integer;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshINCIDENCIAS_ACTIVAS];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetINCIDENCIAS_ACTIVASValue(const aValue: Integer);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshINCIDENCIAS_ACTIVAS] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOBSERVACIONESValue: IROStrings;
|
||
|
|
begin
|
||
|
|
result := NewROStrings();
|
||
|
|
result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshOBSERVACIONES];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldOBSERVACIONESValue: IROStrings;
|
||
|
|
begin
|
||
|
|
result := NewROStrings();
|
||
|
|
result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshOBSERVACIONES];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetOBSERVACIONESValue(const aValue: IROStrings);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshOBSERVACIONES] := aValue.Text;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetNOMBREValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshNOMBRE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldNOMBREValue: String;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshNOMBRE];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetNOMBREValue(const aValue: String);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshNOMBRE] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetFECHA_ALTAValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshFECHA_ALTA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldFECHA_ALTAValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshFECHA_ALTA];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetFECHA_ALTAValue(const aValue: DateTime);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshFECHA_ALTA] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetFECHA_MODIFICACIONValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshFECHA_MODIFICACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
function TPedidosCliente_RefreshBusinessProcessorRules.GetOldFECHA_MODIFICACIONValue: DateTime;
|
||
|
|
begin
|
||
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_RefreshFECHA_MODIFICACION];
|
||
|
|
end;
|
||
|
|
|
||
|
|
procedure TPedidosCliente_RefreshBusinessProcessorRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime);
|
||
|
|
begin
|
||
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_RefreshFECHA_MODIFICACION] := aValue;
|
||
|
|
end;
|
||
|
|
|
||
|
|
|
||
|
|
initialization
|
||
|
|
RegisterBusinessProcessorRules(RID_PedidosClienteDelta, TPedidosClienteBusinessProcessorRules);
|
||
|
|
RegisterBusinessProcessorRules(RID_PedidosCliente_DetallesDelta, TPedidosCliente_DetallesBusinessProcessorRules);
|
||
|
|
RegisterBusinessProcessorRules(RID_PedidosCliente_RefreshDelta, TPedidosCliente_RefreshBusinessProcessorRules);
|
||
|
|
|
||
|
|
end.
|