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

Excel data publishing error in AX7

$
0
0

Hello,

I am creating Open in excel (edit in excel) experience for a given form in AX7 using data entity. On opening the excel using the Open in excel button and selecting the data entity, the excel file is opening fine and showing all the data as present in the form. The problem occurs when I add a record in excel file and try to publish the data it throws an error 

Error Publishing

Details:
Original data contains duplicate entries

I have made the following observations:-
1. Data in excel that i am trying to publish is not at all identical.
2. Using debugger I have also discovered that the control is not even going to the data entity's insert() method.
3. I have checked the Staging table for the entity and found no data, also I have checked the respectve table for the datasource and found it not to contain any blank or unwanted records.

Still I am getting this error, debugger is of no use here as the insert() method is not getting hit.

Please tell me as to in which scenarios do we face such error in excel, and how to resolve this error.


RE: Creating alert on a sales order for a specific customer

$
0
0

Hi,

Can you please verify that a batch job is scheduled and running for alerts. If not then schedule a batch job for change based alert.

Follow below steps for scheduling the same :

Go to System Administration > Periodic > Alerts > Change based alerts.

schedule a recurrence in batch job and run it.

I believe it will resolve your issue.

Regards,

Gaurav Sharma

RE: Revert back Deleted Journal Lines of Payment Journal

$
0
0

Dear Faizan

Did u find any solution for the posted issue.. am facing the same pls do the needful.

Revert back Deleted Journal Lines of Payment Journal

$
0
0

I have deleted Journal lines after posting mistakenly by using deleted Journal lines function , how can I revert them back? 

Advance Thanks for Support!

RE: Adding caption to UI builder generated dialog box

$
0
0

Inside DAX2012 works next code:

//class MyReport_UIBuilder extends SrsReportDataContractUIBuilder

public void build()
{
...

controller.parmDialogCaption('My caption');

...

}

Adding caption to UI builder generated dialog box

$
0
0

Hi,

I want to add a caption to the dialog box (parameter window) generated using a UI builder.

I am looking for code similar to what I would do in case of legacy reports to add a caption to the dialog box

Dialog dlg = new Dialog("@labelID");

I tried to add a caption in by overriding the new method of UI builder class, passing a dialog box with the caption to the super method, but that did not workout.

Any help is appreciated.

RE: How to stop initializing WorkerSalesTaker combobox on SalesCreateQuotation when creating new Sales Quotation?

$
0
0

Thanks All,

WorkerSalesTaker is initialized at two places on SalesCreateQuotation Form.

1. SalesQuotationTable table initValue() method.

2. SalesCreateQuotation Form Data source initValue().

Regards,

RE: SO error when make invoice AX 2012 R3

$
0
0

Thanks for your advice

after debugging

the error show in this class : InterCompanySalesAtCostPriceHandler Method : onSalesLinesSelectionStarted

 // Ensure that we are not calling the onSalesLinesSelectionStarted method twice before calling onSalesLinesSelectionFinished

  // Debug::assert(intercompanyPurchOrderDataAreaAndIds == null && selectionStartedTTSId == 0);

for now I stopped this line and it's working fine till find final solution


SO error when make invoice AX 2012 R3

$
0
0

Dear All

I can't make invoice in one of our companies and give me this error

all other companies working fine

I deleted XppIL folder and made a full compile 

but still show this error AX 2012 R3 version 

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown. 

at Dynamics.Ax.Application.formletterParmData.Catchall() in formletterParmData.catchAll.xpp:line 10 
at Dynamics.Ax.Application.formletterParmData.Createdata(Boolean _append, Boolean ) in formletterParmData.createData.xpp:line 61 
at Dynamics.Ax.Application.formletterParmData.Createdata(Boolean _append) 
at Dynamics.Ax.Application.SalesFormletterParmDataInvoice.Createdata(Boolean _append, Boolean ) in SalesFormletterParmDataInvoice.createData.xpp:line 14 
at Dynamics.Ax.Application.SalesFormletterParmDataInvoice.Createdata(Boolean _append) 
at Dynamics.Ax.Application.SalesFormletterParmData.executeChooseLinesServer(Object[] _salesFormletterContractPacked, Boolean _append, Boolean _reuseParmUpdate, Boolean _onlyCreateParmUpdate, Boolean _executeLateSelection, Boolean , Boolean , Boolean ) in SalesFormletterParmData.executeChooseLinesServer.xpp:line 23 
at Dynamics.Ax.Application.SalesFormletterParmData.executeChooseLinesServer(Object[] _salesFormletterContractPacked, Boolean _append, Boolean _reuseParmUpdate, Boolean _onlyCreateParmUpdate, Boolean _executeLateSelection) 
at Dynamics.Ax.Application.SalesFormletterParmData.chooseLinesServerIL(Object[] _inputContract) in SalesFormletterParmData.chooseLinesServerIL.xpp:line 7 
at SalesFormletterParmData::chooseLinesServerIL(Object[] ) 
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters) 
at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26 
at SysDictClass::invokeStaticMethod(Object[] ) 
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters) 
at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)

RE: Project Suggestion

$
0
0

Ah good day, and thank you for replying to my discussion.

The reason I am asking for ideas is because my instructor told me to develop a simple tool that will aid the client side users of dynamics AX, the problem at hand is that I am unable to think of anything remotely useful for the client-side users of AX.

RE: How to call a TABLE private method ?

$
0
0

Hi BetoPR,

It is possible but not recommended. Why do you need to call initfromCustTableServer at all? There is public method "initFromCustTable" that will call it anyway, so just use it!

RE: Register Override Method in Dialog Form

$
0
0

Hi Vairam Srinivasan Sankaramoorthy,

You don't need dialogField, you need control. And you can get control from adialog, like dialog.formRun().design().controlName("MyControl");

RE: Workflow stop error

$
0
0

Hi Magic1949,

Thanks for you in puts. As of now we have performed FULL CIL and it is working fine. As per your suggestion I will keep an eye on event viewer and will try to figure out the issue.

Regards,

KVNKK

Workflow stop error

$
0
0

Hi ,

Can some one suggest me on the issue and which is very critical from our end and it is happening in production.

workflow getting stopped and facing below errors in log.

Some times it is solving by FULL CIL   and currently we processing..

But can some one suggest me, How we can tract it or identify the issue by debugging(where to start) or trouble shooting. with minimal time.

[‎8/‎1/‎2018 10:50 AM]
Workflow Instance ID: 038823 Microsoft.Dynamics.AX.Framework.Workflow.Runtime SysWorkflowQueue-resume SysWorkflowEvaluationProvider-evaluate SysWorkflowEvaluationProvider-evaluateCondition at Microsoft.Dynamics.AX.Framework.Workflow.Runtime.AxWorkflowService.Evaluate(ActivityContext context)
at Microsoft.Dynamics.AX.Framework.Workflow.Runtime.ConditionalGateway.Execute(NativeActivityContext context)
at System.Activities.NativeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)


[‎8/‎1/‎2018 10:50 AM]
No Title
Workflow Instance ID: 037381 System.ServiceModel.Internals SysWorkflowQueue-resume SysWorkflow-save SysWorkflowWorkItem-createWorkItems SysWorkflowWorkItem-create at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.Runtime.DurableInstancing.InstancePersistenceContext.EndOuterExecute(IAsyncResult result)
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult.OnPersisted(IAsyncResult result)
at System.Runtime.AsyncResult.SyncContinue(IAsyncResult result)
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult.Persist()
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult.CollectAndMap()
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult.Track()
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult.InitializeProvider()
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult..ctor(WorkflowApplication instance, TimeSpan timeout, PersistenceOperation operation, Boolean isWorkflowThread, Boolean isInternalPersist, AsyncCallback callback, Object state)
at System.Activities.WorkflowApplication.IdleEventHandler.OnStage1Complete(IAsyncResult lastResult, WorkflowApplication application, Boolean isStillSync)
at System.Activities.WorkflowApplication.IdleEventHandler.Run(WorkflowApplication instance)
at System.Activities.WorkflowApplication.OnNotifyPaused()

We are facing this issue like every 2 to 3 months and till now we are unable to find fixed solution on this issue.

Thanks in advance for your time and help.

Regards,

KVNKK

Purchase order invoice issue

$
0
0

 Hi,

Purchase order ********** has been received but the receiving value is not showing in booking the invoice.

Can any one suggest to me.

Regards,

Reddy


EP issue (The webpage cannot be found)

$
0
0

Hi Friends,

We are facing issue with some of our customized EP pages.

We have three page for Leave process and which are widely used by many users.

  1. Leave detail page
  2. Create and Edit pages.

Some time we are facing issue with one of these pages and getting error “The webpage cannot be found” and we didn’t find relevant log from event viewer.

To solve this issue, We just deploying the Page definition and web controls of related page and then everything looks fine.

I think it is relating to cache but not idea how to rectify.

Can anyone suggest me how to overcome this issue?

Regards,

KVNKK

RE: how to populate field value based on dropdown list ax 2012

$
0
0
Hi Martin,
Thank you very much.
 I will study this code and try it.
Regards,

how to populate field value based on dropdown list ax 2012

$
0
0

Hi DAXers,

I'm new to X++

Thanks in advance for your support.

As shown in the picture below, I have created a new table includes 2 fields A & B used in a drop-down list in a master table form that includes other newly created 2 fields C & D. it is linked and drop-down list working properly. 

When I tried to modify C using the drop-down list that linked with the field A, I want to update field D by value from field B.

drop-down field population

Thanks again,

Cost Group (Form)

$
0
0

Hello,

Can any body explain me the difference among Standard, Profit 1, Profit 2, and Profit 3 in cost Group form. (With Example)

Thank You.

RE: Register Override Method in Dialog Form

$
0
0

Hi ievgen,

I'm getting error as Object Not Initialized inside the Overrided Method when i'm getting whether MyControl is enabled

Viewing all 175888 articles
Browse latest View live


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