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

Posting Definition - Vendor Invoice Ax 2012

$
0
0

Hi,

I have enabled Using posting definition Under General ledger parameters.

I created Posting definition PO1 for module Purchasing and attached it in Transaction posting definitions.

When I posted Purchase order I was able to hit the accounts setup under Posting definition. But when I posted the invoice system is throwing an error Voucher do not balance.

Further, I went and created a posting definition PO2 for module Accounts payable. And attached this in Transaction posting definition for vendor invoice. But I am still getting the same error i.e. Voucher do not balance.

Please suggest. Or please let me know if I can refer any document for Posting definition related to vendor invoice.

Regards,

Rajat


Starting new job

$
0
0

Considering leaving my company and going to a new company that uses Dynamics AX.

They want me to implement role centers in Dynamics AX 2012 R2. I have 20 years of  SQL experience -and 5 years of building SharePoint 2010/2013 dashboards.

How difficult will it be for me to build role centers in Dynamics 2012 R2?

Creating and using function on AX 2012 in SSRS

$
0
0

Hello.

I want to create a new function in AX and use it on SSRS.

Can I do that?

How can I call any function of Dynamics AX 2012 from SSRS?

Thanks :)

Pls clarify, that in Microsoft Dynamics AX 2012 what is the total number of items can be added

$
0
0

Dear Sirs,

Could you kindly clarify, that in Microsoft Dynamics AX 2012 what is the total number of items can be added for the inventory?  If we add more and more items, will it lead to overloading the system & is there any threat that it might lead to unsatisfying performance of the ERP for the end-users?  Kindly reply to my mail. Thanks, Regards, K.K.Murthi, murthikk@hotmail.com

Production End - Error

$
0
0

Error in unit of amount in currency INR. Must be rounded to 0.01.

The unit of 1,037.75 INR being posted to account 1352 is outside the current penny rounding threshold.

Regarding AX for retail(Hypermarket)

$
0
0

Hey Guys,

Our company(retail/Hypermarket) is trying to switch into Microsoft Dynamics AX from a local Oracle Based ERP.Do you feel it is a wise decision?

Dynamics Ax 2012 Unleashed Sams book download

$
0
0

any one can give me the dynamics ax 2012 unleashed sams book free download

Dynalink for listpages

$
0
0

Apparently listpages do not support dynalinks to other forms - at least I couldn't find or create a listpage that does. Can anybody confirm that and explain why or otherwise give me a hint on how to enable dynalinks to other forms on a listpage?


Dynamics Option of Export to Excel issue in Ax 2012

$
0
0

Hi Folks,

We are facing an issue with Export to excel functionality in Ax 2012 Enterprise Portal. The static option working fine and give the expected result. But the dynamic option not working as expected. It will create a excel with empty sheet.

Kindly share your valuable suggestions

Thanks in advance,

Vasanth Arivali

confirm a project quotation

$
0
0

Hello,

I created a project quotation and I want to confirm it. But when i select On the Action Pane,  the Generate group  i find the Confirm button disabled

is there a setting I forgot?

thanks you for your answers

Getting element value from a xml document after xsl transformation

$
0
0

I have my xml document as:

<?xml version="1.0" encoding="UTF-8"?>
          <Envelope xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message">
         <Header>
              <MessageId>{88031946-8E28-4054-834F-74608A9E7106}</MessageId>
         <Action>http://tempuri.org/BankPositivePayService/find</Action>
        </Header>
       <Body>
               <MessageParts xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message">
                   <header xmlns:Message="http://schemas.microsoft.com/dynamics/2011/01/documents/Message"                xmlns:BankPositivePay="http://schemas.microsoft.com/dynamics/2008/01/documents/BankPositivePay" xmlns="">
            <records>
               <record>USA OPER</record>
               <record1>34567</record1>
               <record2>Rejected</record2>
                <record3>1020</record3>
                <record4>99.50</record4>
                <record5>2013-08-28</record5>
                 <record6>1001</record6>
               <record7>Earth Televisions</record7>
             </records>
         </header>
      </MessageParts>
   </Body>
</Envelope>

I am trying to get the value of the element record by using SelectingSingleNode moethod in dynamics ax. The code I am using is 

/// <summary>
/// internal use only.
/// </summary>
/// <param name="filePath">
/// A String value.
/// </param>
/// <param name="gatewayMessage">
/// An instance of the <c>AifGatewayMessage</c> class.
/// </param>
private void writeFile(str filePath, AifGatewayMessage gatewayMessage)
{
System.Xml.Xsl.XslCompiledTransform managedTransform;
System.IO.StringReader stringReader;
System.IO.TextWriter textwriter;
System.Xml.XmlReader xmlReader;
System.Xml.XmlDocument doc;
System.Xml.XmlNode root;
System.Xml.XmlNamespaceManager nsmgr;
System.Xml.XmlNode node;
System.DateTime currentdatetime;
str bankAccountID;
str filename;
AifXml txml;

str xslFile = "C:\\test\\positivepay.xsl";
System.String ppFilePath;
// BP Deviation Documented
transportMessage.set_SubmittingUser('');
// BP Deviation Documentedxs
transportMessage.set_MessageXml(gatewayMessage.parmMessageXml());
// BP Deviation Documented
transportMessage.set_Encoding(gatewayMessage.parmEncoding());
if(gatewayMessage.parmMessageStream() != null)
{
// BP Deviation Documented
transportMessage.set_MessageStream(gatewayMessage.parmMessageStream());
}

managedTransform = new System.Xml.Xsl.XslCompiledTransform();
managedTransform.Load(xslFile);
txml=transportMessage.get_MessageXml();

//Finding bank name from txml
doc = new System.Xml.XmlDocument();
doc.LoadXml(txml);
root = doc.get_DocumentElement();

// Add the namespace.
nsmgr = new System.Xml.XmlNamespaceManager(doc.get_NameTable());
nsmgr.AddNamespace("ns1",strFmt("%1","http://schemas.microsoft.com/dynamics/2011/01/documents/Message"));
nsmgr.AddNamespace("ns2",strFmt("%1","http://schemas.microsoft.com/dynamics/2008/01/documents/BankPositivePay"));
node = root.SelectSingleNode("Envelope/Header/Body/MessageParts/header/records/record",nsmgr);
bankAccountID=node.get_InnerText();
stringReader = new System.IO.StringReader(txml);
xmlReader = System.Xml.XmlReader::Create(stringReader);

//Creating positive file name
currentDateTime= System.DateTime::get_UtcNow();
filename="AP"+bankAccountID+currentdatetime.ToString("yyyyMMddHHmm")+".txt";
ppFilePath=System.String::Format("{0}{1}","C:\\test\\",filename);
textwriter= new System.IO.StreamWriter(ppFilePath);

managedTransform.Transform(xmlReader,null,textwriter);
textwriter.Close();
try
{
// BP Deviation Documented
fileSystem.WriteFile(filePath, transportMessage);
}
catch (Exception::CLRError)
{
throw error(strfmt("@SYS95800", filePath,AifUtil::getClrErrorMessage()));
}
}

Why is the statement "node = root.SelectSingleNode("Envelope/Header/Body/MessageParts/header/records/record",nsmgr);" not working and always returning null? Is there any other way to navigate the document? I also tried "ns1:MessageParts/ns1:header/ns2:records/ns2:record".

Call manually recalculation on Payroll

$
0
0

I'm using Dynamics Ax add-ins to make some calculation of benefits and taxes because my company uses other taxes than US, and I found the only way to make it possible only using excel add-ins.

My calculations and publishing works like a charm, but the problem is that when the benefit or tax value changes it doesn't automatically calculates the Net pay on Pay statement.

I need to make any changes on benefits/tax lines and change it back the value just to make possible the system to show me the Recalculate button for recalculating the Net pay,

Can anyone help me if there is any possibility to make recalculation without having to change the tax/benefit lines, I mean if I can call it from add-in or can i make the refresh button to call the recalculation too.

Thanks in advance,

Email Template for Sending Free Text Invoice through Email

$
0
0

HI Community,

I am trying to send free text invoice as an Pdf attachment in the email.

I was able to send the email's but with blank text body. Is there any way in AX2012 where I can attach a template which has some subject and body to free text invoice being sent out.

Please suggest.

Thanks,

Ismail.

SSRS 2012 Database with Always On Feature is not supported due to AOS server

DIEF / DMF Error when importing customers and vendors

$
0
0

When trying to import customers and vendors using the standard entities I get the error "Error inserting address".

The error is thrown in class method DMFLogisticsAddressHelper.GeneratePostalAddressGlobal and is caused by the field Location not being set. The field value in Location originates from the earlier creation of a LogisticsLocation record which is used for creating the address

AX tries to lookup the address but finds nothing.

I have tried both in a new legal entity in contoso and in a demo entity with the same result.

Any help will be appreciated!


AX2009 - Shop floor control and Projects

$
0
0

Hi all,

I got a question where an end user, currently running AX2009, wants to have a time registration for there technicians. This is relevant for their internal controls. They sell products where a construction is integrated in the sales price with a flat fee.

I was thinking about projects, but they need a quick and simple solution, based on planned 'activities'. They like to use a clocking system. So I think we can probably look at projects in combination with shop floor control.

Has anyone experience with this combination and can tell me some experience on feasibility or some other points for attention? Any feedback is welcome as I don't have hands on experience with the shop floor control yet.

Is there a limit of number of record returned in this Customer/items statistics report?

$
0
0

Dear sire,

I run this report, in 3 days, but it returns the below error, it seems that it is over the limit of records amount?

 

 

What is the download URL of dynamics ax 2012 demo database?

$
0
0

What is the download URL of dynamics ax 2012 demo database?

Best way to set query ranges values in AX 2012 R2

$
0
0

Hi everybody,

I have a query object (SalesReleaseOrderPicking) that I need to set ranges for dynamically.

Should I be using data contract class? Or should I just do this the same code we would use in AX 2009?

Thanks so much!

Connection with the Application Object Server could not be established?

$
0
0

Hello All,

only fone user is  getting this error "Connection with the Application Object Server could not be established".

All user connect to Terminal Server (Window 2008 R2) and click on AX file(.axc) (shared for all)and open AX , AX gets opned but only one user is unable to connect .

we are using AX2009 SP1 RU3.Database serv er is SQL 2008R2.All user connects to Termianl Server and click on (.AXC file) (shared file).

 

Anyone has any idea what may caused this issue?

Viewing all 72043 articles
Browse latest View live


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