I forwarded these details over to our Microsoft partner, so that hopefully a ticket is opened with Microsoft. Just wanted to post the details here in case someone might have some insight.
We are presently using BC 365 SaaS v23.1. We have a routine that allows the user to select Posted Purchase Receipt lines and push them into a new Purchase Invoice. That /push/ just uses the base Microsoft Codeunit::/Purch.-Get Receipt/ CreateInvLines() procedure. This all passed UAT back last summer, but now when testing again we notice an apparent bug.
Say we have a Posted Purchase Receipt line that has a Global Dimension Code 1 value assigned as 'NASH.' Debugging the routine, we can see this value in the Posted Purchase Receipt line being fed into the CreateInvLines() procedure. But when the Purchase Invoice line is subsequently created, the Global Dimension Code 1 value for the line appears to revert to what's defined in the Purchase Invoice header. In this case that would be 'DCH,' which is unexpected and breaks the logic one would expect.
I will attach some screen shots below. Can anyone feedback as to experiences like this?