Skip to content

[Bug]: User-selected Audit File Export Format gets overwritten on insert when creating document via Page #29859

Description

Describe the issue

When a user creates a new Audit File Export Document through the "Audit File Export Doc. Card" page (5267), any value they select for the "Audit File Export Format" field is overwritten when the record is inserted.

I suggest to check if "Audit File Export Format" is already set before overwriting it in OnInsert.

Expected behavior

When a user manually selects a value through the UI, that value should be preserved. The default from setup should only be applied when:

Creating a record programmatically without specifying the format
The user hasn't already selected a value

Steps to reproduce

Open page 5267 "Audit File Export Doc. Card"
Create a new record (user sees blank card)
Select a value for "Audit File Export Format" field
Move to another field or save the record
The selected value is replaced with the default from setup

Additional context

No response

I will provide a fix for a bug

  • I will provide a fix for a bug

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

FinanceGitHub request for Finance areaapprovedThe issue is approved

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions