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

Depreciation Adjustment currency

$
0
0

Hi

We are using Ax 2012 R3,reporting currency is CNY. Acquisition entry posted in USD in fixed asset transactions acquisition amount is shown in CNY(Reporting Currency). But fixed asset adjustment entry gets posted automatically in USD.

Because of this depreciation is not proper

Can any body suggest is it the standard behavior and how we can correct the depreciation adjustment to reporting currency CNY 

Thanks and Regards

Ravish Kumar D


Security best practice on a form that creates a record on init

$
0
0

I am trying to add some security to the AX ProjBudget form in AX 2012 R3.  In the init method of the form, there's a chunk of code that does a FindOrCreate.  It finds the budget if it already exists and it creates a budget if one doesn't exist.  We have a requirement where some user roles should be able to create project budgets while others should only be able to view them.  My user role has view only access to both the ProjBudget table and the ProjBudget menu item which opens the ProjBudget form.  When I click a menu item button that points to the ProjBudget display menu item, the form opens and creates a record on my behalf.  I think I misunderstood the AX security framework and figured that code in the init would fail to create a new record since my user has view only access.  I tried overriding the security by adding the ProjBudget table to the permissions on my user role and setting the EffectiveAccess property to NoAccess and still the system is creating the record on my behalf.  I was surprised to see my user id on the CreatedBy field thinking that if the system is creating the record, at least it would show the AOS user but the system is somehow able to create this row on my behalf.  

Am I doing something terribly wrong?  I'm wondering if it's not a good coding practice to put this FindOrCreate on the init of a form where you want users to be able to view records but not have access to create them.  

To resolve this issue so our read only users are no longer able to create project budgets, I had an idea for a work around which would be to create a second menu item to the same form.  One would be for create and one would be for view/edit.  The view only user would get no access to the create button and would get access to the view/edit button.  Then I have to do extra work on the parent form to check whether a budget exists and show the create button if no budget exists and show the view/edit button if a budget exists.  This way my view only user just won't see a button if no budget exists and will be able to see and click the button if a budget exists.  This feels really hacky, I don't think the calling form should have to be conscious of the existence of a record in a child form and toggle the buttons like this but I'm not sure of another way to deal with this without doing a bigger refactor on the project budget creation process.  

Any thoughts or suggestions would be greatly appreciated!

How to get a newly created record from a another form?

$
0
0

I have a new Wizard I am using to do multiple actions.  The first action is to create a new record:

The 'New' button will open another form:

This is our standard form for creating this type of record.  Once this is created, is there any way for my original Wizard form to know what record was created?

AX Slowness Issue

$
0
0

Hi,

Version - AX 2009 SP1

SQL Server - SQL Server 2008 R2

AX is getting slow at particular time everyday. What could be the reason for this issue?

We have taken below steps but still AX is getting slow.

1. Restarted service and checked 

2. Deleted AUC file and checked 

3. No batch is running.

4. No SQL transaction block.

5. AX and SQL Server performance is good.

Kindly suggest some solution here.

Thanks in advance and regards,

Vignesh

no x++ source for classes\xrecord\delete because it is a kernel call

$
0
0

Plz help as when i try to delete a record from AIF service, an error occurred but when i try to delete it from Ledger journal table form, it works charming.

I tried to add Hour Journal(project >Journals>hour), but no expense was incurred

$
0
0

I'd like to add labor costs to the project,and I tried to add Hour Journal(project >Journals>hour), but no expense was incurred

What is the function of the project >Journals>hour? How to use it? What configuration is required?

CFO overview worspace replaced

$
0
0

Hi all,

I am new to development of Power BI. I am working on D365 finance and operations

Product version: Finance and Operations (10.0.5)

platform version: Update29 (7.0.5372.35448)

I have a requirment to add a tab in the "CFO overview" workspace and display the customized report in it.

I have customized the Power BI report and published the same. In "CFO overview" i tried to place the customized report using CFO Overview -> options -> Select Financial insights cross company.

But the report totally got replaced in the workspace and the standard "CFO overview" got overridden .

I need the standard "CFO overview" to be restored again. Is there any way to do the same. Kindly help me with your ideas.

The 'ShipRptHdr_Sales_Pool_Id' parameter is missing a value

$
0
0

I tried to generate the report of Open orders in Sales & Marketing module --> Reporting , the below error appears


how to increase panel fields size

$
0
0

Good morning,

i have created one panel with the help of new class which extends syslistpanel.

in this i have 2 columns 

1.Itemid

2.Name (display method)

As i have names very long i just want to increase size of field width.

because i can increase size of panel width but the field size remains same.

Can any one please provide some light on this how can i increase field width.

please find the screenshot.

i want to increase width of field.

Regards,

Have a great day.

Documentation or guides for Query::update_recordset() method

$
0
0

Hi.

Could I ask for help in navigating any resources with documentation or some explanation of usage for Query::update_recordset(..) method in Dynamics 365 Finance & Operations?

I'd be grateful for any information (especially on the parameters meaning and usage) since there was nothing I could find on the web or in Microsoft Documentation despite one article concerning another method of this class: insert_recordset (http://kashperuk.blogspot.com/2017/09/development-tutorial-insertrecordset.html).

Tahnks in advance for any help.

How To Check What Item Description Appear on Purchase Order Confirmation

$
0
0

Hi All,

I have concern regarding on Purchase Order Confirmation document.

How do I check how to set item description to appear on Purchase Order Confirmation document.

study development dfo365

$
0
0

Hi All

Could you advise is there resources where it is possible to get in a development environment and start to study development, using books for example. 

Multiple addresses per warehouse

$
0
0

Why does AX 2012 R3 allow users to create multiple address records per warehouse?

What functionality does this provide?

We are sending warehouse and address to an external subsystem and the dev wants to know which address to send. You can set one as primary, which we are going to send, but wondering what is the use of multiple addresses?

Currency Exchange Rate

$
0
0

Hi Everyone,

Version - AX 2012 CU 13

I have an issue with Import currency exchange rate in ax. Everyday batch is running to import the currency exchange rate into the system.  

While importing rate, yesterday's currency rate is saving in today's date. 

Provider -- Central Bank of Europe

For e.g: 

1. Date = 10/9/2019 - currency="USD" rate="1.103" -----> Actual data but AX storing data like given below

2. Date = 10/10/2019 - currency="USD" rate="1.103.

What could be the reason for this issue? How to resolve this issue ?

 

When we have checked the same with CU8, there is no issue.

Thanks and Regards,

Vignesh

AX 2012 Third-party bank on Vendor invoice to follow invoice currency

$
0
0

Dear All

When entering a new vendor invoice in AX for a vendor that delivers in several different currencies and has several bank accounts created, the system will always assign the default vendors bank account, even though the currency on vendors default bank account doesn't match the invoice currency.

My question is whether it is possible for the system to automatically select the vendors bank account based on the currency of the invoice. For example when an invoice in USD is entered, it will select bendors USD bank account and when an invoice in EUR - EUR bank account?

Thank you in advance for your help

Regards

Elena


Override standard Class method in D365 for Finance and Operations

$
0
0

Hi everyone,

I want modify the "createProdTable" method of standard class "ReqTransPoMarkFirm" in D365.

As I want add my Logic in between this method, Is it possible to override this method through class extension?

Post Script - createProdTable is protected method.

Thank you in advance.

Modify datacontract query with 'Select' button in the dialog to add filters

$
0
0

Hello,

I have a doubt, I am developing a functionality using the run time dialogs (using datacontract, controller, process, uibuilder). Currently in UIBuilder I have a dialog field of type combobox (enum). In the postRun () of the UIBuilder, I have overwritten the modify method using registeroverridemethod by passing a formcomboboxcontrol.
In the datacontract I have a query that I want to modify using the select button in the dialog to add filters, according to what the combobox has selected.
It's possible? How?

Thank you and sorry for my English.

Data Entity Publishing to BYOD Failed

$
0
0

Can some one please advice how to approach this issue, I have created a byod entity, build it, synchronized database without any issue. But when I try change tracking and select Enable entire entity, I get below error. But it will allow me to choose Enable primary table. The problem is I am not even using WORKERLEGALENTITY.

[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'WORKERLEGALENTITY'.

Object Server Azure:

Cannot execute the required database operation. The SQL database has issued an error.

CREATE TRIGGER AIF DEPROJEMPLTRANS ExportDEPROJEMPLTRANS After Delete  ON dbo.DIRPARTYTABLE AFTER DELETE AS BEGIN SET NOCOUNT ON; update PROJEMPLTRANS set PROJEMPLTRANS.RECID = PROJEMPLTRANS.RECID from PROJEMPLTRANS cross join DELETED where DELETED.INSTANCERELATIONTYPE IN (5803) and DELETED.PARTITION = PROJEMPLTRANS.PARTITION and DELETED.INSTANCERELATIONTYPE IN (5803) and DELETED.RECID = PROJEMPLTRANS.WORKERLEGALENTITY END

I found out an issue while I tried to call delete method from AIF but while use the same method in the ledger journal form, it works.

Custom fields on email alert templates AX 2012

$
0
0

Hi,

I am trying to create an email alert when the credit limit in customer master has been changed. 

This is how my email template looks like :

%subject% in company '%company%'

Event occurred on : %occurred%

Record where event occurred : %for%

Data changed : %data%

This is a system generated email. Please do not reply to this.

Here my requirement is to display the currency from the customer master and the user who changed the credit limit. how can I achieve it ?

also need to know whether I can bring other fields in the alert email (Could be a display method) which is not in customer table directly. 

Thanks 

Viewing all 73760 articles
Browse latest View live


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