To seemingly add new methods, use class extensions. Yes, it works with forms as well, you'll just use [ExtensionOf(formStr(ProjStatistic))]. You can see an example in Code behind extension forms: How to add state variables and override methods without overlayering.
RE: How add a method extension in an extension form
RE: Automatic Dimension Values While Creating Project
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
I am also experiencing same issue
Any update on this error?
AX7 database synchronization failed
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
Thank you
RE: Product number not generated
Thanks Ludwig, sequence was set manual.
Shame on me.
RE: Rename product number issue
Hi Ashok,
Did you find the solution? Please share with us.
thank you
Rename product number issue
RE: Product number not generated
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
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?
sorry for the late reply..you can download it here...make sure to install opos or upos and then install this comp port..
IBM Line display not supported by AX 2012 retail POS?
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
Please check this
RE: Dynamics 365
www.erpsearch.com/dynamics365-financials-versus-operations.php
Financials is a fork of Navision called Madeira, while Operations is based on AX 2012 R3, heavily redesigned to be a 2-tier cloud solution.
The first solution is more limited for smaller organizations, while the second one is a true integrated ERP.
RE: Batch Job Recurrence
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
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
Abhijeet,
Thanks for the information. Really appreciate it.
RE: How add a method extension in an extension form
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
/// <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
Vilmos,
Thanks for the quick response. It was really helpful.