I want to update suppliers method of payment from excel sheet to suppliers info in AX 2012 using code.
can anyone help me with a code for updating
You can use DIXF/Excel Addin/Any third party applications like ATLAS/User normal custom code for update and read from CSV file.
In case you are beginner search for write CSV import code, many examples are already available.Make sure you use all standard validation while updating standard field.
In case of any specific question your screen shots of any errors while updating field will be appreciable.
Can you send me a link ?
I have a excel sheet with standard fields and am suppose to update method of payments for suppliers using x++ code in ax 2012
If theres any appropriate link which can help me out in this then can u please help me out by forwarding
Why do you explicitly require writing code if it's not needed? Not only you'd have to design and write the code, but you'd also have to test it, deploy it and keep maintaining it.
Providing link is not at all Problem Mr.Sani But i see this as more beginner level thing so try to search from yourside and consult your seniors before running code.Updating standrard fields are never recommended in Dynamics via code since you need to consider multiple impacts of it.
Start doing below activity first.
1.Get the exact requirement from your functional and ask them reason behind updating this.
2.Explain them impact of updating standard fields via code.
3.If there is no other option and there is specific scenario why they need this then mention in this thread so that i can have a look into this.
If all above 3 points are clear then i can guide you whether you should write or not.....
Hi Mr Manas , Have clarified with all the 3 points, its alike no other option have to update method of payments from excel sheet to all suppliers in ax2012 ,
can you help me with a code
How many are you changing?
Why are you changing them?
How often will this happen?
Why can you not use the Excel add-in?