Skip to content

table 246 "Requisition Line" field(9; "Vendor No."; Code[20]) trigger OnValidate #29530

@Kotaite

Description

@Kotaite

Why do you need this change?

At 4PS Construct, we have specific requirements for updating vendor item information in requisition lines to align with our customized item and vendor data management processes. The standard OnValidate trigger for the "Vendor No." field always updates vendor item details (such as vendor item number, lead time, and costs) when the vendor matches the item's vendor. However, this can lead to unnecessary or incorrect updates in certain scenarios, such as when the item record already contains the correct vendor-specific information. We need to allow custom logic to conditionally skip this update to prevent overwriting valid data or to apply alternative handling based on business rules.

To correctly implement this conditional update, we need a new event OnBeforeUpdateVendorItemInfo and variable UpdateVendorItemInfo

Describe the request

Dear ALAppExtensions team,
On behalf of 4PS, I would like to request a new integration event OnBeforeUpdateVendorItemInfo, and variable UpdateVendorItemInfo in table 246 "Requisition Line" field(9; "Vendor No."; Code[20]) trigger OnValidate

Current code:

Image

Suggested extensibility:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an eventmissing-infoThe issue misses information that prevents it from completion.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions