Evidence Summary
- Workflow run
stock-brands-crud-20260520T110516Z- Route
/stocks/apoio/marcas- Disposable brand
63/AI Brand 20260520T110516Z- Final state
- Deleted; final table search returned
No matching records found
Create a Brand
- Open
/stocks/apoio/marcas. - Click Nova Marca.
- Fill the required Designação field.
- Optionally fill TecDoc: Marcas, Margem Lucro Mínima, Observações, preferential/exclusive flags, or upload an image.
- Click Guardar.
The verified form is fnewMarca and posts multipart form data to /stocks/apoio/marcas. The controlled run used Designacao=AI Brand 20260520T110516Z, margem_lucro_minima=7, Obs=Created by workflow stock-brands-crud-20260520T110516Z, blank TecDoc/image fields, and blank gfnewmarca.
Verify the Brand
The brands grid is ListaMarcas. It loads through DT_MarcasArtigos and returns generated CodMarca, description, image, observations, minimum margin, TecDoc brand, preferential flag, exclusive flag, and row actions.
After creation, filtering the grid by the disposable description returned code 63, description AI Brand 20260520T110516Z, note text, margin 7.00, and both preferential/exclusive badges as Não.
Delete the Brand
- Filter the brands grid by the brand description or generated code.
- Click the row delete action.
- Confirm the prompt Tem a certeza que quer apagar? with OK.
The delete action calls ajaxserver with action=deleteMarcaArtigos and codmarca=63. The response returned {"succeeded":true}. After deletion, reloading the page and searching for the disposable description returned No matching records found.
Use and Boundaries
Brands classify article master records and can be used in filters, imports, pricing workflows, and reports. Deleting a brand that is already assigned to articles may be blocked or affect selector history, so support-file testing should use a newly-created disposable brand that has not been assigned to any article.
Artifacts
raw/playwright/workflows/stock-brands-crud-20260520T110516Z.jsonassets/screenshots/stock-brands-crud-20260520T110516Z.png