Solved

how to add new field on document details

  • 14 April 2021
  • 1 reply
  • 132 views

Userlevel 2
Badge

Could someone know how to add new field? I need to put extra info here. thank you

 

 

icon

Best answer by Naveen Boga 14 April 2021, 06:00

View original

1 reply

Userlevel 7
Badge +17

Hi @pandachan48 

To add a new field in Document details, you need to extend the CROpportunityProducts DAC and add this field to cr304000 .aspx page.

 

I just added a test field and please find the sample example below.

CROpportunityProducts Extended DAC

using PX.Data;
using PX.Data.BQL;
using PX.Objects.CR;

namespace Test
{
public class CROpportunityProductsExt : PXCacheExtension<CROpportunityProducts>
{
#region UsrKNDisplaySKU
[PXDBString(50, InputMask = "")]
[PXUIField(DisplayName = "Test Field")]
public string UsrTestField { get; set; }
public abstract class usrTestField : BqlString.Field<usrTestField> { }
#endregion
}
}

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved