Failed applying DataUpgrade package AX2012DataUpgrade-8-1 "Servicing this environment has failed. Please click the Resume button to retry the failed operation."
Receipt formats in MPOS
Where can I find document with usage/definitions of the receipt formats available in dynamics AX Retail?
Ledger and Accounting Distribution
Hi,
I want a record from the accounting distribution table based on the relation ledger table. Are these tables have any interrelations?
Please give me some advice on this...
How can we edit the sales quotation templates that already exists in ax 2012 R3
Hello AX Users,
There are few Sales Quotation templates which are already in the share point site and these templates are to updated with the new Freight charges. These Templates are in the word document and the charges should be effective from December 1st. Can anyone please suggest me how to go about this??
I have tried duplicating the existing templates in the share point site and making new changes but doesn't seem to work.
Thank you!!
Reg.SUbledger journal acccounting dustribution entry table
Good day.
I have creating a Ledger reporting currency conversion,while doing that i am getting some error like the below.
"Cannot edit a record in Subledger journal account entry distribution (SubledgerJournalAccountEntryDistribution).
The record has never been selected."
I tried to debug the issue and i found the  error was here.
class CurrencyconversionProvider_fim\Method\BalanceSubledgeraccountentrydist.
In this method i tried to figure out which line it was causing the issue and i found that particular line
    select firstOnly forUpdate updateSubledgerJournalAccountEntryDistribution
                    where updateSubLedgerJournalAccountEntry.RecId == updateSubledgerJournalAccountEntryDistribution.SubledgerJournalAccountEntry;Here i am able to get the recid of the updatesubledgerjournalaccountentry table,but the values of updateSubledgerJournalAccountEntryDistribution.SubledgerJournalAccountEntry seems to entry.
So please advise on how to enter the record in the subledgerJournalaccountentrydistribution table.
Thanks in advance.
Regards,
AXTECHIE2120
Application error when running LCS System Diagnostic Tool 'Collect now'
When I run LCS System Diagnostic Tool 'Collect now', there is no error shown in the tool wizard,
and I can view the 'Upgrade Analysis Report' from linked LCS system diagnostic menu.
However, I found that there are several error logs in 'Event viewer' (Windows log - Application) for source 'LcsSystemDiagnostic', such as
Collector BU_Setup_Parameters(SqlCollector) failed to run against target [(Servername).erp.local].[MicrosoftDynamicsAX]: Invalid column name 'ISBUDGETRESERVATIONENABLED'. 
Collector FA_Setup_Parameters(SqlCollector) failed to run against target [(Servername).erp.local].[MicrosoftDynamicsAX]: Invalid column name 'ACCELERATEDDEPCALCMETHOD_JP'.
Invalid column name 'ACCELERATEDDEPRATEFACTOR_JP'.
Collector HR_Setup_TAParameters(SqlCollector) failed to run against target [(Servername).erp.local].[MicrosoftDynamicsAX]: Invalid column name 'ABSENCEJOBID'. 
Collector IWM_Setup_InventParameters(SqlCollector) failed to run against target [(Servername).erp.local].[MicrosoftDynamicsAX]: Invalid column name 'MCRUSEBOXINGLOGIC'.
...
and ended up with info log, such as
Job completed: environment (Server name)
This happens every time I run 'Collect now'.
Is there any settings or tasks I missed, or can I ignore these errors?
Any comments or reference would be appreciated.
Data is not displaying in the form
i have a form called "IndentTransferOrders" and a table added in the datasource "inventTransferParmTable". added table and field in the design field but it is not showing the value in the form. if anybody knows please post the solution. Thanks in advance.
Fetching Some Fields Data On Report
Hi,
I want to fetch E Way Bill Number, Document Date, Document No., Vehicle No. To Display On My Sales Invoice Report
Also InventBatchID. I am new in AX Development I Don't It How To Fetch That Data, Please Help....
Thanks
[D365FO]: Webservice Integration - error
Hello,
I'm trying to connect to an external webservice from MS Dynamics 365 FO (8.1 PU15). I generated a c# class library and added a "Service reference" due to the provided public WSDL of the webservice. This is the generated app.config:
<?xmlversion="1.0"encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<bindingname="ExternalGatewayServiceSoap" />
</basicHttpBinding>
</bindings>
<client>
<endpointaddress="URLTOWEBSERVICE"
binding="basicHttpBinding"bindingConfiguration="ExternalGatewayServiceSoap"
contract="External.ExternalGatewayServiceSoap"name="ExternalGatewayServiceSoap" />
</client>
</system.serviceModel>
</configuration>
in the class library the web service is used in a method:
publicstring helloWorld()
{
string response = "";
BasicHttpBinding httpBinding = newBasicHttpBinding();
httpBinding.MaxReceivedMessageSize = int.MaxValue;
httpBinding.TextEncoding = Encoding.UTF8;
EndpointAddress endPoint = newEndpointAddress(serviceAddress);
try
{
ExternalGatewayServiceSoapClient soapClient = newExternalGatewayServiceSoapClient(httpBinding, endPoint);
// Call the WebService
response = soapClient.HelloWorld("MS Dynamics 365 for Operations");
}
catch (ProtocolException ex)
{
response = "ERROR helloWorld(): " + ex.InnerException;
}
return response;
}
Within AX I'm using a runnable class which is calling the method above. When debugging I'm facing the following error:
ERROR helloWorld(): System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
Additional error information:
Additional information: The content type application/xml;charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 149 bytes of the response were: '<faultstring>The endpoint reference (EPR) for the Operation not found is /axis/services/ExternalGatewayService/ and the WSA Action = null</faultstring>'.
If I try to connect to the webservice via a browser, the WebService is available.
Any help or hint would be appreciated.
Thanks in advance
Sebastian
DIXF composite Entity Data export
Hi
I am trying to use the 'Create Batch Job to Export from AX to File' functionality to export Purchase orders to a XML file, but this is not possible in our standard setup. Anybody accomplished this or is it 'mission impossible' ? AIF is not an option at moment. Version R3/CU13.
Any help or alternative methods appreciated :-)
Best
Søren
Show found values whilst typing - formcontrols
I'm trying to build a form in Dynamics AX 2012 R3 which has an address searchfield (stringEdit). While the end user is typing, I already want to show some of the possible values. But he/she must be able to type further. This way AX can search for a partial address and the end user can decide when he/she has typed in enough characters to find something from the dropdown.
The problem that i'm facing is that as soon as I perform the lookup, the focus changes to the lookup-grid and the end user isn't able to type any more characters. Is there a way I can keep focus on my stringEdit? Of course, I've tried setFocus().
I've overwritten the textChange() method:
public void textChange() { Query query = new Query(); QueryBuildDataSource queryBuildDataSource; QueryBuildRange queryBuildRange; SysTableLookup sysTableLookup; element.delAutoCompleteString(this); if(strLen(this.text()) >= 3) { sysTableLookup = SysTableLookup::newParameters(tableNum(LogisticsPostalAddress), this); sysTableLookup.addLookupField(fieldNum(LogisticsPostalAddress, address)); sysTableLookup.addLookupField(fieldNum(LogisticsPostalAddress, city)); queryBuildDataSource = query.addDataSource(tableNum(LogisticsPostalAddress)); queryBuildRange = queryBuildDataSource.addRange(fieldNum(LogisticsPostalAddress, address)); queryBuildRange.value('*'+this.text()+'*'); sysTableLookup.parmQuery(query); sysTableLookup.performFormLookup(); searchText.setFocus(); } super(); }
Sales order and new customer
Hello,
sales orders and new customers creation from the website.
1)How to send continuous sales order and new customer creation to AX?
2)Do I need to use AIF & message queue?
3)how to process above sales order and new customer into ax using DIXF
Can you please share any demo or blog for the above requirements
Regards
Priya
Business Unit for Financial Dimension
Hi Experts,
Hope you all doing good!
I would like to know about Business unit for Finance purpose in AX 2009. How to create BU in AX? Purpose of BU?
Anyone kindly suggest me a link or explain here.
Advance in thanks and Regards,
Vignesh
Voucher number not picking up from number sequence
Hi,
I am facing a strange issue in voucher number. While creating the journal lines its taking a voucher number which has been used and posted few months back and its not taking taking the next number from number series. Would like to mention the voucher number which is taken by system is present in the status list with status 'Free', is there anyway we can delete this status list. since I am suspecting system is taking this number instead of next number from general setup tab. We use continuous number system.
Regards
Khushi
issue of SSAS of Dynamics AX 2012
Dear Friends,
I have a issue of SSAS (SQL Server 2014):
1/ I have created a datawarehouse of Inventory, Manufacturing, Sale Order
2/ I have created OLAP to define and show forecast of products.
3/ I use PowerBI show this OLAP.
Requirement:
1/ I want to created a button "Confirm" to this BI report
2/ When the user press this button, the PowerBI will get and insert this forecast quantity to Demand tables of ERP system (ex: Dynamics AX 2012 R3).
Can the system support this requirement?. If not, could you recommend the other BI tools support it?. Thank you.
AX 2009 BatchJob table insert error - The record already exists.
Hi friends,
I have faced recently following pretty weird issue during batch job creation from AIF integration port.
AIF inbound endpoint gets XML message then process it and try to create Batch job:
protected void addBatchTask(int _secondDelay)
{
    BatchHeader          batchHeader;
    SysRecurrenceData    sysRecurrenceData;
    BatchInfo            localBatchInfo;
    ;
    if (checkPostBatch)
    {
        batchHeader = batchHeader::construct();
        sysRecurrenceData = SysRecurrence::defaultRecurrence();
        sysRecurrenceData = SysRecurrence::setRecurrenceStartDateTime(sysRecurrenceData,
            DateTimeUtil::addSeconds(DateTimeUtil::utcNow(), _secondDelay));
        sysRecurrenceData = SysRecurrence::setRecurrenceEndAfter(sysRecurrenceData, 1);
        localBatchInfo = checkPostBatch.batchInfo();
        localBatchInfo.parmRetriesOnFailure(#NoOfRetriesOnFailure);
        batchHeader.addTask(checkPostBatch);
        batchHeader.parmRecurrenceData(sysRecurrenceData);
        batchHeader.parmAlerts(NoYes::No, NoYes::Yes, NoYes::No, NoYes::Yes, NoYes::No);
        batchHeader.save();
    }
}
Then AIF exception appears:
DuplicateKeyException: Cannot create a record in Batch Job (BatchJob). Job description: MES goods issue processing task, Waiting.
The record already exists.
batchHeader.save() method tries to insert new BatchJob record but without success.
Looks very strange because BatchJob table has Primary key -> RecId field.
Then I just try to execute following Job:
static void MESBatchJobTest(Args _args)
{
    batchJob batchJob;
    ;
    ttsbegin;
    batchJob.Status = BatchStatus::Waiting;
    batchJob.OrigStartDateTime = dateTimeUtil::getSystemDateTime();
    batchJob.Caption = "TEST MES goods issue processing task TEST";
    batchJob.insert();
    ttscommit;
}
and getting the same exception:
Does anyone encountered anything similar earlier?
Any suggestions are welcome!
DB Synchronization is restoring deleted fields
Hi:
I'm working in a MDAX 2012 R3 CU13 version under
Organization administration - Setup -Addresses - Address setup - Address format
I modified some formats, I did that on the "Configure address component" deleting the field I don't want/need, just as a note I had done that in other environments in other projects and no problem at all, now every time I full synchronize the DB the field is recreated again and again. Is not a big deal I just need to remember that after synchronization I need to modify my Address format again, but why is this happening and how can I avoid it? Where the code for the table fields is saved?
Regards,
D365 Operations General Journal workflow error: Stopped (unrecoverable)
Hi all,
I got an error while recall the wokflow (general journal) ;
Stopped (unrecoverable): Journal xxx, 01-000088 is being posted and the workflow status cannot be changed.
Now ;
Can not be delete The journal ..
How to fix this problem..
Thank in advance..
Relation between two Enums
Hallo everyone,
I have a table (BonusBenefits) with few fields - two of them are Enums (Division and Subdivision).
If I will chose in a form Division = 1 I would like to see only Subdivision = 1 and 2;
if Division = 2 -> Subdivision = 3 and 4;
if Division = 3 -> Subdivision = 0 (not used/not applicable)
How to achieve that?
Business intelligence project
hi everyone.
i'm supposed to install the ax reporting extension with visual studio 2008.
i have a manual to create the reporting services in the server but it does not come clear (or i'm missing that part) how to access it from a client computer, one of my partners had it installed a time ago by someone who isn't here anymore and he is not quite sure what this person did.
the partner i'm talking about has in his visual studio the "business intelligence project" option available on his visual studio when he creates a new proyect. but i can't see this option though we have the same visual and I've already installed the net framework and the utilities in ax that he has, so... my (kinda obvious) guess is that a have to make some modification or connection between ax and visual studio but I can't find anything related to. does anyone have any documentation about how to make this connection?
i hope i made myself clear, if you need any extra information please let me know

