i have made a custom calculation function with if condition and it works
but doesn't want to get the subtotal amount of it and get 0 although
there is data in the same table with subtotal works in amount field but
not a custom function and i need to use the custom function i made in
another custom function, can you please help