Skip to content

[W1][Report][6699][Move Negative Sales Lines] Replace FromDocType, ToDocType, and ToDocType2 Option variables with extensible Enums #30348

Description

@mavohra

Why do you need this change?

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing-infoThe issue misses information that prevents it from completion.

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions