We are trying to Extended DAC Fields in the Ship via Code screen Details tab section classic to Modern UI .DAC has 2 extended fields need to display it in the modern UI Ship via Code.
tried with below code, Unable to see fields in Modern UI, below screenshot red marked field need to display it in the modern UI Ship via Code screen Details tab section.

here am sharing the DAC And Modern UI TS and html files
DAC

Typescript
import { PXFieldState, PXFieldOptions, PXView } from "client-controls";
import { Carrier2 } from "../CS207500";
export interface Details_customfields extends Carrier2 { }
export class Details_customfields {
UsrNAWFreightAccrualAcctID: PXFieldState<PXFieldOptions.CommitChanges>;
UsrNAWFreightAccrualSubID: PXFieldState;
}
HTML
<template modify="#tabDetails">
<field name="UsrNAWFreightAccrualAcctID"></field>
<field name="UsrNAWFreightAccrualSubID"></field>
</template>
