Quantcast
Channel: Iulian Cordobin's Groups Activities
Viewing all 1084 articles
Browse latest View live

Getting external compiler bad elements on standard code

$
0
0
So, I wondered for a while why would you get bad elements when compiling the AX code using the external parallel compiler (AxBuild.exe) on a clean AX 2012 R3 with CU9.
The error list would be something like:

*** Badlist contains 3 elements.
*** Bad element: \\Classes\AssetBookBonusMethod_IN
*** Bad element: \\Classes\PCImportModel
*** Bad element: \\Classes\VendInvoicePostBatchCleanup
*** Compile log:

I always imagined that bad element for sure means an error, so, opening AX would recompile again the elements, but indeed (as it would be normal) no erroris thrown.

Then, I realized the obvious; if you would open up the log file (C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\AxCompileAll.html) there are just some warnings on these elements, no errors.

So, bad elements can equal warnings, not necessarily errors.


Derived table no value in update method

$
0
0

Hi

The added fields on table DirOrganizationBase are empty in update() method if saved from DirPartyTable form.

Any way to get them?

AX 2012 Reports - unable to contact remote server

$
0
0

Hi team,

I have installed AX 2012 client in my local machine. When i try to open any report from my local machine i am getting the below error. Unable to connect to the remote server.


The same report when i tried by logging in the server, it was working fine. I have installed only the AX client in my local machine. Is there any other additional components needs to be installed in my local machine to open the report.

Please suggests.

Thanks,

AX Client Very Slow

$
0
0

Hello everyone,

We are facing a strange issue, AX client is very slow over some period of using the client, it is almost inaccessible beyond a point. but when we log the same user to server through RDP and restart the client again the speed becomes normal.

Clearing cache files does not help.

We do have a Complex Infrastructure, with Two Virtual Machines in cluster with Four Load balanced AOS. 

SQL server is also in Cluster, and separate SharePoint server.

 

The slowness is the most when trying to access Documents which are stored in DB for some file formats and SharePoint folder for some formats.

I would like to know  what happens when You  are accessing AX  in the  AOS server machine and a client.

Also we are using a Configuration file to access the clients.

 

Please advice on how can I troubleshoot this.

 

thanks

How to filter values in EDT Relation Based Lookup field in AX 2012 R3?

$
0
0

Hello All,

I want to filter "Default language code" lookup field in "SysEmailTable" Form. Actually which is having relation with "language table". In which i want to show only "en-gb" value, when user click on that lookup. How to do that? Is it possible to filter values in relation based look up?

how to get workflow approvals (user names) for a journal number in ledgerjournal report?

$
0
0

how to get workflow approvals (user names) for a journal number in ledgerjournal report?

i have a posted journal. and want to get workflow approval user name?

Path: select a journal number in GL and then click on Action button > view history > tracking details tab > workflow element activities.


i want to know that user name who approved this journal?

need help with some code (job)

i also explore these tables but no clue how to get result

WorkflowTrackingStatusTable

WorkflowTrackingTable

WorkflowTrackingCommentTable

regards

zeeshan

Grouping of multiple lines in a single line

$
0
0

Dear all,

           i have following lines in sales order:

Item Name:  Qty:

A                 100

A                 100

A                 100

i want the lines in invoice as group of item name:

A       300.

how to make grouping in report with single line?

thanks in advance,

Suresh

How to get the New record from the SQL in to ax table.

$
0
0

I want to get the data from Sql,

i am created the ODBC Connection and created the Class for Batch Job and writing the One Method to insert in to table

 

and call this Method in Run Method of class.

Runbase batch is executed and data is comming perfectly.

After run the batch job  if i insert the New value in SQL Data Base that value is not Coming.

i am writing this code.

 

public void insertSGCO_WB1_ProductIN()

 

 {

 

    LoginProperty loginProperty;

 

    OdbcConnection odbcConnection;

 

    Statement statement;

 

    ResultSet resultSet;

    SGCO_WB1_ProductIN _SGCO_WB1_ProductIN;

    str sql, criteria;

 

    SqlStatementExecutePermission perm;

 

    ;

    // Set the information on the ODBC.

 

    loginProperty = new LoginProperty();

 

    loginProperty.setDSN("ODBC Data Source");

 

 

    //Create a connection to external database.

 

    odbcConnection = new OdbcConnection(loginProperty);

 

 

 

    if (odbcConnection)

 

    {

 

        sql = "SELECT * FROM SGCO_WB1_TestTableIN";

 

        perm = new SqlStatementExecutePermission(sql);

 

        perm.assert();

 

 

        statement = odbcConnection.createStatement();

 

        resultSet = statement.executeQuery(sql);

 

        while (resultSet.next())

 

        {

 

         _SGCO_WB1_ProductIN.clear();

 

        _SGCO_WB1_ProductIN.TRANSACTIONNO = resultSet.getInt(1);

 

        _SGCO_WB1_ProductIN.GrossWeight   = resultSet.getReal(2);

 

        _SGCO_WB1_ProductIN.TareWeight    = resultSet.getReal(3);

 

        _SGCO_WB1_ProductIN.DATEENTRY     = resultSet.getDateTime(4);

 

        _SGCO_WB1_ProductIN.insert();

 

        }

    }

 

}

 

I am Created a Index in the Table for TransactionNO with Allow Duplicates NO.

If i Run the Batch job suppose 10 records are there it is inserted in the Table.

After i am Inserting the New record in the SQL It is not Coming.

 

Please Give me the Solution For this


Settled vendor invoices

$
0
0

I am looking for a way to see all vendor invoices who have been settled (partially or completely) in a journal of payment. Is there a table or anything else that contains these invoices?

Understanding the Data Dictionary Synchronize

$
0
0
A very important aspect of the every day life in AX is the Data Dictionary Synchronize process. If you do not fully understand it, sometime you can find yourself in a situation where you don't know how to recover from the errors it raises.

Let's see what this is about.

First item: how does AX work with SQL Server. The definitions of the tables (table name, columns' names, their type, lenght, etc) are keep in AX, of course. However, they must somehow get in the SQL Server, otherwise, the data won't exist.

This is where the DD Synchronize process kicks in. It is basically a task that takes each table in AX, and creates its definition in SQL Server. This happens if the table doesn't exist yet in SQL Server, however, if the table exists, it will look for changes and then, try to update the table according to the changes, if any.

This sounds very simple and so it is. You just run a Sync on a table that you've created or changed and AX will commit the differences. Then when the SQL statement are being ran by AX, SQL Server will have the proper physical table definition and will be able to return the data to you.

So, in a nutshell this is the process and a very high level definition. I'm going to talk about several items that could cause some issues in the next posts.

AX2012 claim based user authentication

Map object not initialized

$
0
0

Dear All


How to fix it

I have share screen shot 

MPOS Installer does not detect SQL Express if installed separately

$
0
0

Hi All,

I tried installing MPOS on a ACER Iconia W4 device. The MPOS installer could not download and install the SQL Express it gave me an error 

This SQL Server Setup media is not supported on a X86 system.  To continue, run the SQL Server Setup media that matches your system.


So i tried to install SQL Express from the link suggested by the MPOS installer. However later on running the MPOS installer it gave an error that the SQL Express "localhost\SQLExpress" is already installed on machine, verify that you have sysadmin permission on the instance. however the installer is unable to query the SQL Express version. This is either due to the Windows service for the SQL Express not running or user running the installer does not have permission on the SQL Instance.

Am unable to get past this error.

Any Ideas?

Hitesh

How to use LogonAs to logon to another AX server

$
0
0

hi all,

Currently, I'm using this code to login to one AX server (AX 2012) from my computer:

                //test logon AX 
                System.Net.NetworkCredential nc = new System.Net.NetworkCredential("akason", "123abcd");
                using (Session session = new Session())
                {
                    try
                    {
                        session.LogonAs("akason", "AXDEV", nc, "DAV", "en-us", "02@AX12R3CU9:2713", "");
                        string result = session.isLoggedOn().ToString();
                    }
                    catch (Exception ex3)
                    {
                        logger.Error(ex3.ToString());
                    }
                }

But I cannot connect to this AX server. I got the error: "Could not load file or assembly 'Microsoft.Dynamics.AX.ManagedInterop, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. An attempt was made to load a program with an incorrect format."
Did anyone login success before? please advise.

Thank you so much.

How to set SSRS language in the data provider class

$
0
0

Hi,

I am aware of this.parmReportContract().parmRdlContract().parmLanguageId(language-id) code to change the language of the report. But, I have seen this code only in the controller class's prePromptModifyContract() method.

I have a scenario where the language of the report needs to be determined in the data process class (DP class) of the report. How can I specify the language in the DP class processReport() method?

Regards,

Abhinay


Cannot install Web Services on IIS

$
0
0

Hi all,

I have error when install "Web services on IIS" AX 2012 R2.

When i clicked "Next" on "Specify Business Connector proxy account information" its show error "The password for Business Connector Proxy account CONTOSO\Administrator is incorrect".

But i'm very sure that i type exaclty password for Contoso\Administrator.

Thank you very much !

How to insert values in table on click of submit button on form and retrieve the same on a grid

$
0
0

Hi Team

I am new to MS Dynamics AX, I have creates a SalesOrderTable with three fields ordeno, orderdate, productname, quantity. I have created a form on which these fields I have drag and dropped. now I want to add the values into these fields and store it in data base. and retrieve it on a grid for this I have created another form can some one help me to understand how to do it.

Thanks

Mohammed Abdul Haleem

Running SSRS report twice with different layouts by just one click

$
0
0

Is there a way to run an SSRS report twice with different layouts by just one click (execution) with the same data

I want to print out the WMSPickingList_OrderPick Report twice. One-time layout A and the second one I need layout B.

How can I get this done?

Test automation tools for Dynamic AX 2012

$
0
0

Hi,

I'm using Dynamics AX 2012 for studies, and I need to make automated testing for my project wich was created in Dynamics, which Automated testing software or Test automation tools I can use to make automated testing, cause my software are on university remote desktop, I cant use axeptance software. Can you help and give name of software which can be used for my problem, for free or kind of trial version?

How to filter values from a form's datasource

$
0
0

Hello Everyone,

I have designed a form but I want to filter the data such that it excludes negative amounts so the only data that comes out on the column are positive values.

I also want the system to return all positive values from all customers except two customers, how do I do that?

How do I express this in a method.

Thanks!

Viewing all 1084 articles
Browse latest View live


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