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

Price Group on Sales Quotation Not Working

$
0
0

Hi All,

I would like to share an issue that I am currently facing with price groups in AX 2012 R3. Although price groups are working perfectly on sales orders, I have noticed that they are not functioning as intended on sales quotations.

Specifically, when we add all the items to the quotation and then remove the price group before re-entering it, the prices are calculated correctly. However, when we add another item, the system prompts us to recalculate all prices. If we select 'Yes', then all prices are removed. On the other hand, if we select 'No', the prices are not removed, but the newly added item's price is not according to the trade agreement.

I would appreciate it if anyone could advise me on how to fix this issue.

Regards.


Accounts Receivable Form setup message "Field 'Financial dimension' must be filled in."

$
0
0

Hi. We've set up a new company in our AX2012 R3 application.  We are using just in financial dimension for this company and it has been setup successfully in as much as master data forms show just the one FD and the valid data is correct.  When we log into the menu item "Form setup" we immediately get the message Field 'Financial dimension' must be filled in.   We're more than happy to fill it in but we have no idea where it wants this field filled in.   Has anyone come across this type of event?  Cheers. James.

How to prevent export to Excel in ax 2012 CustTableListPage?

$
0
0

How to prevent export to Excel in ax 2012 CustTableListPage?

I did it through the task method but not in list page form.

Is there any way to achieve it ? 

Issue with Dynamics AX Expense Booking App

$
0
0

Hi there,

In our AX 2012 R3 CU13 environment, "Dynamics AX" Expense booking App, giving issue. We are using this APP for about last 3+ years.

However, now we are getting this error.

Unhandled Exception calling Microsoft.Dynamics.Framework.RapidStart.Connector.Modules.AXMobile.ExpenseRestService.GetUnreconciledCategories. User: (Unknown user).

System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).

Not sure, what is causing this? Any help, much appriciated. 

Thank you,

Loganathan S

some error below screenshot

$
0
0

hello Guys,

I encountered an error like the one in the screenshot today. Could anyone please help me resolve it? Thank you.

Deleted statement with posted transactions

$
0
0

Hi everyone.

In AX 2012R3, we have a retail statement that been deleted, but all the transactions are marked posted for some reason.

the transactions don't have a sales order linked to.

if anyone faced such an issue or have an idea how to fix this please do share it.

thanks in advance

Confirm button is diabled in purchase order

$
0
0

when I edited the confirmation order then I can't click confirm button in the PO form. Its disabled.

Sales TAX is calculating after reducing Retention. I want to apply sales tax on gross amount before retention.

$
0
0

Dear Experts,

I have created an invoice proposal for $10000 with a retention of $500, now i expect the system to generate a sales tax of 10% on $10000, but the system has calculated tax on $9500. Is there any configuration for this? 


How to use TempDB as Data Source

$
0
0

Dear All,

I hope I am asking the question in the right Forum. 

I have 2 TempDB tables 

CBLTblSchedDataSaleTmp    CBLTblSchedDataSale;
CBLTblSchedDataTemp       _CBLTblSchedDataTemp;

I have inserted some data in _CBLTblSchedDataTemp and I want to use the data, apply some query and write data to another TempDB,  CBLTblSchedDataSale. Extract from my code is as follows

[SrsReportDataSetAttribute(tableStr(CBLTblSchedDataSaleTmp))]
public CBLTblSchedDataSaleTmp Get_CBLTblSchedDataSaleTmp()
{
select CBLTblSchedDataSale;
return CBLTblSchedDataSale;
}

[SrsReportDataSetAttribute(tableStr(CBLTblSchedDataTemp))]
public CBLTblSchedDataTemp Get_CBLTblSchedDataTemp()
{
select _CBLTblSchedDataTemp;
return _CBLTblSchedDataTemp;
}

public void processReport()
{
_Contract=this.parmDataContract() as CBLClsSchedDataContract;
_PRODID=_Contract.prodID();

while
select sum(QtyOrdered), SLD_SALESORDER
from _CBLTblSchedDataTemp
group by SLD_SALESORDER

join _InventDim
where _salesLine.InventDimId==_InventDim.inventDimId

join SizeId, DropId
from _SizeChart
group by SizeId,DropID
where _SizeChart.InventSizeId==_InventDim.InventSizeId

join _ItemData
where _ItemData.ItemId==_salesLine.ItemId
&& _SizeChart.SizeChartId==_ItemData.SizeChartId
{
CBLTblSchedDataSale.SLD_SALESORDER=_CBLTblSchedDataTemp.SLD_SALESORDER;
CBLTblSchedDataSale.QtyOrdered=_CBLTblSchedDataTemp.QtyOrdered;
CBLTblSchedDataSale.SizeID=_CBLTblSchedDataTemp.SizeID;
CBLTblSchedDataSale.DropID=_CBLTblSchedDataTemp.DropID;
CBLTblSchedDataSale.insert();
}

}

The highlighted part is skipped after reading the While Select statement. Help Required

Understanding Batch Transaction Scope

$
0
0

Hello, 

I have a question about batch parallelism and transaction scope.  Is it possible to commit the changes made in a batch job with multiple asynchronous tasks only if there are no errors in any of the tasks and roll all changes back by the batch job run if any of the tasks contained an error? 

For context, my company has a weekly batch job that performs posting of approx.400 project hours journals sequentially.  This process is taking a long time and so I've created a proof of concept using the top picking technique described here: 

https://learn.microsoft.com/en-us/archive/blogs/axperf/batch-parallelism-in-ax-part-iii

This is working great, I've cut the processing time significantly but my company has a requirement that if any error occurs on any of the journals, they would like all of the postings that occurred during the batch to roll back.  This was easy when it was one big sequential process.  Now that I've implemented this with multiple batch tasks, each journal is posting and committing individually and if there is an error, only that one journal fails to post and the rest are left posted.  

I wasn't sure if there is a change to the way I am creating the batch tasks that would indicate to fail and roll back the entire batch job?  

BOMCalcTrans: Need help to decipher X++ code

$
0
0

Hello everyone,

I am new at X++ and I am trying to decipher the code below.  If someone could explain what the code below is doing.  I would appreciate it.

/// <summary>
/// Builds the query to use to load the estimated cost.
/// </summary>
/// <returns>
/// The query to use for loading estimated cost.
/// </returns>
protected Query buildEstimateQuery()
{
Query query;
QueryBuildRange qbrLevel;
QueryBuildRange qbrOrCondition;

query = new Query(queryStr(BOMCalcSum));
SysQuery::findOrCreateRange(query.dataSourceTable(tableNum(BOMCalcTrans)), fieldNum(BOMCalcTrans, PriceCalcId)).value(queryValue(inventItemPrice.PriceCalcId));

// Loop through the records using the lineNum
query.dataSourceTable(tableNum(BOMCalcTrans)).addSortField(fieldNum(BOMCalcTrans, LineNum));
query.dataSourceTable(tableNum(BOMCalcTrans)).orderMode(OrderMode::OrderBy);

if (! isCostBreakdownActivated)
{
qbrLevel = SysQuery::findOrCreateRange(query.dataSourceTable(tableNum(BOMCalcTrans)), fieldNum(BOMCalcTrans, Level));
qbrLevel.value(queryValue(1));
}
else
{
qbrOrCondition = SysQuery::findOrCreateRange(query.dataSourceTable(tableNum(BOMCalcTrans)), fieldNum(BOMCalcTrans, Resource));

// Add an or Condition:
// Everything that is level single or not bom
qbrOrCondition.value(strFmt('((%1.%2 == %3) || (%1.%4 == %5))',
query.dataSourceTable(tableNum(BOMCalcTrans)).name(), // BOMCalcTrans %1
fieldStr(BOMCalcTrans, Level), // Level %2
any2int(InventCostLevel::Single), // 1 (= Level Single) %3
fieldStr(BOMCalcTrans, bom), // BOM %4
any2int(NoYes::No))); // No %5
qbrOrCondition.status(RangeStatus::Hidden);
}

return query;
}

All Calculate item cost

$
0
0

Dear All,

Could you pls help me how to show detail all calculate item cost standard in AX 2012R3 version. 

Currently, i only know how to show details of each item from the path item cost/ complete/ details of multilevel standard cost.  From there, i can see detail of alll level BOM, cost of each materials to complete finished product. But, it takes more time to view one by one. So, could you pls help me how to show all details of all finished goods. 

Thanks,

Giang

file upload error while uploading excel file in attachments in d365 F&O sandbox

$
0
0

While trying to upload excel file in attachments in d365 F&O sandbox it was showing the Error "failed to upload. Please try to upload the document again".

I can upload other types of documents like pdf, txt etc. Facing the issue only with excel files.

Windows Authentication on AADJ device

$
0
0

Any user on a AADJ device cannot authenticate to the AOS server.
All other applications and resources authenticate properly on AADJ devices.
Any user on a HAADJ device authenticates properly.

The problem seems to lie in the authentication flow itself, not the device or user.

It might be ties to how AX handles authentication using SID, users on AADJ devices get a sid starting with "S-1-12-1" instead of the AD sid "S-1-5-21".
Changing the SID in the UserInfo table has no effect.
The Enterprise Portal is not an option in our usecase as some modules are not designed for it.

The AX2012 client "supports" windows authentication but seems to handle it in a different way compared to other applications.
Have you heard of this problem and do you know of any workarounds for this problem (other than VDI or RDGateways).

I need to Increase Batch Size of the Production Order

$
0
0

Its is Possible after Production Order has been Completed can we Increase his batch size like if Production has been completed with the Quantity of  1 Lac can we increase its batch size after Production has been completed 


Bal Sheet roll-forward for AP is wrong

$
0
0

Good day

The ending balance in Accounts Payable for 2022 is not the same as the beginning balance at January 2023, The Vendor reconciliation shows no variance.  I even ran data for future dates and the variance remains. What would cause this?

D365FO Excel Add-in, We have custom Entity which is used to get the date on Excel. In the filter, filter value is not populating.

$
0
0

Hi All,

Filter values for JournalBatchNumber is not getting populated when the excel is loaded and due to this the filter is not working. Users need to put this value manually to see the excel work properly.

Note: We are using custom template.

Please help me in getting this fixed. What is the solution to fix this issue.

Regards

Siddhant Singh

Production order update serial

$
0
0

Hi Experts,

I have production order when I checked the inventory transaction it has same serial number, how can I change or update it? Path is Production control > production orders > select order > inventory> Transactions. 

Strange behavior from inMemory tables when grouping

$
0
0

Hi everyone

I just learnt about some strange behaviour from AX that occurs when you group on inMemory tables.

If I say

MyTable t;

select ColA from t group by ColA;
print ColB;

then naturally, ColB is null if MyTable is a regular or tempDB table because it isn't part of the field list, nor is it being grouped on which means it's truncated, but strangely, ColB has a value if MyTable is inMemory.
I know these table types are stored differently between the AOS and SQL depending on what type they are, but is this behaviour a bug or a feature?
If it's a feature, what are the rules for what value ColB gets and is there any documentation for it? Does ColB just get the first value for each group of ColA?

Any thoughts appreciated. Tx

Assign sales representative to Customer

$
0
0

Hello everyone,

I would appreciate your advice on how to attach a customer to a sales representative in Dynamics AX.

So that the sales commission can be calculated based on the sales made to that customer. Can you please suggest how we can implement this in Dynamics AX?

Thank you.

Viewing all 175888 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>