Skip to main content
Solved

Display Custom Fields in the Modern UI

  • Mar 16, 2026 9:38 AM UTC
  • 3 replies
  • 133 views
  • Translate All

Forum|alt.badge.img

I intend to add custom fields to the Payment Summary section of the AR302000 screen. These two custom fields are intended to appear specifically when the View is set to "Document." However, it seems that despite having implemented the code, the changes are not taking effect. Where might the issue lie?

Best answer by AndrewZ

​@Vard86 

I added `isvisible=true` in the C# backend, and that resolved the issue.

Thank you!

View original

3 replies

Forum|alt.badge.img+1
  • Semi-Pro II
  • Mar 16, 2026 10:53 AM UTC

Hello ​@AndrewZ ,

Please try this code.

.ts file.

import {ARPayment} from  "src/screens/AR/AR302000/AR302000";

import {
PXFieldState, PXFieldOptions
} from "client-controls";

export interface AR302000_BZTest extends ARPayment { }
export class AR302000_BZTest {
AAA: PXFieldState<PXFieldOptions.CommitChanges>
BBB: PXFieldState<PXFieldOptions.CommitChanges>
}

.html file

<template>
<field name="AAA" after="#columnThird-Document FIELD[name='CuryConsolidateChargeTotal']"></field>
<field name="BBB" after="#columnThird-Document FIELD[name='AAA']"></field>
</template>

Regards,
Vard

Translate

Forum|alt.badge.img
  • Author
  • Freshman II
  • Answer
  • Mar 19, 2026 8:44 AM UTC

​@Vard86 

I added `isvisible=true` in the C# backend, and that resolved the issue.

Thank you!

Translate

Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • Mar 19, 2026 6:23 PM UTC

Thank you for sharing your solution with the community ​@AndrewZ!

Translate