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

Open form on button click

$
0
0

I need to open the form on button click
and inside clicked method i kept this code

Args args;
FormRun formRun;


Args = new Args(formStr(HcmGoalAddFromTemplate));

formRun = New FormRun(Args);
formRun.init();
formRun.run();
formRun.wait();

formname  -------->  HcmGoalAddFromTemplate

and I also tried using menuitem button with the same formname

always getting the same error as Object reference not set to an instance of an object.


Cannot update record using AIF document service

$
0
0

Hi All,

I have created new document service by creating new AOT query and run AIF wizard to create service. I have READ, CREATE, UPDATE operation in my service and all the operations working fine for one entity. 

When i try to the records in other entities, its not allowing me to create or update records in other entities except one entity. I get below error when i send update request from POSTMAN tool?

''Update operations are not allowed across companies. Please use the changecompany keyword to change the current company before updating the record''

Why it is not allowing to update the record in other entities. Its works properly for only one legal entity. I am using AX 2009. Please suggest way to fix this issue.

 

Attaching document to journal voucher

$
0
0

Hi, 

I'm presenting this errors when trying to attach a file to my voucher , how could I fixed it ?

Thanks 

ME revaluation of accounting currency vs reporting currency

$
0
0

we are  an australian company owned by a  Canadian company, 

GL set up is 

Accounting currency AUD

Reporting currency CAD (for reporting to Canadian HQ)

For IFRS financial reporting, all asset and liabilities accounts in AUD (accounting currency) need to be revalued  monthly to CAD (reporting currency) using the Month end rate of exchange, 

how can this be accomplished in D365?

thanks

Ecom order need to cancle from POS delivery mode Click and Collect

$
0
0

Our customer ordered from an online store, and the delivery mode is click and collect from the store. Order was cancelled at the POS. However, in HQ, the order line was rejected rather than cancelled. any recommendations?

Uncheck other checkbox if check one check box -on modifiedField table method

$
0
0

Hey! How should I write the code on the modifiedField method on the table so that a check box is unchecked when another is checked?

When I check a checkbox in the DefaultValue field, the others must be unchecked. In the end, I must be able to have only one checked value per column. 

The name of the field is DefaultValue (checkbox) and it is an Enum of type NoYes and the table is PI_MarketingCategory

Looking for AX 2009 DOCUMENTATION IN ENGLISH

$
0
0

Hello, im looking for 80077A_AX2009_ESES_FINII, wich is user manual of financial area in DAX 2009.

Anybody knows about it?

Terms of payment end of the month

$
0
0

Hi experts, 

I am working in AX2012R3. I want to configure a payment term that counts 30 days from invoice date and the makes the invoice due the last day of the month in which the date after the 30 days falls due. For example: 

* Invoice date: 15/01/2022 

* Due date: 28/02/2022 --> 15/01 + 30 days = 15/02; End of month february = 28/02

Does anyone know if that is possible? 

I tried this setup: 

And I got this result (in a free text invoice if that helps) which makes no sense to me at all: 

Many thanks in advance! 


How can i HASH in ax2012

$
0
0

Hi all..

I want to hash a string in ax2012 is there a class for using SHA256 in ax2012
Help please

Project management and accounting budget

$
0
0

Hi, 

I'm having trouble seeing my transactions in the budget of my project. 

1. setup the budget in my project

2. stablished  my original budget , (I dont want my budget to have a workflow approval)

3.  Generated two transactions

4. But when i go and look for my project budget balance is empty , i dont know why ??

Please help, thanks

Filter by selection is option is not working in my customized list page in ax2012

$
0
0

Hi all,

I have created a new list page and showing the data in grid as per my business requirement & when I try to use the "filter by selection"/ CTRL+G option data in the grid is showing empty with the filtered data.. but we have the data in the grid related to the selection filed value.

Can some one help me on resolving this issue.

Import Itemno, Size, color and style using Barcode In SalesLine ax 2012

$
0
0

I want to create import that when I import barcodes then some fields like itemno, size, style and colour are imported corresponding to that barcode. 

ItemNo would be fetched from I InventItemBarcode and Size, color and style are fetched from InventDim

Master Planning Custom AUTO APPROVED FIRM TO BE DRAFT

$
0
0

Hallo Technical AX,

By now I have a problem to custom Master Planning Firm

"Planned Purchase Orders"

Step : Select record "Planned Purchase Orders" --> press Firm --> OK.

Right now All record become PO with Approved Status.

But now I want to custom it became DRAFT.

The class Related ReqTransPoMarkFirm with method autoApprovePurchTable()

Can Technical AX X++ help me how to make it happened

by customing from code.

Thanks

Tupa Panjaitan

TO and Load deletion

$
0
0

I faced a repeated issue in AX2012R3, and till now they are pending and not solved. I have more than one load and transfer orders can not be deleted although that all related works are CANCELED and the load status is POSTED. When I try to delete any of those loads I find the info "the load can't be deleted as there is a work associated to it". How come? all works are CANCELED? Please help

computed field in view

$
0
0

Hi guys,

I have created a view in AOT which has data source query (static AOT Query)

i have calculated sum of purchline amount that is correct and it gives correct result,

but somebody guide me how i will calculate multiplication of two fields in AOT View like Tsql (Sum(pl.LINEAMOUNT)*sum(pl.PURCHQTY)))

and subtraction of ,(sum(pl.PURCHQTY)-sum(vpst.QTY))'Balance Receipt Qty'


Please help me what kind of function or setting is there when there is Plan purchase order Item A, there must be Plan purchase order Item B? Come out

$
0
0

Master plan : Plan purchase order, what kind of function or setting is there when there is Plan purchase order Item A, there must be Plan purchase order Item B?
Come out too because both Items have to be ordered from Vendor as a set.

How do I disable Alertrule AX 2012?

$
0
0
I removed AlertRule and restarted the server. Regardless, it's valid and makes the EventCud table rows.
How do I disable Alertrule?
BR
Juha Erenius

Runtime Field

$
0
0

HI,

I have added an enum field on rojTable Form which is mandatory only if Project Type is investment. I wrote this code

[FormDataSourceEventHandler(formDataSourceStr(ProjTable, ProjTable), FormDataSourceEventType::Activated)]
public static void ProjTable_OnActivated(FormDataSource sender, FormDataSourceEventArgs e)
{
ProjTable projTable= sender.cursor();
FormDataSource formDS = sender.formRun().dataSource("projTable");
formDS.object(fieldNum(ProjTable,Component)).mandatory(projTable.Type == ProjType::Investment);


}

Everything is correct but I'm getting double red border.Can anyone tell me the reason and how can i remove one red border from here?

Loop through grid fields in Ax 2012 in RUNTIME

When generating a estimate to post cost to fixed asset , the elimination option is grey out

$
0
0

Hi, 

I'm capitalizing project cost to my fixed asset. 

1. i created the new estimate 

2. in the general tab selected the fixed asset 

3 post the estimate 

4. The elimination option is not activating 

Please help with this issue. 

Viewing all 175888 articles
Browse latest View live


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