Skip to content

[Bug]: Business Foundation - No Series - TestManual with empty NoSeriesCode #5642

@BernhardKloibmueller

Description

@BernhardKloibmueller

Describe the issue

The procedure TestManual in the NoSeries Codeunit does not work like in the legacy NoSeriesManagement as well as described in the remark-section of help.

Expected behavior

The procedure TestManual (all overloads) in the Codeunit NoSeries accept empty NoSeriesCodes and handle it like the No. Series would be set up to allow manual numbers.

Steps to reproduce

call the procedure TestManual of the codeunit 310 "No. Series" with an empty NoSeriesCode.
NoSeries.TestManual('');

This line of code should not raise an exception regarding the existance of the No. Series.

Additional context

In the remark if the procedure it is stated that it will accept empty NoSeries Codes and use it as it would accept manual numbers.
the old NoSeriesManagement did also accept empty NoSeries Codes.

I also checked for tests regarding this, there is currently no test verifying the TestManual procedure, should there be a test added as well?

I will provide a fix for a bug

  • I will provide a fix for a bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    IntegrationGitHub request for Integration area

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions