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

RE: COM object of class 'xxxxx' could not be created. Ensure that the object has been properly registered on computer.

$
0
0

Yes. You are right. Its only on server machine and with Ax 2009.

Although the same COM dll access all methods on Axapta 3.0 at the same server machine.


RE: Error- 'Journal has already been posted and, consequently, is not open, Function Validate journal has been cancelled.'

$
0
0

Hi,

Can you try refreshing this form or log into AX again and double check it?

Best regards,

Ludwig

Error- 'Journal has already been posted and, consequently, is not open, Function Validate journal has been cancelled.'

$
0
0

Error- 'Journal has already been posted and, consequently, is not open, Function Validate journal has been cancelled.' while posting the statement.

Thank you in advance.

Regards

RE: Project Category Must Be Filled In Error

$
0
0

Hi All

I think the problem is this order has already been started but with no quantity

How can I change the quantity to 1?

Thank you

Simon

Project Category Must Be Filled In Error

$
0
0

Hi

I am getting this error when starting a works order. Any ideas?

Thank you

Simon

RE: close posting journals for the useres

$
0
0

Hi ,

can you tell me in brief how can i use journal names to achieve this , and also is that will prevent the user from posting the journal already done by others and shown to him in the same screen ?

close posting journals for the useres

$
0
0

hi ,

we are using AX 2012 .

how can i prevent the user from posting his created journal and also other journals

and give access only for certain user(accounting managar)

RE: wrong triangulation currency rate

$
0
0

We load rates from serveral currencies to DKK daily, when we have legal entities in other  countries, I try to do is use the rates i have for DKK to calculate rates between eg EUR and GBP, as I dont have a rate between EUR and GBP


RE: Prepayment through payment journal

$
0
0

Hello Khushi,

What transaction have you selected in the journal lines?

Have you saved those lines and tried to refresh it?

If you create a completely new journal does the parameter function and the change of the posting profile work?

Best regards,

Ludwig

RE: Get the datasource from caller MenuItemButton

$
0
0

Hi Martin

I did that. But it still takes the same datasource.

RE: Get the datasource from caller MenuItemButton

$
0
0

It's the datasource bound to the menu item button. It seems that you set the DataSource property to a different datasource than you actually want.

RE: Json array

$
0
0

Below  the code I use , the string json include the format of the array above

string json ; //formatted string

var data = Encoding.UTF8.GetBytes(json);

request.ContentLength = json.Length;

request.ContentType = "application/json";

var newStream = request.GetRequestStream();

newStream.Write(data, 0, data.Length);

newStream.Close();

var result = request.GetResponse();

Azure storage error and Azure Storage Emulator port conflict

$
0
0

Hi,

If I am trying to import configuration based on Ax resources (Organization administration -> Workspaces -> Electronic reporting -> Repositories -> choose "AX resources" -> Open -> Press "Import" on wanted to import configuration), the system occurs an error "An error occurred writing to Azure storage."

I have found information that probably the Azure Storage Emulator is not wokring. If I try to start this emulator, it gives me an error "Port conflict with existing application".



Therefore I change ports of Blob, Queue, Table in AzureStorageEmulators and the emulator starts to work.

But if I try again to import repository configurations, I have the same issue: the same error "An error occurred writing to Azure storage.", the emulator does not work and I can not start it because of port conflicts. The netstat command shows that previous ports are used by System process.  
 
 I have already tried to find a problem by debugging, but debug does not jump to the place where the error is caused.

An error occurred writing to Azure storage.

RE: Json array

$
0
0

Did you at least try my solution?

RE: wrong triangulation currency rate

$
0
0

Hi deterhanne,

The exchange rates between the DKK, EUR and GBP are not fixed but floating.

Using the rates for DKK to calculate the ones for the other currency pairs must not necessarily result in the actual currency rates that are established in the markets. It might rather give you an indication of arbitrage opportunities.

Why don't you simply import the currency exchange rates for example from Oanda or another exchange rate provider?

The AX standard fully supports such imports.

Best regards,

Ludwig


RE: Json array

$
0
0

I do not understand (you should provide an object with one property (with the same name as the name of the method argument)

My question is where I have to provide the object  and also what do you mean by (with the same name as the name of the method argument)

Json array

$
0
0

I am working with ax data entity using Json.

I try to push a list of records to AX data base using Json array shown below  but the below error is faced 

 Json array:

[{"Key1":"Value1","Key2":Value } ,
{"Key1":"Value1","Key2":Value }]

Error reading JObject from JsonReader. Current JsonReader item is not an object: StartArray

the question is how to pass a Json array 

WorkTimeCopyDay class , copy method

$
0
0

I've check the code of the method copy in class WorkTimeCopyDay and I notice that the buffer (workTimeLine) used in a while statement is also used to do insert inside the while , I need to make sure that the insert does not have any  effect on the result of the while loop since in the normal cases I define two buffers one for looping and other for insert and use some values from looping buffer to fill insert buffer 

while select forupdate workTimeLine
index TimeDayIdx
where workTimeLine.WorkTimeId == workTimeId &&
workTimeLine.WeekDay == fromWeekDay
{
setprefix(strfmt("@SYS54524", time2str(workTimeLine.FromTime, -1, -1), time2str(workTimeLine.ToTime, -1, -1)));
workTimeLine.WeekDay = toWeekDay;
if (!copyPropertyId)
{
workTimeLine.PropertyId = '';
}

if (!workTimeLine.validateWrite())
{
throw error("@SYS18722");
}

workTimeLine.insert();
}

Setting LogonAsUser when calling Query Service

$
0
0

Is there some permission required to allow a user to specify LogonAsUser in a request to the Query Service? I can successfully call the service, however when I include LogonAsUser I get "Failed to log on to Microsoft Dynamics."

I read in article https://technet.microsoft.com/en-us/library/hh582244.aspx that "The data contract for the call context is not published as part of the Web Service Description Language (WSDL) files for the query service and the metadata service. If you want to set any call context values for these services, you must create the code to set the values for the system service call."

I've done this and when I specify a Company this works, however when I also include LogonAsUser I get the error "Failed to log on to Microsoft Dynamics."

Example header of the request below:

<s:Envelope xmlns:a="www.w3.org/.../addressing" xmlns:s="www.w3.org/.../soap-envelope">
<s:Header>
<a:Action s:mustUnderstand="1">tempuri.org/.../ExecuteQuery&lt;/a:Action>
<a:MessageID>urn:uuid:d506fbb5-9eac-4517-9d38-8bbb85ec785b</a:MessageID>
<a:ReplyTo>
<a:Address>www.w3.org/.../anonymous&lt;/a:Address>
</a:ReplyTo>
<CallContext xmlns="schemas.microsoft.com/.../datacontracts">
<Company>company</Company>
<LogonAsUser>domain\user</LogonAsUser>
</CallContext>
</s:Header>

...

RE: Get the datasource from caller MenuItemButton

$
0
0

The datasources of the menuitems are set to their respective datasources. I don't know what can be wrong.

Viewing all 175888 articles
Browse latest View live


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