Showing new Dimension Set in Posting Preview

EquinoxDK
EquinoxDK Member Posts: 7

Problem:
As part of posting of a Sales Order we generate G/L ledger entries and assign a new Dimension Set ID to them. When we run Preview Posting we see the generated G/L Entries but the dimensions are empty (Global Dimensions are filled out). Inspecting the line we can see a new Dimension Set ID is generated. If we post the order, the dimensions are all ok, it is only in preview.

Code is run through event: OnAfterPostSalesLines in codeunit 80 "Sales-Post"

Any idea why the preview of Dimensions are missing?

Comments

  • AlexeyShamin
    AlexeyShamin Member Posts: 82

    Hi

    Which version of BC are you using? and do you have customization in codeunit 80?