Page 1 of 1

Stimulsoft report

Posted: Wed Aug 26, 2015 11:52 am
by Nagasubramaniam
Hi All,

I am an ERP application user and novice to stimulsoft reports, I need help on the below topic

I am using the below code for an item to display my data

{IIF(PurchaseOrders.BillToName == "ABCD",1,0)},

then on each line item the system throws a value 1 and o based on the expression,

But my requirement is to basically have the value of the price in place of 1

The price is given such a value and throws correctly, but how can i make it reflect here, so I can add all the 1,s (i.e the values in place of 1's)

{FabSuite.priceToDisplay(PurchaseOrders.POCurrencyID, PurchaseOrders.TotalLessTermsDiscount)}

Kindly assist

Re: Stimulsoft report

Posted: Wed Aug 26, 2015 12:16 pm
by HighAley
Hello.

If we understand you correctly, you could use next expression:

Code: Select all

{IIF(PurchaseOrders.BillToName == "ABCD",FabSuite.priceToDisplay(PurchaseOrders.POCurrencyID, PurchaseOrders.TotalLessTermsDiscount),0)}
The whole expression should be in braces. All other text is shown as plain text.

Thank you.

Re: Stimulsoft report

Posted: Thu Aug 27, 2015 4:00 am
by Nagasubramaniam
The reply is Logical, so I tried that earlier as well, below is the reply.

The name "Fabsuite" does not exist in the current context

Re: Stimulsoft report

Posted: Thu Aug 27, 2015 8:03 am
by HighAley
Hello.

Then we need a sample report template with data to help you.
Please, send us all that will help us to reproduce the issue and we will suggest you a solution.

Thank you.