Artículos: repaso general
git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@327 0c75b7a4-871f-7646-8a2f-f78d34cc349f
This commit is contained in:
parent
e027258cc9
commit
50308d0aba
Binary file not shown.
Binary file not shown.
@ -3,7 +3,7 @@ unit schArticulosClient_Intf;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, DB, SysUtils, uROClasses, uDADataTable, FmtBCD, uROXMLIntf;
|
Classes, DB, schBase_Intf, SysUtils, uROClasses, uDADataTable, FmtBCD, uROXMLIntf;
|
||||||
|
|
||||||
const
|
const
|
||||||
{ Data table rules ids
|
{ Data table rules ids
|
||||||
@ -254,7 +254,7 @@ type
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
{ TArticulosDataTableRules }
|
{ TArticulosDataTableRules }
|
||||||
TArticulosDataTableRules = class(TDADataTableRules, IArticulos)
|
TArticulosDataTableRules = class(TIntfObjectDADataTableRules, IArticulos)
|
||||||
private
|
private
|
||||||
f_IMAGEN: IROStream;
|
f_IMAGEN: IROStream;
|
||||||
procedure IMAGEN_OnChange(Sender: TObject);
|
procedure IMAGEN_OnChange(Sender: TObject);
|
||||||
@ -541,7 +541,7 @@ type
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
{ TArticulosParaClienteDataTableRules }
|
{ TArticulosParaClienteDataTableRules }
|
||||||
TArticulosParaClienteDataTableRules = class(TDADataTableRules, IArticulosParaCliente)
|
TArticulosParaClienteDataTableRules = class(TIntfObjectDADataTableRules, IArticulosParaCliente)
|
||||||
private
|
private
|
||||||
f_IMAGEN: IROStream;
|
f_IMAGEN: IROStream;
|
||||||
procedure IMAGEN_OnChange(Sender: TObject);
|
procedure IMAGEN_OnChange(Sender: TObject);
|
||||||
|
|||||||
@ -2,12 +2,15 @@ inherited fEditorArticulos: TfEditorArticulos
|
|||||||
Left = 489
|
Left = 489
|
||||||
Top = 325
|
Top = 325
|
||||||
Caption = 'Lista de art'#237'culos'
|
Caption = 'Lista de art'#237'culos'
|
||||||
ExplicitHeight = 471
|
ClientWidth = 657
|
||||||
|
ExplicitWidth = 665
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
TextHeight = 13
|
TextHeight = 13
|
||||||
inherited JvNavPanelHeader: TJvNavPanelHeader
|
inherited JvNavPanelHeader: TJvNavPanelHeader
|
||||||
|
Width = 657
|
||||||
Caption = 'Lista de articulos'
|
Caption = 'Lista de articulos'
|
||||||
inherited Image1: TImage
|
inherited Image1: TImage
|
||||||
|
Left = 630
|
||||||
Picture.Data = {
|
Picture.Data = {
|
||||||
0A54504E474F626A65637489504E470D0A1A0A0000000D494844520000001C00
|
0A54504E474F626A65637489504E470D0A1A0A0000000D494844520000001C00
|
||||||
00001C0806000000720DDF940000000970485973000017120000171201679FD2
|
00001C0806000000720DDF940000000970485973000017120000171201679FD2
|
||||||
@ -26,8 +29,9 @@ inherited fEditorArticulos: TfEditorArticulos
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited TBXDock: TTBXDock
|
inherited TBXDock: TTBXDock
|
||||||
|
Width = 657
|
||||||
inherited tbxMain: TTBXToolbar
|
inherited tbxMain: TTBXToolbar
|
||||||
ExplicitWidth = 543
|
ExplicitWidth = 632
|
||||||
end
|
end
|
||||||
inherited tbxFiltro: TTBXToolbar
|
inherited tbxFiltro: TTBXToolbar
|
||||||
ExplicitWidth = 269
|
ExplicitWidth = 269
|
||||||
@ -38,11 +42,17 @@ inherited fEditorArticulos: TfEditorArticulos
|
|||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited TBXTMain2: TTBXToolbar
|
inherited tbxMenu: TTBXToolbar
|
||||||
Left = 275
|
ExplicitWidth = 657
|
||||||
DockPos = 275
|
|
||||||
ExplicitLeft = 275
|
|
||||||
end
|
end
|
||||||
|
inherited TBXTMain2: TTBXToolbar
|
||||||
|
Left = 269
|
||||||
|
DockPos = 267
|
||||||
|
ExplicitLeft = 269
|
||||||
|
end
|
||||||
|
end
|
||||||
|
inherited StatusBar: TJvStatusBar
|
||||||
|
Width = 657
|
||||||
end
|
end
|
||||||
inherited EditorActionList: TActionList
|
inherited EditorActionList: TActionList
|
||||||
inherited actNuevo: TAction
|
inherited actNuevo: TAction
|
||||||
|
|||||||
@ -3,6 +3,7 @@ inherited frViewArticulos: TfrViewArticulos
|
|||||||
ExplicitWidth = 539
|
ExplicitWidth = 539
|
||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Width = 539
|
Width = 539
|
||||||
|
ExplicitWidth = 539
|
||||||
inherited cxGridView: TcxGridDBTableView
|
inherited cxGridView: TcxGridDBTableView
|
||||||
OnMouseMove = cxGridViewMouseMove
|
OnMouseMove = cxGridViewMouseMove
|
||||||
DataController.KeyFieldNames = 'ID'
|
DataController.KeyFieldNames = 'ID'
|
||||||
@ -66,9 +67,11 @@ inherited frViewArticulos: TfrViewArticulos
|
|||||||
end>
|
end>
|
||||||
Properties.PostPopupValueOnTab = True
|
Properties.PostPopupValueOnTab = True
|
||||||
Properties.ShowDescriptions = False
|
Properties.ShowDescriptions = False
|
||||||
|
Visible = False
|
||||||
BestFitMaxWidth = 22
|
BestFitMaxWidth = 22
|
||||||
MinWidth = 22
|
MinWidth = 22
|
||||||
Options.HorzSizing = False
|
Options.HorzSizing = False
|
||||||
|
VisibleForCustomization = False
|
||||||
Width = 22
|
Width = 22
|
||||||
end
|
end
|
||||||
object cxGridViewREFERENCIA: TcxGridDBColumn
|
object cxGridViewREFERENCIA: TcxGridDBColumn
|
||||||
@ -80,16 +83,17 @@ inherited frViewArticulos: TfrViewArticulos
|
|||||||
object cxGridViewFABRICANTE: TcxGridDBColumn
|
object cxGridViewFABRICANTE: TcxGridDBColumn
|
||||||
Caption = 'Fabricante'
|
Caption = 'Fabricante'
|
||||||
DataBinding.FieldName = 'FABRICANTE'
|
DataBinding.FieldName = 'FABRICANTE'
|
||||||
|
BestFitMaxWidth = 80
|
||||||
end
|
end
|
||||||
object cxGridViewDESCRIPCION: TcxGridDBColumn
|
object cxGridViewDESCRIPCION: TcxGridDBColumn
|
||||||
Caption = 'Descripci'#243'n'
|
Caption = 'Descripci'#243'n'
|
||||||
DataBinding.FieldName = 'DESCRIPCION'
|
DataBinding.FieldName = 'DESCRIPCION'
|
||||||
BestFitMaxWidth = 120
|
|
||||||
Width = 120
|
Width = 120
|
||||||
end
|
end
|
||||||
object cxGridViewUNIDAD_MEDIDA: TcxGridDBColumn
|
object cxGridViewUNIDAD_MEDIDA: TcxGridDBColumn
|
||||||
Caption = 'Unid. medida'
|
Caption = 'Unid. medida'
|
||||||
DataBinding.FieldName = 'UNIDAD_MEDIDA'
|
DataBinding.FieldName = 'UNIDAD_MEDIDA'
|
||||||
|
BestFitMaxWidth = 45
|
||||||
Width = 60
|
Width = 60
|
||||||
end
|
end
|
||||||
object cxGridViewFAMILIA: TcxGridDBColumn
|
object cxGridViewFAMILIA: TcxGridDBColumn
|
||||||
@ -115,6 +119,7 @@ inherited frViewArticulos: TfrViewArticulos
|
|||||||
DataBinding.FieldName = 'PRECIO_COSTE'
|
DataBinding.FieldName = 'PRECIO_COSTE'
|
||||||
PropertiesClassName = 'TcxCurrencyEditProperties'
|
PropertiesClassName = 'TcxCurrencyEditProperties'
|
||||||
Properties.Alignment.Horz = taRightJustify
|
Properties.Alignment.Horz = taRightJustify
|
||||||
|
BestFitMaxWidth = 60
|
||||||
FooterAlignmentHorz = taRightJustify
|
FooterAlignmentHorz = taRightJustify
|
||||||
HeaderAlignmentHorz = taRightJustify
|
HeaderAlignmentHorz = taRightJustify
|
||||||
end
|
end
|
||||||
@ -124,6 +129,7 @@ inherited frViewArticulos: TfrViewArticulos
|
|||||||
PropertiesClassName = 'TcxSpinEditProperties'
|
PropertiesClassName = 'TcxSpinEditProperties'
|
||||||
Properties.Alignment.Horz = taRightJustify
|
Properties.Alignment.Horz = taRightJustify
|
||||||
Properties.DisplayFormat = ',0.00 %;-,0.00 %'
|
Properties.DisplayFormat = ',0.00 %;-,0.00 %'
|
||||||
|
BestFitMaxWidth = 60
|
||||||
FooterAlignmentHorz = taRightJustify
|
FooterAlignmentHorz = taRightJustify
|
||||||
HeaderAlignmentHorz = taRightJustify
|
HeaderAlignmentHorz = taRightJustify
|
||||||
end
|
end
|
||||||
@ -132,6 +138,7 @@ inherited frViewArticulos: TfrViewArticulos
|
|||||||
DataBinding.FieldName = 'PRECIO_NETO'
|
DataBinding.FieldName = 'PRECIO_NETO'
|
||||||
PropertiesClassName = 'TcxCurrencyEditProperties'
|
PropertiesClassName = 'TcxCurrencyEditProperties'
|
||||||
Properties.Alignment.Horz = taRightJustify
|
Properties.Alignment.Horz = taRightJustify
|
||||||
|
BestFitMaxWidth = 60
|
||||||
FooterAlignmentHorz = taRightJustify
|
FooterAlignmentHorz = taRightJustify
|
||||||
HeaderAlignmentHorz = taRightJustify
|
HeaderAlignmentHorz = taRightJustify
|
||||||
end
|
end
|
||||||
@ -140,6 +147,7 @@ inherited frViewArticulos: TfrViewArticulos
|
|||||||
DataBinding.FieldName = 'PRECIO_PORTE'
|
DataBinding.FieldName = 'PRECIO_PORTE'
|
||||||
PropertiesClassName = 'TcxCurrencyEditProperties'
|
PropertiesClassName = 'TcxCurrencyEditProperties'
|
||||||
Properties.Alignment.Horz = taRightJustify
|
Properties.Alignment.Horz = taRightJustify
|
||||||
|
BestFitMaxWidth = 60
|
||||||
FooterAlignmentHorz = taRightJustify
|
FooterAlignmentHorz = taRightJustify
|
||||||
HeaderAlignmentHorz = taRightJustify
|
HeaderAlignmentHorz = taRightJustify
|
||||||
end
|
end
|
||||||
@ -147,9 +155,12 @@ inherited frViewArticulos: TfrViewArticulos
|
|||||||
end
|
end
|
||||||
inherited frViewFiltroBase1: TfrViewFiltroBase
|
inherited frViewFiltroBase1: TfrViewFiltroBase
|
||||||
Width = 539
|
Width = 539
|
||||||
|
ExplicitWidth = 539
|
||||||
inherited TBXDockablePanel1: TTBXDockablePanel
|
inherited TBXDockablePanel1: TTBXDockablePanel
|
||||||
|
ExplicitWidth = 539
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 539
|
Width = 539
|
||||||
|
ExplicitWidth = 539
|
||||||
inherited txtFiltroTodo: TcxTextEdit
|
inherited txtFiltroTodo: TcxTextEdit
|
||||||
ExplicitWidth = 273
|
ExplicitWidth = 273
|
||||||
Width = 273
|
Width = 273
|
||||||
@ -167,18 +178,23 @@ inherited frViewArticulos: TfrViewArticulos
|
|||||||
end
|
end
|
||||||
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
|
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
|
||||||
Width = 539
|
Width = 539
|
||||||
|
ExplicitWidth = 539
|
||||||
inherited tbxBotones: TTBXToolbar
|
inherited tbxBotones: TTBXToolbar
|
||||||
Width = 529
|
Width = 529
|
||||||
|
ExplicitWidth = 529
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited pnlAgrupaciones: TTBXDockablePanel
|
inherited pnlAgrupaciones: TTBXDockablePanel
|
||||||
Visible = True
|
Visible = True
|
||||||
|
ExplicitWidth = 539
|
||||||
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
|
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
|
||||||
Width = 539
|
Width = 539
|
||||||
|
ExplicitWidth = 539
|
||||||
inherited TBXToolbar1: TTBXToolbar
|
inherited TBXToolbar1: TTBXToolbar
|
||||||
Width = 529
|
Width = 529
|
||||||
|
ExplicitWidth = 529
|
||||||
object TBXSeparatorItem1: TTBXSeparatorItem
|
object TBXSeparatorItem1: TTBXSeparatorItem
|
||||||
end
|
end
|
||||||
object TBXItem3: TTBXItem
|
object TBXItem3: TTBXItem
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user