Evidence Summary
- Workflow run
crm-opportunity-won-20260520T005645Z- Opportunity code
2605-0001- Initial phase
SG/ SEGUROS- Won phase
FEC/ Fechado- Final state
- Deleted and absent from both finished and open
DT_ListaOportNeglookups
Close as Won
- Open the business opportunity detail page.
- In Current situation, click Change phase / data.
- Select Fechado in Phase C. V..
- Set the phase date.
- Enter a closing comment when useful.
- Click Save and confirm the warning dialog.
The verified modal posted to POST /ajaxserver with action=oportneg, option=update_fase, id=2605-0001, and serialized form data faseactual=FEC&datafimfase=20/05/2026&obs=AI opportunity won closure comment 20260520T005645Z. The response returned {"success":true}.
Verify the Closure
The detail page reloaded with the current phase field showing Fechado and the header showing Finished: 20/05/2026. The opportunity list lookup used search[Op.Concluido_c]=T and returned row 2605-0001 with Fase=[FEC] Fechado.
The phase history endpoint DT_Select_OptNegFases returned a row with FaseAnterior=SG, FaseActual=FEC, DesigActual=Fechado, and the closing comment. In this demo build, the grid row's hidden type field still returned open, so the reliable finished/won verification was the Concluido_c=T list filter plus the FEC phase.
Artifacts
raw/playwright/workflows/crm-opportunity-won-20260520T005645Z.jsonassets/screenshots/crm-opportunity-won-20260520T005645Z-01-before-won-closure.pngassets/screenshots/crm-opportunity-won-20260520T005645Z-02-after-won-closure.pngassets/screenshots/crm-opportunity-won-20260520T005645Z-03-list-after-delete.png