I am facing with interesting task: in crm 2011 I have an invoice form in which placed subgrid with Invoice Line items. Invoice Line entity form contains currency fields and currency lookup and the problem is that all fields which related to currency in Invoice Line displayed with US Dollar sign '$' but all them need to display sign according to the value selected in 'Document Currency' field of an Invoice.
It can be GB pounds and when I create Invoice Line entity form it currency lookup displayed as GB pounds, but currency fields still displayed with US Dollar sign '$' . And only when user change it to null and back to GB pounds them changes.
I send Invoice document currency value's id and name as parameters ( p_DocumentCurrencyId, p_DocumentCurrencyName) to invoice line entity form and fill currency lookup on it as foloving:
Xrm.Page.getAttribute("transactioncurrencyid").setValue([{ id: parameters["p_DocumentCurrencyId"], name: parameters["p_DocumentCurrencyName"], entityType: "transactioncurrency"}]);
Please help!