When I run a script that copies quote information over from the item details tab to the sourcing tab, I get the following warning message on the sourcing tab:

However, the scripting documentation says the following:

Therefore, unless I'm missing something, the warning message will always be there for any quote added via a script, and if the user wants the correct cost to be included in the BOM, they will always have to specify that the listed quote is the default quote. This should not be the case. I should be able to have write access to the choice of the default quote.