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

RE: The transactions on voucher XXXX do not balance as per . (accounting currency: $ - reporting currency: $)

$
0
0

This resolved my issue with the same error while posting product receipt on PO. Thanks!


The transactions on voucher XXXX do not balance as per . (accounting currency: $ - reporting currency: $)

$
0
0

Issue validating a Ledger Journal:

The Journal has 1 voucher with about 940 transactions, all in USD.  I've gotten some Google results, but nothing to solve my problem.  I've tried changing the USD Rounding Rules to 0.01, but it doesn't fix my issue.  I've also tried setting the Maximum penny difference to 0.01 and Maximum penny-rounding in the reporting currency to 0.01 without any luck.

Ax2012
6.0.947.280

Thanks,

Joe

RE: Unlock semaphore default (0) without lock

$
0
0

So here is another wrinkle.  I have found that this error only occurs if you are inside a shared project and right-click to compile either the entire project, or the data dictionary folder inside the project.  (Our project folder structure matches the AX AOT structure.)

If you right-click the Data Dictionary and hit Compile, you will receive the error every time.

If you right-click to compile the Extended DataTypes subfolder, you will receive the error maybe 1/5 times.

If you right-click to compile any other subfolder (Views, Tables, Security Keys, etc.) you will never receive the error.

If you select one or more individual items inside the subfolders and choose Compile, you will never receive the error.  (EDTs do not have a compile option, so can't try it in that subfolder).

I don't have another AOS available at this CU, so don't really have anywhere else I can test this.  (It is an old R2 CU7 AOS we use to create legacy models for customers with an outdated AOS.

If this is a problem with our objects, I don't want to propagate the issue to a customer.  If it is just this AOS acting up, I can live with that.

Thanks

Unlock semaphore default (0) without lock

$
0
0

We recently started receiving this error on a 2012 R2 CU7 AOS while compiling our project in the AOT.

"Unlock semaphore default (0) without lock"

That message pops up three times in a popup window (not an Infolog or in the error list), then the compile continues.

Can't really find anything useful anywhere about this error in relation to AX.

Has anyone else seen this before?

RE: Added New "EditString" Fields on a Form, But It Displays "Unretrieved" and Can't Edit

$
0
0

I'm sorry but I have another question if you please Mr. Crispin

I made an SSRS report and I want to retrieve the data I entered in these fields.

I typed data in the fields and went to check it inside the "LEdgerJournalTrans" Table and I found it in the row related to the journal, so everything should be fine.

But it does not show up on my report like the other "LedgerJournalTrans" original fields.

If you can advice, what should I do?

Thanks!

RE: Add custom filter in ListPage D365FO

$
0
0

The filter works the first time, than If I remove the value from filter it shows nothing, and if I try again a value, it does not work.

I  am writing this in onexecutequery:

QueryBuildDataSource qbsdBankDoc   = BankDocumentTableView_ds.query().dataSourceTable(tableNum(BankDocumentTableView));

       QueryBuildDataSource qbdsBankTrans = qbsdBankDoc.addDataSource(tableNum(BankAccountTrans));

       //QueryBuildRange qbr = qbdsBankTrans.addRange(fieldNum(BankAccountTrans, BankTransAmountCur));

       qbdsBankTrans.addLink(fieldNum(BankDocumentTableView,SourceRecId), fieldNum(BankAccountTrans, RecId));

       qbdsBankTrans.addLink(fieldNum(BankDocumentTableView,SourceRelationType), fieldNum(BankAccountTrans, TableId));

       qbdsBankTrans.joinMode(JoinMode::InnerJoin);

      

       //qbdsBankTrans.clearRange(fieldNum(BankAccountTrans, BankTransAmountCur));

       if(debit.realValue())

       {

           qbdsBankTrans.clearRange(fieldNum(BankAccountTrans, BankTransAmountCur));

           qbdsBankTrans.addRange(fieldNum(BankAccountTrans, BankTransAmountCur)).value(SysQuery::value(debit.realValue()));

           

       }

       else

       {

           qbdsBankTrans.clearRange(fieldNum(BankAccountTrans, BankTransAmountCur));

           //qbdsBankTrans.addRange(fieldNum(BankAccountTrans, BankTransAmountCur)).value(SysQuery::valueUnlimited());

       }

RE: Added New "EditString" Fields on a Form, But It Displays "Unretrieved" and Can't Edit

$
0
0

It appears that when I finish typing data in these fields, the EditString fields goes "Unretrieved" again.

But when I close the window and open it again, it looks fine working.... Strange O_o

RE: Add custom filter in ListPage D365FO

$
0
0

Most likely after the first succesful run you end up having "trash" from previous executions in the query. Try to print the query to the infolog in the end of your method to verify this (query.toString()).

Once you see what's in the query, you might figure out how to fix it.


Add custom filter in ListPage D365FO

$
0
0

Hi,

I am trying to add a custo filter to a standart ListPage. I have tried to call executequery() of datasource in onmodified event handler of the control and 

added the range in in executingQuery() but it does not work.  The field that I am trying to filter is a display field, so what I am trying to do is change the query of the listpage every time the filter is modified( changing the logic) I have searched online about adding custom filters in listPAge in AX7 but I have not found valuable information.  What should I do to add a custom filter to standart listPage in AX7?

Thanks,

Enxhi

Cannot Print Purchase Order

$
0
0

Hi All,

I'm experiencing issue with Dynamics AX 2012. I'm trying to print a purchase order confirmation, but when I click print copy, it throws error

Error while setting server report parameters. Error message: The item '/DynamicsAX/StaticReports/id-ID/PurchPurchaseOrder.Report' cannot be found. (rsItemNotFound)

Interestingly, this only happens with one specific purchase order. I can print the other purchase order confirmation just fine.

I tried to redeploy the SSRS report and restart the AOS, but the error keeps popping out. Any idea what went wrong? Thank you!

Regards,

Raymon

RE: Can I call a procedure stored in a computed column? I only return a value

$
0
0

Computed columns need to return strings that are valid within the scope of the SELECT element of the SQL view, so I wouldn't expect this to work: please take a look at the MSDN walkthrough or this blog post to get an idea of how you can redesign your procedure/function to meet your objectives.

Can I call a procedure stored in a computed column? I only return a value

$
0
0

Its Possible?


gives incorrect syntax error near the keyword 'DECLARE'.

----------------------------

Thanks 
thank you already or solve with a Function

RE: Added New "EditString" Fields on a Form, But It Displays "Unretrieved" and Can't Edit

$
0
0

Restarting the AOS did it.

Thanks!

RE: writing SQL statement based on Ax Query 2012

$
0
0

If a free text invoice had more that one row in CustInvoiceLine, couldn't that retrieve the wrong CustInvoiceLine.Description value?  That's a problem I'm running into.  I'm actually linking to CustInvoiceTrans and I get the same value for both rows.  Are either the LineNum or SourceDocumentLine fields guaranteed to give me the correct result?

writing SQL statement based on Ax Query 2012

$
0
0

Hello Communtiy, 

i want to convert the following x++ statement  to sql:

static void UpdateCustTransDescription(Args _args)

{
    CustInvoiceLine     custInvoiceLine;
    CustInvoiceTable    custInvoiceTable;
    CustInvoiceJour     custinvoiceJour;
    CustTrans           custTrans;
    ttsBegin;
    while select forUpdate custTrans
        where !custTrans.Txt && custTrans.RecId == 5637355326
        join  custInvoiceJour
            where   custinvoiceJour.InvoiceId == custTrans.Invoice
               &&  custinvoiceJour.InvoiceAccount == custTrans.AccountNum
               &&  custinvoiceJour.InvoiceDate == custTrans.TransDate
               &&  custinvoiceJour.LedgerVoucher == custTrans.Voucher
                  join custInvoiceTable
                     where custInvoiceTable.InvoiceId == custinvoiceJour.InvoiceId
                         join    custInvoiceLine
                           where   custInvoiceLine.ParentRecId == custInvoiceTable.RecId
    {
        custTrans.Txt   =   custInvoiceLine.Description;
        custTrans.doUpdate();
       
    }
ttsCommit; }

 

Might you please advising me how i can achieve this? how i should proceed?
Is there any best practices that i should be aware of in order to improve the performance of this statement?

P.S:

I don't wanna use "generateOnly forceLiterals" as the generated query looks little bit too complicated to execute.


RE: AX Customer prepayment settlement

$
0
0

Are you getting any error or just both the transactions are in open state on customer ? Did you try to settle them manually ?

AX Customer prepayment settlement

$
0
0

Hi All - Currently We have dynamics AX 2012 R3 CU8 implemented fore our company, we have issue in the system that it does not settle the customers open transactions if the prepayment transaction date is before its invoice date.

the current setup:

1. Automatic settlement is checked in account receivable parameter

2. settlement is checked for both customer profile (Gen and prepayment profile)

3. when we port the prepayment transaction, the document reference is the sales order number.

so what could be the issue since the invoice is settled if the payment is not prepayment (invoice date if before).

appreciate your help and Thanks;

Odai

RE: Add custom filter in ListPage D365FO

$
0
0

The query is ok. I use clearRange() and I am not understanding what is wrong in this case.

RE: Add custom filter in ListPage D365FO

$
0
0

Could you try to print (formdatasource).queryRun().query().toString() in the onQueryExecuted event and see if there's something interesting there.

RE: Data Transfer between legal entities

Viewing all 175888 articles
Browse latest View live


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