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

AX Functional Consultant - ££ - HR

$
0
0

My client is a global media company, looking for a Functional Consultant to join their team in London. They are planning to roll out AX 2012 across over 50 countries later this year, and are looking for a Consultant with an in-depth understanding of the HR modules to work with their 2 Microsoft partners, to ensure a successful implementation.

These guys are offering a highly competitive salary and the opportunity to work on a huge AX 2012 implementation. I can offer iPad Minis/Kindle Fire HDs/cash for successful recommendations. Please do get in touch if you can help or would like to receive further information - tessa@lorien.co.uk.


Modifying distribution expense web control

$
0
0

Hi all

Has anyone modifyed the web control TrvExpTransDistributions?

We are looking at adding new fields and/or change otheres in the grid lines,  but it looks like it is hidden with in a dll called Microsoft.Dynamics.Framework.Portal.CommonControls?

 

 

InfoPart - query with a view as a linked table

$
0
0

Hi,

AX2012 R2

I have a query with a view as a linked table. I want to use this query as a source for an InfoPart, but when I set up this query in Infopart properties I get the following message, "The relations in a query used within a part must be at least partially covered by an index.". But as I know, AX2012 doesn't support indexes on views. But when I look at the DirPartyTableRoles info part, it's using this type of query - a view linked to a table. It's very strange, because when I want to use the query from this info part (DirPartyTableRoles) in my own info part I get the same error message.

Thanks :)

Using X++ code to find out Axapta database(sql) size.

$
0
0

Hi All,

I need to find out axapta database size using x++ code. I was searching for any method/class that can help me here.

But could not find anything yet. Please help.

Thanks

Manoj Parashar

[AX2012] Communication error: "The server is unavailable..."

$
0
0

Hello,

I'm receiving the following error when starting up the Ax32.exe utility:

Communication error: "The server is unavailable. Check your configuration and network connection and try again."

Normally, when I see this kind of error I figure 'the AOS is probably down or something,' but after checking, I was surprised to see that it was up and the service was running. I pinged the machine and the ping went through fine. Just in case, I restarted the AOS service anyway, but no cigar.

I am seeing this error specifically on one server, as one particular user. If I RDP to a different server as that user, I can start this utility without any problems. If I RDP into this server (the one with the problem) as any other user, I can also start the utility without any problems. In other words, there is something about the combination of that particular server and that particular user account that causes this error. Another strange piece of the puzzle is that based on some jobs that we ran last night, we were able to start the utility for a startupcmd=CompileAll_- as this user (ran for about 5 hours... I can't be absolutely certain that the utility ran correctly, but the fact that the job ran for a set amount of time and didn't hang seems to suggest everything ran smoothly. If this message popped up, the job would still be hanging.). In fact, the error came up this morning when we tried to do the same exact operation.

I would appreciate any help in debugging this error. I can't see anything relevant in the event viewer either on this machine or on the AOS. Are there some logs I can look at?

 

Thanks.

Deleting Item record.

$
0
0

Hello,

I want to delete an item  (InventTable).

I get the message: "The record may not be deleted. Transactions exist in table 'purches lines'"

Where is the code that raise that message (I have searched the whole AOT but didn't find any)?

Thanks :)

AX Top 100 Customer Report Logic

$
0
0

Hi There,

Could anyone please advise the logic on generating AX Top 100 customer report (by revenue)?

How AX calculate the revenue total in report (sales amount, item cost amount and ??)?

Thank you!!

Arqxlep

Customers in Dynamics AX Retail POS

$
0
0

Hello,

I thought that if I run the N-1010 Job to copy the Customers in a Shop that all Customers would be replicated in the Shop. In other words I thought that if I run the N-1010 job all entries in the CustTable from HQ will be mapped (1 to 1) in the CustTable in the POSDB.

Apparently this is not the case since I am missing about 0.1% of the data.

Do I have to put the Customers in some sort of Address Book or something?

Thank you!


Item Model Group - Stocked Product

$
0
0

Hi All ,

In AX 2012 , Item master - Product type field has options like   Item , Service and in the Item Model Group form  - Stocked Product field available.

Item -  Represent finished items and raw materials.

Service  - Represent services

What is the use of the stocked product field and  which product type i need to place a check mark in Stocked product  ?

France report - Transaction list by date or voucher

$
0
0

Hello all,

I've noticed a strange result when I've launched the following report : Transaction list by date or voucher. This is a GL report only available for french companies.

Transactions displayed with data in the debit and in the credit although they only have debit balance or credit balance.

Does someone have already noticed this strange result before I open a MS case ? and if an hotfix already exist ? I didn't find one.

Thanks.

Greg

 

ax2012R2 - IIS on different host from AOS – target principal name is incorrect

$
0
0

Hi,

I have this situation :

Domain : OurDomain

AOS : AOSHost

IIS : IISHost

The AOS is running on AOSHost under the account "OurDomain\AOSAccount"

The Business connector account under which the MicrosoftDynamicsAXAif60 application pool is running is "OurDomain\BusConnAccount"

I installed the "Web Services on IIS" and the ".NET Business Connector" components on IISHost. Actually I tried two scenarios, with the same result: only the "Web Services on IIS" component, or both the "Web Services on IIS" and the ".NET Business Connector" components. During install I gave the "OurDomain\BusConnAccount" when the wizard asked, and also gave the "OurDomain\AOSAccount" name (but no password for this one, the wizard doesn’t ask). This host represents a IIS machine in a DMZ, although I have no firewalls yet. I’m taking it one step at a time.

By enabling anonymous authentication on my test inbound port and in my IIS web site, my test C# program is able to retrieve the service references from the IIS Host. But then, when my test program tries to actually hit the web service, AX throws a "A call to SSPI failed, see Inner Exception" error. Further digging shows that the inner exception is "Target principal name is incorrect".

In the IISHost Event viewer I see "The kerberos client received a KRB_AP_ERR_MODIFIED error from the server. The target name used was host/aoshost. This indicates…".

So I tried setspn.exe commands

setspn –s http/iishost ourdomain\aosaccount

setspn –s http/iishost.ourdomain ourdomain\aosaccount

setspn –s host/aoshost ourdomain\aosaccount

setspn –s host/aoshost.ourdomain ourdomain\aosaccount

For a while this fixed the problem. I mean I could hit the web services hosted on IISHost, and it was the information from the AOS on AOSHost. Everything was good until my AOS service wouldn’t start anymore. I got a 1069 error, "The service did not start due to a logon failure". I tried to reboot the AOSHost, and after reboot couldn’t logon to it with any domain account anymore. "The Security database on the server does not have a computer account for this workstation trust relationship." Removed the above setspn commands, and could logon the AOSHost just fine afterwards.

Now I’m back to the "Target principal name is incorrect" error.

What I’m trying to do is simple : get the IIS running on a remote host. Can anyone help me please?

AX2012 Word Add-Ins template: cannot generate template with multiple pages

$
0
0

Hello,

I've made a template which is like the image. It is obtaining data with the "Cust" query, which retrieves information from CustTable and CustTrans. I publish my template in Sharepoint, and then I export through Accounts Receivable>All customers>"Generate From Template" button. But It only exports one page; I need to export all invoices related to a Customer, but I only get one page with the data of the first result found by the query.

 

 

Any ideas please??

Thank you

AX2012 R2 Fixed Asset Depreciation Proposal Logic Change?

$
0
0

Hi,

I have noticed a change in the way depreciation proposals are calculated when rounding is applied after an upgrade from AX2012 to AX2012 R2.  

Take this example:  A Fixed Asset has been depreciating at $21.00 per month (set to round to the dollar in parameters).  The asset has been almost fully depreciated and only has $14.44 left as the net book value

AX2012 (prior to upgrade):  Depreciation proposal makes the last proposal amount $14.44, ending the service life of the asset.

AX2012 R2 (after upgrade):  Depreciation proposal makes the last proposal amount $14.00, leaving $0.44 as the net book value.

All parameters are the same as this was a systematic upgrade.  This change seems to be counterproductive to me.  Has anyone else experienced this or know where I can find an explanation of the change?

Thanks,

John

[AX 2012] Modify form field value in X++

$
0
0

Hi, 

how do i modify the value of a form field in X++?

 

I  found SetValue() method but doesnt seem to work out. 

Is there a .value property which can be set in order to change the value of a field at runtime?

 

Thank you in advance 

regards

Customized field not displayed in Ax 2012 List Page

$
0
0

Hi Folks,

I am trying to add a String Field in List page grid, it is a dispaly method. It is allowing me to add a new field in the Grid but it not showing it in List Page. I have checked the display method is working fine. It is Project List page and it is customized with 4 fields, in that 3 are set visible false. If I changed the property of the old customized fields, it working normally. But if I took a duplicate of it and changed property as per my needs, It not showing in the main form.

I am wondering why it is happening, a new field / a duplicate of the old customized field are not woking but the exist customized fields are how working? I unable to understand this.

Could any one help me on this. I have created the field as per the MSDN guide lines.

Thanks in Advance !!!!!

Vasanth Arivali


Form Grid Select All Records

$
0
0

I have created a form and when I check the select all box it only selects 20 records or the ones that are loaded in the grid.  Can someone direct me to how i can have it select all records in the datasource instead of the loaded records.

I have tried changing the DS Delay Active = No

I have also tried this dynamicsuser.net/.../311603.aspx

Thanks

Eric

Admin not authorized?

$
0
0

We are getting an odd error in our AX 2009 environment, where every time a batch job set up by our Admin user is executed (in this case, a periodic Change Based Alerts job), we receive 3 errors in the server's event viewer:

Object Server 01: Dialog issued for client-less session 4: User 'Admin' is not authorized to select a record in table 'BATCHGLOBAL'. Request denied.

Object Server 01: User 'Admin' is not authorized to select a record in table 'BATCHGLOBAL'. Request denied.

Object Server 01: Dialog issued for client-less session 4: Cannot select a record in BatchGlobal (BatchGlobal).
Access Denied: You do not have sufficient authorization to modify data in database.

We aren't able to identify why Admin is getting this error. The user is a member of the Admin security group, and looking at the SQL table directly shows it is being updated to reflect the last time a batch job is updated. The batch job itself seems to be completed without any issues as well.

What could be causing this error, and how can we go about fixing it? We have gone so far as to give direct sysadmin privileges to the user account on the database, and restarting the service, server, etc (many times) with no effect.

Managing CommandButton security

$
0
0

Good morning everyone!

I've got a request from our BA to globally remove the delete button on all sales order forms (allow cancel but never delete). The delete access is attached to a CommandButton, and I noticed a "visible" property for the button which when I set to No hides the button for all users. Also I understand there is a "NeededPermission" property I can set to a minimum permission in order to access the control (because I want to disallow the delete to all user this might not work for my purposes). I've also tried looking for the proper privilege to set the security level but haven't had much luck. How are control normally managed in terms of security: form level, privileges/permissions, etc?

 

FYI...the control I'm looking at is...

SalesTableListPage > SalesOrder > Maintain button group > Delete control

Thanks in advance!

AX 2012 R2 Trial Balance Bug and Fix

$
0
0

There is a bug in Dynamics AX 2012 R2 regarding the Trial Balance where under the right conditions the total will drift out of balance with the underlying transactions.  Typically this will involve debits and credits the same ledger account within the same journal.  Doing a "Rebuild balances" on the affected dimension sets will clear the problem, but it can reoccur quickly.  In our case, the issue occurred multiple times daily until we implemented a fix ourselves.

My personal fix for this is attached.  It is provided for academic purposes only and no warranty is provided.  Use at your own risk.

The code responsible is in Classes\DimensionFocusUpdateBalance\createBalance where recently posted transactions waiting in the DimensionFocusBalanceTmp table are inserted or updated into the DimensionFocusBalance table.

The root cause of the problem is very subtle and revolves around a little known issue with doing a UPDATE in SQL against a 1:n JOIN.  The fix splits the update statement into two statements where debits and credits are applied separately.

The following SQL demonstrates the underlying root cause.  The results are different from what one would intuit at first glance.

 

create table #balances (   ACCOUNT nvarchar(10),   TOTAL NUMERIC(10,2) )

create table #balancestemp (   ACCOUNT nvarchar(10),   DEBIT NUMERIC(10,2),   CREDIT NUMERIC(10,2) )  

insert into #balances values (N'5000', 200.0)

insert into #balancestemp values (N'5000', 300.0, 0)

insert into #balancestemp values (N'5000', 0, -100.0)  

select * from #balances

select * from #balancestemp  

update b set b.total = b.total + t.debit + t.credit

  from #balances b

  join #balancestemp t on t.account = b.account  

select * from #balances

 

NumberSequenceReference error

$
0
0

When creating a number sequence in ax 2012 R2 and relate it to an numbersequece reference I get this error

Cannot create a record in Number sequence references (NumberSequenceReference). Datatype number sequence properties: 4348, kcnl      None.

The record already exists.

Viewing all 72043 articles
Browse latest View live




Latest Images