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

Generating Report

$
0
0

Hi all, I need help pls... When I generate report. It says

"Fatal exception performing AXRDCE transformation step. The report cannot be rendered. Please contact your system administrator."

What I do?


Add Employee Responsible to Customer Aging Report

$
0
0

Hello,

I need to add Employee Responsible to Customer Aging Report. I've added new String field called AMS_EmpRes to the CustAgingReportTmp table. But I'm not sure how to insert data to my new field on insertCustAgingReportTmp method in CustAgingReportDP class. As I know MainContactWorker in CustTable linked to HCMWORKER and then goes to DirPartyTable. I can get it done in SQL but I'm new to X++. Could you please help me on update below SELECT query to get the Employee Responsible?

Many Thanks,

Dumindu

private CustAgingReportTmp insertCustAgingReportTmp(boolean _reverseAmountsAndHeadings)
{
    Str1260 asOfDate = strFmt("@SYS84682", date2StrUsr(contract.parmZeroDate(), DateFlags::FormatAll), contract.parmDateTransactionDuedate());
    Addressing headingAccount = strFmt("@SYS24500");
    TransTxt headingName = strFmt("@SYS7399");
    AmountMST balance = 100;
    CustVendTransAging custVendTransAging = custVendBalanceList.getCustVendTransAging();

    if (_reverseAmountsAndHeadings)
    {
        insert_recordset custAgingReportTmp
           (Balance01, Balance02, Balance03, Balance04, Balance05, Balance06, Balance07,
            Balance01cur, Balance02cur, Balance03cur, Balance04cur, Balance05cur, Balance06cur, Balance07cur,
            TransDate, InvoiceId, Voucher, AccountNum, Name, CustAccount, Txt, Currency, CustGroup, BillingClassification,
            AsOfDate, HeadingAccount, HeadingName, HeadingDate, Heading1, Heading2DateValue, Heading2,
            Heading3, Heading4, Heading5, Heading6, Heading7DateValue, Heading7, Heading8, Heading9,
            Heading10, Heading11, Heading12, Heading13, Heading14, HeadingAgingBucketDescription02,
            HeadingAgingBucketDescription03, HeadingAgingBucketDescription04, HeadingAgingBucketDescription05,
            HeadingAgingBucketDescription06, HeadingAgingBucketDescription07, Balance, SortOrder, AMS_EmpRes
                select
                    Balance01, Balance07, Balance06, Balance05, Balance04, Balance03, Balance02,
                    Balance01cur, Balance07cur, Balance06cur, Balance05cur, Balance04cur, Balance03cur, Balance02cur,
                    TransDate, InvoiceId, Voucher, AccountNum, Name, AccountNum, Txt, CurrencyCode, GroupId, BillingClassification,
                    asOfDate, headingAccount, headingName, headingDate, heading01, heading02, heading07Text,
                    heading03, heading04, heading05, heading06, heading07, heading02Text, heading011, heading03,
                    heading031, heading041, heading051, heading061, heading061, headingAgingBucketDescription02,
                    headingAgingBucketDescription03, headingAgingBucketDescription04, headingAgingBucketDescription05,
                    headingAgingBucketDescription06, headingAgingBucketDescription07, balance
                from tmpAccountSum
                        join SortOrder
                        from custVendTransAging
                            where tmpAccountSum.AccountNum == custVendTransAging.AccountNum;
    }
    else
    {
        insert_recordset custAgingReportTmp
           (Balance01, Balance02, Balance03, Balance04, Balance05, Balance06, Balance07,
            Balance01cur, Balance02cur, Balance03cur, Balance04cur, Balance05cur, Balance06cur, Balance07cur,
            TransDate, InvoiceId, Voucher, AccountNum, Name, CustAccount, Txt, Currency, CustGroup, BillingClassification,
            AsOfDate, HeadingAccount, HeadingName, HeadingDate, Heading1, Heading2DateValue, Heading2,
            Heading3, Heading4, Heading5, Heading6, Heading7DateValue, Heading7, Heading8, Heading9,
            Heading10, Heading11, Heading12, Heading13, Heading14, HeadingAgingBucketDescription02,
            HeadingAgingBucketDescription03, HeadingAgingBucketDescription04, HeadingAgingBucketDescription05,
            HeadingAgingBucketDescription06, HeadingAgingBucketDescription07, Balance, SortOrder, AMS_EmpRes)
                select
                    Balance01, Balance02, Balance03, Balance04, Balance05, Balance06, Balance07,
                    Balance01cur, Balance02cur, Balance03cur, Balance04cur, Balance05cur, Balance06cur, Balance07cur,
                    TransDate, InvoiceId, Voucher, AccountNum, Name, AccountNum, Txt, CurrencyCode, GroupId, BillingClassification,
                    asOfDate, headingAccount, headingName, headingDate, heading01, heading02, heading02Text,
                    heading03, heading04, heading05, heading06, heading07, heading07Text, heading011, heading021,
                    heading031, heading041, heading051, heading061, heading071, headingAgingBucketDescription02,
                    headingAgingBucketDescription03, headingAgingBucketDescription04, headingAgingBucketDescription05,
                    headingAgingBucketDescription06, headingAgingBucketDescription07, balance
                from tmpAccountSum
                    join SortOrder
                        from custVendTransAging
                            where tmpAccountSum.AccountNum == custVendTransAging.AccountNum;
    }
    return custAgingReportTmp;
}

How to force Batch mode executing in any case for Batch class?

$
0
0

I need to force in any case the Batch mode processing for my custom class extends RunBaseBatch by code. The user can't change the execution mode.

The shedule mode must only to be in Batch.
It's possible?

I try to use in main method, before promt command these code line:

className.mustGoBatch();
className.parmInBatch(true);
className.doBatch();

BUT not work, I see the flag Batch processing switch off.

Thanks

Stack trace: An empty SQL statement descriptor list has been encountered.

$
0
0

Dear All,

while Full compile of Dynamics ax 2012 application (/System administration/Area page/Periodic/Compile application) i do have following error. 

I started to compile each Node in AOT separately and Sync DB, everything compiled fine other then "Queries". The same error popped up.

looking forward for ur experiences reviews.

Cutomer inactive from POS

$
0
0

is there any possibility to inactive and customer for store POS.

creation of a lookup showing all the ax tables of table group transaction

$
0
0

I want to create a lookup for a field which would populate all the the AX tables of group "Transation".

Any help is appreciated.

Service channel is in Faulted state

$
0
0

Hi,

I have a windows service which i am using to communicate with AX 2012 using AIF. My communication between service and AX is working fine for CustomerService exposed by AX2012 but i am getting error for CustCustomerService. I am able to browse the WSDL using the url but when i am trying to perform any operation I am getting the following error:

Connector Error: org.xml.sax.SAXException: The error message: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

 I want to confirm that this issue is from AX side or from my windows service side? What can i do to fix this? 
I already tried by creating a new inbound port and assigning  {{CustCustomerService }} class' operations. Its not working

Thanks

Windows opens minimized, not possible to maximize

$
0
0

Hello,

my problem happened in purchase ledger - supplier details, but I'm sure all categories of AX are concerned.

Right clicking on a value in details window it's possible to go to main table and enter additional values in an new window. This window opens minimized and it's not possible to change the size.

Does someone know the hint to open that window in "normal" size?

Thanks very much

egydd


Deleting A Transfer Journal

$
0
0

Hi

I want to remove the following journal entries from my stock transaction screen

Any ideas?

Thank you

SalesConfirm report customization

$
0
0

Hi Team,

I am trying to do modifications on SalesConfirm Report for which i have created a model with Overlayering refrring to ApplicationSuite Model. When i am trying to save the class SalesConfirmDP i am getting the error as UnAuthorized to modify the model "Application Suite'.Could you please help me in this regard.

Thanks 

Venky

Every one can see Purchase Request from every one in AX 2012 R3

$
0
0

Hi Everyone,

We just went live in our organization with new implementation of MS Dynamics AX 2012 R3. 

We have one issue, if I make a purchase request (from Procurement and Sourcing) than every one in our organization can see that request.

What we want; if I make any request, i should be the only one can see this and that specific employee who can approve it in the hierarchy. 

I seek help here that how can ristrict this action so that no one can see others Purchase Request.

Can anyone help me?

Thanks

Abbas

Age calculation using x++

$
0
0

Good Morning,

I am trying to calculate age.

i am comparing from today date to given birth date
Exampl - year(Today()) - year(mkdate(1,1,1998))
But i am getting 30
it must be 29
How can i achieve this.
I have seen in some sites
But using that intv function i am getting negative values.
Please show some light on this.
Regards.
Have a great day.

Publish-ADFSApplicationGroup.ps1 is throwing an error message while doing D365 FO on premise deployment

$
0
0

Hi Guys,

I am near to finish the deployment of D365 on premise but stuck at the last stages where i am running the below script provided by Microsoft and getting error message:

New-ADFSApplicationGroup : The term 'New-ADFSApplicationGroup' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At C:\Infrastructure\Publish-ADFSApplicationGroup.ps1:59 char:5
+ New-ADFSApplicationGroup -HostUrl:$HostUrl -ApplicationName:$Appl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-ADFSApplicationGroup:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException

# Host URL is your DNS record\host name for accessing the AOS

.\Publish-ADFSApplicationGroup.ps1 -HostUrl 'ax.d365ffo.onprem.d365.com'

Error screenshot:

  

By looking at the error message, it says that function New-ADFSApplicationGroup doesn't exist. I checked in the Windows Power Shell of 3 different environments and i couldn't find this function. This function is called from Publish-ADFSApplicationGroup.ps1 script to create Application Group when script is not finding fucntion New-ADFSApplicationGroup  then it is throwing error.

Kindly suggest how to resolve this issue.

Thanks,

Uzair

GroupBy on Lookup problem

$
0
0

Hello,

I have problem with GroupBy query on Popup. I have table TabA with price lists:

PriceListVersion | PriceSignCode | PriceSignDesc.

In table tabB I have column PriceListVersion, where a want check version of price list from popup. Each version should appear only once in the list.

I have code:

public void lookup(FormControl _formControl, str _filterStr)

{

    Query                   query = new Query();

    QueryBuildDataSource    queryBuildDataSource;

    SysTableLookup          sysTableLookup;

    ;

    sysTableLookup = SysTableLookup::newParameters(tableNum(TabA), _formControl);

    sysTableLookup.addLookupfield(fieldnum(TabA,PriceListVersion), true);

    queryBuildDataSource = query.addDataSource(tablenum(TabA));



    queryBuildDataSource.orderMode(orderMode::GroupBy);

    queryBuildDataSource.addGroupByField(fieldnum(TabA,PriceListVersion));



    sysTableLookup.parmQuery(query);

    sysTableLookup.performFormLookup();

}

I check Query in Debbuger, in queryBuildDataSource we have:

 SELECT FIRSTFAST * FROM PriceSignListTable GROUP BY PriceSignListTable.PriceListVersion

But still there is no grouping on the form:

  

What's the most interesting, sometimes it works properly, although I dodn’t change anything on popup or datasource.

How to add a new dimension in ax 3.0?

$
0
0

Hi,

I have followed the below mentioned steps to create a new dimension in ax 3.0, everything gets added up fine but the synchronization fails into Invent Settlement table and Invent Trans Posting, can someone help me on this,

Steps i've followed:

1. Created an array element in the list of EDT's.

Dimension, DimensionAllocation, DimensionAllocation2, DimensionCriteria, DimCheck, DimensionLedgerJournal, and MandatoryDimension.

2. Added Relation to Dimension and Dimension Criteria EDT's.

3. Added the new Dimension in SysDimension Enum

4. Added a relation for the newly created dimension in ledgerJournalTrans table.

5. while i run data dictionary Synchronization it gets hanged and when i force close it , the newly created dimension is available elsewhere, but the tables InventSettlement and InventTransPosting fails in synchronization and the table has no data because of the synchronization issue.

Can someone help me on this?

Thanks in advance,

Vishwa Shajan J


Invoice journal in AP

$
0
0

Hi all,

In AP module we have payment journal and Invoice journal .
My doubt is that why we use Ledger as offset account in Invoice journal .
Thanks 

Case log tied to Activity not updating sometimes

$
0
0

Hi all

Running AX 2012 R3 CU9

Have discovered the functionality that the case log on a case will update, when an activity that is connected to its case process is updated. However, from our testing, it seems like it only does so when the activity itself is marked as having the same person responsible as the case itself.

Is this intentional? We would like it to always update

Any advise would be helpful

Thanks

Luke

is there a minimum sales price for the item in AX 2012 R3

$
0
0

Hi, 

I want to know if there is an option to set a minimum sales price for the item, so the sales price can not go below the minimum price.

Inventory lookup show all stores in AX 2012 R2 POS

$
0
0

Hi,

is there a way to hide some stores to be displayed from inventory lookup in POS AX 2012 R2, I have tried to work with store locator group but the pos show all stores that even not included in the store locator group 

XPO Import

$
0
0

Hi,

I have a question regarding object Ids. I'm recently doing small developments in a AX2012 and moving them across environments using xpos.

I have created a new table with two fields and two EDTs. When I import that between DEV and TEST I've noticed AX has maintaned the IDs for the table and fields but not for the EDTs. For example if one of the EDT is ID 100009 in DEV, the same EDT in TEST is 1000010.

I've read different articles and posts about ID conflicts but not quite sure how critical that issue is. What type of issues could I have in PROD?

Regards

Viewing all 73760 articles
Browse latest View live


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