Hello There,
I have been trying to use a .NET assembly in business rule, but
neither I’m getting desired output nor any errors.
my rule looks like:
I’m using two different schemas.
Schema1.Qty (string type storing 10.4 as value)
Schema1.ID (string type storing FD2543)
Schema1.Amount (string type)
Schema2.UnitPrice (string type storing 5.5 as value)
Schema2.ID (string type storing FD2543)
if Sch1.ID == Sch2.ID then
Sch1.Amount = (Sch1.Qty * Sch2.UnitPrice)
//but obvious the above multiplication will not work, as all are
string types.
I made a small assembly which converts the Qty & UnitPrice into double
and return the amount in string.
It’s not working, please help urgently.
Thanks a tonne in advance.
harry