Skip to content

2 new events to avoid "Item.Testfield("Inventory Value Zero", false)" #29953

@MirenToledo

Description

@MirenToledo

Why do you need this change?

Hello,

A few months ago I opened 2 tickets which are already solved and the code is being released. The tickets were:
https://github.com/microsoft/ALAppExtensions/issues/29283
https://github.com/microsoft/ALAppExtensions/issues/29284

We tested the functionality and it partially works, but unfortunately there are another 2 places into the code where the instruction Item.Testfield("Inventory Value Zero", false) is included and it prevents working with these type of items.

The instruction is found here:

  1. codeunit 99000762 "Mfg. Item Journal Mgt." - procedure OnValidateItemNoOnAfterValidateUnitofMeasureCode
  2. table 83 "Item Journal Line" - "Item No." - trigger OnValidate()

We didn't notice these 2 cases when we requested the first 2 tickets, but now that we're conducting the initial tests, we've realized it.

Would it be possible to make the same change also on these two objects in a short amount of time?

Thank you in advance.

Describe the request

A few months ago I opened 2 tickets which are already solved and the code is being released. The tickets were:
https://github.com/microsoft/ALAppExtensions/issues/29283
https://github.com/microsoft/ALAppExtensions/issues/29284

We tested the functionality and it partially works, but unfortunately there are another 2 places into the code where the instruction Item.Testfield("Inventory Value Zero", false) is included and it prevents working with these type of items.

The instruction is found here:

  1. codeunit 99000762 "Mfg. Item Journal Mgt." - procedure OnValidateItemNoOnAfterValidateUnitofMeasureCode
  2. table 83 "Item Journal Line" - "Item No." - trigger OnValidate()

We didn't notice these 2 cases when we requested the first 2 tickets, but now that we're conducting the initial tests, we've realized it.

Would it be possible to make the same change also on these two objects in a short amount of time?

Thank you in advance.

Internal work item: AB#632879

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an event

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions