Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all 46681 articles
Browse latest View live

Modify lookup of the inquery in ax 2012

$
0
0



Hello everyone.

I have a problem with a search filter, the requirement that I have is that in the search for the "Article Code" field

filter all items that have the check in "Yes".



The query is opened when a form is executed, so I do not have any FormStringControl to reference in the "Lookup" method.


How can I make this filter? Agradesco if someone can help me.

Thank you very much.


PurchLine TaxGroup and Item Tax Group updating Issue

$
0
0

Hi everyone,

I have a problem initializing a purchLine record whit TaxGroup and ItemTaxGroup fields.

This is the code:

purchLine.initValue(purchTable.PurchaseType);
purchLine.initFromPurchTable(purchTable);
purchLine.initFromInventTable(inventTable);

At the end of the "purchLine.initFromPurchTable(purchTable);" method the value of that fields are:
TaxGroup == "AGRICULT"
ItemTaxGroup == ""

That's right, the system takes the value from the purchTable record for that field(what is taken from the vendor) then in the "purchLine.initFromInventTable(inventTable);" method, (I show you the code of that method below)

public server void initFromInventTable(InventTable _inventTable)
{
container purchLineContainer;
XppILExecutePermission xppILExecutePermission;

xppILExecutePermission = new XppILExecutePermission();
xppILExecutePermission.assert();
if (PurchLine::hasExensionTableEnabled())
{
this.SysExtensionSerializerMap::packAll();
}
purchLineContainer = runTableMethodIL(tableStr(PurchLine),
tableStaticMethodStr(PurchLine, initFromInventTableIL),
[buf2Con(this, true), buf2Con(_inventTable, true)]);
CodeAccessPermission::revertAssert();

this.con2buf(purchLineContainer);
if (PurchLine::hasExensionTableEnabled())
{
this.SysExtensionSerializerMap::unpackAll();
}

}

When the systems call con2buf(purchLineContainer) method, the values of TaxGroup and ItemTaxGroup fields change, setting:
TaxGroup == "NAC-COMP"
ItemTaxGroup == "SUPERREDUC", 

I dont know why the value of TaxGroup Field changes, the value of the ItemTaxGroup is correct, that value is what is set in the inventTable for the Item what I using... But the other one?

In other companies it works fine, but not in that one... I have checked the TaxGroup and ItemTaxGroup configurations and are the same for both companies...

Can someone help me or, at least, give me some idea that may be happening?

thank you very much!!
Ander

Could not find a login matching the name provided

$
0
0

Hi All,

We are getting below log in our events log the message is "Login failed for user 'Domain\User'. Reason:Could not find a login matching the name provided. [Client:IP address]"

The interesting thing is that this is not a user account. This is a computer/server name which is having AOS role.

Can anybody guide me how can i find root cause of this log?

How to track emails not sent when configured using print management setup

$
0
0

Hi,

In D365 I have created the print management settings to send the project quote confirmation by email to my customer. In a case where the email id was not entered correctly, the email does not get sent. Currently i am not finding this failed/error record in any specific place.

Is there an inquiry/report in AX which will show me the list of all project quote emails that have not been sent, basically error records? 

I am not running the email in a batch, but instead while confirming the quote, i am marking the print mangement checkbox to send out the email. Thanks.

Not able to change the Property Dynamic in a View

$
0
0

Hi community,

I am not able to change the property Dynamic in the View -> Fields -> Properties Dynamic.

I would like to change it from Yes to No.

Also I am not able to delete some unneeded fields friom the view.

Can anyone tell me why is that?

Source Control for AX 2009

$
0
0

Hi Friends,

We currently use MorphX built in version control, we want to migrate to TFS, where I can find good documentation, of course, we like to migrate version history to TFS, not just add latest to TFS.

Many thanks,

Incorrect calculation of total amount and percentage in credit note with customer retention

$
0
0

Hello Community,

I have tried to generate a credit note for a project invoice with customer retention, but Dynamics AX calculates incorrectly the retention percentage and retention amount of this credit note. Following there are some images of the invoice and the credit note

Invoice proposal - credit note

Invoice proposal - Invoice

Form refresh Query run issue in AX2012 R3

$
0
0

Hi Team,

I have requirement to develop the total count of inventory available based on location while selecting the location based on Filter using (Ctrl+G). As per requirement i have written a logic for that.

Above logic is working fine.

Now the issue with Onhand form, we have a dimension display form to select the location. After selection the location and accepting the changes i am getting an error from in the above screenshot highlighted line . I am attaching the screen shot of the error below. 

I hope the form is trying to refresh the form that time query run is missing.

Any help to fix this error.

Thanks in advance.


call own class directly after custinvoiceJour and their general ledger transactions

$
0
0

Hi all,

Could you help me with following question?

Dynamic 365 Finance and Operation. Upd10.

How can I call my class directly after custinvoiceJour and their general ledger transactions (generalJournalEntry,generalJournalAccountEntry,subledgerVoucherGeneralJournalEntry) have been created(during sales order posting).

OnInsertedEvent in CustInvoiceJour EventHandler Method is not suitable. There are no data in generalJournalEntry at this moment with SubledgerVoucher equal to current CustInvoice.LedgerVoucher.

Adding access to transfer journal

$
0
0

Hi,

I wanted to add access to create lines in Transfer journal on Inventory Management for a certain user profile. What role should I add to the profile to enable this?

  

Master Planning - Transfer Orders

$
0
0

We are using master planning for our transfer orders. The issue we are experiencing is that for the quantitty suggested for tranfers considers items that are on purchase orders but we have not yet received. We would like to know if there is a configuration that we can change so that the transfer order only considers physically available inventory?

Performance on using Linq Query in C#

$
0
0

I've read the article about the LINQ provider for C#

it seems to me it will take 3 times more to fetch the result when using c# comparing to x++?

Please see the paragraph from the article. If anyone can clarify that would be helpful.

Performance penalty with LINQ

There is an overhead penalty paid at run time, when analysis of the tree occurs, and a suitable access language is generated. As we might expect, the performance penalty is incurred when analyzing the LINQ expression tree. The time required at run time to actually fetch the data doesn't vary much between C# and LINQ versus X++ with while select. Our preliminary numbers show that the beginning-to-end performance of the query is about three times longer with C# LINQ, compared to X++ while select, when very few records are fetched. But when many records are fetched, the total times are about the same between C# and X++. The conclusion is that it takes much longer to fetch a lot of records than it takes to analyze the language tree.

AX2009 PrintJobSettings - Only shows default printer

$
0
0

Hi all, I have a piece of code in AX2009, that creates a new PrintJobSettings object, then displays the printer screen. The problem is that it only shows the default printer for the user. The user has other printers, but the printer selection dropdown list is grayed out. Is there any way to enable the dropdown list?

If I press the Printer button on a report (Invoice report for example), I can see and choose from multiple printers, but not when using the PrintJobSettings object.

Thanks for your help.

Typhoon

Master Planning Calculation Question

$
0
0

Trying to figure out how the planned order quantity was calculated. Here are the details:

  1. 90 day forecast of sales - 84 items
  2. Coverage  - 90 day time fence
  3. On hand today - 35
  4. Coverage code of min/max; Minimum of 37, maximum of 46
  5. We have a min/max key of 1.41 for each month. (Don't ask why we don't just raise the max)

If there are any more details needed, let me know. It has calculated an order of 30 items, but I don't see how it came up with that number.  My thought is that the number should be much higher than 30. Any kind of help on this would be greatly appreciated.

order of columns in odata

$
0
0

Hi All,

I am looking for property or place holder ( class or data entity methods/events) to re-order columns  of odata output.

e.g  HcmEmployeeEntity ( field list)

However, fields order in odata output as 

Tired to find property of data entity to reassign orders of columns however could not find any such.

Thanks

Neetu


Web service returning different results

$
0
0

Hi All,

I've created a  document service in AX2009 and was successfully consume it via .Net application. My problem is during my testing it returns a different results.

On the .Net application it returns false but when i ran the method in AX via jobs and pass the parameters the results is true.

Is there someone encountered this kind of error. What fixed have you done?

Thanks,

Neil

AX2XML

$
0
0

Hello,

how to use ax2xml ? I created class for xml report but it doesn't generate XML file.

Thanks for the response.

relation between EcoResProduct and EcoResAttributeType.........??

$
0
0

how to find attribute types(from EcoResProduct) for each product number(EcoResProduct)?
We are stuck from last 2 hours ....please help

regards
rajesh

AX 2009 - Error when run inventory recalculation - The unit of xxx being posted to account is outside the current penny rounding threshold.

$
0
0

Dear all,

Does anyone could help me with this error?

When we run the inventory recalculation of the item. This error appear :"The unit of 0.6 being posted to account is outside the current penny rounding threshold."

I already checked, the rounding for this currency is 1. Maximum penny difference is 45.

Please advice,

Thank in advance,

Best regards,

Thu Ngo

Sharing the Item across legal entities

$
0
0

Hi friends,

                I need to share the Item for two different legal entities , how can i do it? suggest me an solution.

Thanks & regards,

padmapriya

Viewing all 46681 articles
Browse latest View live