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

EP site is not working after changing the sys password.

$
0
0
I  changed my system password after that I got this error when i am opening EP in ax2012 r2 -
"You cannot view data on this page because you are not a registered user in Microsoft Dynamics AX. Contact your Microsoft Dynamics AX administrator."
Before that EP site is working fine. I am able to open AX and SQL.
Where will go to update the password in Sharepoint central admin.
Could you please help on this ?

How to use QueryBuilder for multiple child joins?

$
0
0

I'd like to recreate this SQL code here, using QueryBuilder:

select Field1 from TableA
inner join TableB
    on TableA.F1 = TableB.F1
inner join TableC
    on TableC.F2 = TableA.F2 --note TableA again


This is the code I've generated so far:

QueryBuildDataSource dataSource;
    QueryBuildDataSource dataSourceOMInternalOrg;
    QueryBuildDataSource dataSource2;
    str textDesc = "";

    query = new Query();

    dataSource = query.addDataSource(tableNum(LogisticsPostalAddress), "LogisticsPostalAddress");

    dataSource.relations(false);

    dataSource = dataSource.addDataSource(tableNum(LogisticsAddressCountryRegion), "LogisticsAddressCountryRegion");
    dataSource.addLink(fieldNum(LogisticsAddressCountryRegion, CountryRegionId), fieldNum(LogisticsPostalAddress, CountryRegionId));

    dataSource.joinMode(JoinMode::OuterJoin);

    dataSource = dataSource.addDataSource(tableNum(DirPartyLocation), "DirPartyLocation");
    dataSource.addLink(fieldNum(LogisticsPostalAddress, Location), fieldNum(DirPartyLocation, Location));

    dataSource.joinMode(JoinMode::InnerJoin);

    dataSource = dataSource.addDataSource(tableNum(DirPartyTable), "DirPartyTable");
    dataSource.addLink(fieldNum(DirPartyLocation, Party), fieldNum(DirPartyTable, RecId));
    dataSource.addLink(fieldNum(DirPartyLocation, Location), fieldNum(DirPartyTable, PrimaryAddressLocation));

    dataSource = dataSource.addDataSource(tableNum(OMInternalOrganization), "OMInternalOrganization");
    dataSource.addLink(fieldNum(OMInternalOrganization, RecId), fieldNum(DirPartyTable, RecId));

    dataSource.joinMode(JoinMode::OuterJoin);


But it doesn't work since I need my projection to start at LogisticsPostalAddress and L..P...A...CountryRegion and DirPartyLocation both need to be linked with LogisticsPostalAddress. At the second time I try to link LogisticsPostalAddress I get an error because the last datasource added was not that one.

I don't know how to do that using QueryBuilder, is it possible? If so, how?

This is the full structure of the query I'm trying to assemble:

Thanks!

Critical Stop, Stack trace: An empty SQL statement descriptor list has been encountered.

$
0
0

When doing a full compile of the application after upgrading my Ax2012 system to the latest CU2, I get a critical stop.  I have very few customizations to a few tables at this point.  I may have seen this before, out of the box, but didn't concern myself with it.

I like Ax, I do, but it remains full of un-helpful error messages such as this one.  Does anyone know how I can get more detail in a log?  (There was nothing in the message window or compile output window.)  Dono if it finished or not...  A critical stop indicates the full compile was not completed!

Thanks,

Joe

 

Issue while working in EP

$
0
0

Hi All,

 

I am facing issue with visual studio development of EP.

I have created a detail page and linked the detail page with a list page, then I have created a SharePoint page and deployed the created user control on the page, but the action pane is missing from the visual studio toolbox. It should be present in the Dynamics AX section with name AxActionPane.

I have tried adding assembly reference to visual studio manually as suggested by searched solution and it didn’t work.

 

Please help..!!

Issue in EP

$
0
0

 Hi All

I have an issue with EP.

I have added a module “Training” in the web modules -> Home node, and set it quick launch(newly created) and menu item property as required and deploy the element on EP.

After refreshing AOD in EP I got two tabs in top navigation bar of training and I have tried to sort out the issue but didn’t find anything.

 

Secondly, I have removed my customizations and generated the incremental CIL on AX and refreshed the EP. The two links are still on the same location. L

 

Please guide

Ax 2009 Form Usage Data, how can I use it?

$
0
0

I would like to be able to store users selections criteria for a given form.  And then when the user opens that form next time would like to apply the same selection criteria the used in their last session.

I am just not sure how to use the SysLastValue table to store this data, or if that is even the best place to start.

AIF Webservices debugging - includeExceptionDetailInFaults

$
0
0

I have written a fairly basic web service and deployed from AX2012R2.

I have then wrote a quick Visual Studio project to consume the webservice so I can test it. The service loads in fine, and I can set most of the values, but when I try and create the record I get the following message:

"The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK "

This message is generally tellin gme I need to switch on debugging (IncludeExceptionDetailInFaults) the question is how, what and were do I complete this?

On the server I have the web config file, which I have read should have the IncludeExceptionDetailInFaults set to false, change to true, but it is not present. (see below)

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation debug="false" targetFramework=".NETFramework, Version=v4.0">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
The <customErrors> section enables configuration of what to do if/when an unhandled
error occurs during the execution of a request. Specifically, it enables developers
to configure html error pages to be displayed in place of a error stack trace.
-->
<customErrors mode="RemoteOnly" />

<!--
The <authentication> section enables configuration of the security authentication
mode used by ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>

<!--
The below settings (httpModules,trust) are in place to make sure AIF works
when deployed with Windows Sharepoint Server (WSS). E.g. With Enterprise Portal (EP).
WSS overrides certain Asp.NET configuration which makes standard Asp.NET applications to fail.
For more details refer to http://support.microsoft.com/?id=828810
-->
<httpModules>
<!--
<add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" />
<add name="FileAuthorization" type="System.Web.Security.FileAuthorizationModule" />
-->
</httpModules>

<!--
Set the trust back to Full.
WSS configures a very restrictive trust policy that does not allow most applications to run correctly.
-->
<trust level="Full" originUrl="" />

</system.web>

<!-- Configure tracing information for debugging in production version -->
<system.diagnostics>
<!-- This is relevant only for DEBUG build.
This disables assert dialog when Debug.Assert() is used in code. Since code will be running in IIS (no-ui)
we have to disable dialogs. We will redirect it to a file
Please make sure to give a full file path to where the assertion file should be located
-->
<assert assertuienabled="false" logfilename="AifDebugAsserts.webinfo" />

<!-- This is used for enabling tracing in retail and debug builds.
AIF Service processing stack outputs information messages used for debugging.
Possible values for switch are Off, Error, Warning
Change switchValue to Information to enable this.
-->
<trace autoflush="false" indentsize="4">
<listeners>
<add name="AxTraceListener" type="System.Diagnostics.EventLogTraceListener" initializeData="Dynamics AX Services (IIS)" />
</listeners>
</trace>
<switches>
<add name="ServiceTraceLevel" value="Off" />
</switches>
</system.diagnostics>
<appSettings>
</appSettings>
</configuration>

So my question is how to I debug the webservice to determine what the issue is with the create...?

Thanks for your help.

Uploading Opening Balances

$
0
0

Hi Everyone,

In an ERP implementation normaly (other ERPs) we upload the Balance Sheet as a Journal Voucher, import open invoices of Customer/Vendor, Post them and delete the vouchers that are generated as a result of posting these open invoice documents so that they are not duplicated in the Trial Balance since the B/S has already been uploaded.

 

Is the Proceedure same in Dynamic AX as well?

 

Thanks in advance for the answer.


Form control property Columnspace label **undefined**

$
0
0
  • Hello All, i am facing a problem in form control property Columnspace when i install client and  go to any form group control property Columnspace , it comming with the label **undefined** which is giving problem to all forms  . IN server instance every thing is allright. i can see the property as Columnspace  only. the code which i have written for columnspace are giving problem in client machine as there is no property as Columnspace  . please suggest me something , so i can check where is the problem.

General Ledger accrual balance by PO (AX 2012 r2)

$
0
0

Hi,

I am having difficulty reconciling the Accrued Purchase Report to the Accruals/GRNI nominal codes on the TB.

Therefore I would like to create a query that shows the accrual balance per PO in the General Ledger (this way I can compare it to the Accrued Purchases report on a PO by PO basis). I do not have PO as a dimension in the GL.

I am querying GeneralJournalAccountEntry where PostingType = 203 to identify the purchase accrual.

However, I am having difficulty linking the postings in GeneralJournalEntry & GeneralJournalAccountEntry to the original PO.

The main difficulty  I am experiencing is that the vouchers posted in the GL are voucher type IPRV* for goods receipt and PIV* on the receipt of the invoice/reversal of good receipt.

These vouchers do not appear in the Invent tables. The invent tables tend to have the RCV* vouchers for goods receipt and INCV* on the receipt of the invoice/reversal of good receipt.

I have also tried linking the GeneralJournalEntry to TransactionLog but I can't link from the TransactionLog to the goods receipt or subsequent invoice.

 

I also have the added complication of both stock and non-stock goods receipts.

Any suggestions on the best way to link the GL accrual postings to the PO would be much appreciated.

 

Thanks,

Barry.

 

 

Adjust PO -> error when confirming the PO

$
0
0

Hi all,

When i create a PO with one line, confirm the PO but then i change the PO-line (for example i change the quantity from 5 to 6), the system gives following error:

Debugging the code is apparently not possible...

Can someone give me the explanation and th path to add a right ledger account?

Thanks a lot!

Frederik Vanhaelst

AR Payment Journal Posting Error

$
0
0

Hi All,


I am trying to post an AR payment journal. Since there two currencies, the journal is also using our automatic posting to hit the penny differences account. The issue I am having is that this penny difference account does not allow the location dimension. However, the location dimension is defaulted on the customer record. This is giving us an error that states "the combination is not allow for this account structure". My questions is, how can we remove this location default from the automatic posting account? Is there a parameter somewhere? If not, how should I handle this issue?

We are using AX 2012 R2 RTM.

Thanks again for all the support!
 

Checklist menu items doesn't expand

$
0
0

Hi,

I've just installed a new AX 2012 R3 CU8 using the slipstream method. Starting the client first time the Initialization Checklist appears as expected, but I'm not able to expand any of the items on the checklist.

 

Sounds weird and i've never seen it before but perhaps anyone has an answer on how to proceed?

 

Thanks,

Torben

disposal of asset

$
0
0

Hi

We have a registred fixed asset that not is in use anymore. The parameters is ok for disposal of cassation. But how do we do for register that the asset no more is in use?

Document service order can not be created

$
0
0

please can any one give the solution for this C# aif error

Document service order can not be created invalid xml document in windows store c#..using aif service


Alerts and rules

$
0
0

Hi all,

I have the exact same alert rule created for two users. The alert is being sent to one user but not to the other when it is triggered. Anyone know what maybe a cause? 

Are only 1 alert only triggered for 1 event?

Forms loading twice (auto-refresh)

$
0
0

The screenshot below describes the issue that I am facing. In detail, in the form with Header View mode, when I click on the Edit button just one time, the system did automatically twice.

Also, with original PurchTable form, I also observed the same issue happened on that form.  Is there a way to prevent this from happening?

Generating Gantt chart error in AX 2012 R2

$
0
0

Hi guys,

 

Has anyone experienced this error upon generating gantt chart in Production control? production control>>All production orders>>schedule>>gantt chart.

the error appears says "Error executing code: Overflow in internal run stack."  attached screenshot below for the full infolog error.

Services running in AX

$
0
0

Is there any way to check which service is running in AX through code?

AX POS - Transaction Comment Button

$
0
0

In POS there is an option to update  Transaction Comment under shift operation.

Can you please update  where Transaction Comment Remarks data is stored in POS Database.

Thanks

Viewing all 72043 articles
Browse latest View live


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