Production Entry Revision number

SOLVED

Hi,

I've been wondering if there's a way to get the latest revision number from A Bill of Materials.

I've tried to get the value by uising  oProduction.nGetValue("Revision$", strRevisionNo) but im still getting the "000" revision number.

Thanks!