Hi all, I have a scenario, where i have to iterate a string and have to return the third value. For an example i have sting which is a Number sequence . "LAB-000052-5". I split this string and then i use list iterator to get the third position. Please note that if my string has "LAB-000052", it should return default to 1. Kindly refer my below code. And please help me to achieve this. int s=1,i,j; str defaultno,t; List list = new List(Types::String); ListIterator it; defaultno = int2str(s); tabA= element.args().record(); list = strSplit("LAB-000052-5","-");// I will also pass "LAB-000052" it = new ListIterator(list); while(it.more()) { it.next(); i++; if (i == 2)// it will loop 3 times since my string is splitted into 3. so i get the value of 2 here. { defaultno = it.value();// which is 5. } } return defaultno; Now if pass only "LAB-000052", the if condition passes the end value to the defaultno. in the above line if pass "LAB-000052", i need to return 1 to the defaultno. Please help. Thanks in advance,.
↧
Forum Post: ListIterator in AX4
↧
Forum Post: RE: HTTP Error 503. The service is unavailable.
Hi Fahad, Did the build complete without errors? Can you find some errors in the Windows event log? Next to the application view there are numerous Dynamics 365 logs. Did you follow a guide to remove a package? Reset the World wide web publishing will indeed cause a restart of Dynamics 365 application pool, but also all other IIS related services.
↧
↧
Forum Post: AX practice environment
Hi guys, i am new to ms dynamics ax and i would like to practice ms dynamics ax so microsoft provides any virtual machines for practicing purpose in case if not any other company or institute provides practicing environment how can i practice it?
↧
Forum Post: RE: Auto create Purchase Order from approved Purchase Requisition - Batch job doesn't work
Hi nglehang, The policy you have created falls with in the PR is created ? Thanks Nagendra Varma K
↧
Forum Post: RE: Integrate Microsoft Outlook with AX 2012
The documentation you have linked explains that Exchange Server integration is only supported on AX 2012 R3 CU8 or above, while your VM has R2 version: Support for integration with Microsoft Exchange Server is available only in AX 2012 R3 Cumulative Update 8 and later.
↧
↧
Forum Post: RE: How to create multiple receipts and invoice in a single PO?
Hi Adrian, please don't use tags like "PurchaseOrder Receipt Invoice Multiple deliverydate in a single PO supply chain procurement" . Tags are categories to which your question belong, therefore they should be short and descriptive. Let me fix it for you this time.
↧
Forum Post: RE: AX practice environment
Microsoft Dynamics AX installer kit is available with a MSDN subscription. Demo data is only accessible for Partners. If you establish your own business, then you could apply to be an independent Microsoft Dynamics AX Partner, with which you would get access to AX product/development licenses, demo data and demo virtual machine via PartnerSource and Connect websites. www.rhipe.com/dynamics-partnersource Freelancers typically choose this form of partnership, since it has no commitment requirements for having certifications for competency, or minimum income requirements. Other than the above options, you cannot get access to AX openly, since it is a proprietary product.
↧
Forum Post: RE: AX practice environment
What's your relation to Microsoft? Are you a customer with AX license? An implementation partner? Or are you a freelancer? A student? Or what? AX isn't available publicly, but they're channels where you can get access to it. That's why we need to understand your situation.
↧
Forum Post: RE: How to create multiple receipts and invoice in a single PO?
Do you know that the dialog before posting allow you to choose quantity to post? If you don't choose everything, you'll post just a partial invoice (or other document) and the rest will be still open and can be included in another partial invoice.
↧
↧
Forum Post: RE: India GST Patch issue on AX 2012 R2?
Z3 library error.....
↧
Forum Post: RE: Mandatory Fields during data migration
Thanks for the answer. . . Where can i get the template for Customer group?
↧
Forum Post: RE: Mandatory Fields during data migration
To get a template for any entity you can simply export it using Data migration.
↧
Forum Post: RE: Importing using the Data Import Export Framework
Hi Martin, Standard DIXF will update VendName as well while you are using Vendor Entity to import the records, you might need to debug it to check how the buffer is getting these values. But for quick fix on this you can export all the vendor records and put vendor names in your source file against account numbers so that you will have them in system as is.
↧
↧
Forum Post: RE: How to create multiple receipts and invoice in a single PO?
at which interface to be exact? the PO defining, or the PO Lines?
↧
Forum Post: RE: Integrate Microsoft Outlook with AX 2012
And how can an integration between AX 2012 r2 and Microsoft Outlook can be achieved?
↧
Forum Post: RE: purchase order workflow
Dear Participants, Thanks a lot for your reply, so the solution was to set the two users in assignment (the new and the wrong one), activate the workflow then recall the old PO which was assigne to the wrong user, Then change the assignment for just the new user and activate the new workflow version. Regards.
↧
Forum Post: Workflow approval comment
Dears, Please advice on how to display the comment introduced by approvers in workflow cycle ? So in the notification I get allways the same standard message.
↧
↧
Forum Post: RE: Integrate Microsoft Outlook with AX 2012
Outlook integration is supported by earlier versions too. Have a look at the documentation:
↧
Forum Post: RE: SysDictClass object not initialized in SRSReportProviderMetadata
hi ..Martin ..., I still have not found the cause of this error message
↧
Forum Post: RE: SAFT-T for POLAND/ JPK- Jednolity Plik Kontrolny
Hi, Do you know where can I find new XSD schema for SAFVATSalesPurch for 2017 (version 2)? Unfortunately I found only update for 2017 but there aren't any csd file: support.microsoft.com/.../a-country-specific-update-is-available-for-polish-saf-vat-report-chang ? Thank you in advance.
↧