git-svn-id: https://192.168.0.254/svn/Proyectos.LuisLeon_FactuGES2/trunk@26 b2cfbe5a-eba1-4a0c-8b32-7feea0a119f2
2755 lines
127 KiB
ObjectPascal
2755 lines
127 KiB
ObjectPascal
unit schPedidosClienteServer_Intf;
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, DB, SysUtils, uROClasses, uDADataTable, uDABusinessProcessor, FmtBCD, uROXMLIntf, 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_ListaAnosPedidosDelta = '{76D21809-9389-466A-8EA6-770F2C9CC4CE}';
|
|
RID_PedidosClienteDelta = '{04D07B96-AF61-4C4B-B0BB-B3990FD371B0}';
|
|
RID_PedidosCliente_DetallesDelta = '{F54283EE-DC22-47FE-B6E9-C16541FFF323}';
|
|
RID_PedidosCliente_Articulos_PendientesDelta = '{25A809D3-7A74-4693-9174-971D6E346DB8}';
|
|
RID_PedidoCliente_ArticulosPendientesPedirAProvDelta = '{B2CCEE7F-A2FE-4853-868F-7C6C8E5BC340}';
|
|
|
|
type
|
|
{ IListaAnosPedidosDelta }
|
|
IListaAnosPedidosDelta = interface(IListaAnosPedidos)
|
|
['{76D21809-9389-466A-8EA6-770F2C9CC4CE}']
|
|
{ Property getters and setters }
|
|
function GetOldANOValue : String;
|
|
|
|
{ Properties }
|
|
property OldANO : String read GetOldANOValue;
|
|
end;
|
|
|
|
{ TListaAnosPedidosBusinessProcessorRules }
|
|
TListaAnosPedidosBusinessProcessorRules = class(TDABusinessProcessorRules, IListaAnosPedidos, IListaAnosPedidosDelta)
|
|
private
|
|
protected
|
|
{ Property getters and setters }
|
|
function GetANOValue: String; virtual;
|
|
function GetANOIsNull: Boolean; virtual;
|
|
function GetOldANOValue: String; virtual;
|
|
function GetOldANOIsNull: Boolean; virtual;
|
|
procedure SetANOValue(const aValue: String); virtual;
|
|
procedure SetANOIsNull(const aValue: Boolean); virtual;
|
|
|
|
{ Properties }
|
|
property ANO : String read GetANOValue write SetANOValue;
|
|
property ANOIsNull : Boolean read GetANOIsNull write SetANOIsNull;
|
|
property OldANO : String read GetOldANOValue;
|
|
property OldANOIsNull : Boolean read GetOldANOIsNull;
|
|
|
|
public
|
|
constructor Create(aBusinessProcessor: TDABusinessProcessor); override;
|
|
destructor Destroy; override;
|
|
|
|
end;
|
|
|
|
{ IPedidosClienteDelta }
|
|
IPedidosClienteDelta = interface(IPedidosCliente)
|
|
['{04D07B96-AF61-4C4B-B0BB-B3990FD371B0}']
|
|
{ Property getters and setters }
|
|
function GetOldIDValue : Integer;
|
|
function GetOldID_EMPRESAValue : Integer;
|
|
function GetOldID_CLIENTEValue : Integer;
|
|
function GetOldID_DIRECCIONValue : Integer;
|
|
function GetOldNOMBREValue : String;
|
|
function GetOldREFERENCIAValue : String;
|
|
function GetOldREFERENCIA_CLIENTEValue : String;
|
|
function GetOldSITUACIONValue : String;
|
|
function GetOldFECHA_PEDIDOValue : DateTime;
|
|
function GetOldCALLEValue : String;
|
|
function GetOldCODIGO_POSTALValue : String;
|
|
function GetOldPOBLACIONValue : String;
|
|
function GetOldPROVINCIAValue : String;
|
|
function GetOldPERSONA_CONTACTOValue : String;
|
|
function GetOldTELEFONOValue : String;
|
|
function GetOldOBSERVACIONESValue : IROStrings;
|
|
function GetOldINCIDENCIASValue : IROStrings;
|
|
function GetOldINCIDENCIAS_ACTIVASValue : Integer;
|
|
function GetOldFECHA_ALTAValue : DateTime;
|
|
function GetOldFECHA_MODIFICACIONValue : DateTime;
|
|
function GetOldUSUARIOValue : 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 GetOldID_FORMA_PAGOValue : Integer;
|
|
function GetOldREF_TIENDA_WEBValue : Integer;
|
|
function GetOldFECHA_PREVISTA_ENVIOValue : DateTime;
|
|
function GetOldNUM_COPIASValue : SmallInt;
|
|
function GetOldNUM_CORREOSValue : SmallInt;
|
|
|
|
{ Properties }
|
|
property OldID : Integer read GetOldIDValue;
|
|
property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue;
|
|
property OldID_CLIENTE : Integer read GetOldID_CLIENTEValue;
|
|
property OldID_DIRECCION : Integer read GetOldID_DIRECCIONValue;
|
|
property OldNOMBRE : String read GetOldNOMBREValue;
|
|
property OldREFERENCIA : String read GetOldREFERENCIAValue;
|
|
property OldREFERENCIA_CLIENTE : String read GetOldREFERENCIA_CLIENTEValue;
|
|
property OldSITUACION : String read GetOldSITUACIONValue;
|
|
property OldFECHA_PEDIDO : DateTime read GetOldFECHA_PEDIDOValue;
|
|
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 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 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 OldID_FORMA_PAGO : Integer read GetOldID_FORMA_PAGOValue;
|
|
property OldREF_TIENDA_WEB : Integer read GetOldREF_TIENDA_WEBValue;
|
|
property OldFECHA_PREVISTA_ENVIO : DateTime read GetOldFECHA_PREVISTA_ENVIOValue;
|
|
property OldNUM_COPIAS : SmallInt read GetOldNUM_COPIASValue;
|
|
property OldNUM_CORREOS : SmallInt read GetOldNUM_CORREOSValue;
|
|
end;
|
|
|
|
{ TPedidosClienteBusinessProcessorRules }
|
|
TPedidosClienteBusinessProcessorRules = class(TDABusinessProcessorRules, IPedidosCliente, IPedidosClienteDelta)
|
|
private
|
|
f_OBSERVACIONES: IROStrings;
|
|
f_INCIDENCIAS: IROStrings;
|
|
procedure OBSERVACIONES_OnChange(Sender: TObject);
|
|
procedure INCIDENCIAS_OnChange(Sender: TObject);
|
|
protected
|
|
{ Property getters and setters }
|
|
function GetIDValue: Integer; virtual;
|
|
function GetIDIsNull: Boolean; virtual;
|
|
function GetOldIDValue: Integer; virtual;
|
|
function GetOldIDIsNull: Boolean; virtual;
|
|
procedure SetIDValue(const aValue: Integer); virtual;
|
|
procedure SetIDIsNull(const aValue: Boolean); virtual;
|
|
function GetID_EMPRESAValue: Integer; virtual;
|
|
function GetID_EMPRESAIsNull: Boolean; virtual;
|
|
function GetOldID_EMPRESAValue: Integer; virtual;
|
|
function GetOldID_EMPRESAIsNull: Boolean; virtual;
|
|
procedure SetID_EMPRESAValue(const aValue: Integer); virtual;
|
|
procedure SetID_EMPRESAIsNull(const aValue: Boolean); virtual;
|
|
function GetID_CLIENTEValue: Integer; virtual;
|
|
function GetID_CLIENTEIsNull: Boolean; virtual;
|
|
function GetOldID_CLIENTEValue: Integer; virtual;
|
|
function GetOldID_CLIENTEIsNull: Boolean; virtual;
|
|
procedure SetID_CLIENTEValue(const aValue: Integer); virtual;
|
|
procedure SetID_CLIENTEIsNull(const aValue: Boolean); virtual;
|
|
function GetID_DIRECCIONValue: Integer; virtual;
|
|
function GetID_DIRECCIONIsNull: Boolean; virtual;
|
|
function GetOldID_DIRECCIONValue: Integer; virtual;
|
|
function GetOldID_DIRECCIONIsNull: Boolean; virtual;
|
|
procedure SetID_DIRECCIONValue(const aValue: Integer); virtual;
|
|
procedure SetID_DIRECCIONIsNull(const aValue: Boolean); virtual;
|
|
function GetNOMBREValue: String; virtual;
|
|
function GetNOMBREIsNull: Boolean; virtual;
|
|
function GetOldNOMBREValue: String; virtual;
|
|
function GetOldNOMBREIsNull: Boolean; virtual;
|
|
procedure SetNOMBREValue(const aValue: String); virtual;
|
|
procedure SetNOMBREIsNull(const aValue: Boolean); virtual;
|
|
function GetREFERENCIAValue: String; virtual;
|
|
function GetREFERENCIAIsNull: Boolean; virtual;
|
|
function GetOldREFERENCIAValue: String; virtual;
|
|
function GetOldREFERENCIAIsNull: Boolean; virtual;
|
|
procedure SetREFERENCIAValue(const aValue: String); virtual;
|
|
procedure SetREFERENCIAIsNull(const aValue: Boolean); virtual;
|
|
function GetREFERENCIA_CLIENTEValue: String; virtual;
|
|
function GetREFERENCIA_CLIENTEIsNull: Boolean; virtual;
|
|
function GetOldREFERENCIA_CLIENTEValue: String; virtual;
|
|
function GetOldREFERENCIA_CLIENTEIsNull: Boolean; virtual;
|
|
procedure SetREFERENCIA_CLIENTEValue(const aValue: String); virtual;
|
|
procedure SetREFERENCIA_CLIENTEIsNull(const aValue: Boolean); virtual;
|
|
function GetSITUACIONValue: String; virtual;
|
|
function GetSITUACIONIsNull: Boolean; virtual;
|
|
function GetOldSITUACIONValue: String; virtual;
|
|
function GetOldSITUACIONIsNull: Boolean; virtual;
|
|
procedure SetSITUACIONValue(const aValue: String); virtual;
|
|
procedure SetSITUACIONIsNull(const aValue: Boolean); virtual;
|
|
function GetFECHA_PEDIDOValue: DateTime; virtual;
|
|
function GetFECHA_PEDIDOIsNull: Boolean; virtual;
|
|
function GetOldFECHA_PEDIDOValue: DateTime; virtual;
|
|
function GetOldFECHA_PEDIDOIsNull: Boolean; virtual;
|
|
procedure SetFECHA_PEDIDOValue(const aValue: DateTime); virtual;
|
|
procedure SetFECHA_PEDIDOIsNull(const aValue: Boolean); virtual;
|
|
function GetCALLEValue: String; virtual;
|
|
function GetCALLEIsNull: Boolean; virtual;
|
|
function GetOldCALLEValue: String; virtual;
|
|
function GetOldCALLEIsNull: Boolean; virtual;
|
|
procedure SetCALLEValue(const aValue: String); virtual;
|
|
procedure SetCALLEIsNull(const aValue: Boolean); virtual;
|
|
function GetCODIGO_POSTALValue: String; virtual;
|
|
function GetCODIGO_POSTALIsNull: Boolean; virtual;
|
|
function GetOldCODIGO_POSTALValue: String; virtual;
|
|
function GetOldCODIGO_POSTALIsNull: Boolean; virtual;
|
|
procedure SetCODIGO_POSTALValue(const aValue: String); virtual;
|
|
procedure SetCODIGO_POSTALIsNull(const aValue: Boolean); virtual;
|
|
function GetPOBLACIONValue: String; virtual;
|
|
function GetPOBLACIONIsNull: Boolean; virtual;
|
|
function GetOldPOBLACIONValue: String; virtual;
|
|
function GetOldPOBLACIONIsNull: Boolean; virtual;
|
|
procedure SetPOBLACIONValue(const aValue: String); virtual;
|
|
procedure SetPOBLACIONIsNull(const aValue: Boolean); virtual;
|
|
function GetPROVINCIAValue: String; virtual;
|
|
function GetPROVINCIAIsNull: Boolean; virtual;
|
|
function GetOldPROVINCIAValue: String; virtual;
|
|
function GetOldPROVINCIAIsNull: Boolean; virtual;
|
|
procedure SetPROVINCIAValue(const aValue: String); virtual;
|
|
procedure SetPROVINCIAIsNull(const aValue: Boolean); virtual;
|
|
function GetPERSONA_CONTACTOValue: String; virtual;
|
|
function GetPERSONA_CONTACTOIsNull: Boolean; virtual;
|
|
function GetOldPERSONA_CONTACTOValue: String; virtual;
|
|
function GetOldPERSONA_CONTACTOIsNull: Boolean; virtual;
|
|
procedure SetPERSONA_CONTACTOValue(const aValue: String); virtual;
|
|
procedure SetPERSONA_CONTACTOIsNull(const aValue: Boolean); virtual;
|
|
function GetTELEFONOValue: String; virtual;
|
|
function GetTELEFONOIsNull: Boolean; virtual;
|
|
function GetOldTELEFONOValue: String; virtual;
|
|
function GetOldTELEFONOIsNull: Boolean; virtual;
|
|
procedure SetTELEFONOValue(const aValue: String); virtual;
|
|
procedure SetTELEFONOIsNull(const aValue: Boolean); virtual;
|
|
function GetOBSERVACIONESValue: IROStrings; virtual;
|
|
function GetOBSERVACIONESIsNull: Boolean; virtual;
|
|
function GetOldOBSERVACIONESValue: IROStrings; virtual;
|
|
function GetOldOBSERVACIONESIsNull: Boolean; virtual;
|
|
procedure SetOBSERVACIONESIsNull(const aValue: Boolean); virtual;
|
|
function GetINCIDENCIASValue: IROStrings; virtual;
|
|
function GetINCIDENCIASIsNull: Boolean; virtual;
|
|
function GetOldINCIDENCIASValue: IROStrings; virtual;
|
|
function GetOldINCIDENCIASIsNull: Boolean; virtual;
|
|
procedure SetINCIDENCIASIsNull(const aValue: Boolean); virtual;
|
|
function GetINCIDENCIAS_ACTIVASValue: Integer; virtual;
|
|
function GetINCIDENCIAS_ACTIVASIsNull: Boolean; virtual;
|
|
function GetOldINCIDENCIAS_ACTIVASValue: Integer; virtual;
|
|
function GetOldINCIDENCIAS_ACTIVASIsNull: Boolean; virtual;
|
|
procedure SetINCIDENCIAS_ACTIVASValue(const aValue: Integer); virtual;
|
|
procedure SetINCIDENCIAS_ACTIVASIsNull(const aValue: Boolean); virtual;
|
|
function GetFECHA_ALTAValue: DateTime; virtual;
|
|
function GetFECHA_ALTAIsNull: Boolean; virtual;
|
|
function GetOldFECHA_ALTAValue: DateTime; virtual;
|
|
function GetOldFECHA_ALTAIsNull: Boolean; virtual;
|
|
procedure SetFECHA_ALTAValue(const aValue: DateTime); virtual;
|
|
procedure SetFECHA_ALTAIsNull(const aValue: Boolean); virtual;
|
|
function GetFECHA_MODIFICACIONValue: DateTime; virtual;
|
|
function GetFECHA_MODIFICACIONIsNull: Boolean; virtual;
|
|
function GetOldFECHA_MODIFICACIONValue: DateTime; virtual;
|
|
function GetOldFECHA_MODIFICACIONIsNull: Boolean; virtual;
|
|
procedure SetFECHA_MODIFICACIONValue(const aValue: DateTime); virtual;
|
|
procedure SetFECHA_MODIFICACIONIsNull(const aValue: Boolean); virtual;
|
|
function GetUSUARIOValue: String; virtual;
|
|
function GetUSUARIOIsNull: Boolean; virtual;
|
|
function GetOldUSUARIOValue: String; virtual;
|
|
function GetOldUSUARIOIsNull: Boolean; virtual;
|
|
procedure SetUSUARIOValue(const aValue: String); virtual;
|
|
procedure SetUSUARIOIsNull(const aValue: Boolean); virtual;
|
|
function GetIMPORTE_NETOValue: Currency; virtual;
|
|
function GetIMPORTE_NETOIsNull: Boolean; virtual;
|
|
function GetOldIMPORTE_NETOValue: Currency; virtual;
|
|
function GetOldIMPORTE_NETOIsNull: Boolean; virtual;
|
|
procedure SetIMPORTE_NETOValue(const aValue: Currency); virtual;
|
|
procedure SetIMPORTE_NETOIsNull(const aValue: Boolean); virtual;
|
|
function GetIMPORTE_PORTEValue: Currency; virtual;
|
|
function GetIMPORTE_PORTEIsNull: Boolean; virtual;
|
|
function GetOldIMPORTE_PORTEValue: Currency; virtual;
|
|
function GetOldIMPORTE_PORTEIsNull: Boolean; virtual;
|
|
procedure SetIMPORTE_PORTEValue(const aValue: Currency); virtual;
|
|
procedure SetIMPORTE_PORTEIsNull(const aValue: Boolean); virtual;
|
|
function GetDESCUENTOValue: Float; virtual;
|
|
function GetDESCUENTOIsNull: Boolean; virtual;
|
|
function GetOldDESCUENTOValue: Float; virtual;
|
|
function GetOldDESCUENTOIsNull: Boolean; virtual;
|
|
procedure SetDESCUENTOValue(const aValue: Float); virtual;
|
|
procedure SetDESCUENTOIsNull(const aValue: Boolean); virtual;
|
|
function GetIMPORTE_DESCUENTOValue: Currency; virtual;
|
|
function GetIMPORTE_DESCUENTOIsNull: Boolean; virtual;
|
|
function GetOldIMPORTE_DESCUENTOValue: Currency; virtual;
|
|
function GetOldIMPORTE_DESCUENTOIsNull: Boolean; virtual;
|
|
procedure SetIMPORTE_DESCUENTOValue(const aValue: Currency); virtual;
|
|
procedure SetIMPORTE_DESCUENTOIsNull(const aValue: Boolean); virtual;
|
|
function GetBASE_IMPONIBLEValue: Currency; virtual;
|
|
function GetBASE_IMPONIBLEIsNull: Boolean; virtual;
|
|
function GetOldBASE_IMPONIBLEValue: Currency; virtual;
|
|
function GetOldBASE_IMPONIBLEIsNull: Boolean; virtual;
|
|
procedure SetBASE_IMPONIBLEValue(const aValue: Currency); virtual;
|
|
procedure SetBASE_IMPONIBLEIsNull(const aValue: Boolean); virtual;
|
|
function GetIVAValue: Float; virtual;
|
|
function GetIVAIsNull: Boolean; virtual;
|
|
function GetOldIVAValue: Float; virtual;
|
|
function GetOldIVAIsNull: Boolean; virtual;
|
|
procedure SetIVAValue(const aValue: Float); virtual;
|
|
procedure SetIVAIsNull(const aValue: Boolean); virtual;
|
|
function GetIMPORTE_IVAValue: Currency; virtual;
|
|
function GetIMPORTE_IVAIsNull: Boolean; virtual;
|
|
function GetOldIMPORTE_IVAValue: Currency; virtual;
|
|
function GetOldIMPORTE_IVAIsNull: Boolean; virtual;
|
|
procedure SetIMPORTE_IVAValue(const aValue: Currency); virtual;
|
|
procedure SetIMPORTE_IVAIsNull(const aValue: Boolean); virtual;
|
|
function GetIMPORTE_TOTALValue: Currency; virtual;
|
|
function GetIMPORTE_TOTALIsNull: Boolean; virtual;
|
|
function GetOldIMPORTE_TOTALValue: Currency; virtual;
|
|
function GetOldIMPORTE_TOTALIsNull: Boolean; virtual;
|
|
procedure SetIMPORTE_TOTALValue(const aValue: Currency); virtual;
|
|
procedure SetIMPORTE_TOTALIsNull(const aValue: Boolean); virtual;
|
|
function GetID_FORMA_PAGOValue: Integer; virtual;
|
|
function GetID_FORMA_PAGOIsNull: Boolean; virtual;
|
|
function GetOldID_FORMA_PAGOValue: Integer; virtual;
|
|
function GetOldID_FORMA_PAGOIsNull: Boolean; virtual;
|
|
procedure SetID_FORMA_PAGOValue(const aValue: Integer); virtual;
|
|
procedure SetID_FORMA_PAGOIsNull(const aValue: Boolean); virtual;
|
|
function GetREF_TIENDA_WEBValue: Integer; virtual;
|
|
function GetREF_TIENDA_WEBIsNull: Boolean; virtual;
|
|
function GetOldREF_TIENDA_WEBValue: Integer; virtual;
|
|
function GetOldREF_TIENDA_WEBIsNull: Boolean; virtual;
|
|
procedure SetREF_TIENDA_WEBValue(const aValue: Integer); virtual;
|
|
procedure SetREF_TIENDA_WEBIsNull(const aValue: Boolean); virtual;
|
|
function GetFECHA_PREVISTA_ENVIOValue: DateTime; virtual;
|
|
function GetFECHA_PREVISTA_ENVIOIsNull: Boolean; virtual;
|
|
function GetOldFECHA_PREVISTA_ENVIOValue: DateTime; virtual;
|
|
function GetOldFECHA_PREVISTA_ENVIOIsNull: Boolean; virtual;
|
|
procedure SetFECHA_PREVISTA_ENVIOValue(const aValue: DateTime); virtual;
|
|
procedure SetFECHA_PREVISTA_ENVIOIsNull(const aValue: Boolean); virtual;
|
|
function GetNUM_COPIASValue: SmallInt; virtual;
|
|
function GetNUM_COPIASIsNull: Boolean; virtual;
|
|
function GetOldNUM_COPIASValue: SmallInt; virtual;
|
|
function GetOldNUM_COPIASIsNull: Boolean; virtual;
|
|
procedure SetNUM_COPIASValue(const aValue: SmallInt); virtual;
|
|
procedure SetNUM_COPIASIsNull(const aValue: Boolean); virtual;
|
|
function GetNUM_CORREOSValue: SmallInt; virtual;
|
|
function GetNUM_CORREOSIsNull: Boolean; virtual;
|
|
function GetOldNUM_CORREOSValue: SmallInt; virtual;
|
|
function GetOldNUM_CORREOSIsNull: Boolean; virtual;
|
|
procedure SetNUM_CORREOSValue(const aValue: SmallInt); virtual;
|
|
procedure SetNUM_CORREOSIsNull(const aValue: Boolean); virtual;
|
|
|
|
{ Properties }
|
|
property ID : Integer read GetIDValue write SetIDValue;
|
|
property IDIsNull : Boolean read GetIDIsNull write SetIDIsNull;
|
|
property OldID : Integer read GetOldIDValue;
|
|
property OldIDIsNull : Boolean read GetOldIDIsNull;
|
|
property ID_EMPRESA : Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
property ID_EMPRESAIsNull : Boolean read GetID_EMPRESAIsNull write SetID_EMPRESAIsNull;
|
|
property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue;
|
|
property OldID_EMPRESAIsNull : Boolean read GetOldID_EMPRESAIsNull;
|
|
property ID_CLIENTE : Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
|
|
property ID_CLIENTEIsNull : Boolean read GetID_CLIENTEIsNull write SetID_CLIENTEIsNull;
|
|
property OldID_CLIENTE : Integer read GetOldID_CLIENTEValue;
|
|
property OldID_CLIENTEIsNull : Boolean read GetOldID_CLIENTEIsNull;
|
|
property ID_DIRECCION : Integer read GetID_DIRECCIONValue write SetID_DIRECCIONValue;
|
|
property ID_DIRECCIONIsNull : Boolean read GetID_DIRECCIONIsNull write SetID_DIRECCIONIsNull;
|
|
property OldID_DIRECCION : Integer read GetOldID_DIRECCIONValue;
|
|
property OldID_DIRECCIONIsNull : Boolean read GetOldID_DIRECCIONIsNull;
|
|
property NOMBRE : String read GetNOMBREValue write SetNOMBREValue;
|
|
property NOMBREIsNull : Boolean read GetNOMBREIsNull write SetNOMBREIsNull;
|
|
property OldNOMBRE : String read GetOldNOMBREValue;
|
|
property OldNOMBREIsNull : Boolean read GetOldNOMBREIsNull;
|
|
property REFERENCIA : String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
property REFERENCIAIsNull : Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
|
|
property OldREFERENCIA : String read GetOldREFERENCIAValue;
|
|
property OldREFERENCIAIsNull : Boolean read GetOldREFERENCIAIsNull;
|
|
property REFERENCIA_CLIENTE : String read GetREFERENCIA_CLIENTEValue write SetREFERENCIA_CLIENTEValue;
|
|
property REFERENCIA_CLIENTEIsNull : Boolean read GetREFERENCIA_CLIENTEIsNull write SetREFERENCIA_CLIENTEIsNull;
|
|
property OldREFERENCIA_CLIENTE : String read GetOldREFERENCIA_CLIENTEValue;
|
|
property OldREFERENCIA_CLIENTEIsNull : Boolean read GetOldREFERENCIA_CLIENTEIsNull;
|
|
property SITUACION : String read GetSITUACIONValue write SetSITUACIONValue;
|
|
property SITUACIONIsNull : Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
|
property OldSITUACION : String read GetOldSITUACIONValue;
|
|
property OldSITUACIONIsNull : Boolean read GetOldSITUACIONIsNull;
|
|
property FECHA_PEDIDO : DateTime read GetFECHA_PEDIDOValue write SetFECHA_PEDIDOValue;
|
|
property FECHA_PEDIDOIsNull : Boolean read GetFECHA_PEDIDOIsNull write SetFECHA_PEDIDOIsNull;
|
|
property OldFECHA_PEDIDO : DateTime read GetOldFECHA_PEDIDOValue;
|
|
property OldFECHA_PEDIDOIsNull : Boolean read GetOldFECHA_PEDIDOIsNull;
|
|
property CALLE : String read GetCALLEValue write SetCALLEValue;
|
|
property CALLEIsNull : Boolean read GetCALLEIsNull write SetCALLEIsNull;
|
|
property OldCALLE : String read GetOldCALLEValue;
|
|
property OldCALLEIsNull : Boolean read GetOldCALLEIsNull;
|
|
property CODIGO_POSTAL : String read GetCODIGO_POSTALValue write SetCODIGO_POSTALValue;
|
|
property CODIGO_POSTALIsNull : Boolean read GetCODIGO_POSTALIsNull write SetCODIGO_POSTALIsNull;
|
|
property OldCODIGO_POSTAL : String read GetOldCODIGO_POSTALValue;
|
|
property OldCODIGO_POSTALIsNull : Boolean read GetOldCODIGO_POSTALIsNull;
|
|
property POBLACION : String read GetPOBLACIONValue write SetPOBLACIONValue;
|
|
property POBLACIONIsNull : Boolean read GetPOBLACIONIsNull write SetPOBLACIONIsNull;
|
|
property OldPOBLACION : String read GetOldPOBLACIONValue;
|
|
property OldPOBLACIONIsNull : Boolean read GetOldPOBLACIONIsNull;
|
|
property PROVINCIA : String read GetPROVINCIAValue write SetPROVINCIAValue;
|
|
property PROVINCIAIsNull : Boolean read GetPROVINCIAIsNull write SetPROVINCIAIsNull;
|
|
property OldPROVINCIA : String read GetOldPROVINCIAValue;
|
|
property OldPROVINCIAIsNull : Boolean read GetOldPROVINCIAIsNull;
|
|
property PERSONA_CONTACTO : String read GetPERSONA_CONTACTOValue write SetPERSONA_CONTACTOValue;
|
|
property PERSONA_CONTACTOIsNull : Boolean read GetPERSONA_CONTACTOIsNull write SetPERSONA_CONTACTOIsNull;
|
|
property OldPERSONA_CONTACTO : String read GetOldPERSONA_CONTACTOValue;
|
|
property OldPERSONA_CONTACTOIsNull : Boolean read GetOldPERSONA_CONTACTOIsNull;
|
|
property TELEFONO : String read GetTELEFONOValue write SetTELEFONOValue;
|
|
property TELEFONOIsNull : Boolean read GetTELEFONOIsNull write SetTELEFONOIsNull;
|
|
property OldTELEFONO : String read GetOldTELEFONOValue;
|
|
property OldTELEFONOIsNull : Boolean read GetOldTELEFONOIsNull;
|
|
property OBSERVACIONES : IROStrings read GetOBSERVACIONESValue;
|
|
property OBSERVACIONESIsNull : Boolean read GetOBSERVACIONESIsNull write SetOBSERVACIONESIsNull;
|
|
property OldOBSERVACIONES : IROStrings read GetOldOBSERVACIONESValue;
|
|
property OldOBSERVACIONESIsNull : Boolean read GetOldOBSERVACIONESIsNull;
|
|
property INCIDENCIAS : IROStrings read GetINCIDENCIASValue;
|
|
property INCIDENCIASIsNull : Boolean read GetINCIDENCIASIsNull write SetINCIDENCIASIsNull;
|
|
property OldINCIDENCIAS : IROStrings read GetOldINCIDENCIASValue;
|
|
property OldINCIDENCIASIsNull : Boolean read GetOldINCIDENCIASIsNull;
|
|
property INCIDENCIAS_ACTIVAS : Integer read GetINCIDENCIAS_ACTIVASValue write SetINCIDENCIAS_ACTIVASValue;
|
|
property INCIDENCIAS_ACTIVASIsNull : Boolean read GetINCIDENCIAS_ACTIVASIsNull write SetINCIDENCIAS_ACTIVASIsNull;
|
|
property OldINCIDENCIAS_ACTIVAS : Integer read GetOldINCIDENCIAS_ACTIVASValue;
|
|
property OldINCIDENCIAS_ACTIVASIsNull : Boolean read GetOldINCIDENCIAS_ACTIVASIsNull;
|
|
property FECHA_ALTA : DateTime read GetFECHA_ALTAValue write SetFECHA_ALTAValue;
|
|
property FECHA_ALTAIsNull : Boolean read GetFECHA_ALTAIsNull write SetFECHA_ALTAIsNull;
|
|
property OldFECHA_ALTA : DateTime read GetOldFECHA_ALTAValue;
|
|
property OldFECHA_ALTAIsNull : Boolean read GetOldFECHA_ALTAIsNull;
|
|
property FECHA_MODIFICACION : DateTime read GetFECHA_MODIFICACIONValue write SetFECHA_MODIFICACIONValue;
|
|
property FECHA_MODIFICACIONIsNull : Boolean read GetFECHA_MODIFICACIONIsNull write SetFECHA_MODIFICACIONIsNull;
|
|
property OldFECHA_MODIFICACION : DateTime read GetOldFECHA_MODIFICACIONValue;
|
|
property OldFECHA_MODIFICACIONIsNull : Boolean read GetOldFECHA_MODIFICACIONIsNull;
|
|
property USUARIO : String read GetUSUARIOValue write SetUSUARIOValue;
|
|
property USUARIOIsNull : Boolean read GetUSUARIOIsNull write SetUSUARIOIsNull;
|
|
property OldUSUARIO : String read GetOldUSUARIOValue;
|
|
property OldUSUARIOIsNull : Boolean read GetOldUSUARIOIsNull;
|
|
property IMPORTE_NETO : Currency read GetIMPORTE_NETOValue write SetIMPORTE_NETOValue;
|
|
property IMPORTE_NETOIsNull : Boolean read GetIMPORTE_NETOIsNull write SetIMPORTE_NETOIsNull;
|
|
property OldIMPORTE_NETO : Currency read GetOldIMPORTE_NETOValue;
|
|
property OldIMPORTE_NETOIsNull : Boolean read GetOldIMPORTE_NETOIsNull;
|
|
property IMPORTE_PORTE : Currency read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
|
|
property IMPORTE_PORTEIsNull : Boolean read GetIMPORTE_PORTEIsNull write SetIMPORTE_PORTEIsNull;
|
|
property OldIMPORTE_PORTE : Currency read GetOldIMPORTE_PORTEValue;
|
|
property OldIMPORTE_PORTEIsNull : Boolean read GetOldIMPORTE_PORTEIsNull;
|
|
property DESCUENTO : Float read GetDESCUENTOValue write SetDESCUENTOValue;
|
|
property DESCUENTOIsNull : Boolean read GetDESCUENTOIsNull write SetDESCUENTOIsNull;
|
|
property OldDESCUENTO : Float read GetOldDESCUENTOValue;
|
|
property OldDESCUENTOIsNull : Boolean read GetOldDESCUENTOIsNull;
|
|
property IMPORTE_DESCUENTO : Currency read GetIMPORTE_DESCUENTOValue write SetIMPORTE_DESCUENTOValue;
|
|
property IMPORTE_DESCUENTOIsNull : Boolean read GetIMPORTE_DESCUENTOIsNull write SetIMPORTE_DESCUENTOIsNull;
|
|
property OldIMPORTE_DESCUENTO : Currency read GetOldIMPORTE_DESCUENTOValue;
|
|
property OldIMPORTE_DESCUENTOIsNull : Boolean read GetOldIMPORTE_DESCUENTOIsNull;
|
|
property BASE_IMPONIBLE : Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
|
property BASE_IMPONIBLEIsNull : Boolean read GetBASE_IMPONIBLEIsNull write SetBASE_IMPONIBLEIsNull;
|
|
property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue;
|
|
property OldBASE_IMPONIBLEIsNull : Boolean read GetOldBASE_IMPONIBLEIsNull;
|
|
property IVA : Float read GetIVAValue write SetIVAValue;
|
|
property IVAIsNull : Boolean read GetIVAIsNull write SetIVAIsNull;
|
|
property OldIVA : Float read GetOldIVAValue;
|
|
property OldIVAIsNull : Boolean read GetOldIVAIsNull;
|
|
property IMPORTE_IVA : Currency read GetIMPORTE_IVAValue write SetIMPORTE_IVAValue;
|
|
property IMPORTE_IVAIsNull : Boolean read GetIMPORTE_IVAIsNull write SetIMPORTE_IVAIsNull;
|
|
property OldIMPORTE_IVA : Currency read GetOldIMPORTE_IVAValue;
|
|
property OldIMPORTE_IVAIsNull : Boolean read GetOldIMPORTE_IVAIsNull;
|
|
property IMPORTE_TOTAL : Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
|
property IMPORTE_TOTALIsNull : Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
|
|
property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue;
|
|
property OldIMPORTE_TOTALIsNull : Boolean read GetOldIMPORTE_TOTALIsNull;
|
|
property ID_FORMA_PAGO : Integer read GetID_FORMA_PAGOValue write SetID_FORMA_PAGOValue;
|
|
property ID_FORMA_PAGOIsNull : Boolean read GetID_FORMA_PAGOIsNull write SetID_FORMA_PAGOIsNull;
|
|
property OldID_FORMA_PAGO : Integer read GetOldID_FORMA_PAGOValue;
|
|
property OldID_FORMA_PAGOIsNull : Boolean read GetOldID_FORMA_PAGOIsNull;
|
|
property REF_TIENDA_WEB : Integer read GetREF_TIENDA_WEBValue write SetREF_TIENDA_WEBValue;
|
|
property REF_TIENDA_WEBIsNull : Boolean read GetREF_TIENDA_WEBIsNull write SetREF_TIENDA_WEBIsNull;
|
|
property OldREF_TIENDA_WEB : Integer read GetOldREF_TIENDA_WEBValue;
|
|
property OldREF_TIENDA_WEBIsNull : Boolean read GetOldREF_TIENDA_WEBIsNull;
|
|
property FECHA_PREVISTA_ENVIO : DateTime read GetFECHA_PREVISTA_ENVIOValue write SetFECHA_PREVISTA_ENVIOValue;
|
|
property FECHA_PREVISTA_ENVIOIsNull : Boolean read GetFECHA_PREVISTA_ENVIOIsNull write SetFECHA_PREVISTA_ENVIOIsNull;
|
|
property OldFECHA_PREVISTA_ENVIO : DateTime read GetOldFECHA_PREVISTA_ENVIOValue;
|
|
property OldFECHA_PREVISTA_ENVIOIsNull : Boolean read GetOldFECHA_PREVISTA_ENVIOIsNull;
|
|
property NUM_COPIAS : SmallInt read GetNUM_COPIASValue write SetNUM_COPIASValue;
|
|
property NUM_COPIASIsNull : Boolean read GetNUM_COPIASIsNull write SetNUM_COPIASIsNull;
|
|
property OldNUM_COPIAS : SmallInt read GetOldNUM_COPIASValue;
|
|
property OldNUM_COPIASIsNull : Boolean read GetOldNUM_COPIASIsNull;
|
|
property NUM_CORREOS : SmallInt read GetNUM_CORREOSValue write SetNUM_CORREOSValue;
|
|
property NUM_CORREOSIsNull : Boolean read GetNUM_CORREOSIsNull write SetNUM_CORREOSIsNull;
|
|
property OldNUM_CORREOS : SmallInt read GetOldNUM_CORREOSValue;
|
|
property OldNUM_CORREOSIsNull : Boolean read GetOldNUM_CORREOSIsNull;
|
|
|
|
public
|
|
constructor Create(aBusinessProcessor: TDABusinessProcessor); override;
|
|
destructor Destroy; override;
|
|
|
|
end;
|
|
|
|
{ IPedidosCliente_DetallesDelta }
|
|
IPedidosCliente_DetallesDelta = interface(IPedidosCliente_Detalles)
|
|
['{F54283EE-DC22-47FE-B6E9-C16541FFF323}']
|
|
{ Property getters and setters }
|
|
function GetOldIDValue : Integer;
|
|
function GetOldID_PEDIDOValue : Integer;
|
|
function GetOldPOSICIONValue : Integer;
|
|
function GetOldTIPO_DETALLEValue : String;
|
|
function GetOldCONCEPTOValue : String;
|
|
function GetOldCANTIDADValue : Float;
|
|
function GetOldIMPORTE_UNIDADValue : Currency;
|
|
function GetOldIMPORTE_TOTALValue : Currency;
|
|
function GetOldVISIBLEValue : Integer;
|
|
function GetOldID_ARTICULOValue : Integer;
|
|
function GetOldDESCUENTOValue : Float;
|
|
function GetOldIMPORTE_PORTEValue : Currency;
|
|
function GetOldREFERENCIAValue : String;
|
|
function GetOldREFERENCIA_PROVEEDORValue : String;
|
|
|
|
{ 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 OldCONCEPTO : String read GetOldCONCEPTOValue;
|
|
property OldCANTIDAD : Float read GetOldCANTIDADValue;
|
|
property OldIMPORTE_UNIDAD : Currency read GetOldIMPORTE_UNIDADValue;
|
|
property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue;
|
|
property OldVISIBLE : Integer read GetOldVISIBLEValue;
|
|
property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
|
|
property OldDESCUENTO : Float read GetOldDESCUENTOValue;
|
|
property OldIMPORTE_PORTE : Currency read GetOldIMPORTE_PORTEValue;
|
|
property OldREFERENCIA : String read GetOldREFERENCIAValue;
|
|
property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue;
|
|
end;
|
|
|
|
{ TPedidosCliente_DetallesBusinessProcessorRules }
|
|
TPedidosCliente_DetallesBusinessProcessorRules = class(TDABusinessProcessorRules, IPedidosCliente_Detalles, IPedidosCliente_DetallesDelta)
|
|
private
|
|
protected
|
|
{ Property getters and setters }
|
|
function GetIDValue: Integer; virtual;
|
|
function GetIDIsNull: Boolean; virtual;
|
|
function GetOldIDValue: Integer; virtual;
|
|
function GetOldIDIsNull: Boolean; virtual;
|
|
procedure SetIDValue(const aValue: Integer); virtual;
|
|
procedure SetIDIsNull(const aValue: Boolean); virtual;
|
|
function GetID_PEDIDOValue: Integer; virtual;
|
|
function GetID_PEDIDOIsNull: Boolean; virtual;
|
|
function GetOldID_PEDIDOValue: Integer; virtual;
|
|
function GetOldID_PEDIDOIsNull: Boolean; virtual;
|
|
procedure SetID_PEDIDOValue(const aValue: Integer); virtual;
|
|
procedure SetID_PEDIDOIsNull(const aValue: Boolean); virtual;
|
|
function GetPOSICIONValue: Integer; virtual;
|
|
function GetPOSICIONIsNull: Boolean; virtual;
|
|
function GetOldPOSICIONValue: Integer; virtual;
|
|
function GetOldPOSICIONIsNull: Boolean; virtual;
|
|
procedure SetPOSICIONValue(const aValue: Integer); virtual;
|
|
procedure SetPOSICIONIsNull(const aValue: Boolean); virtual;
|
|
function GetTIPO_DETALLEValue: String; virtual;
|
|
function GetTIPO_DETALLEIsNull: Boolean; virtual;
|
|
function GetOldTIPO_DETALLEValue: String; virtual;
|
|
function GetOldTIPO_DETALLEIsNull: Boolean; virtual;
|
|
procedure SetTIPO_DETALLEValue(const aValue: String); virtual;
|
|
procedure SetTIPO_DETALLEIsNull(const aValue: Boolean); virtual;
|
|
function GetCONCEPTOValue: String; virtual;
|
|
function GetCONCEPTOIsNull: Boolean; virtual;
|
|
function GetOldCONCEPTOValue: String; virtual;
|
|
function GetOldCONCEPTOIsNull: Boolean; virtual;
|
|
procedure SetCONCEPTOValue(const aValue: String); virtual;
|
|
procedure SetCONCEPTOIsNull(const aValue: Boolean); virtual;
|
|
function GetCANTIDADValue: Float; virtual;
|
|
function GetCANTIDADIsNull: Boolean; virtual;
|
|
function GetOldCANTIDADValue: Float; virtual;
|
|
function GetOldCANTIDADIsNull: Boolean; virtual;
|
|
procedure SetCANTIDADValue(const aValue: Float); virtual;
|
|
procedure SetCANTIDADIsNull(const aValue: Boolean); virtual;
|
|
function GetIMPORTE_UNIDADValue: Currency; virtual;
|
|
function GetIMPORTE_UNIDADIsNull: Boolean; virtual;
|
|
function GetOldIMPORTE_UNIDADValue: Currency; virtual;
|
|
function GetOldIMPORTE_UNIDADIsNull: Boolean; virtual;
|
|
procedure SetIMPORTE_UNIDADValue(const aValue: Currency); virtual;
|
|
procedure SetIMPORTE_UNIDADIsNull(const aValue: Boolean); virtual;
|
|
function GetIMPORTE_TOTALValue: Currency; virtual;
|
|
function GetIMPORTE_TOTALIsNull: Boolean; virtual;
|
|
function GetOldIMPORTE_TOTALValue: Currency; virtual;
|
|
function GetOldIMPORTE_TOTALIsNull: Boolean; virtual;
|
|
procedure SetIMPORTE_TOTALValue(const aValue: Currency); virtual;
|
|
procedure SetIMPORTE_TOTALIsNull(const aValue: Boolean); virtual;
|
|
function GetVISIBLEValue: Integer; virtual;
|
|
function GetVISIBLEIsNull: Boolean; virtual;
|
|
function GetOldVISIBLEValue: Integer; virtual;
|
|
function GetOldVISIBLEIsNull: Boolean; virtual;
|
|
procedure SetVISIBLEValue(const aValue: Integer); virtual;
|
|
procedure SetVISIBLEIsNull(const aValue: Boolean); virtual;
|
|
function GetID_ARTICULOValue: Integer; virtual;
|
|
function GetID_ARTICULOIsNull: Boolean; virtual;
|
|
function GetOldID_ARTICULOValue: Integer; virtual;
|
|
function GetOldID_ARTICULOIsNull: Boolean; virtual;
|
|
procedure SetID_ARTICULOValue(const aValue: Integer); virtual;
|
|
procedure SetID_ARTICULOIsNull(const aValue: Boolean); virtual;
|
|
function GetDESCUENTOValue: Float; virtual;
|
|
function GetDESCUENTOIsNull: Boolean; virtual;
|
|
function GetOldDESCUENTOValue: Float; virtual;
|
|
function GetOldDESCUENTOIsNull: Boolean; virtual;
|
|
procedure SetDESCUENTOValue(const aValue: Float); virtual;
|
|
procedure SetDESCUENTOIsNull(const aValue: Boolean); virtual;
|
|
function GetIMPORTE_PORTEValue: Currency; virtual;
|
|
function GetIMPORTE_PORTEIsNull: Boolean; virtual;
|
|
function GetOldIMPORTE_PORTEValue: Currency; virtual;
|
|
function GetOldIMPORTE_PORTEIsNull: Boolean; virtual;
|
|
procedure SetIMPORTE_PORTEValue(const aValue: Currency); virtual;
|
|
procedure SetIMPORTE_PORTEIsNull(const aValue: Boolean); virtual;
|
|
function GetREFERENCIAValue: String; virtual;
|
|
function GetREFERENCIAIsNull: Boolean; virtual;
|
|
function GetOldREFERENCIAValue: String; virtual;
|
|
function GetOldREFERENCIAIsNull: Boolean; virtual;
|
|
procedure SetREFERENCIAValue(const aValue: String); virtual;
|
|
procedure SetREFERENCIAIsNull(const aValue: Boolean); virtual;
|
|
function GetREFERENCIA_PROVEEDORValue: String; virtual;
|
|
function GetREFERENCIA_PROVEEDORIsNull: Boolean; virtual;
|
|
function GetOldREFERENCIA_PROVEEDORValue: String; virtual;
|
|
function GetOldREFERENCIA_PROVEEDORIsNull: Boolean; virtual;
|
|
procedure SetREFERENCIA_PROVEEDORValue(const aValue: String); virtual;
|
|
procedure SetREFERENCIA_PROVEEDORIsNull(const aValue: Boolean); virtual;
|
|
|
|
{ Properties }
|
|
property ID : Integer read GetIDValue write SetIDValue;
|
|
property IDIsNull : Boolean read GetIDIsNull write SetIDIsNull;
|
|
property OldID : Integer read GetOldIDValue;
|
|
property OldIDIsNull : Boolean read GetOldIDIsNull;
|
|
property ID_PEDIDO : Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
|
|
property ID_PEDIDOIsNull : Boolean read GetID_PEDIDOIsNull write SetID_PEDIDOIsNull;
|
|
property OldID_PEDIDO : Integer read GetOldID_PEDIDOValue;
|
|
property OldID_PEDIDOIsNull : Boolean read GetOldID_PEDIDOIsNull;
|
|
property POSICION : Integer read GetPOSICIONValue write SetPOSICIONValue;
|
|
property POSICIONIsNull : Boolean read GetPOSICIONIsNull write SetPOSICIONIsNull;
|
|
property OldPOSICION : Integer read GetOldPOSICIONValue;
|
|
property OldPOSICIONIsNull : Boolean read GetOldPOSICIONIsNull;
|
|
property TIPO_DETALLE : String read GetTIPO_DETALLEValue write SetTIPO_DETALLEValue;
|
|
property TIPO_DETALLEIsNull : Boolean read GetTIPO_DETALLEIsNull write SetTIPO_DETALLEIsNull;
|
|
property OldTIPO_DETALLE : String read GetOldTIPO_DETALLEValue;
|
|
property OldTIPO_DETALLEIsNull : Boolean read GetOldTIPO_DETALLEIsNull;
|
|
property CONCEPTO : String read GetCONCEPTOValue write SetCONCEPTOValue;
|
|
property CONCEPTOIsNull : Boolean read GetCONCEPTOIsNull write SetCONCEPTOIsNull;
|
|
property OldCONCEPTO : String read GetOldCONCEPTOValue;
|
|
property OldCONCEPTOIsNull : Boolean read GetOldCONCEPTOIsNull;
|
|
property CANTIDAD : Float read GetCANTIDADValue write SetCANTIDADValue;
|
|
property CANTIDADIsNull : Boolean read GetCANTIDADIsNull write SetCANTIDADIsNull;
|
|
property OldCANTIDAD : Float read GetOldCANTIDADValue;
|
|
property OldCANTIDADIsNull : Boolean read GetOldCANTIDADIsNull;
|
|
property IMPORTE_UNIDAD : Currency read GetIMPORTE_UNIDADValue write SetIMPORTE_UNIDADValue;
|
|
property IMPORTE_UNIDADIsNull : Boolean read GetIMPORTE_UNIDADIsNull write SetIMPORTE_UNIDADIsNull;
|
|
property OldIMPORTE_UNIDAD : Currency read GetOldIMPORTE_UNIDADValue;
|
|
property OldIMPORTE_UNIDADIsNull : Boolean read GetOldIMPORTE_UNIDADIsNull;
|
|
property IMPORTE_TOTAL : Currency read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
|
property IMPORTE_TOTALIsNull : Boolean read GetIMPORTE_TOTALIsNull write SetIMPORTE_TOTALIsNull;
|
|
property OldIMPORTE_TOTAL : Currency read GetOldIMPORTE_TOTALValue;
|
|
property OldIMPORTE_TOTALIsNull : Boolean read GetOldIMPORTE_TOTALIsNull;
|
|
property VISIBLE : Integer read GetVISIBLEValue write SetVISIBLEValue;
|
|
property VISIBLEIsNull : Boolean read GetVISIBLEIsNull write SetVISIBLEIsNull;
|
|
property OldVISIBLE : Integer read GetOldVISIBLEValue;
|
|
property OldVISIBLEIsNull : Boolean read GetOldVISIBLEIsNull;
|
|
property ID_ARTICULO : Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
|
|
property ID_ARTICULOIsNull : Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
|
|
property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
|
|
property OldID_ARTICULOIsNull : Boolean read GetOldID_ARTICULOIsNull;
|
|
property DESCUENTO : Float read GetDESCUENTOValue write SetDESCUENTOValue;
|
|
property DESCUENTOIsNull : Boolean read GetDESCUENTOIsNull write SetDESCUENTOIsNull;
|
|
property OldDESCUENTO : Float read GetOldDESCUENTOValue;
|
|
property OldDESCUENTOIsNull : Boolean read GetOldDESCUENTOIsNull;
|
|
property IMPORTE_PORTE : Currency read GetIMPORTE_PORTEValue write SetIMPORTE_PORTEValue;
|
|
property IMPORTE_PORTEIsNull : Boolean read GetIMPORTE_PORTEIsNull write SetIMPORTE_PORTEIsNull;
|
|
property OldIMPORTE_PORTE : Currency read GetOldIMPORTE_PORTEValue;
|
|
property OldIMPORTE_PORTEIsNull : Boolean read GetOldIMPORTE_PORTEIsNull;
|
|
property REFERENCIA : String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
property REFERENCIAIsNull : Boolean read GetREFERENCIAIsNull write SetREFERENCIAIsNull;
|
|
property OldREFERENCIA : String read GetOldREFERENCIAValue;
|
|
property OldREFERENCIAIsNull : Boolean read GetOldREFERENCIAIsNull;
|
|
property REFERENCIA_PROVEEDOR : String read GetREFERENCIA_PROVEEDORValue write SetREFERENCIA_PROVEEDORValue;
|
|
property REFERENCIA_PROVEEDORIsNull : Boolean read GetREFERENCIA_PROVEEDORIsNull write SetREFERENCIA_PROVEEDORIsNull;
|
|
property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue;
|
|
property OldREFERENCIA_PROVEEDORIsNull : Boolean read GetOldREFERENCIA_PROVEEDORIsNull;
|
|
|
|
public
|
|
constructor Create(aBusinessProcessor: TDABusinessProcessor); override;
|
|
destructor Destroy; override;
|
|
|
|
end;
|
|
|
|
{ IPedidosCliente_Articulos_PendientesDelta }
|
|
IPedidosCliente_Articulos_PendientesDelta = interface(IPedidosCliente_Articulos_Pendientes)
|
|
['{25A809D3-7A74-4693-9174-971D6E346DB8}']
|
|
{ Property getters and setters }
|
|
function GetOldID_ARTICULOValue : Integer;
|
|
function GetOldCANTIDAD_PEDValue : Currency;
|
|
function GetOldCANTIDAD_ALBValue : Currency;
|
|
function GetOldCANTIDAD_PENDIENTEValue : Currency;
|
|
|
|
{ Properties }
|
|
property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
|
|
property OldCANTIDAD_PED : Currency read GetOldCANTIDAD_PEDValue;
|
|
property OldCANTIDAD_ALB : Currency read GetOldCANTIDAD_ALBValue;
|
|
property OldCANTIDAD_PENDIENTE : Currency read GetOldCANTIDAD_PENDIENTEValue;
|
|
end;
|
|
|
|
{ TPedidosCliente_Articulos_PendientesBusinessProcessorRules }
|
|
TPedidosCliente_Articulos_PendientesBusinessProcessorRules = class(TDABusinessProcessorRules, IPedidosCliente_Articulos_Pendientes, IPedidosCliente_Articulos_PendientesDelta)
|
|
private
|
|
protected
|
|
{ Property getters and setters }
|
|
function GetID_ARTICULOValue: Integer; virtual;
|
|
function GetID_ARTICULOIsNull: Boolean; virtual;
|
|
function GetOldID_ARTICULOValue: Integer; virtual;
|
|
function GetOldID_ARTICULOIsNull: Boolean; virtual;
|
|
procedure SetID_ARTICULOValue(const aValue: Integer); virtual;
|
|
procedure SetID_ARTICULOIsNull(const aValue: Boolean); virtual;
|
|
function GetCANTIDAD_PEDValue: Currency; virtual;
|
|
function GetCANTIDAD_PEDIsNull: Boolean; virtual;
|
|
function GetOldCANTIDAD_PEDValue: Currency; virtual;
|
|
function GetOldCANTIDAD_PEDIsNull: Boolean; virtual;
|
|
procedure SetCANTIDAD_PEDValue(const aValue: Currency); virtual;
|
|
procedure SetCANTIDAD_PEDIsNull(const aValue: Boolean); virtual;
|
|
function GetCANTIDAD_ALBValue: Currency; virtual;
|
|
function GetCANTIDAD_ALBIsNull: Boolean; virtual;
|
|
function GetOldCANTIDAD_ALBValue: Currency; virtual;
|
|
function GetOldCANTIDAD_ALBIsNull: Boolean; virtual;
|
|
procedure SetCANTIDAD_ALBValue(const aValue: Currency); virtual;
|
|
procedure SetCANTIDAD_ALBIsNull(const aValue: Boolean); virtual;
|
|
function GetCANTIDAD_PENDIENTEValue: Currency; virtual;
|
|
function GetCANTIDAD_PENDIENTEIsNull: Boolean; virtual;
|
|
function GetOldCANTIDAD_PENDIENTEValue: Currency; virtual;
|
|
function GetOldCANTIDAD_PENDIENTEIsNull: Boolean; virtual;
|
|
procedure SetCANTIDAD_PENDIENTEValue(const aValue: Currency); virtual;
|
|
procedure SetCANTIDAD_PENDIENTEIsNull(const aValue: Boolean); virtual;
|
|
|
|
{ Properties }
|
|
property ID_ARTICULO : Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
|
|
property ID_ARTICULOIsNull : Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
|
|
property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
|
|
property OldID_ARTICULOIsNull : Boolean read GetOldID_ARTICULOIsNull;
|
|
property CANTIDAD_PED : Currency read GetCANTIDAD_PEDValue write SetCANTIDAD_PEDValue;
|
|
property CANTIDAD_PEDIsNull : Boolean read GetCANTIDAD_PEDIsNull write SetCANTIDAD_PEDIsNull;
|
|
property OldCANTIDAD_PED : Currency read GetOldCANTIDAD_PEDValue;
|
|
property OldCANTIDAD_PEDIsNull : Boolean read GetOldCANTIDAD_PEDIsNull;
|
|
property CANTIDAD_ALB : Currency read GetCANTIDAD_ALBValue write SetCANTIDAD_ALBValue;
|
|
property CANTIDAD_ALBIsNull : Boolean read GetCANTIDAD_ALBIsNull write SetCANTIDAD_ALBIsNull;
|
|
property OldCANTIDAD_ALB : Currency read GetOldCANTIDAD_ALBValue;
|
|
property OldCANTIDAD_ALBIsNull : Boolean read GetOldCANTIDAD_ALBIsNull;
|
|
property CANTIDAD_PENDIENTE : Currency read GetCANTIDAD_PENDIENTEValue write SetCANTIDAD_PENDIENTEValue;
|
|
property CANTIDAD_PENDIENTEIsNull : Boolean read GetCANTIDAD_PENDIENTEIsNull write SetCANTIDAD_PENDIENTEIsNull;
|
|
property OldCANTIDAD_PENDIENTE : Currency read GetOldCANTIDAD_PENDIENTEValue;
|
|
property OldCANTIDAD_PENDIENTEIsNull : Boolean read GetOldCANTIDAD_PENDIENTEIsNull;
|
|
|
|
public
|
|
constructor Create(aBusinessProcessor: TDABusinessProcessor); override;
|
|
destructor Destroy; override;
|
|
|
|
end;
|
|
|
|
{ IPedidoCliente_ArticulosPendientesPedirAProvDelta }
|
|
IPedidoCliente_ArticulosPendientesPedirAProvDelta = interface(IPedidoCliente_ArticulosPendientesPedirAProv)
|
|
['{B2CCEE7F-A2FE-4853-868F-7C6C8E5BC340}']
|
|
{ Property getters and setters }
|
|
function GetOldID_PEDIDOValue : Integer;
|
|
function GetOldID_ARTICULOValue : Integer;
|
|
function GetOldCANT_PEDIDA_CLIENTEValue : Currency;
|
|
function GetOldID_PROVEEDORValue : Integer;
|
|
function GetOldCANT_PEDIDA_PROVEEDORValue : Currency;
|
|
function GetOldCANT_PENDIENTE_PEDIRValue : Currency;
|
|
|
|
{ Properties }
|
|
property OldID_PEDIDO : Integer read GetOldID_PEDIDOValue;
|
|
property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
|
|
property OldCANT_PEDIDA_CLIENTE : Currency read GetOldCANT_PEDIDA_CLIENTEValue;
|
|
property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue;
|
|
property OldCANT_PEDIDA_PROVEEDOR : Currency read GetOldCANT_PEDIDA_PROVEEDORValue;
|
|
property OldCANT_PENDIENTE_PEDIR : Currency read GetOldCANT_PENDIENTE_PEDIRValue;
|
|
end;
|
|
|
|
{ TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules }
|
|
TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules = class(TDABusinessProcessorRules, IPedidoCliente_ArticulosPendientesPedirAProv, IPedidoCliente_ArticulosPendientesPedirAProvDelta)
|
|
private
|
|
protected
|
|
{ Property getters and setters }
|
|
function GetID_PEDIDOValue: Integer; virtual;
|
|
function GetID_PEDIDOIsNull: Boolean; virtual;
|
|
function GetOldID_PEDIDOValue: Integer; virtual;
|
|
function GetOldID_PEDIDOIsNull: Boolean; virtual;
|
|
procedure SetID_PEDIDOValue(const aValue: Integer); virtual;
|
|
procedure SetID_PEDIDOIsNull(const aValue: Boolean); virtual;
|
|
function GetID_ARTICULOValue: Integer; virtual;
|
|
function GetID_ARTICULOIsNull: Boolean; virtual;
|
|
function GetOldID_ARTICULOValue: Integer; virtual;
|
|
function GetOldID_ARTICULOIsNull: Boolean; virtual;
|
|
procedure SetID_ARTICULOValue(const aValue: Integer); virtual;
|
|
procedure SetID_ARTICULOIsNull(const aValue: Boolean); virtual;
|
|
function GetCANT_PEDIDA_CLIENTEValue: Currency; virtual;
|
|
function GetCANT_PEDIDA_CLIENTEIsNull: Boolean; virtual;
|
|
function GetOldCANT_PEDIDA_CLIENTEValue: Currency; virtual;
|
|
function GetOldCANT_PEDIDA_CLIENTEIsNull: Boolean; virtual;
|
|
procedure SetCANT_PEDIDA_CLIENTEValue(const aValue: Currency); virtual;
|
|
procedure SetCANT_PEDIDA_CLIENTEIsNull(const aValue: Boolean); virtual;
|
|
function GetID_PROVEEDORValue: Integer; virtual;
|
|
function GetID_PROVEEDORIsNull: Boolean; virtual;
|
|
function GetOldID_PROVEEDORValue: Integer; virtual;
|
|
function GetOldID_PROVEEDORIsNull: Boolean; virtual;
|
|
procedure SetID_PROVEEDORValue(const aValue: Integer); virtual;
|
|
procedure SetID_PROVEEDORIsNull(const aValue: Boolean); virtual;
|
|
function GetCANT_PEDIDA_PROVEEDORValue: Currency; virtual;
|
|
function GetCANT_PEDIDA_PROVEEDORIsNull: Boolean; virtual;
|
|
function GetOldCANT_PEDIDA_PROVEEDORValue: Currency; virtual;
|
|
function GetOldCANT_PEDIDA_PROVEEDORIsNull: Boolean; virtual;
|
|
procedure SetCANT_PEDIDA_PROVEEDORValue(const aValue: Currency); virtual;
|
|
procedure SetCANT_PEDIDA_PROVEEDORIsNull(const aValue: Boolean); virtual;
|
|
function GetCANT_PENDIENTE_PEDIRValue: Currency; virtual;
|
|
function GetCANT_PENDIENTE_PEDIRIsNull: Boolean; virtual;
|
|
function GetOldCANT_PENDIENTE_PEDIRValue: Currency; virtual;
|
|
function GetOldCANT_PENDIENTE_PEDIRIsNull: Boolean; virtual;
|
|
procedure SetCANT_PENDIENTE_PEDIRValue(const aValue: Currency); virtual;
|
|
procedure SetCANT_PENDIENTE_PEDIRIsNull(const aValue: Boolean); virtual;
|
|
|
|
{ Properties }
|
|
property ID_PEDIDO : Integer read GetID_PEDIDOValue write SetID_PEDIDOValue;
|
|
property ID_PEDIDOIsNull : Boolean read GetID_PEDIDOIsNull write SetID_PEDIDOIsNull;
|
|
property OldID_PEDIDO : Integer read GetOldID_PEDIDOValue;
|
|
property OldID_PEDIDOIsNull : Boolean read GetOldID_PEDIDOIsNull;
|
|
property ID_ARTICULO : Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
|
|
property ID_ARTICULOIsNull : Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
|
|
property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
|
|
property OldID_ARTICULOIsNull : Boolean read GetOldID_ARTICULOIsNull;
|
|
property CANT_PEDIDA_CLIENTE : Currency read GetCANT_PEDIDA_CLIENTEValue write SetCANT_PEDIDA_CLIENTEValue;
|
|
property CANT_PEDIDA_CLIENTEIsNull : Boolean read GetCANT_PEDIDA_CLIENTEIsNull write SetCANT_PEDIDA_CLIENTEIsNull;
|
|
property OldCANT_PEDIDA_CLIENTE : Currency read GetOldCANT_PEDIDA_CLIENTEValue;
|
|
property OldCANT_PEDIDA_CLIENTEIsNull : Boolean read GetOldCANT_PEDIDA_CLIENTEIsNull;
|
|
property ID_PROVEEDOR : Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue;
|
|
property ID_PROVEEDORIsNull : Boolean read GetID_PROVEEDORIsNull write SetID_PROVEEDORIsNull;
|
|
property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue;
|
|
property OldID_PROVEEDORIsNull : Boolean read GetOldID_PROVEEDORIsNull;
|
|
property CANT_PEDIDA_PROVEEDOR : Currency read GetCANT_PEDIDA_PROVEEDORValue write SetCANT_PEDIDA_PROVEEDORValue;
|
|
property CANT_PEDIDA_PROVEEDORIsNull : Boolean read GetCANT_PEDIDA_PROVEEDORIsNull write SetCANT_PEDIDA_PROVEEDORIsNull;
|
|
property OldCANT_PEDIDA_PROVEEDOR : Currency read GetOldCANT_PEDIDA_PROVEEDORValue;
|
|
property OldCANT_PEDIDA_PROVEEDORIsNull : Boolean read GetOldCANT_PEDIDA_PROVEEDORIsNull;
|
|
property CANT_PENDIENTE_PEDIR : Currency read GetCANT_PENDIENTE_PEDIRValue write SetCANT_PENDIENTE_PEDIRValue;
|
|
property CANT_PENDIENTE_PEDIRIsNull : Boolean read GetCANT_PENDIENTE_PEDIRIsNull write SetCANT_PENDIENTE_PEDIRIsNull;
|
|
property OldCANT_PENDIENTE_PEDIR : Currency read GetOldCANT_PENDIENTE_PEDIRValue;
|
|
property OldCANT_PENDIENTE_PEDIRIsNull : Boolean read GetOldCANT_PENDIENTE_PEDIRIsNull;
|
|
|
|
public
|
|
constructor Create(aBusinessProcessor: TDABusinessProcessor); override;
|
|
destructor Destroy; override;
|
|
|
|
end;
|
|
|
|
implementation
|
|
|
|
uses
|
|
Variants, uROBinaryHelpers, uDAInterfaces;
|
|
|
|
{ TListaAnosPedidosBusinessProcessorRules }
|
|
constructor TListaAnosPedidosBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
|
|
begin
|
|
inherited;
|
|
end;
|
|
|
|
destructor TListaAnosPedidosBusinessProcessorRules.Destroy;
|
|
begin
|
|
inherited;
|
|
end;
|
|
|
|
function TListaAnosPedidosBusinessProcessorRules.GetANOValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_ListaAnosPedidosANO];
|
|
end;
|
|
|
|
function TListaAnosPedidosBusinessProcessorRules.GetANOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_ListaAnosPedidosANO]);
|
|
end;
|
|
|
|
function TListaAnosPedidosBusinessProcessorRules.GetOldANOValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_ListaAnosPedidosANO];
|
|
end;
|
|
|
|
function TListaAnosPedidosBusinessProcessorRules.GetOldANOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_ListaAnosPedidosANO]);
|
|
end;
|
|
|
|
procedure TListaAnosPedidosBusinessProcessorRules.SetANOValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_ListaAnosPedidosANO] := aValue;
|
|
end;
|
|
|
|
procedure TListaAnosPedidosBusinessProcessorRules.SetANOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_ListaAnosPedidosANO] := Null;
|
|
end;
|
|
|
|
|
|
{ TPedidosClienteBusinessProcessorRules }
|
|
constructor TPedidosClienteBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
|
|
var
|
|
StrList: TStringList;
|
|
begin
|
|
inherited;
|
|
|
|
StrList := TStringList.Create;
|
|
StrList.OnChange := OBSERVACIONES_OnChange;
|
|
f_OBSERVACIONES := NewROStrings(StrList,True);
|
|
|
|
StrList := TStringList.Create;
|
|
StrList.OnChange := INCIDENCIAS_OnChange;
|
|
f_INCIDENCIAS := NewROStrings(StrList,True);
|
|
end;
|
|
|
|
destructor TPedidosClienteBusinessProcessorRules.Destroy;
|
|
begin
|
|
inherited;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.OBSERVACIONES_OnChange(Sender: TObject);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteOBSERVACIONES] := TStringList(Sender).Text;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.INCIDENCIAS_OnChange(Sender: TObject);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS] := TStringList(Sender).Text;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIDValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIDIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIDValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIDIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIDValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIDIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetID_EMPRESAValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_EMPRESA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetID_EMPRESAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_EMPRESA]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldID_EMPRESAValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID_EMPRESA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldID_EMPRESAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID_EMPRESA]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetID_EMPRESAValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_EMPRESA] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetID_EMPRESAIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_EMPRESA] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetID_CLIENTEValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_CLIENTE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetID_CLIENTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_CLIENTE]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldID_CLIENTEValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID_CLIENTE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldID_CLIENTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID_CLIENTE]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetID_CLIENTEValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_CLIENTE] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetID_CLIENTEIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_CLIENTE] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetID_DIRECCIONValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_DIRECCION];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetID_DIRECCIONIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_DIRECCION]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldID_DIRECCIONValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID_DIRECCION];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldID_DIRECCIONIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID_DIRECCION]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetID_DIRECCIONValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_DIRECCION] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetID_DIRECCIONIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_DIRECCION] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetNOMBREValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNOMBRE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetNOMBREIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNOMBRE]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldNOMBREValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteNOMBRE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldNOMBREIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteNOMBRE]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetNOMBREValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNOMBRE] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetNOMBREIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNOMBRE] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetREFERENCIAValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREFERENCIA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetREFERENCIAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREFERENCIA]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldREFERENCIAValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteREFERENCIA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldREFERENCIAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteREFERENCIA]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetREFERENCIAValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREFERENCIA] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetREFERENCIAIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREFERENCIA] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetREFERENCIA_CLIENTEValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREFERENCIA_CLIENTE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetREFERENCIA_CLIENTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREFERENCIA_CLIENTE]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldREFERENCIA_CLIENTEValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteREFERENCIA_CLIENTE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldREFERENCIA_CLIENTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteREFERENCIA_CLIENTE]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetREFERENCIA_CLIENTEValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREFERENCIA_CLIENTE] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetREFERENCIA_CLIENTEIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREFERENCIA_CLIENTE] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetSITUACIONValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteSITUACION];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetSITUACIONIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteSITUACION]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldSITUACIONValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteSITUACION];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldSITUACIONIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteSITUACION]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetSITUACIONValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteSITUACION] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetSITUACIONIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteSITUACION] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_PEDIDOValue: DateTime;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_PEDIDO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_PEDIDOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_PEDIDO]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_PEDIDOValue: DateTime;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_PEDIDO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_PEDIDOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_PEDIDO]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_PEDIDOValue(const aValue: DateTime);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_PEDIDO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_PEDIDOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_PEDIDO] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetCALLEValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCALLE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetCALLEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCALLE]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldCALLEValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteCALLE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldCALLEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteCALLE]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetCALLEValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCALLE] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetCALLEIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCALLE] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetCODIGO_POSTALValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCODIGO_POSTAL];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetCODIGO_POSTALIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCODIGO_POSTAL]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldCODIGO_POSTALValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteCODIGO_POSTAL];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldCODIGO_POSTALIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteCODIGO_POSTAL]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetCODIGO_POSTALValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCODIGO_POSTAL] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetCODIGO_POSTALIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteCODIGO_POSTAL] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetPOBLACIONValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePOBLACION];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetPOBLACIONIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePOBLACION]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldPOBLACIONValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClientePOBLACION];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldPOBLACIONIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClientePOBLACION]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetPOBLACIONValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePOBLACION] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetPOBLACIONIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePOBLACION] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetPROVINCIAValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePROVINCIA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetPROVINCIAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePROVINCIA]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldPROVINCIAValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClientePROVINCIA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldPROVINCIAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClientePROVINCIA]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetPROVINCIAValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePROVINCIA] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetPROVINCIAIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePROVINCIA] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetPERSONA_CONTACTOValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePERSONA_CONTACTO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetPERSONA_CONTACTOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePERSONA_CONTACTO]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldPERSONA_CONTACTOValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClientePERSONA_CONTACTO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldPERSONA_CONTACTOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClientePERSONA_CONTACTO]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetPERSONA_CONTACTOValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePERSONA_CONTACTO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetPERSONA_CONTACTOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClientePERSONA_CONTACTO] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetTELEFONOValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteTELEFONO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetTELEFONOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteTELEFONO]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldTELEFONOValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteTELEFONO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldTELEFONOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteTELEFONO]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetTELEFONOValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteTELEFONO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetTELEFONOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteTELEFONO] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOBSERVACIONESValue: IROStrings;
|
|
begin
|
|
result := f_OBSERVACIONES;
|
|
result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteOBSERVACIONES];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOBSERVACIONESIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteOBSERVACIONES]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldOBSERVACIONESValue: IROStrings;
|
|
begin
|
|
result := NewROStrings();
|
|
result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteOBSERVACIONES];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldOBSERVACIONESIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteOBSERVACIONES]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetOBSERVACIONESIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteOBSERVACIONES] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetINCIDENCIASValue: IROStrings;
|
|
begin
|
|
result := f_INCIDENCIAS;
|
|
result.Text := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetINCIDENCIASIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldINCIDENCIASValue: IROStrings;
|
|
begin
|
|
result := NewROStrings();
|
|
result.Text := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteINCIDENCIAS];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldINCIDENCIASIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteINCIDENCIAS]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetINCIDENCIASIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetINCIDENCIAS_ACTIVASValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS_ACTIVAS];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetINCIDENCIAS_ACTIVASIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS_ACTIVAS]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldINCIDENCIAS_ACTIVASValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteINCIDENCIAS_ACTIVAS];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldINCIDENCIAS_ACTIVASIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteINCIDENCIAS_ACTIVAS]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetINCIDENCIAS_ACTIVASValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS_ACTIVAS] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetINCIDENCIAS_ACTIVASIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteINCIDENCIAS_ACTIVAS] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_ALTAValue: DateTime;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_ALTA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_ALTAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_ALTA]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_ALTAValue: DateTime;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_ALTA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_ALTAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_ALTA]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_ALTAValue(const aValue: DateTime);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_ALTA] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_ALTAIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_ALTA] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_MODIFICACIONValue: DateTime;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_MODIFICACION];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_MODIFICACIONIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_MODIFICACION]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_MODIFICACIONValue: DateTime;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_MODIFICACION];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_MODIFICACIONIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_MODIFICACION]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_MODIFICACIONValue(const aValue: DateTime);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_MODIFICACION] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_MODIFICACIONIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_MODIFICACION] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetUSUARIOValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteUSUARIO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetUSUARIOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteUSUARIO]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldUSUARIOValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteUSUARIO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldUSUARIOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteUSUARIO]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetUSUARIOValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteUSUARIO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetUSUARIOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteUSUARIO] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIMPORTE_NETOValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_NETO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIMPORTE_NETOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_NETO]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIMPORTE_NETOValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIMPORTE_NETO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIMPORTE_NETOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIMPORTE_NETO]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIMPORTE_NETOValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_NETO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIMPORTE_NETOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_NETO] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIMPORTE_PORTEValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_PORTE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIMPORTE_PORTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_PORTE]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIMPORTE_PORTEValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIMPORTE_PORTE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIMPORTE_PORTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIMPORTE_PORTE]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIMPORTE_PORTEValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_PORTE] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIMPORTE_PORTEIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_PORTE] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetDESCUENTOValue: Float;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteDESCUENTO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetDESCUENTOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteDESCUENTO]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldDESCUENTOValue: Float;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteDESCUENTO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldDESCUENTOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteDESCUENTO]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetDESCUENTOValue(const aValue: Float);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteDESCUENTO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetDESCUENTOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteDESCUENTO] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIMPORTE_DESCUENTOValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_DESCUENTO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIMPORTE_DESCUENTOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_DESCUENTO]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIMPORTE_DESCUENTOValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIMPORTE_DESCUENTO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIMPORTE_DESCUENTOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIMPORTE_DESCUENTO]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIMPORTE_DESCUENTOValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_DESCUENTO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIMPORTE_DESCUENTOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_DESCUENTO] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetBASE_IMPONIBLEValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteBASE_IMPONIBLE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetBASE_IMPONIBLEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteBASE_IMPONIBLE]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldBASE_IMPONIBLEValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteBASE_IMPONIBLE];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldBASE_IMPONIBLEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteBASE_IMPONIBLE]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetBASE_IMPONIBLEValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteBASE_IMPONIBLE] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetBASE_IMPONIBLEIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteBASE_IMPONIBLE] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIVAValue: Float;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIVA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIVAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIVA]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIVAValue: Float;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIVA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIVAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIVA]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIVAValue(const aValue: Float);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIVA] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIVAIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIVA] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIMPORTE_IVAValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_IVA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIMPORTE_IVAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_IVA]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIMPORTE_IVAValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIMPORTE_IVA];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIMPORTE_IVAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIMPORTE_IVA]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIMPORTE_IVAValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_IVA] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIMPORTE_IVAIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_IVA] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIMPORTE_TOTALValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_TOTAL];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetIMPORTE_TOTALIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_TOTAL]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIMPORTE_TOTAL];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldIMPORTE_TOTALIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteIMPORTE_TOTAL]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_TOTAL] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetIMPORTE_TOTALIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteIMPORTE_TOTAL] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetID_FORMA_PAGOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_FORMA_PAGO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetID_FORMA_PAGOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_FORMA_PAGO]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldID_FORMA_PAGOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID_FORMA_PAGO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldID_FORMA_PAGOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteID_FORMA_PAGO]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetID_FORMA_PAGOValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_FORMA_PAGO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetID_FORMA_PAGOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteID_FORMA_PAGO] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetREF_TIENDA_WEBValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREF_TIENDA_WEB];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetREF_TIENDA_WEBIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREF_TIENDA_WEB]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldREF_TIENDA_WEBValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteREF_TIENDA_WEB];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldREF_TIENDA_WEBIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteREF_TIENDA_WEB]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetREF_TIENDA_WEBValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREF_TIENDA_WEB] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetREF_TIENDA_WEBIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteREF_TIENDA_WEB] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_PREVISTA_ENVIOValue: DateTime;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_PREVISTA_ENVIO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetFECHA_PREVISTA_ENVIOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_PREVISTA_ENVIO]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_PREVISTA_ENVIOValue: DateTime;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_PREVISTA_ENVIO];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldFECHA_PREVISTA_ENVIOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteFECHA_PREVISTA_ENVIO]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_PREVISTA_ENVIOValue(const aValue: DateTime);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_PREVISTA_ENVIO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetFECHA_PREVISTA_ENVIOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteFECHA_PREVISTA_ENVIO] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetNUM_COPIASValue: SmallInt;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNUM_COPIAS];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetNUM_COPIASIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNUM_COPIAS]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldNUM_COPIASValue: SmallInt;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteNUM_COPIAS];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldNUM_COPIASIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteNUM_COPIAS]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetNUM_COPIASValue(const aValue: SmallInt);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNUM_COPIAS] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetNUM_COPIASIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNUM_COPIAS] := Null;
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetNUM_CORREOSValue: SmallInt;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNUM_CORREOS];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetNUM_CORREOSIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNUM_CORREOS]);
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldNUM_CORREOSValue: SmallInt;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteNUM_CORREOS];
|
|
end;
|
|
|
|
function TPedidosClienteBusinessProcessorRules.GetOldNUM_CORREOSIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosClienteNUM_CORREOS]);
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetNUM_CORREOSValue(const aValue: SmallInt);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNUM_CORREOS] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosClienteBusinessProcessorRules.SetNUM_CORREOSIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosClienteNUM_CORREOS] := Null;
|
|
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.GetIDIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldIDValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesID];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldIDIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesID]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetIDValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetIDIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetID_PEDIDOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID_PEDIDO];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetID_PEDIDOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID_PEDIDO]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldID_PEDIDOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesID_PEDIDO];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldID_PEDIDOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(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;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetID_PEDIDOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID_PEDIDO] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetPOSICIONValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesPOSICION];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetPOSICIONIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesPOSICION]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldPOSICIONValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesPOSICION];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldPOSICIONIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesPOSICION]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetPOSICIONValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesPOSICION] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetPOSICIONIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesPOSICION] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetTIPO_DETALLEValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesTIPO_DETALLE];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetTIPO_DETALLEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesTIPO_DETALLE]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldTIPO_DETALLEValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesTIPO_DETALLE];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldTIPO_DETALLEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(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;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetTIPO_DETALLEIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesTIPO_DETALLE] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetCONCEPTOValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCONCEPTO];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetCONCEPTOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCONCEPTO]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldCONCEPTOValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesCONCEPTO];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldCONCEPTOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesCONCEPTO]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetCONCEPTOValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCONCEPTO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetCONCEPTOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCONCEPTO] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetCANTIDADValue: Float;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCANTIDAD];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetCANTIDADIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCANTIDAD]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldCANTIDADValue: Float;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesCANTIDAD];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldCANTIDADIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesCANTIDAD]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetCANTIDADValue(const aValue: Float);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCANTIDAD] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetCANTIDADIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesCANTIDAD] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetIMPORTE_UNIDADValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_UNIDAD];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetIMPORTE_UNIDADIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_UNIDAD]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldIMPORTE_UNIDADValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesIMPORTE_UNIDAD];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldIMPORTE_UNIDADIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesIMPORTE_UNIDAD]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetIMPORTE_UNIDADValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_UNIDAD] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetIMPORTE_UNIDADIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_UNIDAD] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetIMPORTE_TOTALValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_TOTAL];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetIMPORTE_TOTALIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_TOTAL]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesIMPORTE_TOTAL];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldIMPORTE_TOTALIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesIMPORTE_TOTAL]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_TOTAL] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetIMPORTE_TOTALIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_TOTAL] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetVISIBLEValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesVISIBLE];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetVISIBLEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesVISIBLE]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldVISIBLEValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesVISIBLE];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldVISIBLEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesVISIBLE]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetVISIBLEValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesVISIBLE] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetVISIBLEIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesVISIBLE] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetID_ARTICULOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID_ARTICULO];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetID_ARTICULOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID_ARTICULO]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldID_ARTICULOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesID_ARTICULO];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldID_ARTICULOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(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;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetID_ARTICULOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesID_ARTICULO] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetDESCUENTOValue: Float;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesDESCUENTO];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetDESCUENTOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesDESCUENTO]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldDESCUENTOValue: Float;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesDESCUENTO];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldDESCUENTOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesDESCUENTO]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetDESCUENTOValue(const aValue: Float);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesDESCUENTO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetDESCUENTOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesDESCUENTO] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetIMPORTE_PORTEValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_PORTE];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetIMPORTE_PORTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_PORTE]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldIMPORTE_PORTEValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesIMPORTE_PORTE];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldIMPORTE_PORTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesIMPORTE_PORTE]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetIMPORTE_PORTEValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_PORTE] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetIMPORTE_PORTEIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesIMPORTE_PORTE] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetREFERENCIAValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesREFERENCIA];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetREFERENCIAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesREFERENCIA]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldREFERENCIAValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesREFERENCIA];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldREFERENCIAIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesREFERENCIA]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetREFERENCIAValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesREFERENCIA] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetREFERENCIAIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesREFERENCIA] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetREFERENCIA_PROVEEDORValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesREFERENCIA_PROVEEDOR];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetREFERENCIA_PROVEEDORIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesREFERENCIA_PROVEEDOR]);
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldREFERENCIA_PROVEEDORValue: String;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesREFERENCIA_PROVEEDOR];
|
|
end;
|
|
|
|
function TPedidosCliente_DetallesBusinessProcessorRules.GetOldREFERENCIA_PROVEEDORIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_DetallesREFERENCIA_PROVEEDOR]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetREFERENCIA_PROVEEDORValue(const aValue: String);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesREFERENCIA_PROVEEDOR] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_DetallesBusinessProcessorRules.SetREFERENCIA_PROVEEDORIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_DetallesREFERENCIA_PROVEEDOR] := Null;
|
|
end;
|
|
|
|
|
|
{ TPedidosCliente_Articulos_PendientesBusinessProcessorRules }
|
|
constructor TPedidosCliente_Articulos_PendientesBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
|
|
begin
|
|
inherited;
|
|
end;
|
|
|
|
destructor TPedidosCliente_Articulos_PendientesBusinessProcessorRules.Destroy;
|
|
begin
|
|
inherited;
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetID_ARTICULOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesID_ARTICULO];
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetID_ARTICULOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesID_ARTICULO]);
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetOldID_ARTICULOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_Articulos_PendientesID_ARTICULO];
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetOldID_ARTICULOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_Articulos_PendientesID_ARTICULO]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_Articulos_PendientesBusinessProcessorRules.SetID_ARTICULOValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesID_ARTICULO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_Articulos_PendientesBusinessProcessorRules.SetID_ARTICULOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesID_ARTICULO] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetCANTIDAD_PEDValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PED];
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetCANTIDAD_PEDIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PED]);
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetOldCANTIDAD_PEDValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PED];
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetOldCANTIDAD_PEDIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PED]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_Articulos_PendientesBusinessProcessorRules.SetCANTIDAD_PEDValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PED] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_Articulos_PendientesBusinessProcessorRules.SetCANTIDAD_PEDIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PED] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetCANTIDAD_ALBValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_ALB];
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetCANTIDAD_ALBIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_ALB]);
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetOldCANTIDAD_ALBValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_ALB];
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetOldCANTIDAD_ALBIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_ALB]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_Articulos_PendientesBusinessProcessorRules.SetCANTIDAD_ALBValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_ALB] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_Articulos_PendientesBusinessProcessorRules.SetCANTIDAD_ALBIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_ALB] := Null;
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetCANTIDAD_PENDIENTEValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PENDIENTE];
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetCANTIDAD_PENDIENTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PENDIENTE]);
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetOldCANTIDAD_PENDIENTEValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PENDIENTE];
|
|
end;
|
|
|
|
function TPedidosCliente_Articulos_PendientesBusinessProcessorRules.GetOldCANTIDAD_PENDIENTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PENDIENTE]);
|
|
end;
|
|
|
|
procedure TPedidosCliente_Articulos_PendientesBusinessProcessorRules.SetCANTIDAD_PENDIENTEValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PENDIENTE] := aValue;
|
|
end;
|
|
|
|
procedure TPedidosCliente_Articulos_PendientesBusinessProcessorRules.SetCANTIDAD_PENDIENTEIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidosCliente_Articulos_PendientesCANTIDAD_PENDIENTE] := Null;
|
|
end;
|
|
|
|
|
|
{ TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules }
|
|
constructor TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
|
|
begin
|
|
inherited;
|
|
end;
|
|
|
|
destructor TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.Destroy;
|
|
begin
|
|
inherited;
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetID_PEDIDOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PEDIDO];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetID_PEDIDOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PEDIDO]);
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldID_PEDIDOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PEDIDO];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldID_PEDIDOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PEDIDO]);
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetID_PEDIDOValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PEDIDO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetID_PEDIDOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PEDIDO] := Null;
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetID_ARTICULOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_ARTICULO];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetID_ARTICULOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_ARTICULO]);
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldID_ARTICULOValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_ARTICULO];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldID_ARTICULOIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_ARTICULO]);
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetID_ARTICULOValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_ARTICULO] := aValue;
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetID_ARTICULOIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_ARTICULO] := Null;
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetCANT_PEDIDA_CLIENTEValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_CLIENTE];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetCANT_PEDIDA_CLIENTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_CLIENTE]);
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldCANT_PEDIDA_CLIENTEValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_CLIENTE];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldCANT_PEDIDA_CLIENTEIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_CLIENTE]);
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetCANT_PEDIDA_CLIENTEValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_CLIENTE] := aValue;
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetCANT_PEDIDA_CLIENTEIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_CLIENTE] := Null;
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetID_PROVEEDORValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PROVEEDOR];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetID_PROVEEDORIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PROVEEDOR]);
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldID_PROVEEDORValue: Integer;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PROVEEDOR];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldID_PROVEEDORIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PROVEEDOR]);
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetID_PROVEEDORValue(const aValue: Integer);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PROVEEDOR] := aValue;
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetID_PROVEEDORIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvID_PROVEEDOR] := Null;
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetCANT_PEDIDA_PROVEEDORValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_PROVEEDOR];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetCANT_PEDIDA_PROVEEDORIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_PROVEEDOR]);
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldCANT_PEDIDA_PROVEEDORValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_PROVEEDOR];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldCANT_PEDIDA_PROVEEDORIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_PROVEEDOR]);
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetCANT_PEDIDA_PROVEEDORValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_PROVEEDOR] := aValue;
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetCANT_PEDIDA_PROVEEDORIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PEDIDA_PROVEEDOR] := Null;
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetCANT_PENDIENTE_PEDIRValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PENDIENTE_PEDIR];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetCANT_PENDIENTE_PEDIRIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PENDIENTE_PEDIR]);
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldCANT_PENDIENTE_PEDIRValue: Currency;
|
|
begin
|
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PENDIENTE_PEDIR];
|
|
end;
|
|
|
|
function TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.GetOldCANT_PENDIENTE_PEDIRIsNull: Boolean;
|
|
begin
|
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PENDIENTE_PEDIR]);
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetCANT_PENDIENTE_PEDIRValue(const aValue: Currency);
|
|
begin
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PENDIENTE_PEDIR] := aValue;
|
|
end;
|
|
|
|
procedure TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules.SetCANT_PENDIENTE_PEDIRIsNull(const aValue: Boolean);
|
|
begin
|
|
if aValue then
|
|
BusinessProcessor.CurrentChange.NewValueByName[fld_PedidoCliente_ArticulosPendientesPedirAProvCANT_PENDIENTE_PEDIR] := Null;
|
|
end;
|
|
|
|
|
|
initialization
|
|
RegisterBusinessProcessorRules(RID_ListaAnosPedidosDelta, TListaAnosPedidosBusinessProcessorRules);
|
|
RegisterBusinessProcessorRules(RID_PedidosClienteDelta, TPedidosClienteBusinessProcessorRules);
|
|
RegisterBusinessProcessorRules(RID_PedidosCliente_DetallesDelta, TPedidosCliente_DetallesBusinessProcessorRules);
|
|
RegisterBusinessProcessorRules(RID_PedidosCliente_Articulos_PendientesDelta, TPedidosCliente_Articulos_PendientesBusinessProcessorRules);
|
|
RegisterBusinessProcessorRules(RID_PedidoCliente_ArticulosPendientesPedirAProvDelta, TPedidoCliente_ArticulosPendientesPedirAProvBusinessProcessorRules);
|
|
|
|
end.
|