Hi Experts,
Is it good practise to add fields in InventSum and InventDim tables in d365fo. For inserting and updating the records?
Please suggest me a solution for this.
Thanks in advance.
with regards,
srihari.
Hi Experts,
Is it good practise to add fields in InventSum and InventDim tables in d365fo. For inserting and updating the records?
Please suggest me a solution for this.
Thanks in advance.
with regards,
srihari.
Hi,
I have done an invoice against a PO
When i checked the inventory transaction for the lot , there is no value found for the financial voucher..
what could be the reason
Hi Everyone,
I want to know the generation of FULL CIL in production which has multiple servers for load balancing.I am able to generate it one by one which has taken more than 5 hours.
Is there any chance of generating it at time in all servers?
Can anyone please suggest me the best way to perform FULL CIL in production servers which takes less time.
Regards,
Swetha.
Hi Experts,
Our company required percentage discount like 5%, 10% and 15% on sales order. Discounts access should only with General Manager(GM).
I know this is not available in standard version. I am thinking to use discount percentage but this is line wise not on whole sales order and also I do not know how GM will get notify that someone wants discount.
Please give me some idea..
Thanks,
Hi Everyone!
I have BP warning and don't know how to resolve it.
In some way BP doesn't see EDT in a data entity (based on a view), and fires the warning
Warning BP Rule: [DataEntityPublicFieldEdtMatchOnStagingTableCheck]:Path: [dynamics://DataEntityView/InventoryHeader]:DataEntityPublicFieldEdtMatchOnStagingTableCheck: The data entity 'InventoryHeader' has public field 'InventoryMessageNumber' with EDT '', but corresponding field in the staging table 'InventoryHeaderStaging' has EDT 'Integer'. Task_0000_OutboundData (CUS) [] K:\AosService\PackagesLocalDirectory\\\AxDataEntityView\InventoryHeader.xml 0
but how can you see the data entity has the same Integer EDT.

Could you know how wat' wrong?
thanks
Hi Experts,
From last 2 weeks we are facing an issue after increasing DB server space. All the user has lost their Personalization for example one user from finance dept add some parameters to GL, AP and AR reports that has been lost if he select that parameters again so it is temporary. If he reopen that reports the parameters go back and again he put that parameters which is difficult how to add the parameters or make that parameters permanently so that he could not add parameters again and again.
Best Regards,
Shabir Ahmad
Dear Dynamics community,
I could dearly use your help in assessing exactly what I've been doing wrong when populating this custom dropdown box, from what element to choose in the Form creation IDE to properly formulating the query string in the datasource filter. All I'm attempting to do is populate a list of potential vendor locations the user can choose from (based upon preceding information, of course) that then displays those selections to the user.
Perhaps it is easiest to show the simple query I'd construct using normal SQL (which gives me the exact values I'd like shown to the user):
I'm passing (and have verified) the information for Party and LocationRole to the form via a helper class, and am doing the below query on the init of the datasource on the form:
[DataSource]
class LogisticsLocation
{
public void init()
{
super();
var locationRole = LogisticsLocationRole::findByName(_manager.getMode());
var party = VendTable::find(_manager.getVendor()).Party;
Query query = this.query();
QueryBuildDataSource locationQbds;
locationQbds = query.dataSourceTable(tableNum(LogisticsLocation));
QueryBuildDataSource locationRoleViewQbds = locationQbds.addDataSource(tableNum(DirPartyLocationPrimaryAndRolesView));
locationRoleViewQbds.relations(false);
locationRoleViewQbds.addLink(fieldNum(LogisticsLocation, RecId), fieldNum(DirPartyLocationPrimaryAndRolesView, Location));
locationRoleViewQbds.addRange(fieldNum(DirPartyLocationPrimaryAndRolesView, Party)).value(int2Str(party));
locationRoleViewQbds.addRange(fieldNum(DirPartyLocationPrimaryAndRolesView, LocationRole)).value(int2Str(locationRole.RecId));
this.executeQuery();
var sqlQuery = query.toString();
}
}And perhaps most frustrating, I'm not even sure if I have this form set up correctly as to ensure the control would actually populate with the data from the datasource. The 'reference field' available in the properties dropdown doesn't even allow me to select the LocationId or Description, both of which I would prefer to have displayed (as the only field options are arbitrary for the user, see above SQL screenshot).

I've tried a myriad of different combinations, properties, etc. and just not having luck configuring the form properly. Your help, as always, is appreciated.
Hello everybody, I'm developing an application that (among other features) needs to be able to create/insert data in Microsoft Dynamics AX 2012 through the use of the Services and Application Integration Framework (AIF).
I'm trying to develop a service to create a custom License Plate for a product on AX on the Production module. Much like the WMS web Production module does.
I am also trying to figure out how to add a License Plate for a product in the shipment process. Again, this would emulate the process in the WMS web Outbound.
I haven't succeeded in making these webservices work, so I'd greatly appreciate any guidance that you can provide. Thanks in advance!
Hello everyone my name is Taniguchi and i wanto to make a integration to Dynamics finance and operations. I created a web app in azure and gave permission to ERP and i can get the authentication token but when i try to retrieve records i cant and show the erro "bad request"
my code:
string clientId = "clientId";
string clientSecret = "_clientSecret";
string authority = "">login.microsoftonline.com/tenantID";
string resourceUrl = "">trial-ub2dbh.sandbox.operations.dynamics.com/"; // Org URL
try
{
ClientCredential credentials = new ClientCredential(clientId, clientSecret);
var authContext = new Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext(authority);
var result = await authContext.AcquireTokenAsync(resourceUrl, credentials);
//AuthenticationContext authContext = new AuthenticationContext("">login.windows.net/common", false);
HttpClient httpClient = null;
httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Add("OData-MaxVersion", "4.0");
httpClient.DefaultRequestHeaders.Add("OData-Version", "4.0");
httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", result.AccessToken);
httpClient.BaseAddress = new Uri("">trial-ub2dbh.sandbox.operations.dynamics.com/.../");
var response_Contacts = httpClient.GetAsync("LegalEntityContacts").Result;
var retrievedContact = JObject.Parse(response_Contacts.Content.ReadAsStringAsync().Result);
return retrievedContact.ToString();
}
catch(Exception ex)
{
return ex.ToString();
}
what am i doing wrong ?
How to get running value when the field is of expression in the SSRS report?
I have an issue where whenever the user changes the business unit financial dimension on a purchase order line, I have to pickup the address in that business unit and set it in the purchase line address.
The code to actually change the address is fine, however, the only way I found to pick up the "onModified" event for the dimension control was by doing this:
public static void onModifyingDimensionValue(EventHandlerResult _eventHandlerResult, DimensionAttribute _dimensionAttribute, DimensionValue _origValue, DimensionValue _newValue)
{
//Get current record from static context
_eventHandlerResult.booleanResult(true);
}
[FormEventHandler(formStr(PurchCreateOrder), FormEventType::Initialized)]
public static void PurchTable_OnInitialized(xFormRun sender, FormEventArgs e)
{
//Pass form information to static context
DimensionEntryControl c = sender.design().controlName(formControlStr(PurchLine, DimensionEntryControlLine)) as DimensionEntryControl;
c.onModifyingDimensionValue += eventhandler(PurchCreateOrder_MyModel_Extension::onModifyingDimensionValue);
}However, since the onModifyingDimensionValue method is static, I have no reference to the instance of the form or its form controls.
I have tried making the method non-static without luck and also tried to implement a IDisposable context class, also with zero luck.
Does anyone know how can I achieve this?
Thank you.
We have some users saying that they are getting an error when re-printing labels from AX 2009.
I have checked this but it doesn't seem to be happening with everyone and I'm unable to understand this error. Can anyone please help me what this error means and how can I stop it.

The past base forecast changed when I chose different start dates to generate the base forecast.
For example, when I choose 1/11/2015 and 1/11/2019 as start dates to generate base forecast, the forecasts of Nov 2019-Oct 2020 are different.
Anyone there know the reason?
While posting a movement journal, notification is given by AX against two items included in the movement journal.
Notification is " Item number xxxxxxxxx is on hold for transactions in inventory on site".
Please guide on this notification.
Hi Experts,
I have a requirement that I need to to generate different number sequence for a field based on the selection of an enum element in the form. example if the user selects enum A the number sequence should be A1,A2,etc. if its B it should be B1,B2, etc. From other posts I understand that it is possible in AX, Is there any step by step reference / sample for the same ?
Thanks in advance
I have created a SSRS report in which It shows few items not complete I have tried a lot but not getting the issue
In visual studio i used Matrix Report
It should have to show 20 Items against ItemGroupId but it Shows only 4 items ,


what should be the possible error
here is DP class
private void insertTmpTable()
{
QueryRun queryrun = new QueryRun(this.parmQuery());
InventTrans inventTrans;
InventTable inventTable;
PurchLine purchLine;
InventItemGroupItem inventItemGroupItem ;
ProcCategoryCommodityCodesContract contract = this.parmDataContract() as ProcCategoryCommodityCodesContract;
while (queryrun.next())
{
inventTable = queryrun.get(tableNum(inventTable));
inventTrans = queryrun.get(tableNum(InventTrans));
purchLine = queryrun.get(tableNum(purchLine));
purchaseCategoryTmp.FromDate = fromDate;
purchaseCategoryTmp.ToDate = toDate;
//purchaseCategoryTmp.ItemId = inventTrans.ItemId;
purchaseCategoryTmp.ItemId =inventTable.ItemId;
purchaseCategoryTmp.ItemName = inventTable::find(purchaseCategoryTmp.ItemId).itemName();
purchaseCategoryTmp.PurchPrice = purchLine.PurchPrice;
purchaseCategoryTmp.HigestPrice = this.HigestPrice(purchaseCategoryTmp.ItemId);
purchaseCategoryTmp.LowestPrice = this.LowestPrice(purchaseCategoryTmp.ItemId);
purchaseCategoryTmp.Qty = this.TotalQty(purchaseCategoryTmp.ItemId);
purchaseCategoryTmp.ItemGroupId = InventItemGroupItem::findByItemIdLegalEntity(purchaseCategoryTmp.ItemId).ItemGroupId;
purchaseCategoryTmp.insert();
}
}Please guide me
Good day! I am a little out of my depth here since I'm not coming from an accounting background. We closed the year on the system recently for the year 2019 using retained earnings as the account to which the year end result will be posted.
Our finance noted that the closing balance of 2019 and the opening balance of 2020 do not match in the trial balances. As per my knowledge, the closing balance of 2019 and opening balance of 2020 should be the same with the closing transactions posted on 01-01-2020 giving the ending balance on 01-01-20 including the profit for 2019.
In this case, the system has made the total including the profit as opening balance of 2020. Is it how this should work? Are we missing something? Thanks in advance.







HI Experts,
While JOB scheduling an Production Order, I see this error of Capacity could not be found. So, when I went deep into Route, I found that resources attached are Overbooked. PFA the key setups.
Kindly suggest me what steps should i take to cancel the overbooking and schedule as before.

Hi Experts,
we have purchased a new module Equipment and in this we journal for transaction in journal menu we have an item where we post transition about equipment these few number of journal are shown from movement journal "Inventory management module "but it is shown by the help of lookup method for table. could some explain please and also check the above image for further info.My question is how this specific values are shown here not all ??
Best Regards,
Shabir Ahmad
HI
I am trying to run report with following two provisional settings but neither showing unposted amounts:
1. Posted and unposted activity
2. Unposted activity only
I am using Management Reporter 2012 and Microsoft Dynamics AX 2012 R3. Will appreciate if anyone can confirm whether Unposted is supported for AX or not.
Thanks in advance.
Haroon