Hi all,
I want to create AIF Sales Order within dynamics with the help of a x++ job. Is it possible, if yes, can you please show me an example because I have been searching for it everywhere but could not find any reference.
Hi all,
I want to create AIF Sales Order within dynamics with the help of a x++ job. Is it possible, if yes, can you please show me an example because I have been searching for it everywhere but could not find any reference.
I just wanna prevent the updation of record on the basis of a specific condition without showing any error or warning to user.
Let me explain with an example:
while importing entity we have multiple records which we wanna update. Let's on the second record my condition meets, system should ignore the updation of this record and just skip to next record.
Same like in the loops we use continue keyword to skip the iteration.
I tried this method but it is not working, actually debugger is not hitting in this method.
Hi All,
I am facing issue in report print in Ax 2012 R3 in which labels are not loading after upgrading & re configuring the reporting services from 2012 to 2017.
We have tired every approach like checking the password for services account,re importing label files,Renaming the Xppil folder,full cil,refreshing the caches,complete sync, re indexing and copy pasting the labels directly in bin folder.
Still issue is not resolved.
PFB screen shot of a report.
Please help us to resolve the issue.
Regards,
Swetha.
This item was received and consumed (6/15/2022), but on 6/24/2022 the receipt of the item in the purchase order was canceled and it was received again.
Why does it appear as available in the store and not here?
Dear All ,
how to use the equation below to apply only debit account to display in row also display credit balance in another row i try the equation below but without any data
for example
i have account for cash advance + worker , how i can display if there closing balance for that account in debit display in debitors or if credit display in creditors is that possible to achieve
I am unable to debug c# code due to missing symbols. The reason is because of a missing PDB file. Here is what I do:
Ideally, the client startup process that is deploying the hotswapped DLL to my VSAssembly folder should also deploy the matching PDB. Instead, I need to close the ax client again, and add the Matching DLL and PDB file from my projects BIN folder to the VS Assembly folder and then and only then can I debug in Visual Studio.
Am I missing a parameter somewhere? Configs are all set to debug on client, debug on server. Debug target in VS project was both Client and Server with no success. Any help would be appreciated. At this point its just a major annoyance
AX 2012 R3 CU13
Hi, Needing help please.
is there a way of changing the employee responsible by copy and paste when in the "edit grid" i use to be able to do this but now i have to go through every customer individually and select the new employee responsible instead of cutting and pasting.
Does any one know how to to go back to the copy and pate?
Dear All,
In Purchase order form, business requirement demands to show records with mixed level of access as below, based on their departments
1) Admin Department users have CRUD access to all PO's
2) Non Admin Department users have
a) CRUD access to PO's created by themselves
b) View access for PO's created by other users
c) No access for PO's created by Admin department users
Illustration | |
Purchase Orders | Created by |
PO's 1-10 | Louis |
PO's 11-20 | George |
PO's 21-30 | Philips |
Scenario | |||
Logged User | CRUD access | View Access | No Access |
Louis (Department = Admin) | PO's 1-30 | ||
George (Department = Accounts) | PO's 11-20 | PO's 21-30 | PO's 1-10 |
Philips (Department = Purchase) | PO's 21-30 | PO's 11-20 | PO's 1-10 |
Kindly suggest a solution for the above Business requirement.
Hi all,
I have2 datasources
i want to exclude all fields from datasource 2 (EcoResProduct)
just showing ItemId field in a first datasource (InventTable)
this my code
query1 = new query(); qbds = query1.addDatasource(tableNum(InventTable)); qbds.addSelectionField(fieldNum(InventTable,ItemId)); qbds1 = qbds.addDataSource(tableNum(EcoResProduct)); qbds1.relations(true); qbds1.joinMode(JoinMode::InnerJoin);
Hi ,
I want to run picking list registration process with code with given pick quantity which might be less than or equal to order quantity.I have seen many blogs about packing list registration but most of the blogs relate to ax2012 and classes used in those solution doesn't exist in d365.Can any one give me solution in D365 .
Regards,
Abdul Manan
Hi all,
I have2 datasources
i want to exclude all fields from datasource 2 (EcoResProduct)
just showing ItemId field in a first datasource (InventTable)
this my code
query1 = new query(); qbds = query1.addDatasource(tableNum(InventTable)); qbds.addSelectionField(fieldNum(InventTable,ItemId)); qbds1 = qbds.addDataSource(tableNum(EcoResProduct)); qbds1.relations(true); qbds1.joinMode(JoinMode::InnerJoin);
I have created Line Level workflow on SalesTable form ,
used SalesOrder as module in Workflow Category , SalesTableDetails as Document menu item and dropped the status enum in SalesLine Table
I have even configured and activated the workflow still workflow button is not showing on form
Hi all,
I have2 datasources
i want to exclude all fields from datasource 2 (EcoResProduct)
just showing ItemId field in a first datasource (InventTable)
this my code
query1 = new query(); qbds = query1.addDatasource(tableNum(InventTable)); qbds.addSelectionField(fieldNum(InventTable,ItemId)); qbds1 = qbds.addDataSource(tableNum(EcoResProduct)); qbds1.relations(true); qbds1.joinMode(JoinMode::InnerJoin);
Hi,
We heard in the market that apparently Microsoft will extend Ax 2012 R3 security hotfixes after 10th of January 2023. Anybody heard more info on that or knows where we can verify if this is true?
Thanks!
Hi all,
I did all setups for receipt format for POS and I run jobs, but still receipt format is not updating on POS
Thanks
At the time of Report as finished, I receive and error message: "Item number has not been completely released"
Hi guys,
faced weird issue in AX 2012.
I have a customization on posting advance invoice.
Once invoice has been posted successfully following method is run from customization (some debug info lines are added for tracing purposes):
void printJournal() { Args args = new Args(); ReportRun reportRun; ; if (xSession::isCLRSession()) { info('Running in a CLR session.'); } else { info('Running in an interpreter session.'); if (isRunningOnServer()) { info('Running on the AOS.'); } else { info('Running on the Client.'); } } args.record(custInvoiceJourPrint); args.caller(this); new MenuFunction(menuitemOutputStr(FreeTextInvoiceOriginal), MenuItemType::Output).run(args); }
This code is being called from class running on Server SalesInvoiceJournalPost (it is set in standard as runOn = Server).
When logic is run in p-code interpreter session code works well. Report is rendered on the screen and sale invoice itself posted correctly (report is not a SSRS report but old MorphX report).
But if "Execution in CIL" option is enabled, sales invoice is not posted and following line throw exception:
new MenuFunction(menuitemOutputStr(FreeTextInvoiceOriginal), MenuItemType::Output).run(args);
Exception is caught by block in FormLetterService class:
catch { // exceptionTextFallThrough(); code = WinAPIServer::getLastError(); info(strFmt("error code - %1, ", code)); }
It says that Error code is = 0;
Full CIL has been generated successfully, AOS restsrted and I deleted all old caches as well but no luck.
I tried to debug it in VS, all symbols have been loaded and code is the same as in p-code version but result is the same. No information about sort or CLR error.
I enabled all exceptions in VS and caught following:
Additional information:
Das Socket wurde abgebrochen, da ein asynchroner Empfangsvorgang vom Socket nicht innerhalb des zugewiesenen Zeitlimits von 00:02:00
In English: The socket was abortedbecause an asynchronous receive operation from the socket failed within the allotted timeout.
Any ideas would be much appreciated. Many thanks!
Hello All,
I'm new to Electronic reporting and working on creating new ER config to import the ".txt" file for format DDA for Brazil localizations. The structure of the file will be as follows
I created a Format config and data model config and also done mapping between format and data model. When I am trying to test the mapping by clicking the run button and providing the input file, facing the error as "Evaluating expression for path 'Format/Statements/Statement'.Not all data was read from file."
can you please guide on this issue what is going wrong
Hi guys,
faced weird issue in AX 2012.
I have a customization on posting advance invoice.
Once invoice has been posted successfully following method is run from customization (some debug info lines are added for tracing purposes):
void printJournal() { Args args = new Args(); ReportRun reportRun; ; if (xSession::isCLRSession()) { info('Running in a CLR session.'); } else { info('Running in an interpreter session.'); if (isRunningOnServer()) { info('Running on the AOS.'); } else { info('Running on the Client.'); } } args.record(custInvoiceJourPrint); args.caller(this); new MenuFunction(menuitemOutputStr(FreeTextInvoiceOriginal), MenuItemType::Output).run(args); }
This code is being called from class running on Server SalesInvoiceJournalPost (it is set in standard as runOn = Server).
When logic is run in p-code interpreter session code works well. Report is rendered on the screen and sale invoice itself posted correctly (report is not a SSRS report but old MorphX report).
But if "Execution in CIL" option is enabled, sales invoice is not posted and following line throw exception:
new MenuFunction(menuitemOutputStr(FreeTextInvoiceOriginal), MenuItemType::Output).run(args);
Exception is caught by block in FormLetterService class:
catch { // exceptionTextFallThrough(); code = WinAPIServer::getLastError(); info(strFmt("error code - %1, ", code)); }
It says that Error code is = 0;
Full CIL has been generated successfully, AOS restsrted and I deleted all old caches as well but no luck.
I tried to debug it in VS, all symbols have been loaded and code is the same as in p-code version but result is the same. No information about sort or CLR error.
I enabled all exceptions in VS and caught following:
Additional information:
Das Socket wurde abgebrochen, da ein asynchroner Empfangsvorgang vom Socket nicht innerhalb des zugewiesenen Zeitlimits von 00:02:00
In English: The socket was abortedbecause an asynchronous receive operation from the socket failed within the allotted timeout.
Any ideas would be much appreciated. Many thanks!
Hi everyone,
My client is using Microsoft Dynamics 365 Finance and operations latest version.
I am facing an issue which is mentioned:
We have run the inventory recalculation and closing till 25 June 2022 and after that when the retail statement was posted on 27 June 2022, it give an abnormal negative cost, below are the details:
Before posting of retail statement, inventory of item was around 59500 qty having financial cost amount of around 365000.
After posting of retail statement, inventory of item was around 59000 qty having financial cost amount of aroiund -3,195,406,604.10.
The reason of running inventory closing at 25 June 2022 was because client wants to change the costing method from FIFO to Weighted Average and for that purpose, we performed the recalculations and inventory closing till 25 June 2022 and the changed the costing method.
P.S. I replicate the Live environment to test and performed the same activity of costing method change and processed manual sales order but there is no issue in that but when retail statement is posted then system posts an abnormal negative financial cost amount.
Has anyone faced this?
Urgent help regarding the root cause and solution for this would be highly appreciated.