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

RE: How to stop creating record in one rec id?

$
0
0

want to confirm  , the changes would be  like:

public int active()

{

   int ret;

   ret = super();

   if(AX2012FavoriteFeatures.RecId !=0)

   {

       AX2012FavoriteFeatures_ds.allowEdit(AX2012FavoriteFeatures.RecId == true);

   }

   return ret;

}


How to stop creating record in one rec id?

$
0
0

I have a customised form, user creating a record but the user changing the record in the form for same record. But it should not allow user to change any record.

Currency USD not allowed for account CB-SAR-025

$
0
0

Hii,

In our Cash and Bank Management module we have a bank account CB-SAR-025. Its currency is SAR. 

In a transaction we want to pay from bank in USD currency. When we select currency USD and try to post it gives infolog "Currency USD not allowed for account CB-SAR-025".

Cant we post in multiple currencies?

What could be the solution?

Thanks and Regards,

Need Ms Exam Voucher with retake

$
0
0

Dear All,

I have MS Exam voucher valid until December 2017 for Price 830$.

Please mail me on safeerps007@gmail.com

RE: How to Register Partners in Dynamics 365 for Operations (AX7)

$
0
0

Many thanks Krishna.

for your prompt reply.

Regards,

Krishna

RE: Currency USD not allowed for account CB-SAR-025

$
0
0

Hi Rana Anees,

If you open your bank account then there is a Special Parameter allow multiple currencies.

If this one is activated you can also record Transactions in other currencies.

Best regards,

Ludwig

RE: Sales Invoice Report

$
0
0

Hi Suresh,

Thanks for your reply.

I did SSRS Restart,AOS Restart,Generated Full CIL

But i get same error.

Regards.

RE: How to stop creating record in one rec id?

$
0
0

Not at all - your code has the same problem as before. You have to set allowEdit(true) to allow the datasource to be editable again. And you can simply do both true and false variants by using a boolean expression (AX2012FavoriteFeatures.RecId ==0).

By the way, sorry about the typo in my previous reply (already fixed) - it's "== 0", not "== true".


How to add a data source to an existing query in ax 7

$
0
0

 Hi ,

I have a view which has a metadata as a query (Screenshot below)

I want to add a data source to the existing query DirQuery in Ax 7. How do i achieve it. I have tried to use the OnInitialized event handler of the view, in a new class with the following code below but its not working.(St is the datasource , i am trying to add on the query DirQuery)

class CMCDirPartyViewQuery
{

[FormDataSourceEventHandler(formDataSourceStr(DirPartyTableRoles, DirPartyView), FormDataSourceEventType::Initialized)]
public static void DirPartyView_OnInitialized(FormDataSource sender, FormDataSourceEventArgs e)
{
Query query;
QueryBuildDataSource qbds;
//query = sender.query();
query = new Query(queryStr(DirQuery));
qbds = query.dataSourceTable(tableNum(DirPartyView)).addDataSource('St');
qbds.clearLinks();
qbds.relations(true);
qbds.joinMode(JoinMode::InnerJoin);
qbds.fetchMode(QueryFetchMode::One2One);
qbds.addLink(fieldnum(St, Person), fieldnum(DirPartyView, Party));
qbds.addRange(fieldNum(St, Person));

}

}

 

Regards,

Sourav

RE: How to Insert a record forcly

$
0
0

Just to correct suresh's syntax, he is assigning a string value to a integer field. It should be this.integerField = 2.

RE: Customer Aging report differences

$
0
0

Hi Imran, Thank you, your solution helped us.

We faced exactly the same issue. Settlement got reversed in Jan 2017 and if we run the aging report as of Jan 2017, balance is correct and if run the report on Dec 2016, balance is wrong.

Seems to be a bug in the report.

Thank you.    

Customer Aging report differences

$
0
0

Hi all

I am trying to generate the customer aging report and seen the wired behavior, while generating the report for one customer i select the below parameters:

Following is the output:

And the below is the customer transactions details:

Now when i compare the Voucher from the customer transaction amount is different from the aging report like in first voucher "QIGC-30000001" customer transaction amount is showing "0.0200" while in the report it is "245.98".

Please guide me how i can cross check the report with the customer transactions.

Thanks in advance.

RE: Currency USD not allowed for account CB-SAR-025

$
0
0

Thanks Ludwig Reinhard,

I got your direction. One more clarification. For two years we have transactions in SAR in this bank. Now if we change to multi-currency, is it a good practice? Will it not affect on reports, bank reconciliation or something else? Is it a recommended thing?

Thanks,

RE: finding excel tables in ax 2012

$
0
0

Dear Andre...i m not mixing the Question...we have two option to put data in ax ....publishing through excel or DIXF....in DIXF we generate a sample file...like sales order file...sales order is known as Salesid.....i just want to know that if i publish data through excel...then what will be the name of SalesId of DIXF in excel...hope you understand...

if you not get my point...tell me

Regards

finding excel tables in ax 2012

$
0
0

Dear sir,

i m having problem in my DMF so have to upload data through excel publishing..i have an excel sheet which have to upload through DMF..but DMF is not working...so i have to publish my data...will all fields same in excel and DMF??? or there is differece so how can i know the exact table of excel match with DMF Field

regards


RE: Currency USD not allowed for account CB-SAR-025

CIL decompile Error

$
0
0

Hi everybody!

Someone knows if I run this job to disable a security policy by code, if the CIL of the aplication is going to decompile?

#AOT

    UtilElements    utilElements;
    TreeNode        treeNode;

    select firstOnly utilElements
        where utilElements.recordType == UtilElementType::SecPolicy
            && utilElements.name == "SecPolicyName";

    treeNode = xUtilElements::getNodeInTree(utilElements);
    treeNode.AOTsetProperty("Enabled", "No");
    treeNode.aotsave();


Thanks everybody!!!

RE: ax.retailstoreTable empty

ax.retailstoreTable empty

$
0
0

Hi, 

i have a problem with Retail POS. I've installed retail step to step. The connections between async server and client are ok. I sync full data all parameters... However, the table ax.retailstoretable of channel database is empty, and the POS give me error number 1. The store **** was not found.

Any solution?

thanks!

RE: Customization is need for the standard customer aging report - to open new ssrs report other than Default report.

$
0
0

If you have done any changes to existing report, deploy it. Changes will be reflected.

If you have created new report and want this to be opened, find the Output menu item that is used for standard customer aging report change the object property to your new report.

Viewing all 175888 articles
Browse latest View live


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