DataSet Error
MICROSOFTDYNAMICS_FUNCTIONAL_MODULE_4_COMPUTER_SCIENCE_ENGINEERS
HI GUYS I AM A COMPUTER SCIENCE ENGINEER LOOKING TO BUILD MY CAREER IN MICROSOFT DYNAMICS
BUT I WOULD LIKE TO KNOW THAT WHAT IS THE FUNCTIONAL MODULE FOR COMPUTER SCIENCE ENGINEERS
IN MICROSOFT DYNAMICS
parsing EDT to string
Hello!
Code:
{
TempString += any2str(EDTvriable);
info(EDTvariable + " " + TempString);
}
Is a part of the inside of while select statement and returns value of EDTvariable and empty string.
Is there any way to develop one string built of "chains of EDT's" gathered from the same column?
AIF Errors after adding new fields
Hi - banging my head against the wall on this one. Added some new fields to custTable, ran the update document service function (with Regenerate and update AxBC), refreshed the service, enabled the fields. However on attempting to update one of the new values AIF is throwing an error:
Error executing code: AxCustTable object does not have method 'parmXXX_XXXX'. This is a lie, the method DOES exist in the class. I have tried recompiling every thing, compiling forward from AxInternalBase, nothing seems to solve this..... Anyone run into this before?
Ax 2012 - 6.0.1108.4316
find total for Grid in a from
How can I find the sum of certain filed in Grid in a from in order to be displayed?
Migrate AX 2009 to New Server
Dear Experts, and all friends,
I have 1 server AX 2009 . Because HDD is full. so my boss he want to mirgate AX system to new server have more than HDD storage. ( two server old and new are same domain).
I have installed new server ( AOS, Reporting services extensiton..) Now i dont know, what to do next?
Anyone comment for what i must do ????.
Database?
AOS?
SSRS report?
License?
Please help me!!! Thanks you so much....
Container insert as table reocrds
I have the following question:
I need to insert 300 records into a table where each record contains two fields:
basically like this:
Field 1 | Field 2 | |
1 | Basti | Leffert |
2 | Sebi | Semmi |
3 | Andi | Leffi |
... | ||
300 | Kara | Nesti |
The 300 records a written in MS Excel. How do I do that?
I could work with containers: I use Excel to insert the records into a container and then in my job in AX
myContainer1=conpoke(myContainer1,1,"Basti","Leffert" ); myTable.Name = conpeek(myContainer1, 1); myTable.Surname = conpeek(myContainer1, 2); myTable.doInsert();
But I was wondering if there is a possibility that the name of my container is changeable, so I can put it in a loop, like an array type, or smth:
for ( myContainer[i] =1; i < 300; i++ ) { myTable.Name = conpeek(myContainer[i], 1); myTable.Surname = conpeek(myContainer[i], 2); myTable.doInsert(); }
I use AX 2009
InitFrom
Guys, good morning . I have a method that provides a field for InventTable form another table , however, I can not put the filter in this field because it is a method. So I tried to use the InitFrom but , although no error in the method, the data is not brought to the table InventTable . Does anyone had something like that? Thanks.
server void initFromCustVendExternalItem(CustVendExternalItem table, ModuleInventCustVend _moduleInventCustVend, CustVendAC _custVendAccount) { CustVendExternalItem custVendExternalItem; ModuleInventPurchSalesVendCustGroup moduleInventPurchSalesVendCustGroup; CustVendItemGroupId custVendItemGroupId; if (_custVendAccount) { if (_moduleInventCustVend == ModuleInventCustVend::Cust) { moduleInventPurchSalesVendCustGroup = ModuleInventPurchSalesVendCustGroup::Cust; } else { moduleInventPurchSalesVendCustGroup = ModuleInventPurchSalesVendCustGroup::Vend; } custVendExternalItem = CustVendExternalItem::find(moduleInventPurchSalesVendCustGroup, this.ItemId, InventDim::inventDimIdBlank(), _custVendAccount); if (!custVendExternalItem) { if (_moduleInventCustVend == ModuleInventCustVend::Cust) { moduleInventPurchSalesVendCustGroup = ModuleInventPurchSalesVendCustGroup::CustGroup; custVendItemGroupId = CustTable::find(_custVendAccount).CustItemGroupId; } else { moduleInventPurchSalesVendCustGroup = ModuleInventPurchSalesVendCustGroup::VendGroup; custVendItemGroupId = VendTable::find(_custVendAccount).VendItemGroupId; } custVendExternalItem = CustVendExternalItem::find(moduleInventPurchSalesVendCustGroup, this.ItemId, InventDim::inventDimIdBlank(), custVendItemGroupId); } } this.ItemId = table.ItemId; this.externalItemId = table.ExternalItemId; }
Image re-sizing in AX 2012 through Batch job
Hi All,
Can anyone please guide me how can I resize an image in AX 2012 using Batch functionality. I have thousands of images and want to resize them through batch.
I used System.Drawing.Image::FromFile(imagePath) method to get the image object but did not find other method to resize it.
NOTE: I have already tried with Image class but this class only works on client side and does not work on server side.
writing SQL statement based on Ax Query 2012
Hello Communtiy,
i want to convert the following x++ statement to sql:
static void UpdateCustTransDescription(Args _args)
{ CustInvoiceLine custInvoiceLine; CustInvoiceTable custInvoiceTable; CustInvoiceJour custinvoiceJour; CustTrans custTrans; ttsBegin; while select forUpdate custTrans where !custTrans.Txt && custTrans.RecId == 5637355326 join custInvoiceJour where custinvoiceJour.InvoiceId == custTrans.Invoice && custinvoiceJour.InvoiceAccount == custTrans.AccountNum && custinvoiceJour.InvoiceDate == custTrans.TransDate && custinvoiceJour.LedgerVoucher == custTrans.Voucher join custInvoiceTable where custInvoiceTable.InvoiceId == custinvoiceJour.InvoiceId join custInvoiceLine where custInvoiceLine.ParentRecId == custInvoiceTable.RecId { custTrans.Txt = custInvoiceLine.Description; custTrans.doUpdate(); }
ttsCommit; }
Might you please advising me how i can achieve this? how i should proceed?
Is there any best practices that i should be aware of in order to improve the performance of this statement?
P.S:
I don't wanna use "generateOnly forceLiterals" as the generated query looks little bit too complicated to execute.
how to create Query in AOT as PIVOT in SQL AX 2012
is it possible ???
Generate Documents JSON...HELP
How can I generate JSON files from Microsfot Dynamics AX 2012 and 2009? ... I want to do or rather the requirement of a company is a Technical Characteristics such file is generated, they no longer want XML files .... Thank you for your attention and your response
How to find out the checked Out objects by the users on a date wise?
Hi All,
I want to know the AX objcets checked out on to day, whats the way to finf it out?
I can get the checked Out objects through source control pending objects but i wanted to know the date on which the object is checked Out.
Can any one please let me know how to achieve the same?
Regards,
Aravind Reddy.
Container insert as table reocrds
I have the following question:
I need to insert 300 records into a table where each record contains two fields:
basically like this:
Field 1 | Field 2 | |
1 | Basti | Leffert |
2 | Sebi | Semmi |
3 | Andi | Leffi |
... | ||
300 | Kara | Nesti |
The 300 records a written in MS Excel. How do I do that?
I could work with containers: I use Excel to insert the records into a container and then in my job in AX
myContainer1=conpoke(myContainer1,1,"Basti","Leffert" ); myTable.Name = conpeek(myContainer1, 1); myTable.Surname = conpeek(myContainer1, 2); myTable.doInsert();
But I was wondering if there is a possibility that the name of my container is changeable, so I can put it in a loop, like an array type, or smth:
for ( myContainer[i] =1; i < 300; i++ ) { myTable.Name = conpeek(myContainer[i], 1); myTable.Surname = conpeek(myContainer[i], 2); myTable.doInsert(); }
I use AX 2009
Fields to be editable
MICROSOFTDYNAMICS_FUNCTIONAL_MODULE_4_COMPUTER_SCIENCE_ENGINEERS
HI GUYS I AM A COMPUTER SCIENCE ENGINEER LOOKING TO BUILD MY CAREER IN MICROSOFT DYNAMICS
BUT I WOULD LIKE TO KNOW THAT WHAT IS THE FUNCTIONAL MODULE FOR COMPUTER SCIENCE ENGINEERS
IN MICROSOFT DYNAMICS
parsing EDT to string
Hello!
Code:
{
TempString += any2str(EDTvriable);
info(EDTvariable + " " + TempString);
}
Is a part of the inside of while select statement and returns value of EDTvariable and empty string.
Is there any way to develop one string built of "chains of EDT's" gathered from the same column?
AIF Errors after adding new fields
Hi - banging my head against the wall on this one. Added some new fields to custTable, ran the update document service function (with Regenerate and update AxBC), refreshed the service, enabled the fields. However on attempting to update one of the new values AIF is throwing an error:
Error executing code: AxCustTable object does not have method 'parmXXX_XXXX'. This is a lie, the method DOES exist in the class. I have tried recompiling every thing, compiling forward from AxInternalBase, nothing seems to solve this..... Anyone run into this before?
Ax 2012 - 6.0.1108.4316
AX slowness
Hello guys,
My users have been complaining a lot about an overall slowness on the system. After investigation, I have found that this slowness mainly occurs when they run reports, and not necessarily heavy ones, or when they use the excel add-in. I think that the problem occurs mainly on features that rely on WCF.
So far, everything in my system is configured according to best practice, and we have configured AOS load balancing. CPU & memory loads rarely exceed 60% on the AOS servers. Our users have the local client installed on their machines but their machines are quite old, the standard configuration being a core i3 2100, with 4GB RAM, but still higher than minimum requirements for AX.
On the dedicated SQL server, memory load is quite high, but from what I've read this is normal as SQL tries to be in a "comfort zone" memory-wise. Network-wise we have a dedicated 300mbps/<1ms latency connection to our clients and intra-server connection is GbE. We never use more than 50% of the client > server bandwidth.
My question is, will network load balancing improve the user experience when using reports ? Follow-up question would be, how tricky would it be to implement it on an already configured system ?
Xml File is not created in Ax2009 AIF Outbound service
Hi,
i tried below job. but sales order xml file is not created. Anyone help me to solve this problem..
static void TestCreateSalesOrderXML(Args _args)
{
Query querySalesTable = new Query();
AifConstraintList aifConstraintList = new AifConstraintList();
AifConstraint aifConstraint = new AifConstraint();
AifActionId actionId;
AifEndpointList endPointList;
QueryBuildDataSource qbdsCust, qbdsSales;
QueryBuildRange qbrCust, qbrSales;
;
qbdsCust = querySalesTable.addDataSource(tablenum(CustTable));
qbrCust= qbdsCust.addRange(fieldnum(CustTable, AccountNum));
qbrCust.value(strfmt('!= %1', queryValue("")));
qbdsSales = qbdsCust.addDataSource(tablenum(CustTable));
qbdsSales.relations(false);
qbdsSales.joinMode(joinMode::InnerJoin);
qbdsSales.addLink(fieldnum(CustTable, AccountNum), fieldnum(SalesTable, CustAccount));
aifConstraint.parmType(AifConstraintType::NoConstraint);
aifConstraintList.addConstraint(aifConstraint);
actionId = AifSendService::getDefaultSendAction(classnum(BBB_WIT_AxdSalesOrderService), AifSendActionType::SendByQuery);
if (actionId)
{
endPointList = AifSendService::getEligibleEndpoints(actionId, aifConstraintList);
if(endpointList.getEndpointCount()>0)
AifSendService::submitFromQuery(actionId,endPointList,querySalesTable,AifSendMode::Async);
}
new AifOutboundProcessingService().run();
new AifGatewaySendService().run();
}
Thanks In Advance.....
Regards,
Saravanaa