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

Creating a date range parameter on SSRS report in AX 2012

$
0
0

Hi,

I'm brand new to the forum and to Dynamics AX 2012 report development, and have a question around ranges and parameters.

I've built a new query in the AOT, dragged tables into, and defined the relationships.  I've made a test report and precision design in Visual Studio 2010 and the query pulls the data I expected and displays it appropriately.  Now, I am looking to add the ability for the user to enter a date range to run the report for.

I've tried adding a column to my query as a range.  The column is called startDateTime and is data type DateTime.  I refresh my data set in VS, and it appears as a parameter under both the data set, as well as the report.  By default, it is giving me the option to enter a single DateTime value which appears to be added to the query as a constraint.

However, I want the user to enter a date range, preferably without entering times.  For example, 01-SEP-2014 to 30-SEP-2014.  I haven't found any way to change the data type to strip the time off, nor have I found a way to choose a date range instead of a single date.

I did try using the "dot-dot" syntax:  9/1/2014..9/30/2014 and I received an error. Trying it with time attached doesn't work either.

Can anyone provide advice on the proper way to accomplish this?

Thanks much.

Tony


Disable advanced filter on the Enterprise Portal

$
0
0

How can you disable the advanced filters from the Enterprise portal for webpages created through AX (AOT) using Ax listpages?

I still want to keep the filter for fields shown on the web page - just want to remove the advanced filter

AX 2009 Enterprise Portal - SharePoint Installation doubt

$
0
0

Hi again,

 I'm not sure which way to go for SharePoint installation, "Microsoft Dynamics AX 2009 Installation Guide" gives only two options:

  1. Install Enterprise Portal and Role Centers on Windows SharePoint Services,
  2. Install Enterprise Portal and Role Centers on Office SharePoint Server

 But I’m installing “Microsoft SharePoint Foundation 2010” which is listed as a supported platform (configured as stand-alone not as farm).

 Q1

Please confirm that Office SharePoint is the “right” route. AFAIK, Foundation it’s the “free” version of Office SharePoint option.

 Q2

Any heads-up with any patch? Given the fact that I’m running Win Server 2008 R2

Hedging in Projects - Currency exchange rate by project

$
0
0

Have a requirement where the exchange rate is set / specific to a project.  This rate would then be used (hedging) on purchase orders / payables for calculation during the life of the project.  I do not see anywhere to setup this scenario.

Impossibility to do the open transaction editing on one of my customer account

$
0
0

Hello all,

I am using Microsoft Dynamics AX 2009 and I have an issue with one of my customers account. When I go on this customer account name CECA GADIS, account number C00302, I can't access the open transaction editing because I have an error message that appears every time I try to open it. This error message sais "Cannot create a record in Balance (CustVendTmpOpenTransBalances). Currency: , 0,00.The record already exists.". You can see it on the 2 pictures I have shared. It is the only account that shows that error message, the others are working fine. Beside, I can access this account transactions, but it seems that only the Open  Transaction Editing causes an issue. Can someone help me with it?

https://onedrive.live.com/redir?resid=B00AB8DDD0145240!169&authkey=!AE2EfHihF00OmRc&v=3&ithint=photo%2cjpg

https://onedrive.live.com/redir?resid=B00AB8DDD0145240!170&authkey=!ACPHjAIbpCkq5DQ&v=3&ithint=photo%2cjpg

Best regards

Group of customers and Group of suppliers

$
0
0

Is it possible to change or modify a customer or supplier group? If I created a customer (or supplier) associated with a group and then I need to change to another group how do I do it in AX 2012?

AX2009 Production Orders Unissue Mat does not show on Overview Costing Tab

$
0
0

when we unissued the mat and reissue it again through Picking list , it does not show the unissue Mat , it adds up again the if we issue the mat ,

does any one know  if it will wash off when  we close the month or not, because I have few Production orders mat shows issued twice it does not show the negative qty,  its in the journal line,

I just to want make sure before I close the Production orders , its not going to cause var ,

can some one please reply

our month  end and Year end is coming soon,  I have to close these Production orders before that.

any help will be appreciated

Email a document from AX (Invoice, Packing Slip)


Manufacturing operation route type

$
0
0

Hi

For each operation in the route, we can configure the route type as "Standard" or "Vendor", From the process point of view, is there any difference between these two configurations?

Thanks

William

Cannot Deply SSRS Report

$
0
0

Modified the PurchPurchaseOrder SSRS report in dev environment by using VS2010. Deployed and it worked just fine. Then exported as .xpo and imported it to test environment. Every time I try to deploy it either from AOT or VS in the test environment I get the below error

After I deleted the newly imported report, which reinstated the old sys report, I was still getting the same error.

Error:

A call to the Microsoft Dynamics AX SRSFrameworkService service failed. Arithmetic operation resulted in an overflow..C:\Program Files (x86)\MSBuild\Microsoft\DynamicsTools\Microsoft.Dynamics.Framework.Design.Reporting.Modeling.targets Line 466 Column 6 PurchPurchaseOrderReport

Snippet from the targets file where it fails:

  <Target

      Name="CoreDeploy"

      DependsOnTargets="$(CoreDeployDependsOn)"

        >

    <DeployToReportsServerTask ProjectFile="$(MSBuildProjectFullPath)" RestartSSRS="$(RestartSSRS)"/>

    <OnError Condition="'$(RunPostDeployEvent)'=='Always'" ExecuteTargets="PostDeployEvent"/>

  </Target>

Change CallContext TimeOut

$
0
0

I created a web service in AX and I want to consume it in Java application. The default timeout to get the response back from AX is 60s. I was wondering how can I changed the callcontext time out?

Note: I get timeout in java side NOT AX side. Somehow I should change the Callcontext timeout. Below is the auto generated callcontext file.

 

package com.microsoft.schemas.dynamics._2010._01.datacontracts;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
import com.microsoft.schemas._2003._10.serialization.arrays.ArrayOfKeyValueOfstringstring;


/**
 * <p>Java class for CallContext complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="CallContext">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Company" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Language" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="LogonAsUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="MessageId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="PropertyBag" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfKeyValueOfstringstring" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CallContext", propOrder = {
    "company",
    "language",
    "logonAsUser",
    "messageId",
    "propertyBag"
})
public class CallContext {

    @XmlElementRef(name = "Company", namespace = "http://schemas.microsoft.com/dynamics/2010/01/datacontracts", type = JAXBElement.class)
    protected JAXBElement<String> company;
    @XmlElementRef(name = "Language", namespace = "http://schemas.microsoft.com/dynamics/2010/01/datacontracts", type = JAXBElement.class)
    protected JAXBElement<String> language;
    @XmlElementRef(name = "LogonAsUser", namespace = "http://schemas.microsoft.com/dynamics/2010/01/datacontracts", type = JAXBElement.class)
    protected JAXBElement<String> logonAsUser;
    @XmlElementRef(name = "MessageId", namespace = "http://schemas.microsoft.com/dynamics/2010/01/datacontracts", type = JAXBElement.class)
    protected JAXBElement<String> messageId;
    @XmlElementRef(name = "PropertyBag", namespace = "http://schemas.microsoft.com/dynamics/2010/01/datacontracts", type = JAXBElement.class)
    protected JAXBElement<ArrayOfKeyValueOfstringstring> propertyBag;

    /**
     * Gets the value of the company property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getCompany() {
        return company;
    }

    /**
     * Sets the value of the company property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setCompany(JAXBElement<String> value) {
        this.company = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the language property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getLanguage() {
        return language;
    }

    /**
     * Sets the value of the language property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setLanguage(JAXBElement<String> value) {
        this.language = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the logonAsUser property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getLogonAsUser() {
        return logonAsUser;
    }

    /**
     * Sets the value of the logonAsUser property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setLogonAsUser(JAXBElement<String> value) {
        this.logonAsUser = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the messageId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getMessageId() {
        return messageId;
    }

    /**
     * Sets the value of the messageId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setMessageId(JAXBElement<String> value) {
        this.messageId = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the propertyBag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link ArrayOfKeyValueOfstringstring }{@code >}
     *     
     */
    public JAXBElement<ArrayOfKeyValueOfstringstring> getPropertyBag() {
        return propertyBag;
    }

    /**
     * Sets the value of the propertyBag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link ArrayOfKeyValueOfstringstring }{@code >}
     *     
     */
    public void setPropertyBag(JAXBElement<ArrayOfKeyValueOfstringstring> value) {
        this.propertyBag = ((JAXBElement<ArrayOfKeyValueOfstringstring> ) value);
    }

}

integration of ms project server with microsoft dynamics ax 2012

$
0
0

Hi guys ,

hope u r all doing well .

Could u suggest me something to integrate ms project server with microsoft dynamics ax 2012 r3.

Thanks

Revert to standard Report.

$
0
0

We had a developer make changes to the Cheque report.  (told us there was no standard check, and they would have to develop it for us).  We want to use the standard check.  I can change all the Classes/Methods back to standard - that is easy enough, just delete the changes in the CUS layer that were made and recompile.  But not knowing what I don't know, I am not sure how to revert the Cheque Report back to standard.  What is the easiest/best way to get back to the check program that came with the system?

Label files not exportet to model

$
0
0

Hi,

In my build process (which is identical to the one I used for R2) for  AX 2012 R3 i'm importing labels from file using the startupcmd aldimport. However the labels doesn't end up in the final model.

I have tried syncing, flushing the labels and restarting the AOS to try to retain the labels but nothing helps. I'm using the same build process as for R2 which imports the labels into a model after creating the model and importing the combined xpo.

Any hints on this would be greatly appreciated.

Thanks

Prepayments

$
0
0

Hello everyone ..

Registering an advance payment to a provider is generating an error alerting the user that the value of the advance payment exceeds the amount of the purchase order, find the restriction by AOT and found the code of restriction.

    if (this.Value> purchTotals.purchBalance ())
         {
             isValid = checkFailed (strFmt ("@ SYS183651" this.PurchTable));
         }

How can you find the parameter and / or the properties modicar to remove that restriction.?


How to Enable new module in Prod (AX 2012)..through Model Store ?

$
0
0

Hi All, i have enabled PayRoll in Test env and i had to go through compilation and handle code conflicts.

Test is all good now with PayRoll module, now how would i deploy this to Prod

manually enable the PayRoll module ? or move the model store from Test to Prod ?

Thanks,

San

Statistical General Ledger Accounts in MS Dynamics AX

$
0
0

Hi,

I am looking to create some GL accounts in Dynamics AX 2012 to track some statistical metrics such as departmental headcount, new customers for the period, total active customers, etc.

I do not see a main account type or category for statistical.

Just wondering what the best practice is as I'm sure others have wanted to track some non financial metrics.

The only solution I can come up with is to use a range of GL accounts well away from my financial accounts and have an offset (credit) account for each metric so that there is zero financial impact if the accounts must be financial.

I'd also like to eventually use the balances in the statistical accounts in calculations for allocations in the future.

Any help or advice is greatly appreciated.

 

Cheers.

Ax 2012 R2 to 2012 R3 Upgrade Error while opening Client

$
0
0

(C)\Classes\TaxModelDocLineVendPackingReturnImpl_IN\countryInfo

(C)\Classes\SysCountryRegionCode\getCountryRegionContextByName - line 61

Error executing code: TaxModelDocLineVendPackingReturnImpl_IN object does not have method 'countryInfo'.

Stack trace

(S)\Classes\TaxModelDocLineProjOnAccTransImpl_IN\isSetupMode

(S)\Classes\Application\isRunningMode - line 15

(C)\Classes\Global\isRunningMode - line 14

(C)\Classes\Docu\reSearch - line 41

(C)\Classes\Info\formNotify - line 8

Error executing code: TaxModelDocLineProjOnAccTransImpl_IN object does not have method 'isSetupMode'.

Stack trace

(S)\Classes\TaxModelDocLineProjOnAccTransImpl_IN\isSetupMode

(S)\Classes\Application\isRunningMode - line 15

(C)\Classes\Global\isRunningMode - line 14

(C)\Classes\Docu\reSearch - line 41

(C)\Classes\Info\formNotify - line 8

Error executing code: TaxValidateForFreeTextInvoices_CN Object does not have method 'newFormcache'

Error executing code: TaxModelDocLineVendPackingReturnImpl_IN object does not have method 'countryInfo'.

Stack trace

(C)\Classes\TaxModelDocLineVendPackingReturnImpl_IN\countryInfo

(C)\Classes\SysCountryRegionCode\getCountryRegionContextByName - line 61

Error executing code: TaxValidateForSalesOrder_CN object does not have method 'isInstallMode'.

Stack trace

(S)\Classes\TaxValidateForSalesOrder_CN\isInstallMode

(S)\Classes\SysCheckList_SetupPartition\isSetupMode - line 12

(S)\Classes\Application\isRunningMode - line 15

(C)\Classes\Global\isRunningMode - line 14

(C)\Classes\Docu\reSearch - line 41

(C)\Classes\Info\formNotify - line 8

TaxModelDocLineVendPackingReturnImpl_IN object does not have method 'countryInfo'.

Year end

$
0
0

Dear All

recently I migrate FP to R3. I am facing problem when I close my financial year

This is a serious error. Run \"Check\" on ledger transactions.

How can I fix this error?

I already read many blocks but no one provide exact slotion regarding this problem

 

How to print invoices to file (e.g. PDF) in AX 2009?

$
0
0

Hi,

i'm new to AX 2009. 

 

I'm looking for a way to put invoices into PDF files. 

I've browsed through EPSendDocument (it looks deprecated, isnt it?), PrintJobSettings, but can't find the proper way to do that. 

 

At the moment i've got CustInvoiceJour table as the result of a query. How do I print each invoice to PDF file via code?

I've seen many solutions with reports, but i don't have any report available, and don't want to use it if possible. 

 

Thank you for your help

ciao

Viewing all 73760 articles
Browse latest View live




Latest Images