Skip to main content

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 inti]
{10,20,30,40,50,60,70,80,90,100},
new stringi]
{"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
}
}

 

Hi @param2022

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

 

 

Thanks,

Moulali Shaik.


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 


@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.


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.

 


Reply