Skip to content

[Event Request] Codeunit 7205 CDS Int. Table. Subscriber OnBeforeSetSalespersonPurchaserCode #30021

@elweilando

Description

@elweilando

Why do you need this change?

When data is written to the Salesperson/Purchaser table via Dataverse synchronization, the codeunit generates a fixed code that cannot be modified or defined through a number series. As a result, synchronization can only use this predefined pattern as the code.

It would make sense to provide an event here so that developers can intervene in the process.

Describe the request

The pattern is hardcoded in the codeunit
Image

There is no chance to change this. Also in the calling events, there is no option to change the code before the insert.
Please add an event before the code is set, which can be controlled via Handled so that the standard logic can be skipped.

Image Internal work item: [AB#635600](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/635600)

Metadata

Metadata

Assignees

No one assigned

    Labels

    IntegrationGitHub request for Integration areaevent-requestRequest for adding an event

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions