Workflow

How to Change a Line Description on a Sales Invoice

Verified end to end. Demo run sales-invoice-line-description-20260519T205155Z changed an FT line description to Consultoria operacional OfficeGest, saved FT 9999/1695, and verified the final FT line retained DesignacaoExt.

Evidence Summary

Create route
/vendas/ft/create
Final view
/vendas/ft/view/OTk5OTAxNjk1
Created invoice
999901695 / FT 9999/1695
Customer
[910] 100 Ouvidos Lda
Custom description
Consultoria operacional OfficeGest
Evidence file
raw/playwright/workflows/latest-sales-invoice-line-description.json

Verified sales invoice line description workflow

When to Use This

Use a line description change when the article is correct but the customer-facing invoice line needs clearer wording, project context, or service detail. The verified edit only changed the descriptive text; quantities, VAT, and totals stayed unchanged.

Step-by-Step

  1. Open Sales / Invoice [FT], then click New document, or navigate directly to /vendas/ft/create.
  2. Select the customer and confirm the mandatory invoice fields. The verified run used customer 910, seller 1, and employee 1.
  3. Add the article line. The verified run inserted article AI-DEMO-20260519-021105, quantity 1, warehouse 1.
  4. In the document lines table, edit the article description/designation cell. The editable UI case is DesignacaoOri, but the value is saved into DesignacaoExt.
  5. Enter the custom line wording. The verified run used Consultoria operacional OfficeGest.
  6. Wait for the document-line grid to reload and confirm DesignacaoExt now contains the custom wording.
  7. Click Save and Finish, then confirm Are you sure?.
  8. Verify the saved invoice view still shows the custom line description.
  9. Verify the FT list row. Because this is a description-only change, the verified list total stayed 1.97.

Verified Behavior

CheckObserved result
Before editThe inserted line had DesignacaoOri=AI Demo Article 20260519T021105Z and empty DesignacaoExt.
Description editupdateEditableTabDoc returned {"success":true,"msg":""} for campo=DesignacaoExt.
After grid reloadThe line returned DesignacaoExt=Consultoria operacional OfficeGest.
Final viewThe saved FT line retained DesignacaoOri as the article name and DesignacaoExt as the custom description.
List stateThe FT list returned FT 9999/1695 as ABR / Open with total and pending value 1.97.

The edit function limits normal article-line descriptions to 120 characters. Lines with article code . use a larger 220-character maximum.

Backend Calls Observed

Action or endpointPurpose
NameEntidadesLoads customer billing data after customer selection.
loadArtigoReducido / insertLinhaTabDocLoads and inserts the invoice article line.
updateEditableTabDocUpdates the line field DesignacaoExt.
DT_TabDocumentoReloads the document-line grid after the description edit.
saveDocumentSaves the final FT invoice after confirmation.
DT_List_DocumentosVerifies the invoice list row after save.

Raw evidence: raw/playwright/workflows/sales-invoice-line-description-20260519T205155Z.json. Screenshots: assets/screenshots/sales-invoice-line-description-20260519T205155Z-01-create-page.png through assets/screenshots/sales-invoice-line-description-20260519T205155Z-04-final-view.png.