Upload Custom Javascript

Hi,

I'm working on a project at sugarcrm on demand instance.

I need call an API when i add a new line item on Quotes module for get the product price and stock.

I'm trying to insert a new JS file but it dosent work, someone can help me. I follow this instrucctions on sugar documents that show here 

Regartz,

Claudio Viva.