cancel
Showing results for 
Search instead for 
Did you mean: 

Need FMS for Closing Stock in sales Order.

former_member261836
Participant
0 Kudos

Hi EveryOne,

Thanks you  very much for all your help. in one of my client I have made FMS for closing stock in sales order document where formula is my RDR1.Quantity - RDR1.OnHand fields in sales order.

Please this FMS and calrify me where I am wrong.

"SELECT $[RDR1.onhand].number\] - $[RDR1.Quantity].number\]"

Thanks &Re grads

Vedanth

Accepted Solutions (1)

Accepted Solutions (1)

Johan_H
Active Contributor
0 Kudos

Hi Vedanth,

Nagarajan's solution should work, but also:

SELECT $[RDR1.onhand.number] - $[RDR1.Quantity.number]

A possible error might be caused by timing. Meaning that the FMS may be triggered before the RDR1.OnHand and/or RDR1.Quantity field gets a value.

This you can try to solve with FMS refresh settings and/or with the ISNULL statement or a CASE statement.

Regards,

Johan

Answers (2)

Answers (2)

former_member261836
Participant
0 Kudos

Hi Johan

Thank you very much "Mr. Nagarajan" solution is working.

regards

Vedanth

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

Please try this,

SELECT $[$38.33.number]-$[$38.11.number]

Thanks