Hi ,i need to create Balance Sheet and Profit and Loss statement in Ax 2009. Can anybody please help me?
Creation of Profit and Loss and Balance Sheet
Controlling the solution built in AX by Licenses
Is it possible to protect and control the solutions & customizations built in AX 2012 by Licenses? If so, how can I do this ?
Timesheet creation by code
Hi,
Someone has already created timesheet line by code. The record is created but I don't see the result in my form. Maybe I forgot something in my code :
TSTimesheetTable tsTimesheetTable = TSTimesheetTable::find("XXXXXXXXX");
TSTimesheetLine tTimesheetLine;
tTimesheetLine.ProjId = "YYYYYYYYY";
tTimesheetLine.TimesheetNbr = tsTimesheetTable.TimesheetNbr;
tTimesheetLine.ProjPeriodTimesheetWeek = tsTimesheetTable.RecId;
tTimesheetLine.ProjectDataAreaId = curext();
tTimesheetLine.initValue();
if (tTimesheetLine.validateWrite())
{
tTimesheetLine.insert();
TSTimesheetLineWeek::loadFromLine(tTimesheetLine, NoYes::No);
}
Thanks in advance
Picking list for transfer order and inventory adjustment journal
Hi There
Since i enabled the picking requirement in the item model group anything that is took away from warehouse should be picked first before you can post the transfer order or the inventory adjustment journal.
Here the warehouse staff's role is quite simple, they give the product when they see the picking list. is there a way that i can print above picking list without customizing the system?
many thanks.
Party Id lookup for workers
Hello,
My table has PartyId field. It shows all parties i.e. worker, vendor, customers on a Form.
I want to show only Worker in that lookup. please help. Thanks.
AX 2012 R3 Analysis server deployment error
When deploy analysis server in ax 2012 R3 below error is coming
Warning Message (05:33:18 pm) SQL server edition does not support translations. All translations (if any) have been removed
Info Message (05:33:18 pm) A copy of the Analysis Services project being deployed has been saved to C:\Users\erpadmin\AppData\Local\Temp\3\Dynamics AX initial2\Dynamics AX initial.dwproj.
Warning Message (05:33:18 pm) Internal error: The operation terminated unsuccessfully.
OLE DB error: OLE DB or ODBC error: Cannot generate SSPI context; HY000; SQL Server Network Interfaces: The logon attempt failed
; HY000.
Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Dynamics Database', Name of 'Dynamics Database'.
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'WORKFLOWCUBELOOKUP', Name of 'Workflow cube lookup' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'Workflow type name' attribute of the 'Workflow cube lookup' dimension from the 'Dynamics AX initial' database was being processed.
Server: The current operation was cancelled because another operation in the transaction failed.
OLE DB error: OLE DB or ODBC error: Cannot generate SSPI context; HY000; SQL Server Network Interfaces: The logon attempt failed
; HY000.
Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Dynamics Database', Name of 'Dynamics Database'.
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'WORKFLOWCUBELOOKUP', Name of 'Workflow cube lookup' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'Workflow category' attribute of the 'Workflow cube lookup' dimension from the 'Dynamics AX initial' database was being processed.
OLE DB error: OLE DB or ODBC error: Cannot generate SSPI context; HY000; SQL Server Network Interfaces: The logon attempt failed
; HY000.
Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Dynamics Database', Name of 'Dynamics Database'.
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'WORKFLOWCUBELOOKUP', Name of 'Workflow cube lookup' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'WorkflowCubeLookup - Name' attribute of the 'Workflow cube lookup' dimension from the 'Dynamics AX initial' database was being processed.
OLE DB error: OLE DB or ODBC error: Cannot generate SSPI context; HY000; SQL Server Network Interfaces: The logon attempt failed
; HY000.
Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Dynamics Database', Name of 'Dynamics Database'.
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'WORKFLOWCUBELOOKUP', Name of 'Workflow cube lookup' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'Module' attribute of the 'Workflow cube lookup' dimension from the 'Dynamics AX initial' database was being processed.
OLE DB error: OLE DB or ODBC error: Cannot generate SSPI context; HY000; SQL Server Network Interfaces: The logon attempt failed
; HY000.
Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Dynamics Database', Name of 'Dynamics Database'.
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'WORKFLOWCUBELOOKUP', Name of 'Workflow cube lookup' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'Workflow cube lookup - Workflow type name' attribute of the 'Workflow cube lookup' dimension from the 'Dynamics AX initial' database was being processed.
OLE DB error: OLE DB or ODBC error: Cannot generate SSPI context; HY000; SQL Server Network Interfaces: The logon attempt failed
; HY000.
Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Dynamics Database', Name of 'Dynamics Database'.
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'WORKFLOWCUBELOOKUP', Name of 'Workflow cube lookup' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'IsNotApplicable' attribute of the 'Workflow cube lookup' dimension from the 'Dynamics AX initial' database was being processed.
OLE DB error: OLE DB or ODBC error: Cannot generate SSPI context; HY000; SQL Server Network Interfaces: The logon attempt failed
; HY000.
Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Dynamics Database', Name of 'Dynamics Database'.
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'WORKFLOWCUBELOOKUP', Name of 'Workflow cube lookup' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'Workflow ID' attribute of the 'Workflow cube lookup' dimension from the 'Dynamics AX initial' database was being processed.
Error Message (05:33:18 pm) Errors occurred while processing the Analysis Services database: Dynamics AX initial
Ax2012 SSRS Report Column Value Printed With Inconsistent Length
Hi , I did a changes on the Customer Account Statement report to include additional value into the Invoice column in the report. I did changed the CustomerAcc table invoice field size not to use EDT and set the size to 50. Then in the DP class concate the additional value into it and lenghten the report column size as well. Then do the CIL compilation and report deployment. But the report will be printed perfectly in the first run and subsequenctly it will truncate off the column value to 20. We had refresh the caches such as dictionary, aot element and SSRS report. We did a few times test by deploying the report and refresh the caches. But it still giving the same problem. The first time print, after the deployment, is correct. But the column will be truncate for subsequence printing. Anyone having this problem with any solutions/advices to solve the problem? Please advice. Thanks in advance.
Code Review Template for AX 2012
Hi,
I am looking for Ax 2012 code review template for AX developer.
If any one have so please provide the document.
It will be great help for me.
Regards
Arun
MisCharges to Third Party on PurchInvoice Report
Dear i want to add/bring the mischarges which we have to pay third party on purchinvoice report,in my last query i asking for PurchPackingslip Report,but if it can display on purchInvoice report,then it wil be also fine..
please guide me...becz i am beginner in ax 2012..
AX yearly check
Hi everybody.
we deployed AX 2009 to one of our customers and we have to check the Dynamics AX every year for maintenance.
this is first time to do this, so we will do the following:
- check the database (back ups, shrinking, ...)
- check the performance of the AOS and the database servers.
- check the hard disk's capacity.
- and do the clean ups in dynamics AX.
so, do you have any other idea about what we can also do?
i will be glad to hear your thoughts and suggestions.
thanks
Protecting the customized code in AX 2012
How can I hide or protect (by password) the code written in X++ to build customization in AX 2012 ?
Error while attempt to delete free text invoice
After on Accesslevel the privilige for CustFreeInvoiceMaintain has been modified from read to delete do I receive an error while deleting a non posted free text invoice. This error is logged in the SQL Statement Trace Log.
The following Statement:
INSERT INTO tempdb."DBO".t65460_85CC21F00F884E329C00FEEA5243FF35 (CANDIDATERECID) SELECT T1.RECID FROM tempdb."DBO".t101658_EBFAB04E8AF5406594EC4C34314AB16D T1 WITH ( UPDLOCK) CROSS JOIN tempdb."DBO".t101655_64C9A24FCF7943F7956024D0C628451F T2 WHERE (((T1.DATAAREAID=N'012') AND ( IN (101655,101661) )) AND ((0=101655) OR (0=101658))) AND ((T2.DATAAREAID=N'012') AND ((T2.RECID=0) AND (T2.RECID=T1.RECID)))
The following description:
[Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near the keyword 'IN'.
Several attempts have been made to allow a user with the role Accounts receivable payments clerk to actually delete free text invoices but the only thing what has been succesfull is grant administrator rights and this is not an option.
AX2012 R2 Enterprise Portal - Setting Up Role/Duty/Privilege to allow a new web module to appear
Recently, I have been tasked with creating a new Enterprise Portal vertical application. There are tons of information in Course 80307 on developing a new vertical and the EP artifacts needed as part of that kind of effort. The Internet is loaded with blogs that regurgitate this information and there are lots of folks writing some fine documents on custom user controls, data access, master page customization and more.
I can't seem to find , in this sea of information a document that covers the security part of making a new web module appear on the EP site as the only module available to a user. My new Web Module appears just fine as "System Administrator" as do all my new customer user controls , list pages and Quick links.
Trying to replicate the security patterns of the existing EP security elements set, such as VendVendor (external) - Role > VendVendorMasterVSSMaintain - Duty >
VendProfileVendorAccountMaintain - Privilege , which is about as simple as it can get for popping up a web module that has one Web Part just isn't working out.
So, what is the secret to accomplishing this , what would seem to be a slam dunk task ... :-)
AX 2009 infolog.shutdown(true) does not work for admin?
Hi,
Does anybody know why infolog.shutdown(true) could not work for admin user in AX 2009 version?
AX2012 on MicrosoftAzure
Hei
Someone who tried with getting the AX2012R2 image to run on Azure. Where is the best help I can find???
Some of the procedures I found sound a little tricky to me. A lot work have to be done….using sysprep and other things that I do not understand.
I think I found and easy way to do it:
Create an Image from a VHD under Virtual Machine.
My purpose was to upload the VHD (107 GB) that I have on my laptop. In azure I have created a Container in Storage.
But I cannot create a Blobs belonging to the Container.. I tried many times – following the procedures-
When I try to put my VHD file in field VHD URL it doesn’t work because I have no blobs where to upload the VDH file.
In the Create an Image from a VHD dialog there is a checkmark: I have run the sysprep on the Virtual machine.
This I will not mark.. hoping that this will be done automatic for me.
After I have uploaded the VHD I hope that I can start running the image
Thanks for any help
Regards Jan
Year End Closing
Dear All
when I close my financial year I see a dialog box with critical error difference amount -95112 and. further more my trail balance is equal and also I check general ledger from check / fix error. but there is no error found any one guide me how I resolve this error.
Thanks in advance
Custtransinvoice Table
Can any one guide me in custtransinvoicetable have two field 1 QTY and other INVENTQTY, in some cases quantity of both field mismatch.
Cannot create a record in Activity parent links (smmActivityParentLinkTable). Primary link: Yes, Business relations. The record already exists.
hi,
in crm>business relation details>activities,
I have created a new activity by giving attendees. While saving it is showing me the error as below:
Cannot create a record in Activity parent links (smmActivityParentLinkTable). Primary link: Yes, Business relations. The record already exists.
wat does this mean? pls suggest
to get purch id
i want that whenever a invoice is posted against a PO, then a field in vendor named "qualification status" changed to approved. so on clicked method of post , i m writing the code but unable to pick the current record
so plz tell me how to pick the purchid to do the task in this code
select InvoiceAccount from infotable where infotable.purchid == infotable.PurchId;
InvoiceAccount = infotable.InvoiceAccount;
select forUpdate QualificationStatus from vend where vend.AccountNum == InvoiceAccount;
{
vend.QualificationStatus = QualificationStatus::Approved;
vend.update();
}
AX 4 to 6 - upgrade validation
Hi all, Is there a way to validation the data's after upgrade from AX 4 to AX 6 (apart from compare tools), if not how can I ensure all the data's and values are copied correctly.
thanks.