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

XDS security

$
0
0

HI experts, i have question regarding XDS , i want to restrict user to see only specific site inventory in ax R3, for 

this i have worked around as under.

1.Create a Query and add data set Inventdim, added the  range of that site regarding which i want to see data,

2. Then create a security policy and select primary table is InventDim, and query developed in step 1 assign to query property,add constrain table inventSum,

select role name, and assign my desired role, when i test the the policy with desired role it work fine.

But when i create new journal for item with same role  , it give me error, "Inventory dimension is already created" and when i create Transfer journal from that role it give me error that item has no parameters for inventory.

Please guide me where i making the mistake, and is it possible to achieve all my requirement by creating single policy..if not then how it be possible ?

I am currently using Ax R3 2012. 


RE: Convert AX table to System.Data.DataTable in AX2012

$
0
0

Hi DanielBai,

Why do you need this control? What is the difference with the default grid control provided within the AOT?

Convert AX table to System.Data.DataTable in AX2012

$
0
0

Hi Experts,

For using System.Windows.Forms.DataGridView in AX2012 form, I need to set the DataSource property for DataGridView, but the only way I got know is set the Column value in each row, it's very inefficient, is there any way to direct convert a AX table instance to System.Data.DataTable instance, so that I can set it to property DataSource of DataGridView.

Thanks

RE: Advanced rule structures

RE: tax document shows wrong base amount

$
0
0

Hi Arjun,

From LCS issue search, you can verify if the fix is applicable for your version. If so, you can download a hotfix and implement it in your environment. Do it in a test environment first and see if it is really solving your problem and does not have any side-effects.

RE: "Natural key not found" when creating a custom data entity

RE: XDS security

$
0
0

Hi Munsif,

You have to set constrained table property=no in security policy that you have created. Because if it can not see the inventdim while doing inventory operation , it will try to create this dimension again. You should never restrict InventDim table, it is too risky.

Rather than you should add InventSite table to your constrained table node in policy.

I have created a security policy based on InventLocation similar to your requirement. You can refer this:

Best regards,

Sefa

RE: "Natural key not found" when creating a data entity for TSTimesheetLineWeek


"Natural key not found" when creating a data entity for TSTimesheetLineWeek

$
0
0

I would like to create a composite data entity that combines TSTimesheetLine (header) and TSTimesheetLineWeek (lines).

To do this I first need to create data entities for the separate tables. I have created an entity for TSTimesheetLine fine, but when I try to create one for TSTimesheetLineWeek I get an error "Natural key not found".

I have reviewed https://community.dynamics.com/ax/f/33/p/206491/538567 but this seems to be about a custom entity and suggests creating an extra index which would require an extension in my case since it is a built in table.

How can I create data entities for the built in timesheet tables?

Deploying Custom Package from dev to UAT.

$
0
0

Hi Everyone,

I had a development environment with update package 4, and UAT environment with update package 10, I updated both environments through LCS platform binary updates to platform update 15, and while trying to move the custom package with the custom models I was receiving error on step 6 of the execution process of the runbook task, Could not find FileLocations.xml in the package`. The execution process fails on step 6, may you please advise if anyone came across such issue.

Thank you,

RE: Issue with PO line matching policy with some users

$
0
0

I checked on LCS about a bug pertaining to POs and was unable to find anything.

As for your question, that's correct. The vendor is set to 3-way, and the procurement category is set to 3-way, but it is still defaulting to 2-way. For some reason, users with the "purchasing agent" role are getting this error but "purchasing manager" are defaulting to 3-way as expected. Obviously, I can't give everyone who enters POs the manager role. What's even more strange is the fact that we cannot replicate this in test.

Thanks for your help.

Issue with PO line matching policy with some users

$
0
0

We have a curious issue where when some users are creating POs, the matching policy is defaulting to 2-way even though company policy is 3-way matching. I have checked the vendor, and it is set to company policy. This only seems to happen with users that have the "purchasing agent" role. Users with the "purchasing manager" role do not have this issue. Any ideas? It's creating issues in our purchasing department because they are manually having to change the matching policy back to 3-way after the PO has been created.

We are using AX 2012.

RE: Error : Natural key was not found for the table TestEntityTable during entity creation

Error : Natural key was not found for the table TestEntityTable during entity creation

$
0
0

Hi All,

Can you please let me know when i am creating a new entity then i am getting an error " Natural key  for the table TestEntityTable was not found"

Can you please let me know how to resolve?

Thanks!

RE: Advanced rule structures

$
0
0

Hi,

There is no standard report available for this in AX2012.

Can't you use the excel addin for making such a report?

Best regards,

Ludwig


RE: How to calculate withholding tax value before posting the journal through x++ code in AX 2012 R3

$
0
0

Recently i came across a requirement, where i needs to print TDS and TCS (Withholding Tax) values of a Journal before posting.

Here i am sharing my blog's URL from where you can get the TDS and TCS (Withholding Tax) values before or after posting the Journals.

If the post is helpful in that it provides the solution, please mark as Verified to help other members.

How to calculate withholding tax value before posting the journal through x++ code in AX 2012 R3

$
0
0

Dear All ,

I need to know how to calculate withholding tax value before posting the journal through x++ code in AX 2012 R3.

I need the withholding tax value in form "LedgerJournalTransDaily" in GJ journal through display method.

Thanks .....

Tushar

RE: How to add financial dimension value using X++ ?

$
0
0

Thanks Nikolaos,

for your quick response, but we are looking to add new dimension attribute, as we can see the provided link is useful to set value of existing dimension.

I have found something but its not working:

 DimensionValueService   service         = new DimensionValueService();

   DimensionContract       contract        = new DimensionContract();

//To create new values in the specific dimension

   contractValue.parmDimensionAttribute('Test_Attr');

   contractValue.parmValue('Account')

   contractValue.parmDescription('Accounts Department');

   service.createDimensionValue(contractValue);

any suggestion regarding that?

How to add financial dimension value using X++ ?

$
0
0

Hello Everyone,

I am new for Dynamic Ax, looking for help to add financial dimension  value using x++,  can anyone share working reference link or guide me to achieve this goal.

Thanks in advance.
Devendra Sunaria

RE: Creating Data Entity for VendInvoiceInfoLine gives "natural key not found"

Viewing all 175888 articles
Browse latest View live


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