We are trying to Extended DAC Fields in the Customers screen GL accounts tab classic to Modern UI .DAC has 1 extended fields need to display it in the modern UI Customers screen GL accounts tab.
tried with below code, Unable to see fields in Modern UI, below screenshot red marked field need to display it in the modern UI Customers screen GL accounts tab.

DAC

Typescript
import { AR303000, Customer2 } from "src/screens/AR/AR303000/AR303000";
import { PXFieldState, PXFieldOptions } from "client-controls";
export interface GLAccount_customfields extends Customer2 {
UsrPSOCogsSubID?: PXFieldState<PXFieldOptions.CommitChanges>;
}
export class GlAccount_customfields {
UsrPSOCogsSubID?: PXFieldState<PXFieldOptions.CommitChanges>;
}
HTML
<template>
<field after="#columnFirstGlAccounts [name='COGSAcctID']"
name="UsrPSOCogsSubID"></field>
</template>
When Switched to Modern UI getting below error see in screenshot


