Announcements
Hi Experts !
I'm here to seek help from you
I'm receiving the error known "There is no argument given that corresponds to the required formal parameter 'OldItemCategoryCode' of 'InheritAttributesFromItemCategory(Record Item, Code[20], Code[20])"
Kindly I need your help to resolve this
Thanks & Regards
You need to make sure you call this function with the correct parameters according to the method signature.
InheritAttributesFromItemCategory(Record Item, Code[20], Code[20])"
It takes 3 parameters, item record and two code values.
The AL editor should show you what line of code is causing the problem in the problems output section.
If you do not figure it out, please share that section of your code.
Hi ,
Are you meant it to Debug and Publish it .
Thanks & Regards
Karthikeyani C
Hi,
Please try to use the Debug, it will stop to exact error position.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156