<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><p align="CENTER" style="margin-bottom: 0cm"><font size="5"><b>SRS
Pharmar V2.</b></font></p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">1. El sistema debe gestionar Farmacias.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">2. El sistema debe gestionar
Laboratorios con sus Farmacias[ 1 ].</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">3. El sistema debe gestionar Familias.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">4. El sistema debe gestionar Tipo de
Venta.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">5. El sistema debe gestionar
medicamentos obtenidos de sus Laboratorios[ 2 ], con su Tipo de
Venta[ 4 ], a que Familias[ 3 ] pertenece.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">6. El sistema debe indicar si el
medicamento[ 5 ] se adquiere bajo receta o es de venta libre, este
campo es necesario para la posterior venta de la farmacia a sus
respectivos clientes. Cabe aclarar que clientes no se encuentra
considerado en la Versión 1 de dicho sistema.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">7. El sistema debe gestionar pedidos.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">8. El sistema debe gestionar compras de
medicamentos[ 5 ], el cual se almacenaran en pedidos[ 7 ], que este a
su vez contendrá a la Farmacia [ 1 ] que adquirió el medicamento[ 5
] y el laboratorio[ 2 ] que lo fabrica.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">9. El sistema debe gestionar Procesos
de Pedidos [ 7 ], el cual se asignaran los procesos a los cuales se
encuentren los Pedidos[ 7 ], por ejemplo, si el pedido esta
Confirmado, o rechazo y demás .</p>
<p style="margin-bottom: 0cm">10. El sistema debe gestionar Stock.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">11. Una vez realizado
satisfactoriamente la compra el pedido pasa a Stock[ 10 ].</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">12. El sistema deberá gestionar un
Historial, en el cual se especificaran todos los Pedidos[ 7 ] en
todos sus procesos concluyentes.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><font style="font-size: 16pt"><b>DICCIONARIO:</b></font></p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><font size="4"><u><b>Farmacias = </b></u></font>Tipo
de usuario que posee una farmacia física. Atributo: nombre,
nombreUsuario, contraseña, email, representante.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><font size="4"><u><b>Laboratorios =</b></u></font>
Tipo de usuario que posee un laboratorio físico, y desea gestionar
sus productos a las diferentes Farmacias registradas en la web.
Atributo: nombre, nombreUsuario, contraseña, email, representante.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><font size="4"><u><b>Familias = </b></u></font>Tipo
de familia a la que corresponde el medicamento, es decir,  al tipo de
enfermedades a la que dicho medicamento se aplica. Atributo: nombre.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><font size="4"><u><b>Tipo de Venta = </b></u></font>Tipo
de venta que determina en que forma viene el medicamento, ya sea en
pomada, pastillas, jarabe, etc. Atributo: nombre.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><font size="4"><u><b>Medicamento =</b></u></font>
Medicamento desarrollado por los laboratorios. Atributo: nombre,
precio, tipoDeVenta, ID_familia, ID_laboratorio.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><font size="4"><u><b>Pedidos =</b></u></font>
En esta sección se controlan las ventas de los productos. Atributo:
ID_medicamento, ID_farmacia, ID_laboratorio, cantidad, ID_proceso,
precioPorUnidad, precioTotal.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><font size="4"><u><b>Procesos =</b></u></font>
Se detallaran en que situación se encuentra el pedido, por ejemplo
si esta confirmado por el Laboratorio, si lo rechazo, si se envió y
demás. Atributo: proceso.</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm"><font size="4"><u><b>Stock =</b></u></font>
Espacio virtual en la cual llevamos un conteo de los productos que
tenemos fisicamente en nuestro establecimiento, es decir almacena
todos los pedidos que se realizaron con éxito, a demas se podrá
gestionar todos estos productos desde la web. Atributo: 
unidadesStock, unidadesVendidas, importe, farmacia, laboratorio,
medicamento.</p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm">TABLAS ( igualmente por si las dudas le adjunte el .sql ):</p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><b>FARMACIAS</b></p><p style="margin-bottom: 0cm">id   ( clave primaria )</p><p style="margin-bottom: 0cm">Usuario </p><p style="margin-bottom: 0cm">Contraseña</p><p style="margin-bottom: 0cm">Email</p><p style="margin-bottom: 0cm">Representante</p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><b>LABORATORIOS</b></p><p style="margin-bottom: 0cm">id  <span style="font-size: 12pt;">( clave primaria )</span></p><p style="margin-bottom: 0cm">Usuario</p><p style="margin-bottom: 0cm">Contraseña</p><p style="margin-bottom: 0cm">Email</p><p style="margin-bottom: 0cm">Representante</p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><b>MEDICAMENTOS</b></p><p style="margin-bottom: 0cm">id  <span style="font-size: 12pt;">( clave primaria )</span></p><p style="margin-bottom: 0cm">Nombre</p><p style="margin-bottom: 0cm">Tipo</p><p style="margin-bottom: 0cm">Tipo_De_Venta</p><p style="margin-bottom: 0cm">Precio</p><p style="margin-bottom: 0cm">id_familia</p><p style="margin-bottom: 0cm">id_laboratorio</p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><b>PEDIDOS</b></p><p style="margin-bottom: 0cm">id  <span style="font-size: 12pt;">( clave primaria )</span></p><p style="margin-bottom: 0cm">Cantidad</p><p style="margin-bottom: 0cm">Importe</p><p style="margin-bottom: 0cm">Importe_Total</p><p style="margin-bottom: 0cm">Pedido_Proceso</p><p style="margin-bottom: 0cm">id_farmacia</p><p style="margin-bottom: 0cm">id_medicamento</p><p style="margin-bottom: 0cm">id_laboratorio</p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><b>STOCKS</b></p><p style="margin-bottom: 0cm">id  <span style="font-size: 12pt;">( clave primaria )</span></p><p style="margin-bottom: 0cm">Unidades_Stock</p><p style="margin-bottom: 0cm">Unidades_Vendidas</p><p style="margin-bottom: 0cm">Importe</p><p style="margin-bottom: 0cm">id_farmacia</p><p style="margin-bottom: 0cm">id_medicamento</p><p style="margin-bottom: 0cm">id_laboratorio</p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><p style="margin-bottom: 0cm"><br></p><style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>                                      </div></body>
</html>