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

Purchase requisition - Project categories is empty

$
0
0

Hi All, 

I'm trying to create a purchase requisition for a project.  At the Project categories drop down box (screenshot 1), it's empty.  There is no project category to choose from even though the project category has been set up (screenshot 2).  Am I missing something?  Thanks


RE: "Created Date & Time" for InventTable for Dynamics AX for Excel

$
0
0

Check in the screen shot custTable fileds  (CreatedBy, ModifiedOn and ModfiedBy) properties are set YES, But when you check on AOT these will not visible to you. However you can access via code like below example. 

static void curExtExample(Args _arg)
{
CustTable custTable=CustTable::find("abcd");

info(strFmt("Created on %1 , Modified By %2 , Modified On %3",custTable.createdDateTime ,custTable.modifiedBy, custTable.modifiedDateTime));
}

RE: "Created Date & Time" for InventTable for Dynamics AX for Excel

$
0
0

On Which table you are going looking for these fields?

On that table properties are already set YES?

If not, Have try to enable those properties by creating Extension of the table?

"Created Date & Time" for InventTable for Dynamics AX for Excel

$
0
0

I am unable to find this field in the Dynamics AX add-in under the table it is listed in Dynamics AX. So far, this is the only field i do not see within the list. I am trying to compile a full list of parts and their creation dates.

RE: Error outbound transfer journal is not supported

$
0
0

Hi Codehunter,

Can you share some more details on your exact steps? What service are you using and what values did you provide? Possibly, the only change you need to do is reverting the quantity field.

RE: How to acheive SAved filter for Different customer?

$
0
0

Can you provide the logic you are using for this? Initially it seems like the customer account is explicitly defined in the logic.

How to acheive SAved filter for Different customer?

$
0
0

Hi all,

In AR->All csutomers->collect ->closed transaction editing i saved a filter for customer "US-004",Filter by field value.

when i tried for different customer say "US-007", i applied the saved filter to retrieve my logic, but it is showing "US-004" related invoices in closed transaction editing but for my logic  it should fetch/show "US-007" related transactions in closed editing. 

kindly suggest any solution/workaround !!!

RE: Error outbound transfer journal is not supported

$
0
0

i am trying to connect AIF service through SOAPUI and i got error Server was unable to process request. ---> Request Failed


RE: Data flow from salesparmline to custconfirmtrans

$
0
0

Hi!

If you take a look at createJournalLine() method you can see what inside this method records will inserted.

Try to put your code before next.

Data flow from salesparmline to custconfirmtrans

$
0
0

Good morning,

I am trying to flow data from salesparmline to custconfirmtrans .

I have tried writing code in Salesconfirmationjournalcreate - CreateJournalLine() method using chain of command.

I have written code like this.But not working

Please provide some solution on this.

Regards.

Have a great day.

RE: Array element value from fieldId

$
0
0

are you familiar with the use of fieldId2Ext() ??

There lies your answer.

RE: Array element value from fieldId

Array element value from fieldId

$
0
0

I have a loop throw all table fields. One of the fields has several array elements (like Dimension EDT). I need to get values from all elements.

static void test(Common _common)
{
   SysDictTable    dictTable = new SysDictTable(common.TableId);
   FieldId         fieldId = dictTable.fieldNext(0);
   ;
   while (fieldId)
   {
      dictField = dictTable.fieldObject(fieldId);
info(strFmt("%1", rPayTblTrans.(fieldId)));
fieldId = dictTable.fieldNext(fieldId);
}
}

I tried to do this:

while (fieldId)
{
   dictField = dictTable.fieldObject(fieldId);
  for(i = 1; i <= dictField.arraySize(); i++)
{
info(strFmt("%1", rPayTblTrans.(fieldId)[i]));
}
fieldId = dictTable.fieldNext(fieldId);
}

but it is not worked.

RE: Enterprise Portal FatalSessionException Call RegisterRequiresControlState

$
0
0

Hi  Andreas,

did you solve this issue. I have this on customer side and can't get over it.

Thanks for any help.

Marek

Enterprise Portal FatalSessionException Call RegisterRequiresControlState

$
0
0

Hi, we have the following error on a self made user control. All other EP pages work, but when we go the page with our control the error comes up. Additionally the error is only on some users... not on all users.

 

Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.FatalSessionException: Fehler beim Dynamics-Objektadapter 'Call'. ---> System.InvalidOperationException: RegisterRequiresControlState can only be called before and during PreRender. 

   at System.Web.UI.Page.RegisterRequiresControlState(Control control) 

   at System.Web.UI.Control.AddedControl(Control control, Int32 index) 

   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxGridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) 

   at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) 

   at System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) 

   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxGridView.PerformDataBinding(IEnumerable data) 

   at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) 

   at System.Web.UI.WebControls.DataBoundControl.PerformSelect() 

   at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() 

   at System.Web.UI.WebControls.GridView.OnDataSourceViewChanged(Object sender, EventArgs e) 

   at System.Web.UI.DataSourceView.OnDataSourceViewChanged(EventArgs e) 

   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxDataSourceView.OnDataSourceViewChanged(EventArgs e) 

   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxDataSourceView.DataSetView_ListChanged(Object sender, ListChangedEventArgs e) 

   at Microsoft.Dynamics.Framework.Data.Ax.DataSetView.OnListChanged(ListChangedEventArgs e) 

   at AxEventDelegate.KcInvoke(AxEventDelegate* , interpret* ip) 

   at AxCore_Call(UInt64 , Char* , tagVARIANT* , Int32 , tagVARIANT* ) 

   at Microsoft.Dynamics.BusinessConnectorNet.AxaptaObject.Call(String methodName, Object[] paramList) 

   at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName) 

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

   at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.HandleException(String message, Exception exception, HandleExceptionCallback callback) 

   at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName) 

   at Microsoft.Dynamics.Framework.BusinessConnector.Proxy.DataSetRun.pack() 

   at Microsoft.Dynamics.Framework.Data.Ax.DataSetRunHelper.Pack(ISession session) 

   at Microsoft.Dynamics.Framework.Data.Ax.DataSet.Pack() 

   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxDataSource.SaveControlState() 

   at System.Web.UI.Page.SaveAllState() 

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


RE: Workflow Infratructure configuration form does not open - stack trace error

$
0
0

Hello - I am having the same issue and nothing suggested here seems to help. Having said that, can someone tell me where and how to run this suggested job Sohaib suggested above.

Thanks,

Farokh

Workflow Infratructure configuration form does not open - stack trace error

$
0
0

Hi, I get a stack trace error when trying to open the Workflow Infratructure configuration form

Error executing code: Wrong argument type for function.

         Stack trace

        (C)\Classes\WorkflowSetupWizard\new - line 77
        (C)\Classes\WorkflowSetupWizard\construct - line 3
        (C)\Classes\WorkflowSetupWizard\main - line 3

I have deleted the AUC files cleared usage data deleted the content of the Xppil folder, ran a Full CIL and a dbsync but the error persist

from the debugger here are the line of code which come up in the stack trace error there also has been no custom development done for this form.

line 76 batchData.parmDueDateBatchGroup(batch.GroupId);

line 77  batchData.parmDueDateTimeValue(conpeek(conpeek(dueDateJobBatchInfo.parmRecurrenceData(),8),1));

Line 3(construct)     public static WorkflowSetupWizard construct()
{
    return new WorkflowSetupWizard();
}

Line 3 (Main)   WorkflowSetupWizard wizard = WorkflowSetupWizard::construct();

 
   

RE: Select newly created record on a listpage grid

$
0
0

Well,

The refresh, research and reread worked perfectly by bringing the new record to the grid.

I´m still struggling to select it on the grid. And there's a catch, it´s not the last one, because the grid ir sorted by a specific number and the new records are being given a new numeration which is neither higher nor lower than the "old" ones.

Anyway, I´ll have to re-run the caller query adding a sort by the recID (desc) and then, the newly created will be the first on the grid, therefore the one selected automatically.

Thank you again! (I'll for sure cry for help again here and hope I´ll be able soon to answer doubts or bring more dearing ones...)

Cheers.

Select newly created record on a listpage grid

$
0
0

Hi friends.

I´m very new to AX. (2 months) and I have an urgent need, after spending time looking for the answer, I decided to ask you. It may be a simple question, but sometimes simple practical issues solutions are not found in manuals.

Anyway.

I have a listpage and a "new" button which leads to a "create" form.

I need, after creating a new record to return to the listpage and highlight this created record on the listpage's grid.

Can anyone help me, please.?

Thanks in advance.

RE: Select newly created record on a listpage grid

$
0
0

"..re-run the caller query adding a sort by the recID (desc) and then, the newly created will be the first on the grid, therefore the one selected automatically.." is totally right.

Viewing all 175888 articles
Browse latest View live


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