Posts

Showing posts from July, 2015

ax 2012 screen problem in windows 10 (X)

Image
lets call the day off while we change/upgrading the client platform from windows 7/8/2008 to window 10 (x) and all life goes on then when something different happens in using ax 2012 client you think your eyes getting problem. see the 2 picture below, (for internal reason, i had to filter the aos name) if you noticed well, we can see the different screen font while you’re not using window 10 (x). the font and the screen suddenly seems not good to see this happen because the setting of DPI scale how to solve it:

Creating XML File in C#

how to create xml file in c# we use xml file for client configuration, each client have different configuration, so we need to custom each client for its configuration this sample, shows us how to create xml file in c# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 try { XmlDocument doc = new XmlDocument(); //(1) the xml declaration is recommended, but not mandatory XmlDeclaration xmlDeclaration = doc.CreateXmlDeclaration( "1.0" , "UTF-8" , null ); XmlElement root = doc.DocumentElement; doc.InsertBefore(xmlDeclaration, root); //(2) string.Empty makes cleaner code XmlElement element1 = doc.CreateElement( string .Empty, "EstimationClientSetup" , string .Empty); doc.AppendChild(element1); XmlElement element2 = doc.CreateElement( string .Empty, "ClientSQLServerName" , string .Empty); XmlText texte2 = doc.CreateTextNode(aa.ServerInstance); element2.AppendChild(texte2); element1.Appe...

ax 2012 – upload fixed asset

this post is discussing about how to upload fixed asset in ax 2012 FP if you have asset to registered in ax 2012, there are 2 ways to do, manual input in entity–>fixed asset–>common–>fixed assets–>fixed assets upload the data through xls file if you want to upload you’ll need to follow the step: have xls contains fixed asset data,  if you need the acquisition journal and accumulation depreciation journal, you must provide the xls also have the xpo for upload, i will explain the xpo later,  but if you need to upload acquisition journal and accumulation depreciation journal, you must have other xpo also please look for this xls 20150430-FAFIX it is containing asset data master only, such as Asset Group, Asset Number, Asset Name, Asset Location, Asset QTY, Asset UOM, and Asset Costs (purchase cost) another file is 20150430-ABFIX it is asset book, contains data posting profile, value model depreciation run date, service life, depreciation periods, ac...

while ar settlement, this transaction has been marked for settlement by another user

Image
while ar settlement, showing an error : this transaction has been marked for settlement by another user it happens because the transaction is marked for another settlement check on inquiry –> specifications open journal form, if there is non posted transaction, just marked it but if there are not? how to solve it? just click on record info on marked transaction, note the record id, and find in spectrans table, delete the record id on column specrecid and press f5, the marked symbol will vanished

ax 2012, security role cannot created ? why

Image
if you are ax 2012 administrator, and sometimes when you need to add security roles, but you cannot create new security role. the button create security role is inactive just like this picture (watch the red box) it did happen when your administrator accidentally activates version control in aot,  AOT –> Version Control –> Version Control Parameter change version control status to “disabled” -RF-

ax 2012, SSRS not working, login failed

Image
SSRS is not working, it shows error like this: “The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)” what should you do is:

error occurs while posting purchase invoice, rounding problem

Image
error occurs while posting purchase invoice, “customer invoice in company [xxx]=xxxx, purchase is updated with xxxx” rounding problem while posting purchase invoice how to solved it:

Item “itemid” is on hold for transactions in sales order/inventory/purchase order on site

Image
while posting sales, purchase or inventory, sometimes you will get alert like this Item “itemid” is on hold for transactions in sales order/inventory on site it is because the setting on the item is prevent to be sales/purchase/inventory transaction, how to solve it:

AX 2012 SSRS Failed, tempuri.org

Image
report in AX 2012 that use SSRS are vendors, transaction list in general journal sometimes you’ll found an Error in AX 2012 like the picture below, The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:queryBuilderArgs. The InnerException message was ‘Element ‘http://tempuri.org/:queryBuilderArgs’ contains data from a type that maps to the name ‘http://schemas.datacontract.org/2004/07/XppClasses:SrsReportProviderQueryBuilderArgs’. The deserializer has no knowledge of any type that maps to this name. Consider using a DataContractResolver or add the type corresponding to ‘SrsReportProviderQueryBuilderArgs’ to the list of known types – for example, by using the KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer.’.  Please see InnerException for more details. This case is happen in AOS, because it is too much Exception...

sql server 2008 replication vs mirroring

What is the difference between replication and mirroring in SQL Server 2008 replication, is to replicate or duplicating one or some transaction in primary server to target server: copy selected table to target server, need primary key on table to be publish it is not working in fail-over server concept best practice for publishing data to webserver / website can be replicated to 2 or more replicate server need to modified manual if the primary server created a new object/field/sp mirror, is 1=1 server, all data, object, transaction in one server is same in other server: primary server is mirroring server, mirror can be use as fail-over server concept it is not best practice for integrating publishing data to webserver / website taking resources in server more than replicate 1=1 connection from primary to mirror server automatic creating object on mirroring server while the primary add some object (sp/table columns/view) so, the replication and mirroring concept has ...