Add Criação de Listas de Encomendas requirements and use cases - #2
Draft
darteescar with Copilot wants to merge 2 commits into
Draft
Add Criação de Listas de Encomendas requirements and use cases#2darteescar with Copilot wants to merge 2 commits into
darteescar with Copilot wants to merge 2 commits into
Conversation
Co-authored-by: darteescar <163868866+darteescar@users.noreply.github.com> Agent-Logs-Url: https://github.com/tiagofigueiredo7/LI4/sessions/85e55433-6e96-4125-938a-c46fda2a04f3
Copilot
AI
changed the title
[WIP] Implement supplier management and order list features
Add Criação de Listas de Encomendas requirements and use cases
Mar 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The stock manager's order list functionality was only partially specified — generation was mentioned but editing, deletion, and status lifecycle were absent. This adds the missing requirements and formalises all four use cases.
Requirements (
requisitos_consolidados_atualizado.tex)Gestor do Stock section expanded:
Por enviarPor enviarstatePor enviar → Enviada ao fornecedor → Recebida; transition toRecebidaautomatically increments stock and logs the movement with date, user, and quantityUse Cases (
casos_de_uso_listas_encomendas.tex, new — 7 pages)Four fully structured use cases following the project's standard format (pre/post-conditions, main flow, alternative flows, exception flows):
UC04 covers two distinct main flows: marking as sent, and marking as received (with per-item quantity confirmation and automatic stock update). Includes a state diagram table for the order list lifecycle.
Original prompt
Created from VS Code.
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.