Hi Christine, not sure if you ever resolved this, but I have found that if you check the distributions on your expense, sometimes it creates an additional tax distribution that is linked to another company and this is causing the issue, because the user is not employed in that Company.
RE: Expense report posting - Error: Employee 'xxxxxxxxxxxx' is not found
Expense report posting - Error: Employee 'xxxxxxxxxxxx' is not found
Hi, I am currently assisting a client with AX 2012 R3 support. They have several expense reports that are in limbo due to an error when attempting to post. The error message states:
Employee 'xxxxxxxxxxxx' is not found
where xxxxxxxxxxxx is the employee's personnel number in the AX HR module.
This error has occurred for several employees in different companies within the system. Some of these employees have had previous expense reports post without issue. We believe the error has to do with the relationship between the worker record and the vendor record associated to them for out-of-pocket expenses.
If anyone has encountered this error before, can you please provide some areas we should troubleshoot or a possible fix for us to test in a separate environment?
Thanks,
Christine
RE: Inventory dimension Site is mandatory, Intercompany purchase/sales order
This is probably quite late to reply to this question.
However, I am putting my response here, just incase someone faces it in future and comes looking for the answer here. The error message is not very helpful, and probably AX should try to make them clearer.
The error you are getting is probably due to the storage dimensions setup on the customer/ vendor. By default, this is blank, but then AX has made site mandatory. Inorder to resolve this, go to the customer/ vendor card of the respective companies, go to the Sales Order defaults (or Purchase Order defaults) and choose a Site as default from the list.
Next time you create a Purchase order, the corresponding sales order in the sister company will use this default Site value, and hopefully will not throw this error message.
Hope this helps.
Inventory dimension Site is mandatory, Intercompany purchase/sales order
Hi,
We are having trouble with intercompany orders. The problem is we get an error message saying Inventory dimension Site is mandatory, even though we already specified a Site in Intercompany purchase/sales line. Sites are already configured, Any ideas on what may be causing this issue?
RE: MainAccount vs DimensionAttribute
The table DimensionAttributeValue naturally references both MainAccount and DimensionAttribute.
DimensionAttributeValue.DimensionAttribute == DimensionAttribute.RecId
and
DimensionAttributeValue.EntitityInstance == MainAccount.RecId
MainAccount vs DimensionAttribute
How to join MainAccount Table with DimensionAttribute Table in ax 2012?
RE: Dynamics object not initialized
Hi Martin,
Please find attached zip file:
(Please visit the site to view this file)
Dynamics object not initialized
Hi All,
I am following below blog for learning new things in AX: https://community.dynamics.com/ax/b/daxmusings
Today ,I was reading below post on this blog : http://daxmusings.codecrib.com/2014/11/ax2012-extension-framework.html
and tried to do same in my test environment and i am successful in first step (using Sub class and constructors ) but when i tried to do with extension (with attribute class) and run main method it gives me error
" Dynamics object not initialized" even i read Joris told "our static main was already using construct, you can just re-run the main " so i haven't changed main mathod . my main method & construct is looks like :
your suggestion on this would be appreciated.
How to add Freight/shipping charges (Misc. charges) on Project Item Requirements in AX 2012 R3
Hey Folks,
I have come across a scenario where we are using Project Item requirements functionality on fixed price projects and we want to use the Packing slip functionality of the Item requirements to ship items to the customer's location. However, I believe standard AX 2012 R3 does not have the functionality to add shipping charges (Misc. charges) to Item requirements, just like it does not support the functionality on Inventory Transfer orders. Has anyone come across this situation before ?
The Project sales order that is created behind the scenes for all the item requirements on a project also does not allow to add Misc. charges, which obviously is expected, since it is processed through item requirements.
Any thoughts on this will be greatly appreciated. Thank you.
RE: Auto email remittances to suppliers, vendors when payment is processed via Dynamics AX 2012
Hi!
You can develop at the system?
RE: How to add Freight/shipping charges (Misc. charges) on Project Item Requirements in AX 2012 R3
Hi Chaudhury,
I think below code will help u
Classes\\SalesInvoiceJournalCreate\\createMiscCharge
protected void createMiscCharge(SalesId _salesUd,PackingSlipId _packingSlipId)
{
ShipCarrierShippingRequest shippingRequest;
ShipCarrierPackage package;
while select forupdate package
where package.SaledId == _saledId
&&!package.MiscChargeCreated
&&(package.PackingSlipId ==_packingSlipId ||_packingSlipId)
exists join shippingRequest
where shippingRequest.SalesId ==package.SaledId
&&shippingRequest.PackingSlipId ==package.PackingSlipId
&& (this.parmShipmentId() || this.parmShipmentId()==shippingRequest.wmsShipmentId)
{
package.createMiscCharge();
package.MiscChargeCreated=NoYes::Yes;
package.update();
}
}
RE: Auto email remittances to suppliers, vendors when payment is processed via Dynamics AX 2012
If your functionality uses Workflow, you can easily trigger emails when the workflow is approved.
Please look at the following link : https://technet.microsoft.com/en-us/library/gg732160.aspx
If workflow is not used, then you need a bit of customization which will trigger email using following code:
SysEmailTable::sendMail(/* required parameters */)
RE: MainAccount vs DimensionAttribute
Hi Van,
Please Follow his Blog,it will help you better,
RE: What are the Data import/export framework (DIXF) list of topics?
Hi all,
@Rahul : i have gone through the given url from where i find how easily we can import and export data from external source, whether it is from odbc , excel, xml, csv. and these url explain how this process work.
@André : thank you for explaining the scenario, tool, plans of this migration.
@Vilmos : how this connect to external dB , like good example of eCommerce portal to connect with AX .
thank you for this.
akshay
What are the Data import/export framework (DIXF) list of topics?
Hi,
I am learning Data import/export framwork (DIXF) in ax 2012.
and i don't know what are the real time topics which used in company. please help me so that i can dig google for tutorial of those topics.
Thanks in advance.
akshay
Newly created Legal Entity on Ax unable to reflect on Management reporter
Hi Guys,
I'm having a hard time discovering why the newly created legal entity in ax does not shows on Management reporter.
We are using Dynamics AX 2012 R3 Cu9 with Management Reporter v. 2.12.14001.45
Below are the screenshots of my Management reporter.
I want to show the newly created entity "DemoPaul - DMO" on Management reporter we encounter some information about the error.
We already disable and enable the integration, but same result.
Same with re-publishing server connection, restarting both AOS, DB, MR Server.
Can someone help me identify and resolve this issue.
Thank you so much in advance.
Regards,
r0bert
RE: QueryHavingFilter to compare 2 values from datasource
Thank you for your answer.
I thought of the view workaround but the table from the example is actually a view with 4 tables joined. From the first and fourth tables I need to filter only the transactions that fall before a certain date (that comes as a parameter in a report, is not a fixed value). I only need to filter by date, not group by date. If I use the sugested workaround I cannot filter anymore, or I need to put the two date fields in the group by; but then I still need to aggregate the result regardless of the date, so I'm back to the begining.
I'll try a hybrid solution with the view that is already aggregated and the date ranges based on a static function in SysQueryRangeUtil that will somehow have to return the date I need (sugestion from a colleague). Something similar to SysQueryRangeUtil::currentDate().
I hope that will work.
QueryHavingFilter to compare 2 values from datasource
Hello!
Is there any way to have a havingFilter in a query to compare an aggregate to a field included in the group by?
I mean something like:
Select sum(ValueA), ValueB from table_1
group by ValueB
having sum(ValueA) != ValueB
I tried to "convince" the QueryHavingFilter by setting the value to something like strFmt('!= %1', fieldStr(table_1 , ValueB)), but the result is HAVING ((!SUM(ValueA)=0)). This has nothing to do with what I need.
I tried a few different variation, but it either create the wrong "having" or it doesn't create it at all.
Thank you.
AX 7 workflow error
Hi,
When I submit the workflow in AX 7, it just generated an error in the workflow history:
Stopped (error): SysWorkflowQueue-resume X++ Exception: Workflow context table ID reference: 15743 is not valid.
at SysWorkflowEvaluationProvider-evaluateCondition
SysWorkflowEvaluationProvider-evaluate
SysWorkflowQueue-resume
Did anyone experience this before?
Thanks,
RE: data Area changed to DEL
Hi
Imho change the field from SQL