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

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

$
0
0

Hello Everyone,

while creating custom data entity by using header and lines scenario, i am getting the below error.

while creating custom data entity classes and target entities also not creating.

Kindly provide the solution to resolve this error and let me know is there any way to get classes and target table. 


RE: purchase expenditure for product

RE: When I use View in Form to get selected record on form but it open two form instead of one form[Ax 2012]

$
0
0

In FormB executeQuery it gives the Error "Argument 'name' is incompatible with the required type."

public void executeQuery()
{

QueryBuildDataSource qdbs = this.query().dataSourceName(ST_BankInfoTableView);  Here It Give Error "Argument 'name' is incompatible with the required type."
;
qdbs.clearRanges();
qdbs.addRange(fieldNum(ST_BankInfoView,PersonnelNumber)).value(parmId);
super();

}

RE: When I use View in Form to get selected record on form but it open two form instead of one form[Ax 2012]

RE: Cancel/Delete of a Return Order

$
0
0

Hi,

I am having this same issue:

Return order lines have been deleted however the return order status is still set on "Open". This means AX is expecting items to arrive however no lines are there (and no items), it is just an empty RO. 

Same for the attached SO: no lines are there.

I want to delete the whole order but am unable because status is "Open". 

Does anyone know a fix for this because it seems more like a product "bug" to me. 

Kind regards,

Matthias

Cancel/Delete of a Return Order

$
0
0

Hi Everyone,

Could someone please help me to delete/cancel a Return Order.

The status of the Return order is "Open" and the lines within the RO has been deleted.

How do I delete or cancel this as a RO with "Open" status can not be deleted?

Thank you for your assistance.

RE: Restrict Modules in ledger Calendar

$
0
0

Hi AX beginner,

Can you elaborate on your question? I don't understand it completely. Can you provide a screenshot or tell how exactly you achieved your scenario in AX2009 and where you are stuck in AX2012?

Restrict Modules in ledger Calendar

$
0
0

Hi Guys,

I have a simple requirement that I need to give access to a user to edit Ledger calendar modules except Sales Orders. Specifically the user should be able to select the access level as All, None or any Access groups except for Sales Order Module. (Sales module should be enabled only for System Administrator role) I was able to do it in AX 09 through access rights but in AX 12 I am not. I was trying to give Edit access to Table LedgerPeriodModuleAccessControle and View access to fields SalesAccesslevel and Sales usergroupinfo but it didn't work. If I give view access only to table LedgerPeriodModuleAccessControle the user can't edit any module in the table.
Is that can't be done ? or what is the best solution for the above.

Thanks in Advance


How to solve the penny difference error value

$
0
0

Hi All,

My requirement is to adjust the voucher entries at run time meaning

For example voucher number GLJ001123

Voucher        Amount      LedgerAcc

Entries like GLJ001123      50               1100

                  GLJ001123       -50             2100

Here i will introduce my logic like

GLJ001123     50      1100(System entries)

GLJ001123     -50     2100(System entries)

GLJ001123     50       2100(My entries)

GLJ001123     -25      1100(My entries)

GLJ001123     -25      1100(My entries)

Here sum will be zero no issues. But some cases i will get penny difference 0.01.So for this journal has not been posted. I have set penny difference value 1 and also assign accounts for automatic transactions.

My question is adjustment to the voucher entries with my customisation will affect the standard penny difference posting process. Please share your thoughts. If yes how to resolve this.

Thank you.  

AX Fixed Asset module: how to see the possible values for labels

$
0
0

How is it possible to see the possible values for labels in the AX Fixed asset module Fixed asset>Common>Fixed asset> Fixed assets?

I have empty screen as the module is not in use and I would like to match what my values in excel should go into in the initial mass transfer. For example in AX I see value 'Fixed asset group' AND 'Fixed asset number' and I would like to see a list of possible values on this.

RE: When I use View in Form to get selected record on form but it open two form instead of one form[Ax 2012]

$
0
0

My Task Is that If I select FormA Field [like id]  that's related record it shown on FormB. Its logic I have written on Form it works but it opens two form. which are fromB View [all record]  and selected Record of FormB.

Attach multiple attachments with purchase orders

$
0
0

Hi,

i want to add same attachments to multiple lines selected. i am using command button right now and i am only able to add attachment to single line. is there any way i can do this?

Thanks

RE: When I use View in Form to get selected record on form but it open two form instead of one form[Ax 2012]

$
0
0

Yes. Did you try my suggestion on modifying the clicked method. That will resolve the issue of two forms opening instead of one.

Workflow escalation in AX 2012

$
0
0

Hi,

Is that possible to send a separate notification if it is from workflow escalation ?

What is happening is usual approval is sent even to the escalated user,

Dear xxx,

Please approve.

What is required is ,

Dear xxx,

This is an escalation mail because the user xxx did not take any action. 

Can any one suggest the solution.

Workflow highest hierarchy is reached

$
0
0

Hi, 

As for as AX 2012 workflow concerned,

How do we stop searching hierarchy users if the top most user is reached in the hierarchy ? specifically in the escalation.


RE: When I use View in Form to get selected record on form but it open two form instead of one form[Ax 2012]

$
0
0
Here Is Final Code
**FormA :- MenuItem Click Method **

void clicked()
{
    Args         args = new Args();
    MenuFunction menuFunction = this.menuFunction();

    args.parm(HcmWorker.PersonnelNumber);
    menuFunction = new MenuFunction(menuitemDisplayStr(DisplayForm), MenuItemType::Display);

    menuFunction.run(args);
}
** FromB :- Init Method **

public void init()
{

    str         parmId;
    parmId     = element.args().parm();
}
** FromB :- DataSource executeQuery method **

public void executeQuery()
{

QueryBuildDataSource qdbs = this.query().dataSourceName(ST_BankInfoView); // Give Error "Argument 'name' is incompatible with the required type." and Where Put "?" 
;
qdbs.clearRanges();
qdbs.addRange(fieldNum(ST_BankInfoView,PersonnelNumber)).value(parmId);
super();

}

How can I solve this Problem?

RE: When I use View in Form to get selected record on form but it open two form instead of one form[Ax 2012]

$
0
0

1) Introduce str parmId in classDeclaration. Otherwise it's not visibile outside init method

2) In executeQuery method it should be like this: QueryBuildDataSource qdbs = this.query().dataSourceName('ST_BankInfoView');

RE: When I use View in Form to get selected record on form but it open two form instead of one form[Ax 2012]

RE: Intercompany vouchers - related vouchers

$
0
0

Answered in D365 for Operations Forum under same title.

Intercompany vouchers - related vouchers

$
0
0

It's been awhile since I've done any work in 2012 and can't recall if this functionality existed:

D365FO - I create an Inter-company journal in USMF, with the Offset company set to USRT and post the journal.  If I go to the resulting voucher in USMF, I can select 'Related journals' and drill to the voucher created in USRT.  Does AX 2012 have this same Related vouchers functionality?  I see the Related voucher button in AX 2012 but when I post the same test journal, the button is grayed out.

Thanks

Viewing all 175888 articles
Browse latest View live


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