add an a value to the autonumbering
-
14 Juni 2012 12:16
hello i generated an a autonumber in the custom entity that is CRM-001
i requirement is i have an a drop down attribute it contains 4 values in it that is some crm,xrm,erp,erp1
if we select an a crm,xrm or erp or any other in the dropdown it should add before the autonumber attribute that is erp-CRM-001
guys if you any solution please help me
ms crm
Semua Balasan
-
14 Juni 2012 22:11
I am sure you have some basic ideas about XRM
You could achieve this with the help of
1. Workflow
2. Javascript
Using Workflow
Run the workflow on create of your record.
Create a new entity that will store the values of your autonumber (Add three attributes i.e prefix, postfix, center) create four records (crm,xrm,erp,erp1)
In first step of your workflow fetch the values from the above records and put them on your custom entity
In second step update your postfix with 1.
Using Javascript
Create a new entity that will store the values of your autonumber (Add three attributes i.e prefix, postfix, center) create four records (crm,xrm,erp,erp1)
http://danielcai.blogspot.com/2010/01/crm-web-service-javascript-toolkit.html
Using danielcai toolkit retrieve single (Pass Static GUID)event (on Picklist change) and update your entity(add 1 in postfix) event(onSave)
IF you need more information please let me know
I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.
Mubasher Sharif
Check out my about.me profile!
http://mubashersharif.blogspot.com
Linked-In Profile
Follow me on Twitter!
- Diedit oleh MubasherSharif 14 Juni 2012 22:12