In AX 2012 I have a single PO line that when doing the product registration in the receiving process breaks the single line into multiple lines with multiple batch numbers when it should be one receipt line with one batch number. What is driving this splitting and how can I correct it?
Receiving - Product Registration
Error in Production order
Hi there,
I have faced the problem with the production module which I'm not very familiar with. I hope that there could be someone willing to help me.
After the production order is created. Item and quantity produced are identified, including delivery date.
Next, update button > Estimation.
And update button > Operation scheduling ...., Here, we select scheduling direction = Backward from delivery date.
Then after click ok ... There is an error message that
-----------------------------------------------------------------------------------------
Production-Operaions scheduling
Production: PROD-XX-XXXX
Requirement calculation of production 'PROD-XX-XXXX'
Cannot edit a record in Net requirement (ReqTrans). The record has never been selected.
----------------------------------------------------------------------------------------
I believe this is not the first time we did this. But still have no idea why this time, there is an error.
Could anybody help???? Please kindly share your knowledge (T_T)
Thank you for all contribution!
utcDateTime and Timezone Offsets
Has anyone else had strange issues with utcDateTime and Timezone offsets?
We are working on an implementation and importing employee data. Some of the data is hire dates and other employment related dates. Many of these dates use the DateTime type. When importing with a date I found dates to be off by one day. I figured it was related to the timezone so I have done some experimentation and found some shocking results.
When I attempt to convert the date & time from the CSV file like this:
utcDateTime testDateTime;
testDateTime = str2datetime('11/2/2012 15:26:00',213);
What I get is predictable:
testDateTime is 11/2/2012 03:26:00 pm using timezone (GMT) Casablanca, Monrovia, Reykjavik.
Since I didn't specify a timezone GMT is assumed for the time I created. So I tried to apply a timezone offset to this time. My timezone is CST which is GMT - 6 hours. The timezone enum for this is Timezone::GMTMINUS0600CENTRALTIME.
testDateTime = DateTimeUtil::applyTimeZoneOffset(testDateTime,
DateTimeUtil::getUserPreferredTimeZone());
I can't figure out what how I got this:
testDateTime is 11/2/2012 10:26:00 am using timezone (GMT) Casablanca, Monrovia, Reykjavik.
There are two serious things wrong with this. First, the time zone for the utcDateTime is still GMT. How can I possibly pass that data around and know if need to apply the timezone or not. Second, if you do the math you will see this is 5 hours different not 6.
There is another way to create a utcDateTime and apply a time zone offset so I thought I would try that. The DateTimeUtil class has a static method that will create a utcDateTime for you. The DateTimeUtil::newDateTime function takes the parameters. The third (optional) parameter is a Timezone enum value. The other two are a date and a time. I figure I can read the date string from the import, add a constant time value and apply the timezone and get a utcDateTime that is correct.
Here is the code:
DateTimeUtil::newDateTime(
str2Date('11/2/2012', 213),
str2time('15:26:00'),
Timezone::GMTMINUS0600CENTRALTIME);
Maybe it was unreasonable for me to expect that I could create a utcDateTime value of November 2nd, 3:26 PM CST with that code, but that is what I expected. Instead I got this:
testDateTime is 11/2/2012 10:26:00 am using timezone (GMT) Casablanca, Monrovia, Reykjavik.
I didn't initially look at the documentation for that method because simply saw the parameter in the intellisense and used it. With the unexpected result, I went to the documentation to see it names the third parameter "tzOffsetToRemove". Well there's my problem. I takes the time I want to use and removes the timezone offset. Now we have another problem. It actually added the timezone offset instead of removing it. Remember the timezone offset is minus 6 hours. It actually subtracted the (incorrect) 5 hours. So instead of having a GMT time of 9:26 PM I have a GMT time of 10:26 AM. I'm getting further from what I intended.
To show how insane this is, let's re-apply the timezone offset. Here's the code:
testDateTime = DateTimeUtil::applyTimeZoneOffset(testDateTime,
Timezone::GMTMINUS0600CENTRALTIME);
What do you think this will give me? Here it is:
testDateTime is 11/2/2012 05:26:00 am using timezone (GMT) Casablanca, Monrovia, Reykjavik.
The final straw is this. If I create a GMT utcDateTime and then "remove" the timezone offset it actually sets the timezone to the one "removed" while actually removing the offset. Here is the code:
testDateTime = str2datetime('11/2/2012 15:26:00',213);
testDateTime = DateTimeUtil::removeTimeZoneOffset(testDateTime,
DateTimeUtil::getUserPreferredTimeZone());
You will recognize the first line of code from my first attempt. This takes a string and converts it to a GMT utcDateTime. Then, I call DateTimeUtil::removeTimeZoneOffset telling it to remove the CST timezone offset, hoping to end up with a GMT date/time. Here is what I get:
testDateTime is 11/2/2012 08:26:00 pm using timezone (GMT-06:00) Central Time (US & Canada).
I finally have a utcDateTime for CST but it contains the GMT time. Go figure.
So, the system attempts to provide time localization but instead manages to simply screw everything up. I don't know why they didn't just simply use the functionality built into the Windows OS since the client and server only run on Windows. I suspect the one hour difference is related to DST but I have not yet figured out how to take that into consideration.
Issue with Rapid Start for AX 2012
Hello,
I activated Rapid Start Services for a customer and I asked them to make me a Rapid Start configurator and designer. Once completed, I tried to open the service in order to create a new project. The application first seems to open (progress up to 97%) but instead I get this error:
Notification: Failed to retrieve data: An error occurred while processing this request.
I then close the error form and another popup behind says "loading data". The system hangs there and nothing happens. Anyone with the same issue?
thanks.
RapidStart Services for AX 2012
Hi there fellow gurus.
I am currently in the midst of trying out the Microsoft RapidStart Services for AX 2012 and is being hit by a very annoying indefinite 'halt' that is preventing me from loading the default configuration data into the target AX environment.
I am stuck at this stage with the system prompting me "validating loader lock status" and it runs indefintely until no tomorrow...
I am not able to find any clue at all as to what has caused the service to 'validate' indefinitely, not even with a timeout.
anyone can give me some heads up on how to solve this?
Dynamics AX 2012 R2 update to CU7
Hi, When i'm updating My Dynamics AX 2012 R2 CU6 to CU7, all have passed well only the AOS Service, i had an error in installation.
Object Server 01: Message System could not be initialized. Microsoft Dynamics installation has an old version of the text file (axsysen-us.ktd).
Revision 871 or higher is needed.
i didn't find any way to start the service, so i installed another AOS service until i find somthing to resolve my problem.
we developped some modules on the AOT but i don't think that this is the reason to fail the updates to CU7.
Data migration framework error
Hi all,
I am installing DMF and able to get past the pre-req screen but then this error occurs:
There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
Logs of logon failures
Hi,
Where can I find the logs of logon failures to Dynamics AX 2012 for audit purposes? Will these be included in the Infolog?
Data Import/Export Framework - Problems with decimal values after CU7
Hi,
After installing CU7 I have problems with the DMF. Everything works ok but I have the following windows application error log messages:
I have a column with name NetWeight that is right and have the right decimal value but the SSIS reader seems unable to read it. Anyone have experienced this problem after CU7? Thanks
<?xml version="1.0"?><Errors><Error><ErrorCode>-1073450814</ErrorCode><SubComponent>Copy Component [2]</SubComponent><Description>Fehler beim Konvertieren vom DT_WSTR-Datentyp in den DT_NUMERIC-Datentyp (Fehlercode: 0x80040E21).
</Description></Error><Error><ErrorCode>-1073450812</ErrorCode><SubComponent>Copy Component [2]</SubComponent><Description>Fehler beim Umwandeln des Ausdrucks '"0,0"' vom DT_WSTR-Datentyp in den DT_NUMERIC-Datentyp (Fehlercode: 0xC00470C2).
</Description></Error><Error><ErrorCode>-1071615993</ErrorCode><SubComponent>Copy Component [2]</SubComponent><Description>Fehler beim Berechnen des Ausdrucks 'ISNULL([NetWeight]) ? (DT_NUMERIC, 32, 16)"0,0" : ((TRIM((DT_WSTR,33)[NetWeight]) == "") ? (DT_NUMERIC, 32, 16)"0,0" : (DT_NUMERIC, 32, 16)(TRIM((DT_WSTR,33)[NetWeight])))' (Fehlercode: 0xC00470C4). Möglicherweise weist der Ausdruck Fehler auf (z. B. Division durch 0), die beim Analysieren nicht erkannt werden können, oder es ist nicht genügend Arbeitsspeicher verfügbar.
</Description></Error><Error><ErrorCode>-1071615988</ErrorCode><SubComponent>Copy Component [2]</SubComponent><Description>Der Ausdruck 'ISNULL([NetWeight]) ? (DT_NUMERIC, 32, 16)"0,0" : ((TRIM((DT_WSTR,33)[NetWeight]) == "") ? (DT_NUMERIC, 32, 16)"0,0" : (DT_NUMERIC, 32, 16)(TRIM((DT_WSTR,33)[NetWeight])))' in 'Copy Component.Ausgaben[Ausgabe der abgeleiteten Spalte].Spalten[Copy of NetWeight]' ist ungültig.
</Description></Error><Error><ErrorCode>-1073450901</ErrorCode><SubComponent>SSIS.Pipeline</SubComponent><Description>Fehler beim Überprüfen von 'Copy Component'. Überprüfungsstatus: 'VS_ISBROKEN'.
</Description></Error><Error><ErrorCode>-1073450996</ErrorCode><SubComponent>SSIS.Pipeline</SubComponent><Description>Fehler beim Überprüfen von mindestens einer Komponente.
</Description></Error><Error><ErrorCode>-1073594105</ErrorCode><SubComponent></SubComponent><Description>Fehler bei der Tasküberprüfung.
</Description></Error></Errors>
Why my Visual Studio 2010 not detected by AX2012 R2 Prerequisite
Hi, ...
this is my first time working on AX2012 R2
I have install AX2012 R2 and Visual Studio 2010 on my server
but when i install the Visual Studio Tool on AX12 Component, the Prerequisites still need Visual Studio ??
why this is happen? ... Visual Studio 2010 not support with AX2012 R2?? ...
Thank u for ur help ...
Husna ...
The Axd Document does not support this action when adding findkeys
We have a custom AIF service that was developed by a third party provider. The find and read methods were enabled and working, but the findkeys was not. They have now added the findkeys, recompiled, done an incremental CIL and recreated the inbound port. But findkeys still returns this error in the exception log:
"The Axd Document does not support this action when adding findkeys". We had similar issues with three services. We fixed the issue in two of them by taking a copy and adding the findkeys. Having done the same approach with the third service, we still get this error.
Can anyone suggest a fix please?
Thanks.
AX 2012 Security - Custom Admin Role (Local super user) How do you make a limited admin role?
Hi,
We're working on a big project, where it would be beneficial to make a security role that has all functionality avaliable except AOT and Setup parts of every module.
I know this is kind of "2009 mentality", but it's still a relevant case for 2012.
Did any of you solve this for your projects? The thought is to make a role for a local super user. Someone with most of the functionality avaliable, but not access to code-projects, some setup menu items etc.
I would be very grateful, if anyone could help me out here!
(I do have access to Security Development Tool)
Batch Job failing
I have multiple batch jobs which are executing in AOS in different time frame. Suddenly all the batch jobs are failing, there are no logs updated against that. In fact all the Batch Jobs are remaining in Executing status. If I will be running the Batch Jobs manually, those are working fine without any issue.
Also I did restarted the AOS too.
Please help
Group by in SSRS 2012
Hi Guys,
I want to print report data group wise as follows in AX SSRS 2012 :
Group 1
<Group 1 reocord1> <Group 1 reocord1> <Group 1 reocord1>
<Group 1 reocord2> <Group 1 reocord2> <Group 1 reocord2>
Group 2
<Group 1 reocord1> <Group 1 reocord1> <Group 1 reocord1>
<Group 1 reocord2> <Group 1 reocord2> <Group 1 reocord2>
But what my problem is, I am getting records like
Group 1 <Group 1 reocord1> <Group 1 reocord1> <Group 1 reocord1>
<Group 1 reocord2> <Group 1 reocord2> <Group 1 reocord2>
Group 2 <Group 1 reocord1> <Group 1 reocord1> <Group 1 reocord1>
<Group 1 reocord2> <Group 1 reocord2> <Group 1 reocord2>
i.e., i want my group records to start from the next line.
Any suggestions please.
Thankyou.
AX 2012 Roles (Security Model)
Can somebody already share his experience with setting up Roles in AX 2012?
- Have the standard AX 2012 Roles been used?
- Is it better or more efficient to crate own Roles?
- Is there an efficient way to assign Users to a Role?
- How can you be roughly sure, that the assigned role contains the right privileges?
- A Role has several duties
- Duties may have several Privileges
- A Privilege may have several MenuItems
- In total over 10'000 MenuItems
- How do you know which Roles contains which User CAL (Enterprise, Functional, etc.)
CIL error during posting of sales invoice
Hi Guys,
I am trying to post an invoice and print it on the screen at the same time. But during posting, I'm getting this error:
Cannot render the report to the screen when running in non-client mode (for example, in batch or in IL). Change the print destination to a location other than the screen. For example, a printer, file, or email.
Error Posting An error occurred during update
Error Posting Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Dynamics.Ax.Application.FormletterService.Run() in FormletterService.run.xpp:line 217
at Dynamics.Ax.Application.FormletterService.Postsalesorderinvoice(SalesFormLetterInvoiceContract _contract) in FormletterService.postSalesOrderInvoice.xpp:line 14
...
It's a bit weird cause all of the objects here were standard. I made some changes before, but when this error appeared i revert back the original codes. I even copied the entire codes from a healthy system, and refresh the development environment(where i'm getting the error). If i try to generate a copy of invoice I can print the report on the screen without any error.
Any idea???
project module
Hello everyone.
When we are checking the estimate in the project , the project cost is not recognizing.
Kindly help me out from this issue .
Management Reporter error when generating report
Hi,
I am trying to generate a report from AX, but I am getting the following error:
An error occurred while retrieving balances from the source system provider.
In the service log there there is this error:
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.MultiMap`2.FindValue(Int64 id)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.DataMartReader.ReadDimensions()
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.DataMartAccountBalanceReader.get_AccountCode()
at Microsoft.Dynamics.Performance.Reporting.Engine.Server.GLDataProcessor.CreateAccountDetailKey(PostedGrouping postedGrouping, IGLAccountBalance accountBalance)
at Microsoft.Dynamics.Performance.Reporting.Engine.Server.GLDataProcessor.ProcessOneAccountBalanceRecord(FRxUnitRowIdentifier frxUnitRowIdentifier, IGLDataReader balanceReader, ReportUnitResult unitResult, ReportDetailLevels detailLevel)
at Microsoft.Dynamics.Performance.Reporting.Engine.Server.GLDataProcessor.ProcessOneReaderRecord(FRxUnitRowIdentifier frxUnitRowIdentifier, ReportDetailLevels detailLevel, IGLDataReader balanceReader)
at Microsoft.Dynamics.Performance.Reporting.Engine.Server.GLDataProcessor.ProcessOneReaderRecord(IGLDataReader balanceReader)
at Microsoft.Dynamics.Performance.Reporting.Engine.Server.GLDataProcessor.ProcessOneBalanceRecord(IGLDataReader balanceReader)
at Microsoft.Dynamics.Performance.Reporting.Engine.Server.GLDataProcessor.ProcessOneBalanceReader(IGLDataReader balanceReader)
Does anyone have any idea how to fix this?
Thanks,
Maja
AX 2012 R2 CU7 - Intercompany timesheet problems
We are in the proces of upgrading from R2 to R2 CU7. During the tests we have experienced a problem with the intercompany timesheet in relation to financial dimensions. Before CU7 the dimensions on the time registrations were created from the projects financial dimensions (as we need them to be) but with CU7 it seems as if the dimension are created from the workers financial dimensions. This will not work in my company. Has anybody an idea if this change relates to setup (where?) or to basic functionality changes implemented by Microsoft?
Buffer for call of SRSTmpTblMarshaller::deleteTmpTblData is not specified.
Hi,
I am getting this strange error when I try to generate payment on a payment journal in AP.
My prod server is working fine however I am getting this error on the test side.
Thanks in advance.