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

RE: How add a method extension in an extension form


RE: Automatic Dimension Values While Creating Project

$
0
0

Hi Andre,

It was fantastic solution. It worked for me. Whatever id based on combination is stored on projGroup we will pass same combination during creation of project.

Regards,

Smit Patel

RE: AX7 database synchronization failed

$
0
0

I am also experiencing same issue

Any update on this error?

AX7 database synchronization failed

$
0
0

Hi all,

I set a property on a project on a model to synchronize database each time the project is built. Got the following error while building:

Error Database synchronization failed. You may have to do a full build of the package 'ApplicationSuite' and all of its dependent packages.
Error J:\AosService\PackagesLocalDirectory\bin\syncengine.exe. Error = System.ComponentModel.Win32Exception (0x80004005): The filename or extension is too long
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Microsoft.Dynamics.Framework.Tools.BuildTasks.ExecutableWrapper.Start()
at Microsoft.Dynamics.Framework.Tools.BuildTasks.ProcessWrapper.RunProcess(CancellationToken cancellationToken).

Any ideas what is wrong?

RE: Product Receipt Correction Error "No lines for posting or quantity = 0" for Item with Quality Group

RE: Product number not generated

$
0
0

Thanks Ludwig, sequence was set manual.

Shame on me.

RE: Rename product number issue

$
0
0

Hi Ashok,

Did you find the solution? Please share with us.

thank you

Rename product number issue

$
0
0

Dear All,

I try to rename product number in all products and product masters form.

when i click on rename button one pop will be opened.

but in that original product number filed is empty and disable mode.

am unable to change product number.

please provide me any solution.

Thanks,

Ashok


RE: Product number not generated

$
0
0

Hi Maxim_msk,

No issue. The most important thing is that you got it fixed :-)

Have a great day ahead.

Best regards,

Ludwig

Exclude min/max values in master scheduling

$
0
0

Hi all,

I would like to run two different master schedules over the same warehouse. One is including the forecast and min/max and without looking at the forecast and min/max values.

To exclude the forecast in the master plan is easy, but does anyone know if it's also possible to exclude the min/max values from a master plan?

Best regards

Jasper

RE: IBM Line display not supported by AX 2012 retail POS?

IBM Line display not supported by AX 2012 retail POS?

$
0
0

Hi Guys,

i have recently change our POS hardware to Toshiba TCX Wave that come with a USB line display. i am able to use toshiba OPOS configuration to test all the devices (Printer, Drawer and Line display) with no issue.

but now the issue is when i launch retail POS, the pos is saying it's unable to find a line display. i check the event viewer and the error details is as below:

Microsoft.Dynamics.Retail.Pos.Services.Peripherals: System.NotSupportedException: Peripheral [LineDisplay] - Character set '850' is not supported by device.
at Microsoft.Dynamics.Retail.Pos.Services.LineDisplay.Load()

i have try to change the character set to 932....998...but the line display still not working..

how can i make it work? :(

RE: Dynamics 365

RE: Dynamics 365

RE: Batch Job Recurrence

$
0
0

The recurrence settings are packed in the batch job. You will not be able to tell what certain batch jobs will be running at a given time, because it depends on their execution time and the recurrence setting. It may only be done by extrapolating recurrence settings for the future, it can be extracted with SysRecurrence class from the batchJob.recurrenceData container.

What you should do instead is take a look at batch history if all jobs have logging enabled, see what takes longer than 30 minutes on a Saturday. Untick the Batch server setting in Server configuration half an hour before the maintenance for regular jobs, and remove the batch group from the server manually for the ones which might take longer than 30 mins.

After the maintenance you should restore all settings to what it was before.

This way batches will not interfere with the maintenance process.


Batch Job Recurrence

$
0
0

Hi all,

 

Looking for some help please. I'm trying to identify what batches will be running during a four hour window on a Saturday in order to carry out essential maintenance as part of my companies agreed maintenance window. I'm trying to do this without having to go into each individual batch job and collate the information myself.

 

I've checked in BATCHJOB, which has a recurrence data field, but it is in binary format and it can't be converted. It also doesn't tell me what time the batches start. Are there any other tables I can check or is there anywhere in the AOT that I can get this information, or will I just have to bite the bullet and go through it myself?

 

Thanks in advance,

Rhiannon

RE: Dynamics 365

$
0
0

Abhijeet,

Thanks for the information. Really appreciate it.

RE: How add a method extension in an extension form

$
0
0

Thank Martin.

I could not use variables in form extension:

[ExtensionOf( formstr( ProjStatistic )) ]

final class ProjStatistic_Extension

{

   public real xxxCalc;

   public static void xxxlCalc)

   {

      xxxCalc = 10;

   }

   /// <summary>

   ///

   /// </summary>

   /// <param name="args"></param>

   [PostHandlerFor(formStr(ProjStatistic), formMethodStr(ProjStatistic, updateButton))]

   public static void ProjStatistic_Post_updateButton(XppPrePostArgs args)

   {

   }

I think my AX version (Platform1) did not support variables in form extension:

"Fields on an extension class is only supported if the ExtensionOf attribute is used on a class."

How add a method extension in an extension form

$
0
0
Hello,
I would like to create an extension form method on an extension form (ProjStatistic.Extension) in the form's methods in order to use it on a standard method  updateButton with a PostHandlerFor.
Is it possible to do this?, or the the syntax does not exist for creating an extension method in form?

/// <summary>
///  PostHandlerFor method of updateButton
/// </summary>
/// <param name="args"></param>
[PostHandlerFor(formStr(ProjStatistic), formMethodStr(ProjStatistic, updateButton))]
public static void ProjStatistic_Post_updateButton(XppPrePostArgs args)
{

// element.MySpecificExtensionMethod // How use an form extension method from the extension form?

}

RE: Dynamics 365

$
0
0

Vilmos,

Thanks for the quick response. It was really helpful.

Viewing all 175888 articles
Browse latest View live


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