Quantcast
Channel: Microsoft Dynamics AX
Viewing all 131213 articles
Browse latest View live

Forum Post: RE: How to create View Details from a field in Dynamics AX 2012 Form

$
0
0
if two tables have relationship it will be managed by itself. Here it seems that your two tables do not have relationship, so you can make use of JmupRef() method

Forum Post: RE: How to Hide "Document" in Document Handling form for a requisition in AX 2012 R3

$
0
0
Hi Anil, Thanks a lot for your advise & I'm sorry for late response: I totally forgot my "eliminate- Document -type" task in form Document handling of Purchase requisition. Following your instructions, I can find codes of the method Init & I've tried to modify a little bit like below. I haven't done any similar tasks in AX before, so please show me what to do next to test. Those codes in Red are just added. void init() { #define.ctrlBuildAdd('ctrlAdd') DocuType docuType; DocuTemplate docuTemplate; FormBuildMenuButtonControl menuCtrl; FormBuildFunctionButtonControl itemButtonCtrl; FormRun formRun; tableName primaryTable; int64 templateLibraryCount; allowView = true ; // Determine if there is more than one template library templateLibraryCount = docuType::getTemplateLibraryCount(); if (! infolog.parmDocuHandlingActive()) { throw (error("@SYS60737")); } if (infolog.parmDocu().isDocuViewSet()) { infolog.parmDocu().setActive(); throw Exception::Info; } optionView = new DocuOptionView(); optionView.getLast(); DocuType::createDefaults(); docuTypeIdFile = DocuType::typeFile(); formRun = infolog.parmLastActivatedForm().object(); primaryTable = tableId2name (formRun.docCursor().TableId); select language from userInfo where UserInfo.id == curUserId (); menuCtrl = this.form().design().control(#ctrlBuildAdd); while select @TypeId,ActionClassId from docuType index TypeIdx where docuType.ActionClassId != classNum (DocuLibrary) { // if (BrazilParameters::isEnabled() && BrazilParameters::find().FiscalDocumentTextDocuTypeId && docuType.TypeId == BrazilParameters::find().FiscalDocumentTextDocuTypeId) { continue ; } // // Thai Hodac: Only add those document type (i.e. TypeId) different from “Document” into the menu item if docuType.TypeId!=” Document” { itemButtonCtrl = menuCtrl.addControl(FormControlType::MenuFunctionButton,docuType.TypeId); itemButtonCtrl.menuItemType(MenuItemType::Action); itemButtonCtrl.menuItemName( menuitemactionstr (DocuActionNew)); itemButtonCtrl.text(docuType.TypeId); } } // Now add the menu item buttons associated with the template libraries (this list is dynamic based on record selection) // We are adding them at the end to ensure we reduce the visual impact as controls appear/disappear when record selection changes. while select @TypeId,ActionClassId from docuType index TypeIdx where docuType.ActionClassId == classNum (DocuLibrary) { while select TypeID, TemplateID from docuTemplate where docuTemplate.TypeID == DocuType.TypeId && DocuTemplate.Enabled == NoYes::Yes && docuTemplate.PrimaryTable == primaryTable && (docuTemplate.LanguageID == userInfo.Language || docuTemplate.LanguageID == '') { itemButtonCtrl = menuCtrl.addControl(FormControlType::MenuFunctionButton, this.getControlNameWithTemplateID(docuTemplate.TypeID, docuTemplate.TemplateID)); itemButtonCtrl.menuItemType(MenuItemType::Action); itemButtonCtrl.menuItemName( menuitemactionstr (DocuActionNew)); // If documents are being stored in more than 1 Template library(TypeID) append the Template library name to the button. if (templateLibraryCount > 1 ) { if (currentSessionLanguageRTL()) { itemButtonCtrl.text(DocuType.TypeID + " - " + docuTemplate.TemplateID); } else { itemButtonCtrl.text(docuTemplate.TemplateID + " - " + DocuType.TypeID); } } else { itemButtonCtrl.text(docuTemplate.TemplateID); } } } super (); link.enabled( false ); multiPaste.enabled( false ); formSplitter_Y = new SysFormSplitter_Y(grpSplit,grpRefGrid,this); fromPrimaryTable = primaryTable; } Thanks so much Thai

Forum Post: RE: Advanced Rule Structures

$
0
0
Hi jihane, I can try replicating your Scenario. For doing that it would be helpful if you could tell me your System Version AX2012 R2/R3 CU7/8... Thank you, Ludwig

Forum Post: RE: Invalid data container type.

$
0
0
Can you include the code generating the error?

Forum Post: RE: Cannot edit a record in Sales orders (SalesTable). An update conflict occurred due to another user process deleting the record or changing one or more fields in the record.

$
0
0
Can you double click on the error and show us the code responsible for the error, or the stack trace showing the method and line?

Forum Post: RE: The CIL generator found errors and could not save the new assembly.

$
0
0
at least restart the AOS and do a full CILL again be Shure no batches are running

Forum Post: RE: Unable to call method, the ActiveX control is not fully initialized

$
0
0
To solve this error: 1. Close Axapta 2. Copy the “smmPhone.ocx” file from this path : C:\Program Files (x86)\Microsoft Dynamics AX\Common and paste it here: C:\Program Files\Microsoft Dynamics AX\Common 3. Next, you rename the file to “CmxPhone.ocx” 4. After you do this, you open the command line (cmd) and enter in this command: regsvr32 "C:\Program Files\Microsoft Dynamics AX\Common\CmxPhone.ocx" (Note: This command registers the file on the system) 5. Press Enter. Open Axapta back up and the software should open without the error message popping back up.

Blog Post: Tips for naming your Aging Period Definitions

$
0
0
Have you ever created your Aging Period Definitions, run the Customer aging snapshot, and do not receive any results in the Collections Grid? If so, this could be a result of the format used in the Aging Period Definition name. I have recently discovered that commas in the Aging Period Definition name are treated by SQL as special characters, and cause conflicts when running the Customer aging snapshot. The good news is there is a simple fix to resolve this issue. Aging Period Definitions are setup under Accounts Receivable > Setup > Collections > Aging period definitions. Example with commas which produce no results in the Collections grid after running Aging. Example with underscores which produce results in the Collections grid after running Aging. If you do not use numbers in the Aging Period Definition and use alpha characters, be sure that no commas exist. The same results will be encountered with alpha characters and commas. Once you have made the changes to the Aging Period Definition be sure to remove the incorrect one. When running the Customer aging snapshot re-select the Aging period definition. The Customer aging snapshot is run by going to Accounts receivable > Periodic > Collections > Customer aging snapshot.

Forum Post: RE: error while deploy SSAS Cubes >>> Kpi [General ledger cube].[Revenue budget variance] : Unknown associated measure group BUDGETTRANSACTIONCUBE.

$
0
0
all off , and SQL and Ax Installed in the same machine

Forum Post: RE: Sending an Open customer invoice electronically

$
0
0
did you use the R3 exchange integration? otherwise it Is client outlook integration or COM stuff on the AOS technet.microsoft.com/.../aa834374.aspx

Forum Post: RE: error while deploy SSAS Cubes >>> Kpi [General ledger cube].[Revenue budget variance] : Unknown associated measure group BUDGETTRANSACTIONCUBE.

$
0
0
ok final check is the project changed in the AOT?

Forum Post: RE: AX7 can't be displayed

$
0
0
No, the build was ok, sync ok, exists more than one extension for the same table in diferents models and it was working ok and showing the information in form but one day stop to work. I was searching the problem and I found this on event view log. Duplicate metadata element has been detected in multiple modules... Element AXTableExtension/VendTable.Extension is defined in the following modules:ApplicationSuite, ModelX, ModelX1 Exception Details: Microsoft.Dynamics.Ax.Metada.Storage.MetaDataReadCrossAssemblyDuplicateEception: Runtime metadata is invalid because the same metadataArtifacts has been defined in multiples assemblies:\n First 10 conflicting name VendTable.Extension.... (Sorry I can't add a picture) I think the problem was that we have more than one extension of the same table in diferents models even we have the table customize.

Forum Post: How to run a duplicate payment invoice report in AXR3?

$
0
0
Hi, Does anyone know how to catch duplicate invoices that were entered twice by transposing numbers or some human error mistake? I know they do not allow 2 of the same invoices to get posted to the same vendor. However, if invoice#10040 gets posted and then someone tries to enter it again using invoice#10400 by accident this will post. AX would let this post as they are two different invoice numbers but are really both for one invoice. AX has to have some sort of report to catch duplicate payments. Any ideas? Thanks, Michelle

Forum Post: RE: Centralized Payments Hierarchy

$
0
0
Ok, is not exactly centralized payments, what my costumer needs is the possibility to mark or settle payments from another companies in a sales order. • I have 3 companies (A, B and C) • A payment from a costumer was registered in Company A and another one in Company B • A sales order was created in Company C Now we need from the sales order, mark or settle the order with these 2 payments from the other companies, but they don’t appear in the Open Transactions form in the sales order for Company C. In AX 2009 this was possible, but now in AX 2012 we don’t know if this can be possible, without the Hierarchy Organization.

Forum Post: RE: R3 upgrade compilation errors

$
0
0
How can i merge "Syp" and "Sys" Layer ?

Forum Post: RE: AX 2012 Management reporter installation fails

$
0
0
If you are trying to deploy using the Dynamics AX 2012 setup, I'd recommend instead downloading the latest build of Management Reporter and using the Management Reporter installer in the download. As well as having fixed lots of bugs since the release that was packaged with the AX2012 media, it might give you more info on the problem: mbs.microsoft.com/.../MROverview

Forum Post: RE: error while deploy SSAS Cubes >>> Kpi [General ledger cube].[Revenue budget variance] : Unknown associated measure group BUDGETTRANSACTIONCUBE.

Forum Post: FTPS and SFTP in Dynamics AX 7.0

$
0
0
Hallo Experts, We have a customer with Axapta 2009 will migrate to Axapta 7.0. In the old version, we have built interfaces which sent and receives files with SFTP and FTPS. For the send and receive Methode we use SecureBlackbox, which made the connection and then the files pick or put to the SFTP Server. The receiving files are stored in Axapta and processed with other classes, the sending files are also stored in Axapta and will put from AX to the FTPS/SFTP Server. The question now, is the SFTP or FTPS upload and download in axapta 7.0 supported? What other options can be used in Axapta 7.0? Does anyone have experience with this? (Examples are welcome.) Thanks in advance for any help.

Forum Post: Working layer during R2 to R3 upgrade

$
0
0
I have "USR", "SYP", "SYS" Layers in my system. Which layer i need to set as working layer before i start code upgrade ?

Forum Post: Modifying one datasource on a form fires the validateField method on the other joined datasource.

$
0
0
Does anyone have a minute to answer a quick question about AX basics? If I create a new table T1 which has a reference to say sales table alongwith another field T1.description So, T1.salesID = salestable.recid t1.desc = 'text' Now, if I add this table to a new form (with just a grid) and add sales table as a parent datasource to the form i.e. Form1 has two datasources T1 and SalesTable joined (I need to use outerjoin so it shows all the salesTable records and lets me provide description for whichever sales ID I want) through salesrecID Now, entering new data in the T1.desc field fires the validate field and modified field of salesTable, when I am not modifiying sales table at all. Can I stop it from being fired? I do not want to override the modifiedField or validateField method on the salesTableDatasource as I feel it should not be fired at all for sales table. If there is a better way to join these two tables, please do suggest that as well because I think it should just work with default settings.
Viewing all 131213 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>