Hi, I am currently trying to use codeunit 22 in visual studio 2015 to post an item journal, but I am unsure of how to use the methods provided by the codeunit to achieve this. I appreciate the support.
*This post is locked for comments
Hi, I am currently trying to use codeunit 22 in visual studio 2015 to post an item journal, but I am unsure of how to use the methods provided by the codeunit to achieve this. I appreciate the support.
*This post is locked for comments
Same issue here... Is there really no way to post an Item Journal Entry (without making my own codeunit)?
The codeunit is literally called "Item Jnl.-Post Line" so you'd think it'd do what it says it does in the name...
I checked if I could do it via the "Item Jnl.-Post Batch" (codeunit 23), but it doesn't seem to have it either.
To do this I will have to obtain a developers license but thank you for the support.
Publish the Page 40 and create the Item Journal and then create a function to post the item similar in the below example and then call the Post Function
Extend the Page add the function using the below example
This is a list of functions I received from CodeUnit 22:
SetSkipApplicationCheck
ClearApplicationLog
UndoApplications
ApplicationLogIsEmpty
SetCalledFromApplicationWorksheet
SetPostponeReservationHandling
CheckItemTracking
SetCalledFromInvtPutawayPick
SetCalledFromAdjustment
RedoApplication
CostAdjust
AnyTouchedEntries
SetValuationDateAllValueEntrie
SetServUndoConsumption
SetProdOrderCompModified
What functions do you see ?
I've checked the service in the browser and on Visual Studio, but it doesnt seem to have a 'RunWithCheck' function.
You need to create the item journal line record first then and pass that to the function in the codeunit 22 RunWithCheck
André Arnaud de Cal... 291,711 Super User 2024 Season 2
Martin Dráb 230,458 Most Valuable Professional
nmaenpaa 101,156