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

Online Users in System Admin

$
0
0

Could someone please inform me of how the Online users work on AX. We are looking at the number of sesssions running concurrently in Enterprise Portal and i cant figure out how the online sessions are generated. For example a user can have 3 active web sessions at the exact same hour,minute, second. For some users there are 5 or 6 sessions open and sometimes Web User and sometimes Worker/User sessions. 

Are there specific actions which create a new web/worker session or is it as simple as every time a user opens a new instance of AX/EP a new Online User session is created? 

This then doesnt explain the 3 or 4 sessions being opened at the exact same time.

Any input on this would be great. 

Thanks, 

Bruce


RE: AX 201R3 Transportation Management

$
0
0

HI

where you able to find the reason why you got

You can’t create a load line for this order line because it contains inventory dimensions that are invalid. You can’t reference inventory dimensions that are located below the location dimension in the reservation hierarchy. Remove the invalid dimensions from the order line.

i am getting the same error when releasing a sales order and i am trying to find the reason

appreciate your help

AX 201R3 Transportation Management

$
0
0

Can any one help me on Transportation Management with transfer order while"release to warehouse" following is the error

You can’t create a load line for this order line because it contains inventory dimensions that are invalid. You can’t reference inventory dimensions that are located below the location dimension in the reservation hierarchy. Remove the invalid dimensions from the order line.

Thanks in Advance 

RE: ClrObject static method invocation error

$
0
0

thanks but this didn't solve the issue either. is there other form to release the file?

RE: ClrObject static method invocation error while WinAPI::deletefile

$
0
0

hi luegisdorf, i have the same issue and setting TextIo instance to null doesn't unlock the file to be deleted

ClrObject static method invocation error while WinAPI::deletefile

$
0
0

hi, I am using AX 2009

I tried to delete a file use WinAPI in X++

below code is used in a class

......

FileIOPer = new FileIOPermission(fileName,'RW');

FileIOPer.assert();

WinAPI::deleteFile(filename);

......

but , I get error "ClrObject static method invocation error"

I used WinAPI::fileLocked() before WinAPI::deleteFile(), the result is True, means file is locked.

how can I delete this file? thanks.

 

Weekly total for SSRS report

$
0
0

Hi

Could you please suggest how can I display weekly wise total in SSRS reports.

Actually I had a report where I need to select fromdate and todate let's say for example from date as 1/1/2018 and todate as 1/29/2018 so the report will show all the records from 1/1/2018 to 1/29/2018, here I need to sum totals weekly wise like 1/1/2018 to 1/7/2018 then total and again from 1/8/2018 to 1/15/2018 then total and soon..

Thanks in advance

Xrm.Page.getControl() returns null

$
0
0

Using CRM 2015.

I'm creating a button that loops over the selected records in a view and performs a custom method.

Here's the setup:

Created a button on the main view menu bar in one of our custom entities.

Added javascript for the new button to call.

 try {
 var selectedEntityReferences = [];

 var selectedRows = Xrm.Page.getControl("<control name here>").getGrid().getSelectedRows();
 alert("selectedRows:" + selectedRows.getLength());

 selectedRows.forEach(function (selectedRow, i) {

 selectedEntityReferences.push(selectedRow.getData().getEntity().getEntityReference());
 alert(selectedRow.getData().getEntity().id);

 });
 } catch (ee) {
  alert(ee.message);
 }

I tried replacing "<control name here>" with what I thought the name of the control was - but it gives 'selectedRows is null' error.

This sent me on a search to find the proper control name.

In the MSD documentation I found 'Xrm.Page.getControl()' should return a list of controls - but when I use this method it returns a null object.

This leads me to believe there are no controls on the page - but how is this possible?

Also - where would I find the proper name for the control that holds the view grid?


Ax not set Prefix in Element Name

$
0
0

Hello i try generate this xml...

<if:Element1/>

But i cant set the prefix, always is deleted...

You can help me please.

Thanks in advance

RE: BOM JOURNAL CREATION ERROR DURING KIT POSTING IN AX RETAIL

$
0
0

Hi Ravinder,

Did you get any solution to your issue?

It is evident from the error message that the "Retail Transaction" lines on the statement are missing mandatory dimensions. Sometimes, on retail statement posting, the financial dimension values are taken from the terminal (not from Store). Ensure that the terminal ID also has the same dimensions defined. Also, if the BOM item is having the issue, you may need to check the financial dimensions on the Released Product. 

Hope this helps you solve your issue. 

Sai.

BOM JOURNAL CREATION ERROR DURING KIT POSTING IN AX RETAIL

$
0
0

Hi All,

I am facing the below error when posting retail statement .

Some information regarding  AX setup -:

1. The AX version is 2012 R3 CU12

2.  The financial dimension location and department is mandatory.

3. The default Financial dimension is specified at store level .

4. During Posting , the system is creating BOM Journal for  kit orders and throws the above error.

5. If i manually create the assembly order for kits and specify the financial dimension on each  line , then i am able to post that journal.

6. Please let me know if this is a bug or some setup issue , why system is not assigning the default dimension value to lines in BOM Journal during retail statement posting....

Thanks

Ravinder Rana

AX Retail Functional Consultant

AX 2012 R3 CU8 Inventory Aging questions

$
0
0

Hello, we recently went live on AX and now several months later we are seeing strange things with the IM > Inventory aging report.  I have a few questions:

Using the "As on date" parameter, the result I expected was being able to generate an aging report as of that date.  For example, the report would show what my on-hand inventory count was as of that date, as well as the aging state.  Is this actually the intended function of this parameter?  When we run the aging for prior dates, the "on hand" number is always the current number.

Can anyone advise on where specifically the data for this report is being drawn?  In our environment, the report is putting a large amount of inventory in the 120+ bucket (erroneously) and we're trying to understand why.

Unfortunately we are in the midst of an audit, the auditors want to see our aging as of certain dates, and expect our transaction history to match up.  Thanks in advance for any info!

RE: What privilege/role control 'Copy Fixed Asset' button

$
0
0

Hi,

Now I successfully made the 'Copy fixed asset' button display as system admin.

I changed the permission table 'AssetTableListPage' & 'AssetTableNew' to full control.

Thanks for your support. Much appreciated!

What privilege/role control 'Copy Fixed Asset' button

$
0
0

Dear all,

Please advise if you guys know what role/privilege that control 'Copy Fixed Asset' button under Fixed Asset module.

RE: Why GST code on invoice differ from posted sales invoice?

$
0
0

Hi Chandra,

Below is the screen shot

1) Tax invoice journal > posted sales tax

2) Invoice form

3) Sales tax group

4) Item sales tax group

      

5) Sales line combination (item number: 4-589-236-01, Qty: 13,680)

Then, if developer can change the AOT to correct the tax code (yes, both is zero rated), which table should be corrected? CustInvoiceJour & TaxTrans only? Please advise.


RE: Local VM Management Reporter connection string decryption

$
0
0

Hi,

We have no reference about how to do either of these whether encryption or decryption. we can do this for web.config. We want same for MR configuration file. The behind the scene story is that he password for MRUSer has been changed on SQL server as well as VM Name for local VHD.  To fix our changes we want to see that what is inside MR configuration file, as this is encrypted. at moment we cannot run MR on this VHD.

Local VM Management Reporter connection string decryption

$
0
0

Has anyone come across the point of decryption and encryption of MRServiceHost.connections which is located at following path on Local VM

C:\FinancialReporting\Server\ApplicationService\bin

The way as we can encrypt and decrypt web.config for AOS Application, I would like to encrypt and decrypt the MRServiceHost.connections

 

PS: Please note that path to this file may be different in your local box VHD, such as this could be any other drive for example as J:\ I:\

 

RE: ClrObject static method invocation error

$
0
0

Not really but could you try to remove static keyword

Static method will create new  instance class instance and OS will consider it to be different user session

If you have concern the code will run on server you can generate the file to UNC shared drive \\server\folder\filename.txt so it can be recognized by server or client

And perhaps you need to change to winapiserver.deletefile()

Another question which method generate the file?Is it created on client or server?

File = null which is basically file.close() should be placed in same method of file creation so it is within same class session

Error when trying to run Test CreatePurchReq in PerfSDK

$
0
0

Hi All,

Just wondering if anyone here has worked with PerfSDK in Dynamics 365. Have configured as per the instructions in the following URL, but getting errors related to DLL missing:

https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/perf-test/perfsdk-tutorial

Below is the error I am getting when trying to run Test CreatePurchReq:

Test Name:         CreatePurchReq

Test FullName:  MS.Dynamics.Performance.Application.SCM.CreatePurchReqBase.CreatePurchReq

Test Source:       J:\PerfSDK\PerfSDKLocalDirectory\SampleProject\PerfSDKSample\PurchaseReq.cs : line 85

Test Outcome:  Failed

Test Duration:    0:00:00.0729955

 

Result StackTrace:           

at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.SelfMintedTokenAuthenticator.Initialize(AuthenticatorConfiguration configElement)

   at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.AuthenticatorFactory.GetConfiguredAuthenticator(AuthenticatorConfiguration config)

   at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.AuthenticatorFactory.GetConfiguredAuthenticator(String authenticatorId)

   at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.AuthenticatorFactory.get_AdminAuthenticator()

   at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.AuthenticatorFactory.get_AdminAuthenticatorToken()

   at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.get_Service()

   at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.PopulateAxUsers()

   at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement..cctor()

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

    at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.get_AdminUser()

   at MS.Dynamics.Performance.Application.SCM.CreatePurchReqBase.TestSetup() in J:\PerfSDK\PerfSDKLocalDirectory\SampleProject\PerfSDKSample\PurchaseReq.cs:line 55

Result Message:              

Initialization method MS.Dynamics.Performance.Application.SCM.CreatePurchReqBase.TestSetup threw exception. System.TypeInitializationException: System.TypeInitializationException: The type initializer for 'MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.CE.VaultSDK, Version=0.5.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

The DLL file Microsoft.CE.VaultSDK is there in the J drive, but the version is different from the one showing in the error message above. The version in the directory is 0.3.3.0, but the error message is complaining about 0.5.5.0. Not sure if this is the reason of the error message. Can anyone please provide some assistance related to this ? I am trying to do some performance testing for D365 F&O instance using this SDK.

The platform version is Update4. 

Thanks,

Baber.

RE: Why GST code on invoice differ from posted sales invoice?

$
0
0

Taxtrans

However I have question your invoice line only 2 lines but posted tax got three records

Is it coming from other sources like misc.charge?

Could you check on custinvoicetrans what are the values for sales tax group and item sales tax group

Sometimes from 5 lines of invoice line you have one line with different item sales tax group

Do you mind to share the voucher entry too.

Viewing all 175888 articles
Browse latest View live


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