So I have been tasked with creating all the time sheets for business central; I've been adding in little features such as vacation balance, sick balance, TIL etc.
I implemented a fact box on the timesheet itself, but when entering values into a timesheet, my Rec."Total Quantity" remains at 0 in my code behind as I debug through the code. If I open the page inspector and look at my field values, it displays the correct value for the calculation for each line. I have no idea why I can't see this value in my code behind, and I would appreciate any help.
Has anyone else had this problem before? I'm very confused as to why It wont let me use the values of Total Quantity.