Temporary Record Copying

Hello Community,

i'm kind of confused.

I got an example i would like to get solved.

If you would perform calculations on user selection in Page 981 (Payment Registration Buffer) what would be the correct way to do so?

I tried to copy the Tab981 (Temporary) into another Table of the same specification, but I can not manage it, because if i would loop through the original record to perform a newRec := Rec and newRec.Insert -> everything is getting messed up. Its bad practice to loop through the displayed record and it gives you weird results.

How can i copy the record so, i can perform all my calculations, while the original record is untouched?

  • Are you sure you're in the right forum? I have no idea what Page 981 is (although this might be just my ignorance) and newRec := Rec definitely isn't valid syntax of X++ programming language.

    If it's about Dynamics AX / Dynamics 365 for Finance and Operations, please give us more information about your problem and don't forget to mention your version of AX.

Reply Children