Message 1 of 15
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I can set the quantity in a BOM to be static by hand, and insert the quantity I want to.
And once it is set to static I can change the quantity programatically:
CComBSTR bstrNewTotalQuantity = L"666,666" ; ThisBomRow->put_TotalQuantity(bstrNewTotalQuantity);
However I can't find out how to set the BOM quantity item to static from within my program. Both my tests and the help say that put_TotalQuantityOverridden can only be used to set things to FALSE.
How can I do with the API what I do by hand, i.e. set TotalQuantityOverridden to TRUE?
Or have I missed something?
Solved! Go to Solution.