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

Realised Cost Amount not in line with realised consumption

$
0
0

Hi There - I hope somebody can help me with an issue of realised cost amount.

Currently I am faced with a situation  where realised cost amount is not in line with realised consumption.

In the screen shot below row3 figures highlighted in yellow show the realised consumption and realised cost amount. which is 3,042 & $1,238.40. The amount should be $1,899 (3042 units @ $0.62) based on estimated unit cost rate, however its not and the difference amount is showing as Variance cost amount.

Appreciate any help on this issue.


RE: How do you import zip codes into AX 2012?

How do you import zip codes into AX 2012?

$
0
0

I have tried to use the utlity built into AX to import zip codes as a .csv file, but it goes through the upload and then says 0 of 0 have been imported.  What columns should I be using or what could I be doing wrong? 

Thanks.

RE: Use of Table.setConnection(this.parmUserConnection())

$
0
0

Hi Arpan ,

using setConnection method you should be able to create new connection to Db so your process is independent of what other process is doing, so you process with setConnection method should complete.

Use of Table.setConnection(this.parmUserConnection())

$
0
0

Dear All,

In report when we extended with class "SrsReportDataProviderPreProcessTempDB" then we write 

Table.setConnection(this.parmUserConnection());

Can you please let me know what it's actually does? it's controlled multiple users at a time ? 

Means if 5 users run same report at same time. 

Please give me more shed on this.

Thanks!

Arpan

RE: RetailTransactionServiceOrders class' question

$
0
0

while debugging you can Store that XML or copy it in notepad and write you own job to do testing.

RetailTransactionServiceOrders class' question

$
0
0

Hi, 

I would like to customize RetailTransactionServiceOrders.createCustomerOrder() method.  

Some how i notice this class accept XML string as parameter.  I would like to know whether AX got store the XML string into any table or any folder which i can use to do unit testing on my customized code. 

Thanks

Matt

RE: Cart version mismatch in AX2012 R3 CU8

$
0
0

Hi Parmudita,

Could you please advise if you have got an answer for your question? I'm facing the same issue here and can't find the reason.

Thanks a lot


Cart version mismatch in AX2012 R3 CU8

$
0
0

Hi


In online store, when I try buy my own product and add to cart, I got error message :

"We cannot process your request at this time. Please try again "

In Event Viewer log, I see this error :

CommerceRuntimeException was thrown.Microsoft.Dynamics.Commerce.Runtime.CartValidationException: Cart version mismatch
   at Microsoft.Dynamics.Commerce.Runtime.Workflow.CartWorkflowHelper.SaveSalesTransaction(RequestContext context, SalesTransaction transaction)
   at Microsoft.Dynamics.Commerce.Runtime.Workflow.CreateOrUpdateCartRequestHandler.Process(SaveCartRequest request)
   at Microsoft.Dynamics.Commerce.Runtime.Workflow.WorkflowRequestHandler`2.Execute(RequestContext context)
   at Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(RequestContext context)

Any idea how to fix this ?

RE: How to search for a product based on product attribute values?

$
0
0

Adriaan - To activate the query go to Organization Administration -> Setup -> Document Management -> Document Data Sources.  Add a new row like this and click the "Activate" button.  

Then in Excel -> Dynamics AX tab -> Add Data -> Add Data (NOT Add-Tables), select your query and click "OK".  

Then you will immediately be placed in "Design Mode" where the "Design" button is highlighted.  Right mouse click-> Properties on the very top table name in the field list, tick the "Show calculated fields" option.  You'll now see any display methods that exist on the the tables in the query.  

Add the fields you want, exit design mode, refresh.  

System datetime and current session datetime

$
0
0

Hi,

Is there anyway to change the system datetime and current session datetime from AX 7?

Seems I can change my user's timezone setting to change the session datetime, how about the system date time? 

Thanks,

Execute action on AX 7

RE: Use of Table.setConnection(this.parmUserConnection())

$
0
0

Thanks Sukrut,

Can you please let me know

1. What is the advantage of table.setconnetion()?

2. What I replied in above before your answer . Plz verify is't correct?

Plz give me more shed on this.

Thanks!

Arpan

RE: How to save the report as PDF format using x++

How to save the report as PDF format using x++

$
0
0

 Blow code am using to save the report in pdf format when I run the job its showing error.

(Pre-Processed RecId parameter not found. Cannot process report. Indicates a development error.
(S)\Classes\xInfo\add
(S)\Classes\Info\add - line 94)

SrsReportRun srsReportRun;

srsReportRun = new SrsReportRun("SCGSProjectInvoiceReport.SCGSProjectInvoiceDesign");

srsReportRun.init();


srsReportRun.reportCaption("SCGSProjectInvoiceReport.SCGSProjectInvoiceDesign");
srsReportRun.reportParameter("parmProjInvoiceId").value("PI-0000008");

srsReportRun.showDialog(false);

srsReportRun.printDestinationSettings().printMediumType(SRSPrintMediumType::File);
srsReportRun.printDestinationSettings().fileFormat(SRSReportFileFormat::PDF);
srsReportRun.printDestinationSettings().overwriteFile(true);
srsReportRun.printDestinationSettings().fileName(@"C:\MO\ProjectInvoicereport.pdf");

if( srsReportRun )
{
srsReportRun.executeReport();
}


RE: Use of Table.setConnection(this.parmUserConnection())

$
0
0

Purpose of set connection is clearly written in Martin's blog. Yes that's correct it should not impact connection created with setconnetion method

RE: Execute action on AX 7

AOS Clustering Best Practice

$
0
0

Hi all,

I have a question about AX2009 , AOS clustering, that when we are installing AOS services in more than 1 server it is good to have Shared  AOD or it is good to have one AOD per One Physical Server ? what is the best practice?.

Thanks & Regards,

Amith Prasanna

RE: Standard Cost Revaluation

$
0
0

Hi Mohsin Kamal,

The "voucher" button there is already disabled

RE: Is there a way know Menu item button belong to a Form?

$
0
0

Hi Aakash,

You can have that by using Security Development tools. I used that tool and implemented the code of Ivan Kashperuk.

public void findMenuItemUserPath()

{

   MenuFunction mf = new MenuFunction(element.args().menuItemName(), element.args().menuItemType());

   str          menuLabel;

   boolean iterateMenus(SysDictMenu _menu)

   {

       SysMenuEnumerator menuEnum = _menu.getEnumerator();

       SysDictMenu subMenu;

       boolean found;

       while (menuEnum.moveNext())

       {

           subMenu = menuEnum.current();

           if (subMenu.isMenu() || subMenu.isMenuReference())

           {

               found = iterateMenus(subMenu);

               if (found) // If found, just climb back up the stack

               {

                   menuLabel = strFmt('%1/%2', subMenu.label(), menuLabel);

                   return found;

               }

           }

           else if (subMenu.isMenuItem() && subMenu.isValid() && subMenu.isVisible() && subMenu.menuItem().name() == mf.name() && subMenu.menuItem().type() == mf.type())

           {

               menuLabel = subMenu.label();

               return true;

           }

       }

       return false;

   }

   if (iterateMenus(SysDictMenu::newMainMenu()))

   {

       info(strfmt('%1/%2', strUpr(curext()), menuLabel));

   }

   else

   {

       warning('Not found in the Main Menu');

   }

}

Viewing all 175888 articles
Browse latest View live