Skip to main content
Solved

Unable to Convert Extended DAC Fields in the Sales order details tab grid fields classic to Modern UI

  • April 9, 2025
  • 1 reply
  • 42 views

Forum|alt.badge.img
  • Freshman II
  • 11 replies

Hello Everyone, 

We are trying to  Extended DAC Fields in the Sales order details grid field classic to Modern UI .SOline DAC has 4 extended fields need to display it in the modern UI Sales order screen.  
tried with below code, Unable to see fields in Modern UI, below screenshot red marked field need to display it in the modern UI Sales order screen details tab grid.  
classic UI screen shot

Modern UI screen shot : fields missed

HTML file

Typescript file
 

 

Best answer by Vignesh Ponnusamy

Hi ​@Siddu,

To expose the fields in TS extension, create an interface existing existing SOLine and implement it add the fields like below,

import { PXFieldState } from "client-controls";
import { SO301000, SOLine, SOOrderHeader } from "../SO301000";
export interface SOLine_customfields extends SOLine { }
export class SOLine_customfields {
	UsrFieldOne: PXFieldState;
	UsrFieldTwo: PXFieldState;
	UsrFieldThree: PXFieldState;
}

From the SO301000.html, as in other grids Transaction grid doesn’t have the definition of fieldset and fields,

So I’m not sure, how to target and place the custom field after a specific field. I will keep you posted if I find something. Good Luck.!

View original
Did this topic help you find an answer to your question?

1 reply

Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

Hi ​@Siddu,

To expose the fields in TS extension, create an interface existing existing SOLine and implement it add the fields like below,

import { PXFieldState } from "client-controls";
import { SO301000, SOLine, SOOrderHeader } from "../SO301000";
export interface SOLine_customfields extends SOLine { }
export class SOLine_customfields {
	UsrFieldOne: PXFieldState;
	UsrFieldTwo: PXFieldState;
	UsrFieldThree: PXFieldState;
}

From the SO301000.html, as in other grids Transaction grid doesn’t have the definition of fieldset and fields,

So I’m not sure, how to target and place the custom field after a specific field. I will keep you posted if I find something. Good Luck.!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings