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

How to create a record on a form

$
0
0

Hey guys,

I am fairly new to AX, and so far have worked on Extensions. This is my first try to build tables/form from scratch. I created to two Table LeavePlan and LeaveDetail and have added them to LeavePlan Form as FormDataSource. The tables are related as LeavePlan.RecId = LeaveDetail.LeavePlan. Both form datasource property InsertIfEmpty is set to No, LeaveDetail has the JoinSource property set to LeavePlan with LinkType Active (also tried Passive/Delayed/InnerJoin). The problem arises when running the form and I want to create a New record via CTRL+N or New button in ActionPane. It only creates record for LeavePlan (enables it's field controls on the form whilst LeaveDetail field controls are all still disabled). I tried overriding the createRecord function as

public void createRecord(str _formDataSourceName, boolean _append = true)

{

    str detailDataSourceName = formDataSourceStr(LeavePlan, LeaveDetail);



    super(_formDataSourceName, _append);

    super(detailDataSourceName, _append);

}

and 

public void createRecord(str _formDataSourceName, boolean _append = true)

{

    super(_formDataSourceName, _append);

    LeaveDetail_ds.create();

    LeaveDetail_ds.initValue();

}


In any case, the record wasn't created for LeaveDetail, and its fields are all disabled on the form even after clicking the New button in action pane. I even tried overriding task and It still didn't work. How do I resolve this issue?


What drives copyCallerQuery to be Yes or No when the Menu Item is set to Auto?

$
0
0

Hi all,

What drives copyCallerQuery to be Yes or No when the Menu Item is set to Auto?

I have 2 different environments but the same menu item display SalesTable. But they have different values when I try to call  element.args().copyCallerQuery();

The one is Yes and the other is No. Both of them have "Auto" value in the menu item. I called both of them in the SalesTable.SalesTableDataSource.create().

No line of code overwritten the value of element.args().copyCallerQuery().

Regards,

Chester

Automatic bank Reconciliation :: Error while importing MT940 statement

$
0
0

Dear 

I setup Dynamics AX to import MT940 format as per this extremely detailed link

https://blogs.msdn.microsoft.com/axsupport/2014/05/20/advanced-bank-reconciliation-setup-in-ax-2012-r2/

and of course instead of the BAI2CSV_to_BAI2XML_xslt and the BAI2XML_to_Reconciliation_xslt , i used the MT940 resources

but when i am importing the bank statment i am getting the below error 

An error occurred while importing data. Check the order of Inbound Transforms or refer AIF Exception Log for details

the order of the inbound transforms is correct , but i am trying to see the AIF Exception Log for details to understand what is wrong 

is this where i should be looking System Administration >> Periodic >> Services and Application Integration framework >> exception 

is this the place and if so i don't see any error related to my issue 

can someone explain how i can troubleshoot this ? thanks 

Trade and logistics module

$
0
0

Hi experts,

i m new in ax so please share your experiences and advise with me,

i need AX2012/R3 Trade and logistics interview questions ,

thanks in advce.

AR B- Customer Balance

$
0
0

Hi ,

I settled and posted an amount with Tax on Accounts receivable -Payment Journal . When i check the customer balance i saw that the Tax was captured as Fee and it is not settled or it is still open. what does it mean? why it floating, the main transaction is already closed and posted.

Purchase Requisition to Purchase Order

$
0
0

When I create a purchase requisition and fill in the dimensions on the header form... Cost Centre, Project, Activity. When the PR is converted to PO and i chect the line details in the PO > Line detail > Financial dimension tab...the information for CC and Activity are pull in but the Project doesn't get pulled in... I am think it's a configuratio issue ...can you please tell me where to look for the configuration...

Thanks

how to get current selected salesline item in blank operation in AX 2012 R3 EPOS.

$
0
0

Hi All,

I am trying to find out a line Id for one of requirement in Blank operation in AX 2012 R3 Retail.

I am writing this code to find current selected salesLineitem :

RetailTransaction retailTrans = (RetailTransaction)posTransaction;

            retailTrans.CurrentSaleLineItem;

 but this code always returns last line in Salesitem list.

i need to perform certain operation on particular  sales line id in blank operation like linediscountpercentage operation in POS. 

please help me to suggest a  correct code to find selected line item..

 

Unreconcilled July, August has been reconciled

$
0
0

Dear All,

I want to ask  about reconciliation.

My user have unreconciled bank for july, 
for august she already did the reconciled.

its seem like she didn't click the reconcile account when she did the reconciliation, she just print the reconciliation when the unreconciled amount has changed to zero amount.

please help me,

how to solve this case.

it is ok, my user doing the reconcile for july directly, while august reconcile has been done ?
what things I must to check, to make sure the process goes smoothly.

need your advice. really appreciate your help

Thank you


Dynamics 365 for operation Extensible controls error in javascript

$
0
0

Hi,

got a requirement to create a HTML control which calls to a javascript web api and gets the response in json format. the requirement is working fine with basic HTML but in AX javascript call its throwing a error on the api port.

Installing AOS Client

$
0
0

Hello,

After installing AOS Client, I'm trying to run AX but nothing is happening. I accessed AX server configuration to check on the ports and saw that the "Service WSDL port" is disabled while it must be assigned to port number 8101 by default.

Thank you for your help,

Regards.

Can we create invoice in Dynamics 365/CRM and have replication in Dynamics for Financials automatically

$
0
0

Hello,

Can we create invoice in Dynamics 365/CRM and have replication in Dynamics for Financials automatically ?

Thanks. 

Not able to sync Metadata in Retail scheduler parameters

$
0
0

Hi, 

I am not able to sync Metadata in Retail Scheduler parameter.

If I click on sync Metadata Following error is displayed. Please Do Help

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Column name is null or empty.

 

Parameter name: columnName

 

   at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlReadByFilterRequest.AddFilter(String columnName, FilterOperator op, String filterValue)

    --- End of inner exception stack trace ---

    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

    at Microsoft.Dynamics.AX.ManagedInterop.ClrBridgeImpl.InvokeClrInstanceMethod(ClrBridgeImpl* , ObjectWrapper* objectWrapper, Char* pszMethodName, Int32 argsLength, ObjectWrapper** arguments, Boolean* argsAreByRef, Boolean* isException)

Fixed Assets. I need to figure out a proper way to keep the inventory in a business +/- 200 people

$
0
0

Hi everyone.

I'm new in MS Dynamics AX and I would like to know the best solution to keep the changes in the fixed assets inventory. For that I would like to:

1. Export the fixed assets inventory to excel.

2. Read the business fixed assets (make the annual inventory) with a barcode scanner.

3. Upload the updated excel file to MS Dynamics.

Thank you1`

Load content of DropDown on selection on other DropDown

$
0
0

Hi all,

my goal is to have 2 Dropdowns (Reference Groups). The First one to select the Dimension, the second to select a value of the Dimension.

For better understanding here a Screenshot.

You can see the first Reference Group is filled with data already. But now i don't know how to finish my goal.

In the second Reference group i want to choose some value of the dimension.

For better understanding here a screenshot too:

I tried to overwrite the "modified" method of the first reference group but i don't reach my goal.

I'm thankful for every help.

Thanks in advance

James

Issue with using client method call in CIL execution

$
0
0

Hi,

In sys operation execution, I want to make a particular logic to execute as a client call process. So, I am using 'public static client method()' call for this functionality. But I am getting the below error in execution. 

Error Message (08:10:47 am) Stack trace: Invalid attempt to call AGNAutoSalesOrderCount.main running in CIL on the client.

Any suggestion!

Thanks!


new message showing in vendor open transaction settlement

$
0
0

Hi professionals,

while marking the open vendor transaction settlements showing the following message 

why it's coming?  thanks in advance.

the MT940 that i am receiving from the bank has different syntax from what Dynamics AX understands on Import, should i ask the bank to change the template or should this be update in AX XSL code?

$
0
0

Dear 

the MT940 file that we are receiving from the bank is coming with some different tags from what is defined in the transform file 

now i setup my MT940 to receive bank file and it is doing that

for example case point , the DR is not something that AX is understanding , i had to change the DR to D and the CR to C manually and i imported it again for AX to understand that it is C is credit and D is debit 

:61:1709010901DR5,43NCHGNONREF//ATMTOT20170901
Debit Transaction
:61:1709010901CR6123,85NCHGNONREF//ATMTOT20170901
Credit Transaction
:61:1709010901CR43872,78NCHGNONREF//ATMTOT20170901
Credit Transaction
:61:1709010901DR27,03NCHGNONREF//ATMTOT20170901
Debit Transaction

my question is this , is this something i need to ask the bank to change or should i update this in my XSL file to understand 

i am not even sure if this is something that can be changed inside Dynamics AX

please let me know 

GeneralJournalAccountEntry.LedgerDimension

$
0
0

Hello everyone,

I want to know how is GeneralJournalAccountEntry.LedgerDimension filled. I debugged the code, but I could not find the source table,. Sometimes dimensions are not fully filled. I have also checked account structures, everything is ok there.

My case is: I mark 2 records in "Settle Open Transactions" and then I update them.

I am using AX 2012 R2, CU9.

Thank you in advance.

Kind regards

Rati

Direct conversion between transaction currency and reporting currency

$
0
0

Hi there,

Has anyone faced the following scenario when implementing AX (2012, AX 7 or D 365) for a customer ?

The mandatory requirement is to have all transactions, whichever their initial currency, directly converted into the (legal entity) reporting currency, instead of being first converted into the (legal entity) accounting currency...

We haven't found any standard set up or functionality which enables this direct conversion.

However, I assume that publicly traded companies, having different statutory (accounting) currency and reporting currency, probably often face this case. Maybe none of them has implemented AX yet ?

Thank you so much for welcome help, tips and ideas about how to handle this scenario in AX !

Best Regards,

Lise

Duty\Privilege for Canceling a Product Receipt

$
0
0

In the Procurement module and in the product receipt journal of a purchase order there is a cancel button so that you can cancel a receipt that has already been made.  If I have a user that has access to that screen but cannot see the cancel button what duty\privilege do I need them to have to gain this functionality?

Viewing all 73760 articles
Browse latest View live


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