Private
Public Access
docs(stock): arreglados cuds de reserva de stocks y otros diagramas
This commit is contained in:
1 parent
e0345bc3dd
commit
f978b5b2eb
10 files changed
+112
-42
No files matched your search
@@ -10,13 +10,14 @@
|
||||
| 2 | Ingresar Stock | Ingresar Stock, Cargar Remito, Transcripción usando IA, Registrar Diferencias |
|
||||
| 3 | Ingresar Detalle Stock | Ingresar Stock, Cargar Remito |
|
||||
| 4 | Detalle de Stock | Mostrar Existencias, Registrar Comentario / Observación, Reservar Stock |
|
||||
| 5 | Trasladar Stock (modal) | Trasladar Stock, Registrar Movimiento Contable, Generar Logs |
|
||||
| 5 | Trasladar Stock (modal) | Trasladar Stock, Registrar Movimiento Contable |
|
||||
| 6 | Ajustar Stock (modal) | Ajustar Stock, Registrar Movimiento Contable, Registrar Comentario / Observación, |
|
||||
| | | Notificar Stock Bajo, Generar Logs |
|
||||
| 7 | Registrar Devolución | Registrar Devolución, Registrar Movimiento Contable, Generar Logs |
|
||||
| 8 | Recepción / Diferencias | Registrar Diferencias, Enviar Notificación por webhook / email |
|
||||
| 9 | Reportes de Stock | Generar Reporte de Stock, Exportar Reporte |
|
||||
| 10 | Historial de Movimientos | Consultar Historial de Movimientos |
|
||||
| | | Notificar Stock Bajo |
|
||||
| 7 | Registrar Devolución | Registrar Devolución, Registrar Movimiento Contable |
|
||||
| 8 | Reportes de Stock | Generar Reporte de Stock, Exportar Reporte |
|
||||
| 9 | Reservas de Stock | Reservar Stock, Consultar Reservas |
|
||||
| 10 | Reservar Stock (modal) | Reservar Stock |
|
||||
| 11 | Liberar Reserva (modal) | Liberar Reserva |
|
||||
* Flow
|
||||
|
||||
|
||||
@@ -43,8 +44,8 @@ title Gestión de Stock
|
||||
Filtro aceite | FO-123 | A1 | 0 | 5 | 0 | 0 | AGOTADO | [Ver detalle]
|
||||
}
|
||||
|
||||
{ [Ver detalle] | [Trasladar] | [Ajustar] | [Reservar] }
|
||||
{ [Ingresar stock] | [Historial] | [Reportes] }
|
||||
{ [Trasladar] | [Ajustar] | [Reservar] }
|
||||
{ [Ingresar stock] | [Reportes] | [Devoluciones] }
|
||||
}
|
||||
@endsalt
|
||||
#+end_src
|
||||
@@ -214,10 +215,11 @@ title Registrar Devolución
|
||||
{ Cliente: |"........................." }
|
||||
{ Fecha: |"01/09/2026" }
|
||||
|
||||
{+
|
||||
Producto | Cantidad vendida | Cantidad devuelta
|
||||
Bujía | 10 | 2
|
||||
Filtro | 5 | 1
|
||||
{#
|
||||
Producto | Cantidad vendida | Cantidad devuelta | Valor Devuelto
|
||||
Bujía | 10 | 2 | $20.000
|
||||
Filtro | 5 | 1 | $15.000
|
||||
TOTAL | . | . | $35.000
|
||||
}
|
||||
|
||||
{ Motivo: | ^Producto defectuoso^ }
|
||||
@@ -237,8 +239,9 @@ title Registrar Devolución
|
||||
@startsalt
|
||||
title Reportes Stock
|
||||
{
|
||||
|
||||
{ Producto: |^Todos^}
|
||||
{ Almacén: |^Todos^}
|
||||
{ Tipo: |^Todos^}
|
||||
{ Desde: |"01/08/2026"}
|
||||
{ Hasta: |"01/09/2026"}
|
||||
{ [Generar Reporte] | [Limpiar filtros] }
|
||||
@@ -259,30 +262,81 @@ title Reportes Stock
|
||||
#+RESULTS:
|
||||
[[file:./stock/08_reportes_stock.png]]
|
||||
|
||||
* Historial de Movimientos
|
||||
#+begin_src plantuml :file ./stock/09_historial_movimientos.png
|
||||
* Reservas de Stock
|
||||
#+begin_src plantuml :file ./stock/10_gestion_reservas.png
|
||||
@startsalt
|
||||
title Historial de Movimientos
|
||||
title Gestión de Reservas de Stock
|
||||
{
|
||||
{ Producto: |^Todos^}
|
||||
{ Almacén: |^Todos^}
|
||||
{ Tipo: |^Todos^}
|
||||
{ Desde: |"01/08/2026"}
|
||||
{ Hasta: |"01/09/2026"}
|
||||
|
||||
{
|
||||
Buscar: |"Buscar producto..."
|
||||
Cliente: |"Buscar Nombre Cliente..."|
|
||||
Almacén: | ^Todos^
|
||||
}
|
||||
{
|
||||
Estado: |^Todas^^ Activa^^ Vencida^^ Liberada^|
|
||||
{ [Buscar] | [Limpiar filtros] }
|
||||
|
||||
{+
|
||||
Fecha | Producto | Tipo | Cantidad | Usuario | Referencia
|
||||
01/09 | Bujía | Ingreso | +20 | Fede | Remito #123
|
||||
01/09 | Bujía | Ajuste | -2 | Fede | Ajuste #124
|
||||
30/08 | Filtro | Traslado | -5 | Juan | Traslado #120
|
||||
}
|
||||
.
|
||||
.
|
||||
{#
|
||||
Producto | Código | Almacén | Cant. Reservada | Reservado para | Fecha reserva | Vence | Estado | Acciones
|
||||
Amortiguador | AM-001 | A1 | 3 | Cliente #045 | 01/09 | 15/09 | Activa | {[Ver] | [Liberar]}
|
||||
Bujía | BU-023 | A2 | 3 | Taller García | 28/08 | 05/09 | Vencida | {[Ver] | [Liberar]}
|
||||
Filtro aceite | FO-123 | A1 | 2 | Orden #987 | 30/08 | 10/09 | Activa | {[Ver] | [Liberar]}
|
||||
}
|
||||
|
||||
{ [Ver detalle] }
|
||||
{ [Nueva reserva] }
|
||||
}
|
||||
@endsalt
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
[[file:./stock/09_historial_movimientos.png]]
|
||||
[[file:./stock/10_gestion_reservas.png]]
|
||||
|
||||
* Reservar Stock (modal)
|
||||
#+begin_src plantuml :file ./stock/09_reservar_stock.png
|
||||
@startsalt
|
||||
title Reservar Stock
|
||||
{
|
||||
{ Producto: | "Amortiguador delantero" | Código: | "AM-001" }
|
||||
|
||||
{ Almacén: | ^Almacén A^ }
|
||||
{ Cantidad a reservar: | "3" }
|
||||
{ Stock disponible: | "15" }
|
||||
|
||||
{ Reservado para: | "Cliente 0 / Orden #045" }
|
||||
{ Fecha de vencimiento: | "15/09/2026" }
|
||||
|
||||
|
||||
{ [Cancelar] | [Confirmar reserva] }
|
||||
}
|
||||
@endsalt
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
[[file:./stock/09_reservar_stock.png]]
|
||||
|
||||
* Liberar Reserva (modal)
|
||||
#+begin_src plantuml :file ./stock/11_liberar_reserva.png
|
||||
@startsalt
|
||||
title Liberar Reserva
|
||||
{
|
||||
|
||||
{ Producto: | "Amortiguador delantero" | Código: | "AM-001" }
|
||||
|
||||
{ Cantidad reservada: | "3" }
|
||||
{ Reservado para: | "Cliente #045" }
|
||||
{ Fecha de reserva: | "01/09/2026" }
|
||||
.
|
||||
{+
|
||||
⚠ Esta acción liberará el stock reservado y quedará
|
||||
disponible nuevamente para la venta.
|
||||
}
|
||||
|
||||
{ [Cancelar] | [Confirmar liberación] }
|
||||
}
|
||||
@endsalt
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
[[file:./stock/11_liberar_reserva.png]]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -35,8 +35,13 @@ rectangle "Gestion de Stock" {
|
||||
usecase "Exportar reporte" as ER
|
||||
|
||||
usecase "Reservar stock" as RS
|
||||
usecase "Consultar reservas" as VR
|
||||
usecase "Liberar reserva" as LR
|
||||
|
||||
usecase "Registrar devolucion" as RD
|
||||
|
||||
|
||||
|
||||
usecase "Generar logs" as GL
|
||||
usecase "Enviar Notificacion por\nwebhook / email" as EN
|
||||
|
||||
@@ -81,7 +86,9 @@ GRS <.. ER : <<extend>>
|
||||
|
||||
GS <.. RS : <<exntend>>
|
||||
|
||||
RS ..> RM : <<include>>
|
||||
/'
|
||||
' RS ..> RM : <<include>>
|
||||
'/
|
||||
RD ..> RM : <<include>>
|
||||
|
||||
IS ..> GL : <<include>>
|
||||
@@ -91,6 +98,9 @@ RM ..> GL : <<include>>
|
||||
NSB ..> EN : <<include>>
|
||||
RDR ..> EN : <<include>>
|
||||
|
||||
RS ..> VR : <<include>>
|
||||
RS <.. LR : <<extend>>
|
||||
LR ..> GL : <<include>>
|
||||
@enduml
|
||||
|
||||
#+end_src
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user