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

RE: How to call Managed Code in x++

$
0
0

Hi Munib,

As you said I have added the reference to the AOT. Now I can see the class library under the Reference Node of the AOT. Actually it's a console app. Now please let me know how can I pass parameters to the Class library


RE: physical updating quantity in the inventory unit BAG must be other than zero.

$
0
0

Hello,

You can view in sales line, update line, deliver remainder in sales quantiti. Are your counts the same?

Regarding how to add state for from warehouse or for to warehouse

$
0
0

Hiiii all,

I have created one form i.e InventOrderRegister, in the form there is two fields 1. from warehouse 2. to warehouse. I want to add state for both the fields. I have added state for from warehouse and also I want to add state for to warehouse but the issue is same value is coming for to warehouse which is coming for from warehouse.

NOTE:- State means suppose I transfer some items from one place to another place like Bangalore to Delhi. Here Bangalore is my from warehouse and Delhi is  To warehouse. And for from warehouse Bangalore is state and for to warehouse delhi is state but in my case same data is coming for to warehouse. Please help me ASAP. Thanks in advance.

RE: what's AX standard function for fixed asset budget depreciation when there's also budget acquisition?

$
0
0

Hi Ludwig,

I test more for the functionality, when the fixed asset is not acquired, then just create forecast entry for this fixed asset of acquisition transaction type, the amount will be included to calculate the budget depreciation.

If we input the acquisition price in the general tab which as you suggested, then no matter how much amount in forecast acquisition entry, only the acquisition price in the general tab will be used to calculate the budget depreciation. If this is the standard functionality, then all the acquired fixed asset, we can think there's no any budget functionality anymore? Because the budget acquisition amount will not be included to calculate the budget depreciation amount. Is it correct?

RE: delete journal completely

$
0
0

Hafiz Usama Thanks for your reply...but now i m checking it that its removed automatically...its also strange for me but thanks for your reply.

Regards

RE: Submit Menu for approval not visible for Non-Admin User

$
0
0

Hi Crispin,

sorry, what I mean is

I created workflow approval for vendor creation.

previously crispin said about " User not having worker / employee relation"

I explained again that, my user purchasing login into AX, he could see the submit menu at purchase order form. so its mean my user already have employee relation right ?

based on those fact, my user purchasing when open form vendor ( vendtable at AOT ), submit menu for vendor creation approval not showed up.

Thank you

RE: what's AX standard function for fixed asset budget depreciation when there's also budget acquisition?

$
0
0

If then seems the budget functionality is not useful anymore for acquired fixed asset.

what's AX standard function for fixed asset budget depreciation when there's also budget acquisition?

$
0
0
Hi All,
 
When we use the fixed asset budget journal, first to budget acquisition fixed assets monthly, second to run the budget depreciation monthly, how will the logic of budget deprecation amount be produced? Will AX only calculate it based on depreciation method and current net book value without budget acquisition amount or not? Here’s the example screenshot for your reference, seems from this screenshot, the deprecation amount is not including the budget acquisition amount, is it correct? Thanks!


RE: Submit Menu for approval not visible for Non-Admin User

$
0
0

OK. In that case, do you have canSubmitToWorkflow() in the form?

RE: How to call Managed Code in x++

RE: How to check if an User logged in is an Administrator via x++ ?

$
0
0

Do you want to find this within a Code block? or a menu-item Access Level?

How to check if an User logged in is an Administrator via x++ ?

$
0
0

Hi All,

How to check if an User logged in is an Administrator ?. Based on that I want to perform certain action.

I mean Only if the user has the admin role then will be allowed to perform certain activity else will not be allowed .

Regards,

Mania.

RE: AIF LOGS

$
0
0

I don't think it is.

You either log the request message or not; you can't somehow delete a part of the message before logging it.

RE: Downloaded VM login issue

$
0
0

Can you be a bit more specific, please?

And have you used the admin provisioning tool?

RE: How to check if an User logged in is an Administrator via x++ ?

$
0
0

Hi ,

If you want to do this using X++ try below code to find Security roles for current user

static void Job206(Args _args)

{

   SecurityRole        role;

    SecurityUserRole    userRole;

    UserInfo            userInfo;

    ;

   while select  role

   exists join userRole

   where role.RecId     == userRole.SecurityRole

         && userRole.User == curUserId()

   {

   info(strFmt("%1  -  %2", role.Name,curUserId()));

   }

}


RE: Downloaded VM login issue

$
0
0

yes i have use admin provisioning tool and submitted successfully. I am able to use client URL successfully. But when i tried to open my table in VS through table browser it gives me error:- you are not authorized to login with your current credentials.

RE: Value is not found in the map

$
0
0

Hi I'm having the same error, not exactly 'cause RecId is not found in the map.. have you resolved it ? Thanks

Value is not found in the map

$
0
0

Hello Everyone,

When i try to cancel a Product Receipt i am receiving this error

RE: Is There a Method That Lets Me Know IF There Is a Next Loop in a While Select Loop? Something like hasNext()?

$
0
0

I don't think there is a hasNext when you iterate a table buffer. But I don't think you need that.
Here's an example:

boolean firstIteration = true;
MyTable myTable;
str myStr;

while select myTable
{
    if (!firstIteration)
    {
        myStr += "-";
    }
    else
    {
        firstIteration = false;
    }

    myStr += myTable.myField;
}


The result will be a string with values from myTable.myFieldId, separated by "-".

Is There a Method That Lets Me Know IF There Is a Next Loop in a While Select Loop? Something like hasNext()?

$
0
0

Hello awesome community! I'm new to AX and its development and I seek your help if you please :)

I have a while select loop, is there a method that lets me know there is a next loop?

Something like if(selectLoop.hasNext())?

because I want to add a "-" in a string with each loop, in each loop i'm adding a new string in a big string variable. But the words appear next to each other without a space or a dash separating them, so I want to know if there is another step in the while select loop to add "-" to the big string between each loop.

Thanks!

Viewing all 175888 articles
Browse latest View live


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