Hi.
We Used the AX2012 R2 Ver.
I checked the LEDGERTRANSSTATEMENTTMP table Size.
It's very Big Size (about 88GB)
So, Can i truncate the LEDGERTRANSSTATEMENTTMP in SMO ?
If it's any problem, please Let me know.
thanks.
Hi.
We Used the AX2012 R2 Ver.
I checked the LEDGERTRANSSTATEMENTTMP table Size.
It's very Big Size (about 88GB)
So, Can i truncate the LEDGERTRANSSTATEMENTTMP in SMO ?
If it's any problem, please Let me know.
thanks.
Hi All,
Just wanted to know if it is possible to restart a failed batch job, from the point where it fails? Like there are 30 tasks inside a batch job and 20 of them ran successfully, but after that one of the task fail which in turn resulted in batch job failure. Is it possible to restart the batch task from task # 21? I looked at batch task form, and couldn't find any option related to this.
Thanks,
SB.
Experts,
I have 200 employees in our company database. I want to know do i need to add all the employees to Active Directory and in Dynamics AX users list so that they can access Enterprise Portal to enter Time Sheets ?
Thanks in Advance!
Hi,
I am installing the Dynamics AX 2012 R3. My AX installation is over, I am in the step to import the demo data. I am following this link:
http://tech.alirazazaidi.com/how-to-import-contoso-demo-data-to-dynamics-ax-2012-r3/
for completing the the installation. But on that I need to import the "MetaDataXMLGenerator.xpo" file to the dynamics AX. I struck on there. If I open my Dynamics AX. I couldn't see the company details or any thing else on the screen. It shows something called initialization check list. Can you guide me what to do next?
Hi,
I want to hide the dynamic query parameters in a AX 2012 SSRS report dialog.
The report datasource is a query, which has a few predefined ranges. But in the report dialog, I just want to see the printer select box and not the query range fields with their predefined values. I set the status of the query ranges to hide, but ist had no effect on the dialog.
Is it possible to hide all the parameters at once for the report dialog?
Thx, Markus
Is there any way to set a value to referance field programmatically?
I've recently upgraded to R2 CU7 and now I'm trying to get Business Analyzer to work. I've followed the white paper here and inside the installation instructions it wants me to download the server software to connect with AX from here
http://go.microsoft.com/fwlink/?LinkId=400551
No matter what I do it says I don't have access. it offers to let me associate my user, but clicking on there only gives me the same access denied and if offers a link for help with the same access denied message.
My login is a legit company login, I've checked out Customer Source and can log in fine there. But no matter what I try I cannot download the AX Connector for Mobile Apps.
Hello guys,
anybody help me to retrieve product image using data provider in ax?
i dont know how to make a relation from inventtable to get a product image.\
Thank you.
Regards,
Hanny
Hi all,
I'm using the excel add-in at a client and it appears to have some trouble working. I'm trying to do an upload hitting sales tax tables, but when I add a table to excel, all of my upload options are grayed out:
As you can see, the "field lookup," "publish data," and "retrieve status" options are all grayed out. They just installed a new AX DB on their instance of SQL, and that new DB is what I'm trying to hit -- could it be having trouble recognizing that new DB? Any ideas as to the cause and how to resolve?
Thanks in advance!
I create a class extended from RunBaseBatch to be used as batch tack. I go to System Administration > Inquiries > Batch Jobs to create new batch then click view tasks to add tasks when I entered the name of the created class to class name field in the grid I get the following error “The batch task you entered is not valid. Enter a different batch task”.
I try creating the batch by go to class directly select open then use batch tab to create batch and set recurrence. The batch is created, added to batch queue and performed successfully. When I check tasks related to this batch, I find the name of the class in the field class name.
Why I face such case ?
Hello Everyone
Today i tried to replace the standard purchase order report with my custom report by changing the PurchPurchaseOrderController as below:
public static void main(Args _args)
{
SrsReportRunController formLetterController = PurchPurchaseOrderController::construct();
PurchPurchaseOrderController controller;
if (TradeFormHelper::isCalledFromForm(_args, formStr(VendPurchOrderJournalListPage)))
{
_args.record(VendPurchOrderJour::findRecId(_args.record().RecId));
}
controller = formLetterController;
controller.initArgs(_args, ssrsReportStr(CustomPurchaseOrder, Report));
if (classIdGet(_args.caller()) == classNum(PurchPurchOrderJournalPrint))
{
formLetterController.renderingCompleted += eventhandler(purchPurchOrderJournalPrint::renderingCompleted);
}
formLetterController.startOperation();
}
In the "controller.initArgs" method i have already use my report "CustomPurchaseOrder", but when i try to run the report from "Purchase Order->Purchase->Purchase Order Confirmations->Preview/Print->Original Preview" i still got the old report.
Note:
The system keep using the static report, but if i comment the code "controller.initArgs(_args, ssrsReportStr(CustomPurchaseOrder, Report));", it will encounter an error. there must be somewhere the system replace my code with the standard report.
Hello,
Can TechNet subscribers download sample database for Dynamics AX 2012? If not, how can I install sample data into Dynamics AX 2012?
Note: I downloaded AX installation media from my TechNet account, and after I installed it, I couldn't find any sample data. Thanks!
Regards,
s.t. feng
The SysListPanelRelationTable class can only display fields from one table. When I use SysListPanelRelationTableCallback .
Everything it is OK, but when I close form, and open again, I don.'t see result.
My code:
public class FormRun extends ObjectRun { // SysListPanelRelationTable sysListPanel; SysListPanelRelationTableCallback sysListPanel; RetailPeriodicDiscount rboDiscountOfferTable; RetailStoreTable RetailStoreTable; OMOperatingUnit OMOperatingUnit; } private container availableStore() { container ret; container data; while select RetailStoreTable notexists join OMOperatingUnit where RetailStoreTable.StoreNumber == OMOperatingUnit.OMOperatingUnitNumber { data = [RetailStoreTable.StoreNumber, RetailStoreTable.StoreNumber, RetailStoreTable.name()]; ret = conIns(ret, conLen(ret)+1, data); } return ret; } private container selectedStore() { container ret; container data; while select RetailStoreTable exists join OMOperatingUnit where RetailStoreTable.StoreNumber == OMOperatingUnit.OMOperatingUnitNumber { data = [RetailStoreTable.StoreNumber, RetailStoreTable.StoreNumber, RetailStoreTable.name()]; ret = conIns(ret, conLen(ret)+1, data); } return ret; } public void close() { ; syslistPanel.finalize(); super(); } public void init() { container columns; #resAppl #define.width(400) ; if (element.args() && element.args().record() && element.args().dataset() == tablenum(RetailPeriodicDiscount)) rboDiscountOfferTable = element.args().record(); columns = [0, 0]; sysListPanel = SysListPanelRelationTableCallback::newForm( element, element.controlId(formControlStr(RBODiscountOfferStore_itp, ListViewTab)), "Wybrane", "Sklepy", #ImageUserGroup, tableNum(RBODiscountOfferStore_itp), // rel: /*RBODiscountOfferStore_itp.offerId == RetailPeriodicDiscount.OfferId*/ fieldNum(RBODiscountOfferStore_itp, StoreId), fieldNum(RBODiscountOfferStore_itp, OfferId), tableNum(RetailStoreTable), fieldNum(RetailStoreTable, StoreNumber), columns, 0, '', '', identifierStr(selectedStore), identifierStr(availableStore)); super(); sysListPanel.init(); sysListPanel.parmViewLeft().width(#width); sysListPanel.parmViewRight().width(#width); sysListPanel.parmRelationRangeValue(rboDiscountOfferTable.OfferId); sysListPanel.fill(); }
Thanks for help.
Hello experts,
I am new to AX, and this community. I need to do some testing within AX2021.
I am trying to create multiple tasks within a batch group through the API. Everything is well, after compile, and click the play button; group is created with tasks within.
However, now, I am hard coding the tasks creation part, i.e. if i want to create 2 tasks, i need to duplicate the code twice and change the variables.
I tried to use for loop, but the result is same as without the for loop.
The below is my code with for loop:
private static void main (Args _args)
{
BatchHeader batchHeader1;
BatchInfo batInfo1;
RunBaseBatch batchTask1;
RunbaseBatch batchTask2;
int i;
;
for (i = 1; i<20; i++)
{
// create batch header
batchHeader1 = BatchHeader::construct();
// create and add batch tasks
batchTask1 = new WorkCalendarDelete();
batchTask1.Caption();
batchHeader1.addTask(batchTask1);
batInfo1 = batchTask1.batchInfo();
batInfo1.parmGroupId("CAUBGRP");
batInfo1.ignoreOnFail(true);
}
//
batchTask2 = new AifGatewaySendService();
batchTask2.Caption();
batchHeader1.addTask(batchTask2);
//Give the batch job a name
batchHeader1.parmCaption("cau1232");
// save batch job in the database
batchHeader1.save();
}
Thank you so much.
Charlie
Hi all,
When using eXtensible Data Security, sometimes a temporary table is used with an XDS method. This defines a user specific list for e.g. Departments, Legal entities.
Within this method the return value is a Refreshfrequency stating the temporary table should be built once per session (PerSession) or on all calls (PerInvocation).
Normally you would like to have it built once for performance reasons. Now my question: Is there a statement that enforces a rebuild even if the user has not logged out?
my AX 2009 is very slow, which hardware can improve my AX.
We are 115 users to use my AX, DB is about 250GB.
Then, we are using 3 servers that each is IBM X3630 M3 C12, 32ram,
There are 3 servers is...
DB server is raid 10, 2GB network
AOS raid 1, 2GB network
MSTSC server raid 1, 2 GB network
we need add a AOS server? can improve AX speed?
actually, all CPU just 20-60% workload, and RAM is 50-70% workload, is RAID or HD to make AX slow?
OR any idea?
Client is using pallet as a storage dimension. There wish is to have many pallets in one production line. As far my understanding we can have one pallet id used for one production line or for that matter one sales order line. Any thought on this?
I created an RDP report contains the customer account as parameter, the report is working properly when the user select a customer account, but i need to run the reports on all the customers (select ALL in the Report Parameter), i changed the ALLOW multiple records to true in the SSRS in visual studio but i don't know what to change in the Data contract class and the Process Method in the RDP class to handle the "ALL" parameter.
Does anyone have a sample for the above parameter condition!! any help will be appreciated!!
Hi.
In form [RetailPeriodicDiscount]I add field typeof combobox in enum RetailDiscountOfferLineDiscMethodBase
When I select prefer inicjalize variable.
Next to:
\Forms\RetailPeriodicDiscount\Data Sources\RetailPeriodicDiscountLine\Derived Data Sources\RetailPeriodicDiscountLine_RetailDiscountLineOffer\Fields\discountMethod
I heve inicjalize new record in gird this enum [ value - selected in combobox];
Hou to do it?