[Bug]: Work Description is not transferred from Sales Order to Prepayment Invoice in BC28 when "Calc. Inv. Discount" setting is toggled ON in Sales & Receivables Setup (use to work in BC27)
Nobody has claimed this yet.
- Dominant language
- AL
- Stars
- 683
- Forks
- 459
- Avg merge
- 3d 26m
- Merged PRs (30d)
- 633
Description
Describe the issue
[Bug]: Work Description is not transferred from Sales Order to Prepayment Invoice in BC28 when "Calc. Inv. Discount" setting is toggled ON in Sales & Receivables Setup (use to work in BC27)
Expected behavior
Work Description is supposed to be transferred from Sales Order to Prepayment Invoice
Steps to reproduce
- In Sales & Receivables Setup: Toggle setting "Calc. Inv. Discount" ON (NOTE! THIS IS KEY!)
- Create Sales Order
- Enter Customer No.
- Enter Work Description
- Enter Item No.
- Enter Quantity
- Enter Prepayment % (you may have to add this field with Personalize)
- Post Prepayment Invoice (Actions -> Posting -> Prepayment -> Post Prepayment Invoice...)
- Look at the Posted Prepayment Invoice (Related -> Prepayment -> Prepayment Invoices)
- The Posted Prepayment Invoice has no Work Description
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with "Calc. Inv. Discount" enabled in Sales & Receivables Setup, following the listed Sales Order and Prepayment Invoice steps. Trace the prepayment posting flow from the Sales Order to the Posted Prepayment Invoice and verify that Work Description is transferred; add regression coverage if the repository's existing tests identify a suitable location.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100