Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all 175888 articles
Browse latest View live

General Journal "Locked By System"

$
0
0

We have AX 2009 Journal - It says "In Use" , has ligtening sign next to it, and in blocking  tab "Locked by system" is marked.

Anyone knows how to clear this lock?

 

Thanks,

MSDAX


RE: Error in Data Transfer Tool

$
0
0

Try to use a shorter path, for example c:\temp

Cannot import released product variants in Dynamics 365 for operations

$
0
0

Hi All,

I am able to import released products and released product masters.

The problem is when I try to publish variants for an item, system (OData) service throws an error saying "Matching record for the read-only data source 'EcoResConfiguration' does not exist."

The only entities we have regarding variants are: 

Released product creation
Released product variants
Product variants
Retail Kit Configurations

and none of them is useful because of above error. How about you? How do you import var

RE: AD domain - trust

$
0
0

It's a two-way trust between domains ?

AD domain - trust

$
0
0

Hi,

I hope somebody can help me. I have an instance of Dynamics 2012 in which we usually import users from AD.

We have a requirement to add users from another domain to this system. The domain is connected to our existing domain/forest by a trust.

Currently when i gk to import a user, I click the domain drop down and can only see domains in my current forest.

Is there a way to add trusted domains?

Regards

Dan

RE: System.IO.IOException: The file exists - QRCode.Encoder.GetTempFile(String input)

$
0
0

Martin,

Yes, you were right.

I got wrong folder. It wasn't current user folder. It used AOS user account, the function worked after deleting Temp folder.
System.IO.Path::GetTempPath() this one just return current user domain temp folder.

To prevent this error happen in future, we can use this code

System.IO.File::Delete(tempFileName);

RE: Production General Ledger posting

$
0
0

Hi,

All postings except the finish step can be skipped (suppressed) by parameter settings. So what postings you get highly depends on your setup.

Best regards

Ludwig

RE: Accounting Currency and Reporting Currency

$
0
0

Hi, the accounting currency is the one you record your books in, file government statements and do your reporting. The reporting currency is optional and can for example be used for consolidation or analysis purposes.

Best regards

Ludwig


RE: Purpose of financial dimensions

$
0
0

Hi,

You can use financial dimensions for a lot of purposes, such as to track cost center or department information that you need for your monthly reporting package. You can also use them for reconciliation purposes e.g. in inventory or project. Other purposes include consolidation and mapping to different (external) systems.

So, financial dimensions are highly flexible and can be used for many purposes.

Do you have some concrete requirements for which you want to use them?

Best regards

Ludwig

RE: System.IO.IOException: The file exists - QRCode.Encoder.GetTempFile(String input)

$
0
0

Of course that GetTempPath() returns the temp folder of the current user, the point is that which folder it is depends on configuration; calling the method (in the same user context) shows you which folder is used by GetTempPath(), so you can work with the right folder.

System.IO.IOException: The file exists - QRCode.Encoder.GetTempFile(String input)

$
0
0

I got the problem when running the RDP report on LIVE (another environment still okay).

here is stack

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: The file exists.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
   at Microsoft.Dynamics.QRCode.Encoder.GetTempFile(String input)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.Dynamics.AX.ManagedInterop.ClrBridgeImpl.InvokeClrInstanceMethod(ClrBridgeImpl* , ObjectWrapper* objectWrapper, Char* pszMethodName, Int32 argsLength, ObjectWrapper** arguments, Boolean* argsAreByRef, Boolean* isException)

As far as I debug 

qrCodeReturn will return path of temp file, but error cause here. Try to delete AppData\Local\Temp, but It's didn't work. 

You could take a look at these standard method EInvoiceCFDIReportDP_MX.callQRCodeEncoder() and EInvoiceCFDIReportDP_MX.callQRCodeEncoderMethod(), current I'm using these code to create QR code report.

Thanks in advanced for your advise.

Max

RE: Accounting Currency and Reporting Currency

$
0
0

System currency is the default currency and is used only to consolidate amounts in General ledger that have been posted in different currencies from various legal entities.

Accounting currency is what your legal entity uses for amounts calculation. It is unique per the legal entity.

Reporting currency is the currency used for operational reporting to the government bodies.

RE: I would like to display "We did not find anything to show here"

$
0
0

Thank you to everyone who replied.

I solved the way that Basheeruddin Mohammad suggested.

I would like to display "We did not find anything to show here"

$
0
0

I am creating a screen with AX7.
If I do not search for a record and have none, I would like to display message like "We did not find anything to show here" like AX7 standard screen.
Could you tell me how to do it?

RE: Can't get new Exchange Provider to appear

$
0
0

Awesome! That helped, saving my day. Please do refresh via the AOT, Tools->Caches->Refresh elements. Refreshing dictionaly and data helps as well.

Thanks,

RJay


Can't get new Exchange Provider to appear

$
0
0

Hello.

I'm trying to add an local exchange provider to the General Ledger as follows:

General Ledger > Setup > Currency > Configure Exchange Rate Provider.

I imported the code from Microsoft WhitePaper: Add new Exchange Provider. The paper is about importing Oanda Exchange Service. I understand the document as if I generate full CIL the provider will appear in the list along with the three Out-of-the-box providers (Europe Central Bank, Russian Federation Central Bank and Lithuania Central Bank).

I wil generate full CIL, I have deply the class that I wrote, I have sync the database, restart the server and all that. But nothing works: I can't get my Oanda provider to appear in the list.

Do I have to import it manually trough some forms?

RE: Show xml in Dynamics 365 for Operations Browser tab

$
0
0

Can someone help?

we used to save XML files in local directory in Ax 2012. but for Ax7 I had to write the below code. I have to call a web service to get the envelope object and using C# XmlSerializer I have converted the envelope object to string and stored that XML string in AxTable.XMLCon (of type FieldContainer).

Now I was able to view the XML content from this field on a form using a string control. 'DownloadXML' button clicked() has below code. It is working in my local machine.

System.IO.MemoryStream  xmlStream;
System.Byte[]                      byteArray;
DocuPath                           url;

 //AxTable has field called 'XMLCon' of type FieldContainer

[mDocXml]   =   AxTable.XMLCon;

                // convert string to stream
                byteArray = System.Text.Encoding::UTF8.GetBytes(_xml);
                xmlStream = new System.IO.MemoryStream(byteArray);
                File::SendFileToUser(xmlStream, AxTable.FileName);

problem: but when tried from different machine, form displayed in Ax7 browser, everything else worked and when clicked the button, I got the error as below.

'

'This site can’t be reached'

127.0.0.1 refused to connect.

Try:

ERR_CONNECTION_REFUSED

Show xml in Dynamics 365 for Operations Browser tab

$
0
0

Hi there,

I have a table in which I store incoming xml strings (from an external source). After processing of the xml, I want the user to be able to view the processed xml, and I want to do that in a new Tab of the browser I'm running Dynamics 365 for Operations in. Yes, I can download the xml file itself, which can be a nice workaround, but I'd really like to show the xml in the user interface.

I have the following code, which did work at some point, but now gives an error message in the browser tab. Here's the error message (in Chrome) and the (simplified) code:


void show(str _xml)
{
       System.IO.MemoryStream xmlStream;
       System.Byte[] byteArray;

// convert string to stream
byteArray = System.Text.Encoding::UTF8.GetBytes(_xml);
xmlStream = new System.IO.MemoryStream(byteArray);
FileUploadTemporaryStorageResult result = File::SendFileToTempStore_GetResult(xmlStream, “XMLView.xml”) as FileUploadTemporaryStorageResult;
if (result && result.getUploadStatus())
{
       url = result.getDownloadUrl();
       new Browser().navigate(url,true);

}

}

Any suggestions?

RE: Problems with the speed of the Enterprise Portal for some users

$
0
0

try to reset the user data usage from user option at user setup.

this will speed up the response

Problems with the speed of the Enterprise Portal for some users

$
0
0

I have a problem with the speed of the Enterprise Portal.

For the administrators, the Enterprise Portal works well but not for the rest of employees.
The most of the employees have access only to 2 AX modules and they find the EP too slow.

I need to have this permissions into AX, but is always AX too slow checking the permissions?

I do some testing changing directly the database permissions and I can check that if I give sysadmin role to one of these users, his EP works fine too. Is that the solution?

I dont like this solution at all becuase I find it too "dirty".

Anybody can help me, please?

Viewing all 175888 articles
Browse latest View live


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