First commit 14/02/1999

This commit is contained in:
José David Guillén 2021-09-12 22:19:30 +02:00
commit d031fca570
464 changed files with 22399 additions and 0 deletions

34
-- TPVwin --.bpg Normal file
View File

@ -0,0 +1,34 @@
#------------------------------------------------------------------------------
VERSION = BWS.01
#------------------------------------------------------------------------------
!ifndef ROOT
ROOT = $(MAKEDIR)\..
!endif
#------------------------------------------------------------------------------
MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$**
DCC = $(ROOT)\bin\dcc32.exe $**
BRCC = $(ROOT)\bin\brcc32.exe $**
#------------------------------------------------------------------------------
PROJECTS = TPV.exe TPV_Ventas.exe TPV_BuscarEntreLineas.exe TPV_SAT.exe
#------------------------------------------------------------------------------
default: $(PROJECTS)
#------------------------------------------------------------------------------
TPV.exe: TPV.bpr
$(ROOT)\bin\bpr2mak $**
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
TPV_Ventas.exe: TPV_Ventas.bpr
$(ROOT)\bin\bpr2mak $**
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
TPV_BuscarEntreLineas.exe: TPV_BuscarEntreLineas.bpr
$(ROOT)\bin\bpr2mak $**
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
TPV_SAT.exe: TPV_SAT.bpr
$(ROOT)\bin\bpr2mak $**
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

BIN
AgendaLlamadas.exe Normal file

Binary file not shown.

77
BuscarEntreLineas.cpp Normal file
View File

@ -0,0 +1,77 @@
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "BuscarEntreLineas.h"
#include "TDlgBuscar.h"
#include "TpvVntAlbPrint.h"
#include "TpvVntFctPrint.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button2Click(TObject *Sender)
{
Close();
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
int CodFactura;
// Mostramos la zona de busqueda de clientes...
// Mostramos el dialogo, buscar Vendedores
TDlgBuscar *DlgBuscar;
DlgBuscar = new TDlgBuscar(this);
DlgBuscar -> DefaultField = "NombreProducto";
DlgBuscar -> TbBusquedas -> TableName = "Ventas (cuerpo).db";
DlgBuscar -> TbBusquedas -> Active = true;
DlgBuscar -> ShowModal();
if ( DlgBuscar -> ModalResult == mrOk )
{
CodFactura = DlgBuscar -> TbBusquedas -> FieldByName( "EnlaceFactura" ) -> AsInteger;
TbVentasC -> Active = true;
if ( ( TbVentasC -> Locate( "EnlaceFactura", CodFactura, TLocateOptions() << loCaseInsensitive ) ) )
{
if ( TbVentasC->FieldByName("CodFactura")->AsInteger <= 0 )
{
// Imprime Ticket
TQRMDFacturaVnt1 *QRMDFacturaVnt;
// Creamos una ficha del tipo TProductos
// Guardando la referencia en la variable TProductos
QRMDFacturaVnt = new TQRMDFacturaVnt1(this);
// Mostrarla como modal y según el valor devuelto
QRMDFacturaVnt -> TbVntCabecera -> GotoCurrent( TbVentasC );
QRMDFacturaVnt -> Preview();
// Destruimos la ficha
delete QRMDFacturaVnt;
} else {
// Imprime factura
TQRMDFacturaVnt *QRMDFacturaVnt;
// Creamos una ficha del tipo TProductos
// Guardando la referencia en la variable TProductos
QRMDFacturaVnt = new TQRMDFacturaVnt(this);
// Mostrarla como modal y según el valor devuelto
QRMDFacturaVnt -> TbVntCabecera -> GotoCurrent( TbVentasC );
QRMDFacturaVnt -> Preview();
// Destruimos la ficha
delete QRMDFacturaVnt;
}
TbVentasC -> Active = false;
}
}
delete DlgBuscar;
}
//---------------------------------------------------------------------------

72
BuscarEntreLineas.dfm Normal file
View File

@ -0,0 +1,72 @@
object Form1: TForm1
Left = 206
Top = 126
Width = 413
Height = 180
Caption = 'Form1'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 0
Top = 0
Width = 401
Height = 57
Alignment = taCenter
Caption = 'Busqueda de Facturas por CONTENIDO'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -19
Font.Name = 'Arial Black'
Font.Style = []
ParentFont = False
WordWrap = True
end
object Button1: TButton
Left = 128
Top = 88
Width = 145
Height = 25
Caption = '&Localizar Factura'
TabOrder = 0
OnClick = Button1Click
end
object Button2: TButton
Left = 128
Top = 120
Width = 145
Height = 25
Caption = '&Salir'
TabOrder = 1
OnClick = Button2Click
end
object Empresas: TDatabase
Connected = True
DatabaseName = 'TpvWin'
DriverName = 'STANDARD'
Params.Strings = (
'PATH=DATOS\'
'DEFAULT DRIVER=PARADOX'
'ENABLE BCD=FALSE')
SessionName = 'Default'
Top = 48
end
object TbVentasC: TTable
DatabaseName = 'TpvWin'
TableName = 'Ventas (cabecera).db'
Left = 40
Top = 80
object TbVentasCEnlaceFactura: TAutoIncField
FieldName = 'EnlaceFactura'
end
object TbVentasCCodFactura: TIntegerField
FieldName = 'CodFactura'
end
end
end

32
BuscarEntreLineas.h Normal file
View File

@ -0,0 +1,32 @@
//---------------------------------------------------------------------------
#ifndef BuscarEntreLineasH
#define BuscarEntreLineasH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Db.hpp>
#include <DBTables.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TLabel *Label1;
TButton *Button1;
TButton *Button2;
TDatabase *Empresas;
TTable *TbVentasC;
TAutoIncField *TbVentasCEnlaceFactura;
TIntegerField *TbVentasCCodFactura;
void __fastcall Button2Click(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

BIN
Cerezas.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
Datos/AccessControl.PX Normal file

Binary file not shown.

BIN
Datos/AccessControl.db Normal file

Binary file not shown.

BIN
Datos/Compras (cabecera).PX Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Datos/Compras (cabecera).db Normal file

Binary file not shown.

BIN
Datos/Compras (cuerpo).PX Normal file

Binary file not shown.

BIN
Datos/Compras (cuerpo).XG0 Normal file

Binary file not shown.

BIN
Datos/Compras (cuerpo).YG0 Normal file

Binary file not shown.

BIN
Datos/Compras (cuerpo).db Normal file

Binary file not shown.

1
Datos/DBDWORK.INI Normal file
View File

@ -0,0 +1 @@

BIN
Datos/ProdTMP vnt.db Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraClt.PX Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraClt.XG0 Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraClt.XG1 Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraClt.YG0 Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraClt.YG1 Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraClt.db Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraProv.PX Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraProv.XG0 Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraProv.XG1 Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraProv.YG0 Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraProv.YG1 Normal file

Binary file not shown.

BIN
Datos/Tb_CarteraProv.db Normal file

Binary file not shown.

BIN
Datos/Tb_CtblCC.PX Normal file

Binary file not shown.

BIN
Datos/Tb_CtblCC.XG0 Normal file

Binary file not shown.

BIN
Datos/Tb_CtblCC.YG0 Normal file

Binary file not shown.

BIN
Datos/Tb_CtblCC.db Normal file

Binary file not shown.

BIN
Datos/Tb_CtblPteC.PX Normal file

Binary file not shown.

BIN
Datos/Tb_CtblPteC.XG0 Normal file

Binary file not shown.

BIN
Datos/Tb_CtblPteC.XG1 Normal file

Binary file not shown.

BIN
Datos/Tb_CtblPteC.YG0 Normal file

Binary file not shown.

BIN
Datos/Tb_CtblPteC.YG1 Normal file

Binary file not shown.

BIN
Datos/Tb_CtblPteC.db Normal file

Binary file not shown.

BIN
Datos/Tb_Ref.PX Normal file

Binary file not shown.

BIN
Datos/Tb_Ref.XG0 Normal file

Binary file not shown.

BIN
Datos/Tb_Ref.XG1 Normal file

Binary file not shown.

BIN
Datos/Tb_Ref.YG0 Normal file

Binary file not shown.

BIN
Datos/Tb_Ref.YG1 Normal file

Binary file not shown.

BIN
Datos/Tb_Ref.db Normal file

Binary file not shown.

BIN
Datos/Tb_RefC.PX Normal file

Binary file not shown.

BIN
Datos/Tb_RefC.XG0 Normal file

Binary file not shown.

BIN
Datos/Tb_RefC.YG0 Normal file

Binary file not shown.

BIN
Datos/Tb_RefC.db Normal file

Binary file not shown.

BIN
Datos/Tb_RefH.DB Normal file

Binary file not shown.

BIN
Datos/Tb_RefH.PX Normal file

Binary file not shown.

BIN
Datos/Tb_RefH.XG0 Normal file

Binary file not shown.

BIN
Datos/Tb_RefH.YG0 Normal file

Binary file not shown.

BIN
Datos/Ventas (Factura).PX Normal file

Binary file not shown.

BIN
Datos/Ventas (Factura).VAL Normal file

Binary file not shown.

BIN
Datos/Ventas (Factura).db Normal file

Binary file not shown.

BIN
Datos/Ventas (cabecera).DB Normal file

Binary file not shown.

BIN
Datos/Ventas (cabecera).MB Normal file

Binary file not shown.

BIN
Datos/Ventas (cabecera).PX Normal file

Binary file not shown.

BIN
Datos/Ventas (cabecera).VAL Normal file

Binary file not shown.

BIN
Datos/Ventas (cabecera).XG0 Normal file

Binary file not shown.

BIN
Datos/Ventas (cabecera).XG1 Normal file

Binary file not shown.

BIN
Datos/Ventas (cabecera).XG2 Normal file

Binary file not shown.

BIN
Datos/Ventas (cabecera).YG0 Normal file

Binary file not shown.

BIN
Datos/Ventas (cabecera).YG1 Normal file

Binary file not shown.

BIN
Datos/Ventas (cabecera).YG2 Normal file

Binary file not shown.

BIN
Datos/Ventas (caja).MB Normal file

Binary file not shown.

BIN
Datos/Ventas (caja).PX Normal file

Binary file not shown.

BIN
Datos/Ventas (caja).db Normal file

Binary file not shown.

BIN
Datos/Ventas (cuerpo).PX Normal file

Binary file not shown.

BIN
Datos/Ventas (cuerpo).XG0 Normal file

Binary file not shown.

BIN
Datos/Ventas (cuerpo).YG0 Normal file

Binary file not shown.

BIN
Datos/Ventas (cuerpo).db Normal file

Binary file not shown.

BIN
Datos/carpetas.DB Normal file

Binary file not shown.

BIN
Datos/imgprod/AMD-Duron.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
Datos/imgprod/DIMM.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
Datos/imgprod/HardDisk.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
Datos/imgprod/PSX-raton.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

BIN
Datos/imgprod/PentiumIV.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Some files were not shown because too many files have changed in this diff Show More