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

Invoice quantity is greater than the quantity matched to product receipts

$
0
0

Dear Experts,

i m facing a problem during posting of Purchase order invoice.. i find alot but nothing got.. the error is "Invoice quantity is greater than the quantity matched to product receipts " 

 


advance thanks for your solutions.

Regards

 


Show Total at the bottom of Grid from a Display Method column?

$
0
0

Hii,

I want to show the total or sum of all lines in a grid, but the column is a display method.

I followed this article of Martin Dráb and successfuly showed total of CustInvoiceJour InvoiceAmountMST field in the grid bottom.
http://dev.goshoom.net/en/2015/11/summarized-values-in-ax-form/

But don't understand how to do it with a display method?

Here is the detail..

Form Data source

This is my form. Here Balance column is CustTrans remainAmountMST() display method. I want to show total of Balance column at the bottom of grid.

Thanks,

Query firstOnly having problems

$
0
0

Hi all

Running AX 2012 R3 CU9

Building a query to feed a view I'm making, and I'm having trouble with duplicate records.

In this query, I'm linking the SalesLine table to multiple transaction tables (CustConfirmTrans, CustPackingSlipTrans, CustInvoiceTrans) and I'm trying to get the first record for each of them for KPI values.

For the most part, I've used the firstOnly property on the query table's properties, and it usually seems to work. But in this instance, the link to CustConfirmTrans isn't limiting it, I'm still getting multiple records against that table. I've attached a screenshot of the query table layout along with the properties of the child data source.

Pls let me know if there's any other information that would be helpful.

Thanks very much in advance

Cheers

Luke

Project sales order non chargable to change issue status

$
0
0

Hi all,

We have a sales are that are linked to a project. The project defines the lines to have a line property which is non chargable. The Sales order is packing slip updated, and the issue status on the inventory transaction is Delivered as well is the sales order line status also Delivered. As expected the order line does not appear on my project invoice proposal.  Our issue is that we cannot figure out to make the inventory transaction and the sales order line become Sold.

Hope you can help.

What does Subscriber Access License (SAL) cover?

$
0
0

We are looking at the various AX R3 licensing models and have a question about Subscriber Access License (SAL) - is that all-inclusive (hardware + AX license + SQL license), or is that just the cost for the AX licenses, and we have to further pay for the hardware and SQL license?

This is what I see in the guide, but wasn't quite clear on the definition of "hosted solution".

FirstOnly property is not working when I use it in Query datasources

$
0
0

Hi Guys,

I'm struggling with adding the warehouse control to the "list items with setup" in the Item Coverage SetUp Interface.

The interface to edit is in the SetUp scetion of the Master planning module and it is as follows: 

My client's request is to add the warehouse found in the top of list when we click on item coverage button :

My problem is that when I add it, I get too many items records as long I have in the inventDim Table.

I'm working in the ReqItemTableSetup form by adding a new datasource named SPLInventDimLocation which is based on a view as you can see below in the images:

The view itself is based on query named SPLInventDimLocation:

In this query, I tried to ensure that we select only one record from InventDim by itemId. Therefore, I've changed the firstOnly property to Yes and i've set the fetch mode to 1:1

I've done the same thing in the init() and executeQuery() methods of the datasource as follows:

As a result, I'm getting too many items with the same item number in items with setup which is not efficient.

Can anyone explain to me why am I getting too many items numbers even when I use the first only property?

PS: I'm not using the display method to show warehouse control in order to ensure that filters and sort are allowed for users.

Thanks in advance.

strange entry in GL audit trail AX2009

$
0
0

Hi,

today we detected a strange entry in audit trail at our customer.

The type of entry is 'system' and the text is 'system generated validation' (in german 'vom System generierte Prüfung')

Does anybody knows entries like this? What is the origin of that?

Unfortunately the process behind that generated an additional transaction on a voucher, whereby now the voucher balance is not 0.

Thanx in advance

Detlef

Couldn't write Visual Studio Project assembly file C:\Users\...\AppData\Local\Microsoft\Dynamics Ax\VSAssemblies\Microsoft.Dynamics.ElsterTransferHandler.dll

$
0
0

Hi Friends,

We have a user, every time after we did code promotion and restart of AOS, he's getting the following error, and login again would be no problem. 

He is the only one having this problem.  What's wrong with his client PC or setting?

Thanks,

River


RecId and RecVersion match but Document Hash values do not

$
0
0

I'm working on a problem with an integration between CRM and AX 2012 R3. The integration is using Scribe Insight.

When a Sales Invoice is generated in AX, XML messages are being placed successfully in the integration queue. The Scribe DTS is retrieves the current Document Hash value from AX and compares it to the Document Hash value in the XML message.  However, all of the Sales Invoice messages are rejected because none of the Document Hash values match the records current Document Hash.

The Sales Invoice is not being modified by the user after the creation. 

The curious thing is that the RecVersion is the latest value, but as stated above, the Document Hash has changed. It was my understanding that the Document Hash was a hash of the RecId and RecVersion values. If the RecVersion hasn't changed, why has the DocumentHash changed?

A follow up question is, if the Sales Invoice record has not been modified, why has the DocumentHash changed?

Printing time and expense SSRS reports will only return 'There is no data available'

$
0
0

We have an issue where all travel and expense SSRS reports will only return 'There is no data available.'. The two reports that this impact us the most are:

1. Per diem per employee report

2. Expense report

In each case the parameters are correctly set, but it does not return any data. It isn't until we do a full reset of all AOS' and restart the SQL Reporting Server that we can generate these reports. Its a nuisance to always need to have company down time for something that is so simple and should not go down all the time.

- There are no pending reports or batch jobs that are stuck

- The printing impacts all users on all AOS'

- All SSRS reports have no customizations

- We do full CIL compiles during our scheduled outages about once per month

AX 2012 CU9

Active Item Price is blocked

$
0
0

Hello,

I have setup a costing version for std cost. Both block and block activation are set to no.  When I create pending price the block button is not marked. When I activate the price, the blocked box is marked.   Any ideas on why or how to get rid of? Can i fix after the fact?

Thanks,

Kellen

Error: AIF service Duplicate key exception.Creation has been cancelled

$
0
0

Guys,

i tried to fire an update method from AIF Service outside AX but an error occurred "Duplicate Key exception.Creation has been cancelled. the record already exists". However, it only exists one record in the table.

Anybody knows how to solve this issue . 

Cost center is suspended even though all financial dimension is allow blank

$
0
0

Hi All, 

I tried to post a PO receipt; and I had a "Cost center is suspend...  " error.  I tested allow blank for all the financial dimensions and allow all accounts.  Activate the account structure and post PO receipt again.  I still have the same error.  Please see below.  Does anyone know if there is a hot fix or any system issue?  Thanks so much!

Warehouse dock station - avoid generic user

$
0
0

We are implementing warehouse module. Our forklift operators are the one who pick the products as well as ship the product. So they have to in and out between dock and forklift and They need to login to both the place (devices) in AX. Now the issue is, if they are picking items while logged in AX and they have to stop and go out to docking station to ship something, they will have to login to AX from dock computer. Once they login there, they are losing the AX session on other computer. In order to avoid that the option is to create a generic id for Docking station computer but it's not allowed as per the auditing standard. What are the other options I have?

While Try catch

$
0
0

hi everyone. ithis may be a strange request but i'm really curious about this issue(if it can be called like that) that I have.

as a context, I'm reading an input file to make some insertions in the database.

while coding, seemed to me a good idea to read the file and if a line is wrong then skip it giving a warning about what's wrong in which line and read the next one, of it's ok then make the insert. after came the idea "wait, what if there is 500 lines and just one it's ok... (been extreme) that will be confusing for the user about what's ok and what's not or which lines where inserted cause that will show up a really big Infolog... that's gonna be more troublesome than helpful" so it's better to check the file and if something it's wrong then don't insert anything.

but I'm not sure what approach should I use... I mean there is more than one way of doing it, is there any "best practice" of how to make this?  a way to see what's more effective? or it doesn't really matter since the size file ain't that big to cause any performance problem at all no matter the way i choose to do the charge.

cause right now i have two ways of doing this in my mind:

the Current way(which i already said it may go wrong in certain circumstances):

read the records from the file, validate the data and if it's ok then insert, if not then go to the next record, the lines that are wrong goes to the info log to be fixed and loaded in another file.

another way 1:

read the records from the File, validate all the lines of the file, if ok then read the file again and make the insert to the database, if there is an error in the data put it in the info log to fix it and reload the file

another way 2:

read the records from the file, validate the data and if it's ok then do the insert, if not, then rollback previous insertions, don't allow inserts for the next lines and continue just checking the file for error so they can be fixed, errors will be thrown in the info log.

another way 3(came to me while writing this, a variation of my current process):

My current Process, just instead of throwing various errors in the info log put them in an output file, which will contain exactly the input line(s) of error, plus one last column with the warning that error that I was displaying in the info log in the first time.

as part of this issue, if iIuse the next syntax:

try

ttsbegin;

while

{

//read current line

//insert info into database with an  ax class

}

ttscommit;

catch

{

throw error("bad information");

}

if there is an error let's say on the last line of 100, the 99  inserted records are rollbacked? I'm aware that the "throw error" does a rollback, but I'm not sure if this rollback works correctly if the insertions are been made inside a while loop, I ca't Find an example like this in the documentation.

another thing I'd like to ask (a bit related to this) is

I'm Using classes from ax to make the insertion to the database, (axInventJournalTrans in this case) what's the purpose of this kind of classes in ax? what's the difference between this and a regular insert into SQL clause?


Settlement Posting Data type

$
0
0

Hi All,

I have question about Vendor --- Settle Open transactions (Microsoft AX 2012 R3)

what difference for these three option:

Today's date / Latest Date / Selected Date

How these three option impact financial transaction? 

Thanks in advance.

How can I print an excel file on the printer or same as other SSRS report pop up a dialog let me choose

$
0
0

I want print an excel file on the printer, I search some code like below.

PrintJobSettings    printJobSettings = new PrintJobSettings();
    Dialog              dialog = new Dialog();
    DialogField         dialogFileName;
    str                 adobeExe;
    str                 adobeParm;
;
    dialogFilename  = dialog.addField(extendedTypeStr(FilenameOpen));
    if (dialog.run())
    {
        printJobSettings.printerSettings('SysPrintForm');
        adobeExe = WinAPI::findExecutable(dialogFileName.value());
        adobeParm = strFmt(' /t "%1" "%2" "%3" "%4"',
                           dialogFileName.value(),
                           printJobSettings.printerPrinterName(),
                           printJobSettings.printerDriverName(),
                           printJobSettings.printerPortName());
        winAPI::shellExecute(adobeExe,  adobeParm);
    }
but each time, it will show me some error, see my screenshot.
I print it of my remote printer. I open the excel file and click print directly and it works.

Unable to find hyper link for UoM in PO confirmation SSRS report in AX 2012

$
0
0

Hi All,

We are unable to find hyper link for UoM in PO confirmation SSRS report , we have checked textbox properties and expression , there nothing like hyper link, even we have checked the code as well (debugging) for temp table insert, attached are the screen shots for the same.

Please advise us how to find the hyper link for UoM in PO confirmation report.

Regards,

Akbar

Account structure is active, but it's not showing up in Budget

$
0
0

Hi All, 

Could someone suggest what caused the account structure failed to display in the budget below?  thanks so much!

how to join MainAccountNumber and financial dimension value using for vendinvoicetrance table

$
0
0

hi,

I have written a job to display the main account number and financial dimensions value for the vendinvoicetrans table by using two separate jobs, but I want to do this by a single job and I am unable to join these fields.

Please advise.

Viewing all 73760 articles
Browse latest View live