You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
[W1][Report][6699][Move Negative Sales Lines] Replace FromDocType, ToDocType, and ToDocType2 Option variables with extensible Enums #30348
The Move Negative Sales Lines report uses the global variables FromDocType, ToDocType, and ToDocType2, all of which are of type Option to determine the supported document types.
Since Option variables are not extensible, partners and ISVs cannot introduce additional document types through a report extension. This forces direct Base Application modifications for scenarios that should otherwise be supported through extensibility.
Replacing these option variables with extensible enums would enable extension-based customizations while preserving the existing report behavior.
Describe the request
Our extension introduces additional sales document types that need to participate in the Move Negative Sales Lines process.
The report determines the source and destination document types using the global option variables FromDocType, ToDocType, and ToDocType2. Because these are Option variables, there is currently no supported way to add new document types through a report extension.
Replacing these variables with extensible enums would provide a supported extensibility point, allowing partners and ISVs to extend the report without requiring Base Application customizations.
Internal work item: AB#642554
Enum definition: Please provide the full proposed enum definition for each replacement enum for FromDocType, ToDocType, and ToDocType2, including the enum name, all values, captions, and ordinals.
Please update the issue with the missing details. We'll automatically re-analyze once updated.
Note
Automatically generated by the Triage Agent — advisory only. An engineer will review before any action is taken.
Tip
Not accurate? Reply with /not-accurate (optional: add a short explanation). Your feedback improves future responses.
Proposed replacement enums, preserving the exact ordinals/captions of the current Option values so the change is non-breaking for any existing callers (AssignmentCompatibility = true):
✅ Analysis complete - ready for further processing
Implementation:
Replace global variables FromDocType, ToDocType, and ToDocType2 in report 6699 Move Negative Sales Lines with extensible enums, using enum 6699 "Move Neg. Sales Lines From Type" for FromDocType and enum 6700 "Move Neg. Sales Lines To Type" for ToDocType and ToDocType2, preserving the current ordinals and captions with AssignmentCompatibility = true.
Activity
[-][W1][Report][Move Negative Sales Lines] Replace FromDocType, ToDocType, and ToDocType2 Option variables with extensible Enums[/-][+][W1][Report][6699][Move Negative Sales Lines] Replace FromDocType, ToDocType, and ToDocType2 Option variables with extensible Enums[/+]github-actions commentedon Jul 13, 2026
Hi Ahmed Vohra (@mavohra),
Thank you for your extensibility request. To help us process it efficiently, please update the issue to include the required information.
📚 Extensibility Guidelines
Missing Information:
FromDocType,ToDocType, andToDocType2, including the enum name, all values, captions, and ordinals.Please update the issue with the missing details. We'll automatically re-analyze once updated.
Note
Automatically generated by the Triage Agent — advisory only. An engineer will review before any action is taken.
Tip
Not accurate? Reply with
/not-accurate(optional: add a short explanation). Your feedback improves future responses.mavohra commentedon Jul 17, 2026
Enum definition
Proposed replacement enums, preserving the exact ordinals/captions of the current
Optionvalues so the change is non-breaking for any existing callers (AssignmentCompatibility = true):FromDocTypeToDocType/ToDocType2Both variables use the same six document types today (
Option ,,"Order",Invoice,"Return Order","Credit Memo"), so one enum can serve both:github-actions commentedon Jul 17, 2026
✅ Analysis complete - ready for further processing
Implementation:
Replace global variables
FromDocType,ToDocType, andToDocType2in report 6699Move Negative Sales Lineswith extensible enums, using enum6699 "Move Neg. Sales Lines From Type"forFromDocTypeand enum6700 "Move Neg. Sales Lines To Type"forToDocTypeandToDocType2, preserving the current ordinals and captions withAssignmentCompatibility = true.File:
MoveNegativeSalesLines.Report.alNote
Automatically generated by the Triage Agent — advisory only. An engineer will review before any action is taken.
Tip
Not accurate? Reply with
/not-accurate(optional: add a short explanation). Your feedback improves future responses.AleksandricMarko commentedon Sep 3, 2026
Hello Ahmed Vohra (@mavohra),
Report "Move Negative Sales Lines" is pretty simple.
Why do not you create your own version for specific scenarios you have?
AleksandricMarko commentedon Oct 16, 2026
Closing as not planned.
In case you still need it, please open new issue on BCApps (https://github.com/microsoft/BCApps/issues)