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

Unable to Process Electronic Payment From AX 2012


SSRS Report Parameter

$
0
0

How to query drop down parameters when creating SSRS Report.

Running Visual Studio 2010, Report Data Provider as Data Source, Datasets from Temp Table in AX 2012 R3.

Thanks!

Synchronization Error AX 2012

$
0
0

Dear All,

After I synchronized my data dictionary i am getting the following error.

Field mismatch in union query. Field 'Description' is not compatible with field 'Description'.\Queries\BankDocumentTableUnionAll\Data Sources\BankDocumentBankAccountTransView(BankDocumentBankAccountTransView)

 

I did full compilation ,full cil generation checked the edt but i was not able to resolve the problem.

 

Kindly Help.Thanks in Advance

Power BI for Dynamcis AX

$
0
0

Hi,

Can anybody recommend me a good book / document as a starting point for learning more about the "power BI" features for Dynamics AX?

Ludwig

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


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

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


Stranded invoices within the purchase ledger invoice pool

$
0
0

Stranded invoices within the purchase ledger invoice pool - users have authorised them in an unorthodox way which have left approved invoices in the invoice pool...

Has anyone ever come across this before or knows a way to remove them that would be great!

Dynamics AX 2009 periodic hangs while printing labels.

$
0
0

Hi Everyone

I have an issue with AX2009, that I am hoping to get some help for here.

When I am printing labels from AX2009 to my Avery AP 5.4 labelprinters, AX hangs/stalls between the fourth to fifth printjob periodically.

It seems to contact the printers or something and then suddenly starts printing again. 3-4 rapid jobs in a row and then it hangs/stalls again. (wait time 10-20 seconds)

The Avery-printer is attached to a Windows Server 2012 printerserver, using the latest Avery printer-drivers and bidirectoinal printing has been disabled. 

Have anyone had similar issues and what did you do to mend them ...

Don't hesitate to ask for more details, but please tell me where to find them, as I am not that experienced with AX2009.

Sincerely 
Jesper Lundaa

Dynamics Ax 2012 Symmetry

$
0
0

Hi,

i have a problem with the compiler , it does not recognize symmetry classes:

for exemple if i open the class PayrollCalculatePayStatementBenefits and i type an empty space and save the compiler shows a syntax error on the line 12

Symmetry.taxEngine.BenefitInfo benefitInfo401_403;  

thank you for help

Error during data dictionary synchronization: Table mistaken for View

$
0
0

In DEV environment AOT we have a table called
LedgerTrvExpTransCube

In DEV environment SQL we have a view called
LEDGERTRVEXPTRANSCUBE

The object is not modified.

Now, when we execute full Data Dictionary synchronization, we get following error:
Cannot execute a data definition language command on  ().
The SQL database has issued an error.
SQL error description: [Microsoft][SQL Server Native Client 10.0][SQL Server]Cannot alter 'LEDGERTRVEXPTRANSCUBE' because it is not a table.
SQL statement: ALTER TABLE LEDGERTRVEXPTRANSCUBE DROP COLUMN PARTITION#2

 

I am confused how something like this could happen.

In all other environments there is the view in the AX AOT called LedgerTrvExpTransCube and view on the SQL server. According to TechNet this object is a view. So I wonder why we see it as a table in our DEV AOT...

The versions of the Microsoft models are all the same between these two environments.

Other info: the table SqlSyncInfo is empty.

 

Any ideas how it could have happened and how it could be solved?
I am thinking about dropping the view on SQL and sync again.

 

Thanks,

Waldemar

Reporting Services

$
0
0

Hi Master,

I have a serious problem whith the reports. After restarting the service AOS, does not work any report, appears the below ERROR:

In Spanish:

El formateador inició una excepción al intentar deserializar el mensaje: Error al intentar deserializar el parámetro http://tempuri.org/:queryBuilderArgs. El mensaje de InnerException era 'El elemento 'http://tempuri.org/:queryBuilderArgs' contiene datos de un tipo que coincide con el nombre 'http://schemas.datacontract.org/2004/07/XppClasses:SrsReportProviderQueryBuilderArgs'. El deserializador no tiene conocimiento de ningún tipo que esté asignado a este nombre. Intente usar DataContractResolver o agregar el tipo correspondiente a 'SrsReportProviderQueryBuilderArgs' a la lista de tipos conocidos (por ejemplo, usando el atributo KnownTypeAttribute o agregándolo a la lista de tipos conocidos que se pasa a DataContractSerializer).'. Consulte InnerException para obtener más información.

Here is in English:

The formatter threw an exception while trying to deserialize the message : Error while trying to deserialize the http://tempuri.org/:queryBuilderArgs parameter. The InnerException message was http://tempuri.org/:queryBuilderArgs ' Item ' ' contains data of a type that matches the name ' http://schemas.datacontract.org/2004/07/XppClasses:SrsReportProviderQueryBuilderArgs ' . The deserializer has no knowledge of any type that is assigned to the name . Try using DataContractResolver or add the corresponding ' SrsReportProviderQueryBuilderArgs ' to the list of known types ( for example, using the KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer ) . ' Type . See InnerException for more information .


HELP ME PLEASE!!!!!!


Viewing all 73760 articles
Browse latest View live


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