Skip to main content
Question

Conditional Total On Form


Forum|alt.badge.img+8

Hi Guys,

 

I am looking to implement a new data field which calculates totals based on whether a particular detail is true.

 

My current code is:

[PXFormula(typeof(Case<Where<CROpportunityProducts.usrIsPanel.IsEqual<True>>>.
                     Sum(CROpportunityProducts.quantity)))]

Not sure if I am using the correct syntax for the PXFormula attribute as i have never used it before.

 

Thanks in advance all!

Aleks

Reply


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