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

Audit file SAT-T for Polen

$
0
0

Hi,

When I run the SAT-T report I receive this error message. Does anyone knows what it means? 

Error executing code: AssetService object does not have method 'readPeriod'.


Payment Terms - Discussion

$
0
0

Hi there!

How can be the best way to set up this payment codes?

CodeDescriptionDays for net payment
50A50R50% in advance + 50% in reception
30A70R30% in advance + 70% in reception

I am looking for the best approach.

Thank you in advance,

Magno

Running scheduling with capacity time fence more than 100 days

$
0
0

Hi Guys,

I got a familiar error "Not enough Capacity could be found" when running Master Scheduling.

I've analyzed and seem because it takes >=100 days production to fulfill the requirement.

All setting related time fence already set to 365 (Master Plan Setup, Coverage Group Setup, Item Coverage)

And already check also suggestion from this article https://blogs.msdn.microsoft.com/axmfg/2013/01/24/production-order-could-not-be-scheduled-not-enough-capacity-could-be-found-how-to-get-to-the-bottom-of-this/

But the error still came out.

For your information. this is the example :

Run time = 50 pcs / hour

working time = 24 hour (7 days a week)

requirement = 120000, system will show error because it take 100 days capacity

if you change requirement to = 119999, master scheduling will run smoothly, because only need 99 days

Is there any setup that I missed?

Thanks,

EYO

Workflow history list in Enterprise Portal

$
0
0

Hello,

If we cancel a workflow in a purch requisition and start it again, when we open the history, we see 2 instances of that workflow, 1 canceled and 1 pending.

But in the EP, when we open the history, it only shows the workflow details of the actual instance.

Is there any way to see this on EP?

Thanks a lot!

Get selected UserID, X++ ?

$
0
0

Hi everyone,
I want to take the current USER ID from selected form:

/System administration/Common/Users -> select user ->

I need a code like this : curUserId(); , but that doesn't work.

For example, I have 20 users and I want to open the form for each one separately, all the way the method takes me differently(from the selected one).

Form name : SysUserInfoDetail

Thank you !

Problem to insert data with InnerJoin datasource

$
0
0

Hi,

Consider this : 

My problem is when I create new record of A, I select my item from B by lookup, but data from B dont populate fields in red. Datasource A and Datasource B are linked with InnerJoin.

Any idea ? Thanks

Journal setup

$
0
0

Hi there,

How we could define the following fields as mandatory in the Journal?

  • Sales Tax
    • Item Sales Tax Group
    • Sales Tax Group

Thank you in advance,

Magno

How to get charges Tax amount (GST) using x++

$
0
0

Good Evening,

As i have purchase order consisting of 1 line and it is having tax (cgst and sgst)

and the second thing is it is having charges 

and for that charges i have tax.

Please find the below screen shot

i am getting line wise tax data correctly.

But i am unable to get the miscellaneous charges Tax amount.

Please show some light on this.

Regards.

Have a great day.


CIL ERRORS AND Warning

$
0
0

hi all,

i runned CIL but i took 1 error and 66 warnings

error question;

i am compiling class which is error to CIL but i dont take any error when compile concerning class, first question is this. 

warning question;

Warnings are from product model, you know these are class to AOT. I m compiling class which is warning to CIL, i take several errors about not declarated variable.

these are not in product builder (PBATableVariable) but these are in pbareturn method which in concerning product builder class and not declarated to "classdeclaration" because not in "PBATableVariable" .

Second question, Are these CIL warnings stopped to successfull assembly?

Warning Example;

Classes
PBAex_401BRZ021HRKK_150010b72
Code67
Warning: CIL could not be generated for X++ method PBAex_401BRZ021HRKK_150010b72.Code67 due to X++ compile errors. This method throws an exception if run as CIL.

 

when i compile same class, i take below errors

Variable Malzeme_Kolt_Secimi has not been declared.

Variable Kum2_Renk has not been declared.

note: error and warnings classes not same, these ara different cases

Production order of finished goods produced before bulk

$
0
0

Dear community

We start using capacity reservation in axapta 2012 R2. We face some strange issue in production control. We work with BULK and FINISHED GOOD Items. The bulk production (multiples are possible) will be used in the finished good items so it is actually a sub – BOM of the finished good. In the production control, our BULK items are some times produced after the finished good item. Do you know how I can set up, that a BULK item has to be produced before the referenced finished good production? 

Bulk and FG are two seperate articles with different BOM and routes. The Bulk item is part of the BOM of FG.

Thank you in advance for your support.

Best Regards

Fabio

Getting error on batch job execution

$
0
0

Hi,

I am getting an error while executing a specific batch job on 2012 R3 environment. Actual process is import vendors from cross company using DMF . The batch job was executing successfully till last week  after that it was withhold state for time being. Now trying to start again and job getting executed and an error occurred on log. 

Getting an error as mentioned below.

Error description from info log:

Error 1:

System.InvalidOperationException: Unable to find the application configuration file C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\Bin\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config. Ensure that the assembly containing the specific service client type has an application configuration source file present. Paths below were inspected:

C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy\v4.0_6.3.0.0__31bf3856ad364e35\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config

C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAXProd\Bin\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config

   at Microsoft.Dynamics.IntegrationFramework.ServiceReference.GetConfigFilePath(Type serviceClientType, String configFileHintPath)

at Dynamics.Ax.Application.MdmWebServiceProxyFactory.GetDmfEntityProxy() in MdmWebServiceProxyFactory.GetDmfEntityProxy.xpp:line 18

   at Dynamics.Ax.Application.MdmWebServiceProxyBase.new() in MdmWebServiceProxyBase.new.xpp:line 3

   at Dynamics.Ax.Application.MdmWebServiceProxyBase..ctor()

   at Dynamics.Ax.Application.MdmWebServiceProxyV1..ctor()

   at Dynamics.Ax.Application.MdmWebServiceProxyFactory.Createproxy() in MdmWebServiceProxyFactory.CreateProxy.xpp:line 11

   at Dynamics.Ax.Application.MdmAxToMdsExporter.createAndExecuteExportPackageToMDS(MdmEntity _mdmEntity, String _eid) in MdmAxToMdsExporter.createAndExecuteExportPackageToMDS.xpp:line 11

Error 2:

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

   at Dynamics.Ax.Application.MdmSyncGroupExecution.reportErrorAndThrow(Int64 _executionLogRecId, String _syncGroupName, String _error) in MdmSyncGroupExecution.reportErrorAndThrow.xpp:line 19

   at Dynamics.Ax.Application.MdmAxToMdsExporter.Run() in MdmAxToMdsExporter.run.xpp:line 30

   at Dynamics.Ax.Application.MdmSynchronizer.synchronize(Object[] _arg) in MdmSynchronizer.synchronize.xpp:line 290

   at MdmSynchronizer::synchronize(Object[] )

   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

   at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runas(String userId, Int32 classId, String staticMethodName, Object[] parms, String company, String language, String partitionKey)

   at Dynamics.Ax.Application.MdmSynchronizer.Run() in MdmSynchronizer.run.xpp:line 23

   at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54

   at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13

   at BatchRun::runJobStatic(Object[] )

   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

   at BatchIL.taskThreadEntry(Object threadArg)

FYI,

1. Data Import/Export framework and AOS services running on same machine.

2. Done full CIL.

3. Restarted the AOS and Data Import/Export framework services .

4. As mentioned in the first error description "Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config" dll file copied and pasted to  Dynamics AX folder. C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\Bin\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config

Thanks in advance,

Mani

Custom Inventory Tracking Dimension

$
0
0

I have created two new tracking dimensions, but in several forms of the AX these dimensions are repeated several times. What can this error be caused?

How can fix it?

Upgraded to CU13, Now Stuck in Retail Essentials

$
0
0

I took a working R3 system and upgraded it to CU13.  After the upgrade, which completed without errors, AX is now stuck in Retail Essentials mode.

Just to get this out of the way, I have already tried everything in both of these links with no luck:

https://community.dynamics.com/ax/f/33/t/255561
https://kurthatlevik.com/2014/09/18/dynamics-ax-2012-r3-retail-essentials/ 

1. I can go to File > View > Modules and individually turn areas back on, but they disappear upon restarting the client.

2. I can get to developer mode and open any form without issue.

3. If I open the license configuration form, there are only two config keys in the list:

Retail (checked)
- Full Feature Set (also checked)

4. If I open the license information form, our license key is loaded (I also tried reapplying it), but the bottom half of the form that shows the tabs with the different license keys is missing.

5. I have already tried clearing all AUC files, full compiles, syncs, CILs, etc.

Thankfully, this is a DEV environment, but I really don't want to go through the trouble of restoring everything and backtracking.

Any suggestions?

Thanks,

- Brad

Dynamic Field in Form Grid

$
0
0

Currently I have a table which contains input from users, and these input will be shown in a Form.

The case is, I am able to show checkbox in the form manually but as the input from users grows, I need to have the checkbox to be generated automatically. Is there any way to achieve this?

Import sales order headers and lines

$
0
0

Hello,

I'm getting error message of subject "Results. Matching record for the read only data source 'CustDefaultInvoiceAddress' does not exist
" when I try to import "sales order headers V2" data entity.

What would be a solution for it?

Regards.


Error on Purchase Order workflow

$
0
0

I am getting the following error whenever I try to open my existing Purchase Order workflow or try to create a new one. 

"An unexpected error has occurred while opening the workflow. See the event log on the AOS and contact your system administrator to resolve the issue." 

When I open an existing Purchase Requisition workflow, it opens up and works smoothly.

It's quite strange. 

I have followed some steps still no good

  • Refresh WCF in client configuration:
    • In Administrative Tools select AX 2012 Configuration
    • in Configuration Target select Business Connector (non-interactive use only)
    • In Configuration create new configuration if you only have the original,
    • click on Connection tab, then click on Refresh configuration.
  • Stop AOS service
  • Delete files in Xppil (files ONLY, don’t delete the folders inside Xppil)
    • C:\Program Files\Microsoft Dynamics AX\60\Server\(your dev. repo. name)\bin\XppIL
  • Start AOS
  • Generate Full CIL
  • Data dictionary synchronize

batch multi threading not working in ax 2012 r3

$
0
0

Hi all,

I have followed an example  on a blog  

http://d365technext.blogspot.com/2018/07/batch-multi-threading-d365fo-ax7.html

to replicate the multi threading process and i was successful in replicating the same which is given in the example and it is working fine as given in the blog and the data is getting inserted in the table.

how ever when i tried to  use it in my customization it is not working 

I have created 3 classes

1. main batch class class ELMOInvMultithreadBatch extends RunBaseBatch

i have debugged the code in visual studio during the batch process and found that  debugger does not go into my 2nd class  which is class ELMOINVTask extends RunBaseBatch and run method for the 2nd class is 

public void run()
{
//SLD_DemoBusinessLogic SLDDemoBusinessLogic =new SLD_DemoBusinessLogic();
ELMOInvoiceXML ELMOInvoiceXML = new ELMOInvoiceXML();

try
{
ELMOInvoiceXML.processInit(filename);
info("2");
}
catch
{
info(strFmt("%1",xSession::xppCallStack()));
}
}

and hence my multi threading batch process is not working 

Visual Studio License for D365 F&O development box

$
0
0

Hi All,

We have development VM running PU12 D365 FO, for that which version of Visual Studio License we need to procure to start development on the same.

Kindly suggest us.

Thanks
Gautam


Product receipt already done Now the product receipt is grayed out

$
0
0

The Po ********* has been received with receipt no ******* and auto update the status to received. Now the product receipt is grayed out.

kindly guide me where i did mistake.

Regards,

Reddy

How can I setup database log for Configure account structures

$
0
0

I wan to setup database log Configure account structures. But I don't which table.

In this page, I cannot right click to personalize.

Please help to suggest me.

Thanks you very much.

Viewing all 73760 articles
Browse latest View live


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