Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: Why calling the codeunit does not work by both methods?

$
0
0
Hi Sean, I think that Ishwar is on the right track. If you set the TableNo property of the codeunit to 5406, then the OnRun trigger will take that record as an argument. In that way, your AutoassignSerials(ProdOrderLine) would pass your working copy of ProdOrderLine to your codeunit as intended. Hope that helps,

Viewing all articles
Browse latest Browse all 11285

Trending Articles