Tech Support > Microsoft Windows > Windows CRM > Price Lock Order Issue
Price Lock Order Issue
Posted by @VGroupby1 on February 19th, 2008


Does anyone know of a way to change the "Prices Locked" field on the Order
form? I read somewhere that I can be changed from the Quote form, but I
can't find this option anywhere. I can't force a change to this field
through javascript either, the field seems to be set in its own way.

Posted by George Doubinski on February 19th, 2008


Action->Use Current Pricing menu.
It will change to Action->Lock Pricing once price is unlocked.

Hope this helps.

--
George Doubinski
CRM Certified Professional - Developer
Blog: http://crm.georged.id.au/


"@VGroupby1" <VGroupby1@discussions.microsoft.com> wrote in message
newsB30F142-6874-46EB-9BC3-A49D993D3E4C@microsoft.com...


Posted by @VGroupby1 on February 19th, 2008


I actually knew this already. The issue is that the Price Lock is effecting
an Integration we have so we need to either find a way to default to to not
locked and keep it permanently unlocked.

"George Doubinski" wrote:

Posted by George Doubinski on February 20th, 2008


I see... How about creating a postcreate callout (I'll assume CRM 3) that
would unlock the pricing by using LockSalesOrderPricing Message:
http://msdn2.microsoft.com/En-US/library/aa682767.aspx? You can also add a
postupdate callout preventing the changes to the field but I have a
suspicion that it might not get called if user selects Lock Pricing menu
item (there are known issues with callouts in SFA area in CRM 3).

The reason I'd avoid modifying this field directly on the form (even if you
succeed) is that LockSalesOrderPricing message does a bit more than flips
the bit - it also cascades the changes to salesorderdetail entity.

Does it help?
--
George Doubinski
CRM Certified Professional - Developer
Blog: http://crm.georged.id.au/


"@VGroupby1" <VGroupby1@discussions.microsoft.com> wrote in message
news:A6C535A4-CBB4-4C46-B7EA-D78F6819D7FB@microsoft.com...