Hi,
So when i've created 2 fields in the Nonstock Item table which exist by default on the Item table. Now when convering a nonstock item to an item i want to copy the content of those fields from nonstock item to item.
Now i found a codeunit called "Catalog Item Management" with the event 'OnAfterCreateNewItem' to work with an eventsubscriber. Now the default variable in that eventsubscriber is only a record it the Item table. Now I basically would also need to get the table from the nonstock page i'm working on so that i could copy the field content.
So i was wondering in what way i can acces that record with the correct filters.
EDIT:
Solved using the OnBeforeCreateNewItem event.