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

Form mandatory field

$
0
0

Hi Guys,

I have probably a very simple question for you and hope you can help me.

I want to set a mandatory field in a Form on a datasource.

I put therefore in the Active method after super();  the following code:

purchReqLine_ds.object(fieldnum(PurchReqLine,LedgerAccount)).mandatory(PurchReqParameters::find().BRIPuReqLedgerAccount);

Parameter is set "true" 

When I open the form it also underlines the field in red, but it doesent validate it when I insert or modify a record.

Do I have to put the validation of the field also in the validateWrite method in the datasource, or do I miss something else which would trigger the standard AX mandatory field validation?


Wireshark shows DCERPC (MSRPC) failure - reports not appearing in Dynamics client.

$
0
0

We're having an issue where reportviewer controls in the Dynamics client do not populate.  Reviewing logs, an attempt to contact our SSRS server doesn't even occur.  Reviewing Wireshark, it shows the Dynamics client makes a "DCE/RPC" call to our SSRS server, which returns an access denied packet (I only know this thanks to Wireshark's decoding function).  No attempt to contact the SSRS service (HTTP or HTTPS) is ever attempted.

Interestingly enough, if the user happens to be a local admin on the SSRS server (few of us IT guys), the report will appear and the Wireshark packets show DCE/RPC protocol success (followed by HTTP traffic to the SSRS report website).

All permissions in Dynamics and SSRS are setup correctly.  The issue, as seen by Wireshark, lies with the local OS on the SSRS server denying non-admins access to something I'm unaware of, which occurs between the Dynamics AX client and SSRS server operating system (DCOM? COM+? MSRPC?) which I cannot find in documentation.  The failure in this step makes the client never attempt to reach the SSRS server, thus no report is shown in the client.  For example, if you go to Production Control and Start an order, the ProdReport never appears (the window housing it doesn't appear, either).  Users can contact the SSRS server directly via browser and run the reports without an issue, however (not a SSRS permissions issue).

As per Wireshark findings, is anyone familiar with DCERPC/MSRPC and what the Dynamics client is doing with the SSRS server before actually sending the HTTP request to the report website?

Thank you in advance for any assistance helping us solve our headache.  In the meantime, I will read more on MSRPC...

Loop over labels in certain label file by code

$
0
0

Is there a way to loop over labels in certain label file by code to modify the label & its description.

SRSS Render Parameter question define Warning[] array in X++

$
0
0

We are calling the Microsoft.Reporting.Winforms.LocalReport report render method which takes many parameters. The final one is causing compile problems.  Intellisense shows instead of requiring a String Array a Warning[] array. The warning is a group of fields containing information about the error or errors.

In VB.net this worked fine, warnings was passed to the compiler without a problem:

Dim warnings() As Warning = Nothing

How would you accomplish this in X++? For String arrays the following works fine:

str streamids[];

Any help would be appreciated!

Thanks

Konrad


Reporting Services Extension in AX 2012 R3

$
0
0

Hi all,

I want to add "Reporting Services Extension" in to my environment. But I am unable to do it.

I have one server for SQL&Databases and one for AX Client & AOS.

Please tell me how to resolve this issue.

About Number Sequences

$
0
0

Hello everyone,

Can we use in Microsoft Dynamics AX 2012 two different number sequences for the same reference?

for exemple: two different number sequences for Sales Orders.

Thanks.

AX 2012 X++ Override Method Ignored

$
0
0

I'm new to AX and I'm in the process of trying to learn how insertUpdate() in DMFEntityBase works.  However, it looks like every time I close my instance of AX, AX seems to forget that I overrode the method.  A quick background:

  1. I've created a custom entity based on ForecastSales table using the provided wizard (to import data via DIXF).
  2. The wizard created a private project DMFForecastSalesEntity that contained the DMFForecastSalesEntityClass class.
  3. In this class I chose to override the insertUpdate() method.

After a few confusing session, I made a very simple test by simply changing

public Common insertUpdate(Common _target, boolean _callInsertLogic = false, boolean _callValidateLogic = false)
{

Common ret;

ret = super(_target, _callInsertLogic, _callValidateLogic);

return ret;

}

to (addition emphasize in red)

public Common insertUpdate(Common _target, boolean _callInsertLogic = false, boolean _callValidateLogic = false)
{

Common ret;

info('testing!');

ret = super(_target, _callInsertLogic, _callValidateLogic);

return ret;

}

After making, saving and compiling the change, importing via DIXF will display the info as expected.  However, if I close AX, reopen AX, and import again, the info will NOT display until I compile the class again.

I've already tried compiling the class and the entire project, but so far avoided compiling the entire AOT (it takes 2-3 hours).  Is compiling the entire AOT the key to this or am I missing something?

Automated vs Manual Journal Entries

$
0
0

Just have a question raised by our auditors and I'm not sure how this works in Dynamics AX.  Any ideas how I'm able to differentiate between the two?

"How can one identify a journal entry that is automated vs. manual (e.g., a manual entry is one which is not automatically generated by the system)?"


Has anyone setup Ledes file format and UTBMS codes in Dynamics AX?

How can i filter on different Fields?

$
0
0

Hi,

I have a form (Simplelist or SimpleListDetails). I want to search and filter records on different Fields (CustAccount, Name, date of delivery).
How can i have a filter like the All customer listpage in Accounts receivable with an textfield and a button with different option?

Thanks

Time to configure MSD AX financial accounting

$
0
0

How much time will take to configure financial accounting processes in MSD AX 2012

Create new vendor invoice by X++ code using FormRun

$
0
0

Hi everyone,

I am trying to create a new vendor invoice in creation mode using this code : 

PurchFormLetter_Invoice purch;
Args args;
FormRun run;


purch = PurchFormLetter::construct(DocumentStatus::Invoice);

purch.parmOpenMode(OpenMode::New);


args = new args(formStr("VendEditInvoice"));

args.caller(purch);

run = classFactory.formRunClass(args);

run.init();

run.run();

run.detach();

The form is not opening because there seems to be missing a parmId in the init() method of VendEditInvoice...

Convergence is now Envision, what are the options for conferences about AX7

$
0
0

I received an email today that Convergence is no longer and Envision is replacing it.  It doesn't state that Envision is anything similar to Convergence and the website does not contain any helpful information about what will be discussed. It does not seem to be anything Dynamics related.   I read on another news site that Ignite is replacing Convergence for Dynamics content.  Is this true?  Will this be technical content for implementation of AX7, product differences, overview of project and accounting and other modules, help from Microsoft AX functional  team with AX, etc.?  Or do they recommend the technical conference in Feb?  Will AX7 be out yet by the technical conference? What would the difference be between Ignite content, AX Technical Conference, and AXUG? Thanks!

AX 2012 R2 - MSG_INFOPART_DATA and MSG_GRIDISEMPTY error

$
0
0

Hello All,

I have a new challenge for you.

Can anyone tell me why these two "errors" are occurring?

I use "errors" loosely since these two messages are not affecting normal functionality but it is odd since nothing has changed in the production environment. The users have tried the "reset data usage" trick with no success.


Thanks!

Data Mart Integration errors

$
0
0

MR is installed and configured, yet we see only one transaction when running the Income Statement dated back to the go-live a few months ago. 

I noticed there are errors in the Data Migration Integration in the Console, but I can't make anything out of it. I'm not really sure which user login the error is referring to. Any help would be greatly appreciated.

[AX 2012 Fiscal Years to Fiscal Year] has encountered an error. Processing will be aborted. Error text: User login failed with error code: The user name or password is incorrect

[AX 2012 General Ledger Transactions to Fact] has encountered an error. Processing will be aborted. Error text: User login failed with error code: The user name or password is incorrect

[AX 2012 Organization Hierarchies to Tree] has encountered an error. Processing will be aborted. Error text: User login failed with error code: The user name or password is incorrect

[AX 2012 Companies to Company] has encountered an error. Processing will be aborted. Error text: User login failed with error code: The user name or password is incorrect

[Scenario to Scenario] has encountered an error. Processing will be aborted. Error text: User login failed with error code: The user name or password is incorrect

 


GeneralJournalAccountEntry relation between the records

$
0
0

I understand that the records in GeneralJournalAccountEntry  in tables are credits and credit and if there is credit there might be debit. How do I relate one record to another so we know the corresponding debit record for a credit record.

thanks

Restriction on Item for zipcode,city,county,Zipcodegroup

$
0
0

 Hi all,

I want to add a restriction on a item for sell.

In standard ax,only restriction for coutry and state is available,I want it for zipcode,city,county.

I had added the fields,in PDSMRCREstriction list form and by item form.

what modifications in the code should I do to get a info thrown for restriction added for particular item in the restriction list.

New to MS dynamics AX

$
0
0

As I had completed my M.C.A.And right now I'm working as a Jr.I.T.Executive in a Hospital,as my duty is system analysis,user training and also system designing.Now,I'm trying to broaden my area and need to be specialized in particular area.I had heard about MS Dynamics AX  in technical which I think it suits me.Also I'm not good a programmer.Can anyone tell me the scope and importance of it?

"Unable to connect to remote server" error in AX2012 R2

$
0
0

Hi All,

When generating an invoice or report I am getting the error "Unable to connect to Remote Server" very frequently (6 times in a day). Every time I am disabling the Report service and restart 3 or 4 times and then only the error is going. Sometimes I am getting mad in restarting the service to correct the error. What could be the reason and how to solve it permanently?

Thanks in advance,

Dhanoop R.Warrier

Error when building SSRS in Visual Studio - project references an assembly with the same name

$
0
0

Hi there,


I want to do some changes on a report. I developed a lot of reports and everything worked fine. Sudenly I got an error message when I try to build the report - I built the project, did some changes and got the error. Now I get the error on every report:

Cannot build model assembly 'ReportModel13.Model' because the project references an assembly with the same name as the one which will be built


I've tryed to fix the problem yesterday the whole day but I've not further ideas.

Thanks a lot!

Viewing all 72043 articles
Browse latest View live


Latest Images

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