Hi
After migrating to V7, noticed that the number formatting for Associated Entity is not displayed properly. It is displayed as 000,000.00 but it was working in V6 as 000000 when I used the # sign as the format.
Hi,
This is a technical forum. Without details we cannot reproduce the problem and cannot help you at all.
Please attach a minimal sample of code that illustrates the issue, so it will be useful not only for you but for the entire community.
HI
Sorry, it was too brief. Here is more details:
-
Entity definition of “Material requisition” where the field docNumber is formatted with #.
public class MaterialRequisition extends StandardTenantEntity { private static final long serialVersionUID = 6750964065628093022L; @NumberFormat(pattern = "#") @Column(name = "DOC_NUMBER") protected Long docNumber; -
This works in displaying the “docNumber” field like the following:

- However, when MaterialRequisition is Associated with “PurchaseRequisition” then the Material Requisition docNumber shown as follows:

Hope it is clear. Thanks in advance for your help.
Thank you, we have reproduced the problem. Will try to include fixes to the next bug-fix release.
1 Like