Skip to main content
Solved

custom field not populating

  • Jun 22, 2022 10:33 AM UTC
  • 4 replies
  • 310 views
  • Translate All

param2022
Jr Varsity II
Forum|alt.badge.img

I have added a custom field it is perfectly able to save the data in my table but when I open that record to edit field is always empty. What am I missing here ?

 

namespace PX.Objects.CR
{
public class CROpportunityExt : PXCacheExtension<PX.Objects.CR.CROpportunity>
{
#region UsrProbability
[PXDBInt]
[PXIntList(
new int[]
{10,20,30,40,50,60,70,80,90,100},
new string[]
{"10%","20%","30%","40%","50%","60%","70%","80%","90%", "100%"})]
[PXUIField(DisplayName = "Probability")]

public virtual int? UsrProbability { get; set; }
public abstract class usrProbability : PX.Data.BQL.BqlInt.Field<usrProbability> { }
#endregion
}
}

 

Best answer by Naveen Boga

Hi, @param2022  The above field should be added in the below Two DAC extensions. Then only it will work.

  1. PX.Objects.CR.CROpportunity
  2. PX.Objects.CR.Standalone.CROpportunity

Refer the below link and it will help you to solve your problem.

https://stackoverflow.com/questions/50880116/custom-field-on-cropportunity-doesnt-display-saved-value-since-upgrading-from-6 

View original

4 replies

Forum|alt.badge.img+1

Hi @param2022

Could you please try to check the Trace Log like the below, It will provide some information.

 

 

Thanks,

Moulali Shaik.

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Answer
  • Jun 22, 2022 10:56 AM UTC

Hi, @param2022  The above field should be added in the below Two DAC extensions. Then only it will work.

  1. PX.Objects.CR.CROpportunity
  2. PX.Objects.CR.Standalone.CROpportunity

Refer the below link and it will help you to solve your problem.

https://stackoverflow.com/questions/50880116/custom-field-on-cropportunity-doesnt-display-saved-value-since-upgrading-from-6 

Translate

param2022
Jr Varsity II
Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • Jun 22, 2022 11:01 AM UTC

@Naveen Boga  I will check it for opportunity.

But I am facing same issues in SOShipment DAC extension. I have added a new tab in Shipment screen.

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Jun 22, 2022 11:12 AM UTC

Hi Param, The above post subject is related to the CROpportunity, let me know if you have any queries on this?

It would be good if you can create a different post for the Shipment DAC issue, so other people can also review and help you out.

 

Translate