On the Sales Order I have customized an [Issue Date] and [Custom Due Date] field.
E.g. today 1/31/22 the Sales Order will have 3 dates:
• [Date] - can be the 15th of March, because it's the date of the event/service provided. So revenue will be recognized in March
• [Issue Date] - Can be sent weeks in advance, this case 1/31/22
• [Due Date] - Fixed date (based on contract), e.g. 5 days before date of event - 3/10/22
When approved the invoice generated should have the same [Date] and [Due Date] from the Sales Order approved. The [Issue Date] must return always today's date.
If approved and sent by AR in 2 days, the [Issue Date] must the 2/2/22.
And now the problem: The posting period isn't updated accordingly to the [Date] field.
Posting period should be March in any case, but shows January for today or February for tomorrow.
If I click on the [Date] field and choose the exact same date, an event gets triggered and the posting period is updated automatically to March. But with the WF it unfortunately doesn't trigger this event.
Hope it's clear..