tag:blogger.com,1999:blog-26353037546943378612024-03-13T22:41:16.426-07:00Dynamics Finance and Operations : X++In this blog I will share my experiences while implementing and customizing Dynamics AX.DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-2635303754694337861.post-9689248010515974002023-12-09T12:42:00.000-08:002023-12-09T12:42:50.731-08:00Visual Studio 2022 add-in<p style="text-align: left;"> Dynamics 365 for Finance and Operations Visual Studio add-in is now compatible with Visual Studio 2022 (VS 2022), the first 64-bit version of Visual Studio12. </p><p><a href="https://devblogs.microsoft.com/powerplatform/the-visual-studio-2022-add-in-is-now-available-for-dynamics-365-for-financials-and-operations/" target="_blank">https://devblogs.microsoft.com/powerplatform/the-visual-studio-2022-add-in-is-now-available-for-dynamics-365-for-financials-and-operations/</a></p><p><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_6b9CTIzTYNZm-ZO3WfySH1F1YktidQI0lNZDVA-31ECIZn2UXFF7EpTwTjIJkepWv_GhJEfFRbAxM_rIxMgXMuDq2eoY784JE6bpNN0j_KFha6AJOjaJRKeq4Mjmfz-cuahcLE7RS1uohA5Zr3JUnfIpXQ-JlSt-YxeMWx0ozD3s0vk4wBE3zUoP9MVf/s1024/_a6ab728b-97bf-4195-9878-1596c28c74aa.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1024" data-original-width="1024" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_6b9CTIzTYNZm-ZO3WfySH1F1YktidQI0lNZDVA-31ECIZn2UXFF7EpTwTjIJkepWv_GhJEfFRbAxM_rIxMgXMuDq2eoY784JE6bpNN0j_KFha6AJOjaJRKeq4Mjmfz-cuahcLE7RS1uohA5Zr3JUnfIpXQ-JlSt-YxeMWx0ozD3s0vk4wBE3zUoP9MVf/s320/_a6ab728b-97bf-4195-9878-1596c28c74aa.jpeg" width="320" /></a></div><br /><p><br /></p>DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-7014130885484059752015-09-09T01:16:00.000-07:002015-09-09T01:16:39.088-07:00Microsoft Dynamics AX 2012 Anti-Virus Exclusion List<div dir="ltr" style="text-align: left;" trbidi="on">
During AOS startup XPPIL (CIL) files are generated to by default: C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL<span style="color: purple;">;</span><br />
<ul>
<li>Exclude XppIL and all subfolders </li>
<li>alternatively, you may want to exclude C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\Application\Appl>, which is the local AOS store of the label files. </li>
</ul>
</div>
DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-52971604722956779992015-07-12T21:25:00.002-07:002015-07-12T21:25:21.043-07:00Dynamics Ax performance and SQL cores<div dir="ltr" style="text-align: left;" trbidi="on">
Past few days i was at the customer site who was facing many performance issues in the Dynamics AX application . Many day to day operations were extremely slow and users were complaining a lot about the application performance. In my initial investigation i found the there were many configurations in SQL which were not optimized for Dynamics AX . Max degree of parallelism was not set to 1, only one tempdb data file was created and of course there were many indexes suggestions. Other than these observations there was something unusual happening on the SQL server. SQL server had 8 cores but only 4 were utilized and were on the peak utilization most of the time. I curiously looked into this direction and BINGO ! SQL server had only 4 processor license.<br />
I used <b>sp_readerrorlog</b> to get these details. After updating the SQL license for 8 processors we got rid of many performance issues.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-FYfvMFW8vlY/VaM9fwv-vkI/AAAAAAAAAoI/bqNsi5Bm9FU/s1600/SQL1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="35" src="http://3.bp.blogspot.com/-FYfvMFW8vlY/VaM9fwv-vkI/AAAAAAAAAoI/bqNsi5Bm9FU/s640/SQL1.png" width="640" /></a></div>
<br />
<br /></div>
DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-35202643101666912892015-05-19T01:28:00.002-07:002015-05-19T01:29:27.486-07:00Azure Site Recovery solutions supported for Dynamics AX<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
If you are managing a SharePoint or Dynamics AX deployment, you can use ASR to eliminate the cost and overhead of maintaining a stand-by deployment for DR or DevTest. ASR can replicate the entire farm and bring it up on-demand for disaster recovery or for creating a production-like test copy. Any new application or configuration changes deployed on the primary farm will be automatically replicated within minutes so you do not have to invest in complex processes to keep the secondary farm up to date.<br />
<br />
<br />
<a href="http://azure.microsoft.com/blog/2015/05/04/application-aware-availability-solutions-with-azure-site-recovery/">http://azure.microsoft.com/blog/2015/05/04/application-aware-availability-solutions-with-azure-site-recovery/</a></div>
DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com1tag:blogger.com,1999:blog-2635303754694337861.post-5995024886718994552015-03-30T21:48:00.003-07:002015-05-19T05:35:04.865-07:00Microsoft announces the extension of mainstream support for Microsoft Dynamics AX 2009.<div dir="ltr" style="text-align: left;" trbidi="on">
Microsoft announces the extension of mainstream support for Microsoft Dynamics AX 2009.<br />
<br />
<a href="https://mbs.microsoft.com/customersource/northamerica/AX/news-events/news/AX2009MainstreamSupportExtend">https://mbs.microsoft.com/customersource/northamerica/AX/news-events/news/AX2009MainstreamSupportExtend</a></div>
DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-19553401671729514792011-08-20T20:48:00.001-07:002011-08-20T20:48:13.797-07:00Statement of Direction for Microsoft Dynamics AX<p>The Microsoft Dynamics AX Statement of Direction and the Microsoft Dynamics AX Vision and Roadmap presentations have been updated to reflect the general availability of Microsoft Dynamics AX 2012. They are now available on <a href="https://mbs.microsoft.com/customersource/documentation/whitepapers/statementofdirection.htm?printpage=false" target="_blank">CustomerSource</a> and <a href="https://mbs.microsoft.com/partnersource/marketing/statementofdirection/statementofdirection.htm?printpage=false" target="_blank">PartnerSource</a>. </p> <p>I liked the move towards the Azure Platform Adoption for ERP.</p> DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-32852673966528621902010-07-06T10:45:00.000-07:002010-07-06T10:51:41.315-07:00Dynamics AX 2009 Rollup 5<span><span><span><span><span><span><span>Dynamics AX 2009 Rollup 5: "Dynamics AX 2009 Rollup 5 </span></span></span></span></span></span></span><span style="font-family:Verdana, sans-serif;font-size:xx-small;">has <span>been released to Partner Source and Customer Source. RU-5 <span>carries all </span></span></span><span><span style="font-family:Verdana, sans-serif;font-size:xx-small;">the content that has been released in previous rollups (RU-1, RU-2, RU-3, RU-4).<br /></span></span><br /><span style="font-family:Verdana, sans-serif;font-size:xx-small;">Click on the link below to download (Requires Authentication):</span><br /><br /><strong><span style="font-family:Verdana, sans-serif;font-size:xx-small;color:#ffff00;"><a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb$en-us$982812&wa=wsignin1.0">AX 2009 SP1 RU-5</a></span></strong>DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com2tag:blogger.com,1999:blog-2635303754694337861.post-17637035775846922522010-01-18T21:50:00.001-08:002010-01-18T21:52:38.104-08:00Integrating Microsoft Dynamics AX 2009 with Microsoft Office Project Server 2007<p> </p><p>The Technical whitepaper "Integrating Microsoft Dynamics AX 2009 with Microsoft Office Project Server 2007" has been published to the following locations:</p><p>MS Download Center: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b53b2475-b8ee-4caf-93ba-15cc6e05b0cb">http://www.microsoft.com/downloads/details.aspx?FamilyID=b53b2475-b8ee-4caf-93ba-15cc6e05b0cb</a></p><p>CustomerSource: <a href="https://mbs.microsoft.com/customersource/documentation/whitepapers/ax2009_integratingwithofficeprojectserver">https://mbs.microsoft.com/customersource/documentation/whitepapers/ax2009_integratingwithofficeprojectserver</a></p><p>PartnerSource: <a href="https://mbs.microsoft.com/partnersource/deployment/documentation/whitepapers/ax2009_integratingwithofficeprojectserver">https://mbs.microsoft.com/partnersource/deployment/documentation/whitepapers/ax2009_integratingwithofficeprojectserver</a></p>DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-12614697890608486992009-12-22T01:08:00.000-08:002009-12-22T01:21:54.202-08:00Sure Step 2010 ReleasedThe Sure Step 2010 has been released on the partnersource . You can download it from <a href="https://mbs.microsoft.com/Cms/Templates/site/UtilityPlus.aspx?NRMODE=Published&NRNODEGUID={98A3395A-F37D-430E-B1E6-B88CD99DB21D}&NRORIGINALURL=/partnersource/partneressentials/serviceplans/surestep/&NRCACHEHINT=Guest&wa=wsignin1.0">here</a>. Release is available only in english at this time.<br />Happy Holidays!!DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-75674601604180439692009-10-01T13:17:00.001-07:002009-10-01T13:29:32.135-07:00Hotfix rollup 3 is available for Microsoft Dynamics AX 2009 Service Pack 1<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:09a75a23-0a3b-47a0-9a86-1e198921683e" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Hotfix+rollup" rel="tag">Hotfix rollup</a></div> <p>This hotfix rollup contains all previously released hotfixes and country-specific updates for Microsoft Dynamics AX 2009 Service Pack 1. This hotfix rollup also contains several additional country specific updates for different regions.Here is the link to the KB article on <a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;974409" target="_blank">partnersource</a>.</p> DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com1tag:blogger.com,1999:blog-2635303754694337861.post-4740351445794328872009-07-14T10:21:00.001-07:002009-07-14T10:21:49.832-07:002009 Worldwide Partner Conference (WPC)<p>The Microsoft Worldwide Partner Conference (WPC) is an annual gathering that provides the partner community with a forum to learn about the latest Microsoft programs, strategies, and cutting-edge technologies. Connect with thousands of decision-making partners and Microsoft executives —and prepare to take advantage of new business opportunities, innovative solutions, and overall new business development strategies. Everything you need to succeed in an ever-changing economy.</p> <p>You can watch it live at <a href="http://www.digitalwpc.com">http://www.digitalwpc.com</a></p> DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-12246184984171977372008-12-25T22:35:00.001-08:002008-12-25T22:39:22.443-08:00infolog.errorsPerBatch();Sometimes we get a huge list of repetitive messages in the infolog which I find is sometimes confusing rather than helping user to spot the problem. So in that case developer can use this statement to restrict the number of messages.<br /><br /><br />infolog.errorsPerBatch(3);<br /><br /><br />Note : You do not need to reset the value.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_obNVnz1KGBU/SVR7R5meOEI/AAAAAAAAAGA/zizt3Hhq6KA/s1600-h/erroer.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 179px;" src="http://4.bp.blogspot.com/_obNVnz1KGBU/SVR7R5meOEI/AAAAAAAAAGA/zizt3Hhq6KA/s320/erroer.bmp" alt="" id="BLOGGER_PHOTO_ID_5283983810262612034" border="0" /></a>DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-18680653963487842772008-11-29T09:01:00.000-08:002008-11-29T09:08:13.776-08:00Service Pack 1 for Microsoft Dynamics AX 2009Microsoft Dynamics AX 2009 Service Pack 1 (SP1) contains the updates that have been issued for Microsoft Dynamics AX 2009 and a number of enhancements and new features to improve the product’s functionality and user experience.<br />You can download it from <a href="https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&NRNODEGUID=%7B0F3196F4-3ABB-4402-B43F-3F0524BE37A4%7D&NRORIGINALURL=/partnersource/support/selfsupport/servicepacks/dynamicsax2009sp1.htm?printpage=false&NRCACHEHINT=Guest&printpage=false&wa=wsignin1.0">here</a> (PartnerSource access required)DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com1tag:blogger.com,1999:blog-2635303754694337861.post-84620214148040859932008-09-30T09:08:00.000-07:002008-09-30T09:14:00.725-07:00Microsoft Dynamics ax 4.0 data model overviewWell I was looking for this document from the time I started working on axapta. Finally I got it from the Kashperuk Ivan blog entry. This document is really helpful for beginners as well as experienced programmers. The link is <a href="http://kashperuk.blogspot.com/2008/09/microsoft-dynamics-ax-40-data-model.html">here</a>.DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com2tag:blogger.com,1999:blog-2635303754694337861.post-34912345963423264502008-08-29T03:56:00.000-07:002008-08-29T03:57:58.702-07:00Group MasksSometimes in dynamics ax it is required to create the content of the project based upon some prefix. Good news is that it is supported in dynamics ax .U can do this by ‘group mask’ property of the groups. Groups are the folders in dynamics ax.U need to specify the ProjectGroupType property and a regular expression as the group mask property. This will automatically create the contents of project.DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com2tag:blogger.com,1999:blog-2635303754694337861.post-57809688904199435872008-07-24T22:35:00.000-07:002008-07-24T22:44:38.495-07:00Conditional BreakpointRecently while working for one of my projects I was looking for conditional breakpoints in X++.Then I came across <span style="color: rgb(0, 153, 0);">BREAKPOINT</span> statement.<br />This statement triggers the debugger.You could make this conditional by using if statement.<br /><br />If(counter > 4)<br />breakpoint;DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-74111289160694730072008-06-22T01:18:00.000-07:002008-06-22T01:21:27.615-07:00WAN Performance TestingWhen testing Dynamics Ax application performance over low-bandwidth network (ISDN), the client/server trace can be enabled to give an impression of the amount of activity taking place betweenclient and server for a given form or function. Especially in this respect, the number of calls from client to server or visa versa is decisive for the performance, as each call will cost on average 100 ms.Ideally the Wan performance should be tested using an ISDN connection from the test client to the server, but in lack of a better solution, the Axapta client can be configured to simulate low bandwidth and high latency. The command line is “-bwsim=8000:50:2“ which will simulate a bandwidth 8000 bits per second, a latency of 50 ms and will not delay calls that load application elements.DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-39369948529959990092008-06-04T00:41:00.000-07:002008-06-04T00:45:20.156-07:00Axapta Filename Extension Naming ConventionsMicrosoft Dynamics AX uses several file name extensions for the files that are installed as part of Microsoft Axapta. You can use the following naming conventions to understand the function of these files:<br />•<br />The first letter represents the owner of the file.A: ApplicationK: Kernel<br />•<br />The second letter represents the contents of the file.L: LabelO: ObjectT: TextD: Developer DocumentationH: Online Help<br />•<br />The third letter represents the type of file.D: DataI: IndexC: CacheT: Temporary<br />For example, a file that has the .ald extension is the Application Label Data file.You can find the following program file types in Microsoft Dynamics AX.<br />•<br />In Microsoft Dynamics AX 4.0, you can find these program file types in the C:\Program Files\Microsoft Dynamics AX\40\Application\Appl\Standard folder.<br />•<br />In Microsoft Dynamics AX 3.0, you can find these program file types in the %Systemdrive%\Documents and Settings\All Users\Application Data\Navision\Axapta Application\Standard folder.<br /><br />•<br />Application Object Data file (Ax<layer>.aod)This file contains the Application Object Layer list that you use to change the layer on which you modify the application.<br />•<br />Application Online Help Data and Application Online Help Index files (Ax*.ahd and Ax*.ahi)These files contain the Help files. These files are arranged by language.<br />•<br />Application Developer Documentation Data and Application Developer Documentation Index files (Ax*.add and Ax*.adi)These files contain development Help files. These files are arranged by language.<br />•<br />Application Label Data and Application Label Index files (Ax*.ald and Ax*.ali)These files contain all label values. These values are arranged by language.<br />•<br />Application Label Temporary file (Ax*. alt)This file contains new labels. After Application Object Server (AOS) shuts down, the labels will be stored in .ald files.<br />•<br />Application Label Cache file (Ax*.alc)<br />•<br />Application Object Index file (Ax*. aoi)This file contains an index of all objects in Microsoft Dynamics AX.<br />•<br />User Database file (Ax*.udb)This file contains the list of users, the Component Object Model (COM), the AOS, the connections to Microsoft Dynamics AX, and the types of connections.Note This type is only available for Microsoft Dynamics AX 3.0.<br />•<br />Kernel Online Help Data and Kernel Online Help Index files (Ax*.khd and Ax*.khi)DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-54603263638694746442008-05-01T01:47:00.000-07:002008-05-01T01:52:21.492-07:00Meet Your ERP Implementation Goals and ObjectivesIt’s no secret that an ERP implementation gone wrong can lead to serious problems for any business. Cost overruns, an inability to meet client requirements and, in the worst case, - damage to client relationships, are just some of the negative side effects caused by a poorly deployed ERP system. I’ve seen several companies invest significant resources in various ERP implementations that have failed to takeoff. One of the fundamental reasons for this that I see time and again is a lack of user acceptance.<br />For the most part, the problem isn’t the ERP software itself the potentially leading cause of a failed implementation is limited user adoption – the failure to win over the people tasked with using the system on a daily basis. Other causes include improper user training and the quality of third-party support. What i recommend is why not go for phased wise implementation rather than going for one time implementation.<br />Because this gives time for the employee to understand the system well and gives time to adapt to the new technology...say for example, Your company is divided into departments that each will need to be converted to the new ERP structure. Without a phased approach, your entire company will suffer; because, it will turn your company into a mess if you attempt to convert everyone at once.<br />With a planned phase wise implementation you will have less problem Setting down guidelines to measure the success of any ERP implementation is a requirement of any project manager. A project manager needs to have experience in developing and implementing ERP solutions. To be sure you have a good project manager, it may be necessary to bring in a consultant who has experience in ERP implementation. This way the goals set will be more guaranteed of success and you will more than likely be able to accomplish the goals in the prescribed order.<br />Getting people to accept new processes and systems is probably the biggest challenge with any ERP implementation. However, with proper training, most employees will take to a new ERP system once everything is up and running and they start to experience the direct benefits brought on by the solution as a whole.<br />Implementing an ERP solution all at once can be overwhelming to employees. You can’t take an older employee who’s been doing their books the same way for the past 20 years and throw them into an advanced ERP. This can lead to serious problems!!!DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-28575956512162414922008-02-04T21:04:00.000-08:002008-02-04T21:09:33.401-08:00INDIA LOCALISATION ON AX4.0SP2India localisation on AX4.0SP2 has been released on 21st January,2008 on PartnerSource & CustomerSource.<br /><br />AX4.0SP2 India localisation is a re-design of the existing India taxes based on the standard tax engine, fully redesigned and reengineered Tax Deducted at Source (TDS) and Tax Collected at Source (TCS). The criterion for redesign and new localisation is that it offers the same functionality as the existing localisation and it expands localisation features by adding taxes like VAT and Service Tax. Custom duty feature is introduced to address import and export transactions.<br /><br />The following are the highlights of redesigned of AX4.0SP2:<br />· India features are controlled by a separate configuration key.<br />· Tax features are parameterized. User will activate only those taxes which are applicable to their business.<br />· India localisation can be implemented in parallel with the standard AX taxes and countries available in the SYS layer<br />· User defined tax components and codes<br />· India taxes can be calculated on all forms in AP, AR and GL modules where standard AX taxes can be calculated<br />· Calculated tax amounts can be adjusted manually before posting a transaction<br />· Tax setoff process can be carried out between multiple taxes and multiple registration numbers.<br />· India Direct taxes – TDS/TCS integrated with the standard AX WHT setup<br />· Master records include an additional tab for the extensive tax information for the reporting of the different tax types per multiple tax registration. These master records are Company Information, Vendor and Customer including alternate addresses<br />· The redesigned India Tax engine will be based on the standard tax engine bit establishing additional tabs and fields to be able to accommodate the complex tax requirements. There are many tax types that need to be calculated. These are Sales Tax, VAT, Excise, Service Tax, custom duty and charges. Tax types are made up of components and various tax types and components can be calculated on one document. The tax engine consists of the following :-<br /><br /> o Formulae builder – is a flexible tool which allows a user to devise formulae with<br /> tax component for the different tax types.<br /> o Sales Tax setups, rates, calculations, surcharges and rebates<br /> o VAT setups and calculations<br /> o Excise setups of components, tax on tax calculation formulae<br /> o Service Tax setups and calculations<br /> o Custom duty setups and calculation formulae<br /><br />· All GL, AP and AR transaction forms are localised to calculate India taxes by means of tabs for India, fields and reports.<br />· End to end functionality of VAT (Setup to Settlement).<br />· Posting of service tax on cash basis. Service tax posted to interim accounts on invoicing and transferred to actual accounts on receipt or payment of cash.<br />· Stock Transfer – localisation of transfer order for Indian taxes and documents<br />· Inter-company localisation for India Taxes<br />· Tax Deducted at Source (TDS) – WHT on purchase transactions<br />· Tax Collected at Source (TCS) – WHT on sales transactions<br />· Calculation of customs duty on orders and journals.<br />· Calculation of assessable value in the order forms, as per the legal requirements for customsDaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0tag:blogger.com,1999:blog-2635303754694337861.post-14849045900067052172008-01-30T21:14:00.000-08:002008-01-30T21:18:26.100-08:00Number Sequence Framework Part I<strong></strong><br /><strong>Class: NumberSequence</strong><br /><br />Purpose:<br />This class is used for generating the sequence from code.It takes following parameters<br /><br />NumberSequenceCode : This is the sequence code defined on the defined in the numberSequence table.<br /><br />_makeDecisionLater : Decides whether the number generated is saved in the NumberSequenceList Table or not.If true it is saved , if false it is deleted on ttscommit call.<br /><br /><br /><strong>Flow and methods:<br /></strong><br />NumberSequence.Num() method is used to get the number. Then the following methods are called in sequence.<br /><br />NumberSequence.runNumber(): This function calls the checkSetup() Function which apply some validations . Then getNumInternal() is called.<br /><br />NumberSequence .getNumInternal() : This function calls the function getNumFromList() which returns the number from NumberSequenceList table with status free if any.If no number is returned from the getNumFromList() function then it calls the getNumFromTable() function which generates the new number.This function also insert the newly created number into the numberSequenceList Table with status active.<br /><br />Other functions:<br />NumberSequence.abort() : This function should be used when the number generated is discarded. This function set the status of number number in numberSequenceList table to free.<br /><br />NumberSequence.used() : This function should be called when the number generated is used. This function deletes the generated number from the numberSequenceList table.<br /><br /><br /><strong>Table: NumberSequenceList</strong><br /><br />On the call of NubmerSeq.GetNumFromTable() function.The generated number is inserted in the NumberSequenceList table with status active.<br />On the call of NubmerSeq.GetNumFromList() function.The number is updated in the NumberSequenceList table with status active from free status.<br /><br />On the call of ttscommit after NubmerSeq.abort() function the status of the generated number is changed to the free.NumberSeq.abort() function sets the number Sequence to abort in the application container AbortIdx[];<br /><br />On the call of NubmerSeq.used() function puts the value of globaltransId in NumberSequenceList Table which is deleted on ttscommit call.DaxCoderhttp://www.blogger.com/profile/08949224307949428078noreply@blogger.com0