Want to create a normal relation in D365 but after selecting table with which the relation has to be created, I am not getting the table field in the lookup.
Development within Dynamics 365 F&O - how?
Hi
If i wanted to develop a new screen within my dynamics instance such as a screen that captures detailed information and then processes it, how would i go about doing this and what tools do i have available to me to publish it to my D365F&O instance?
This needs to look native to D365 (new tile on the home screen etc)
thanks
Link the OneBox VM D365 to a webApp in Azure
Hi all,
i'm working on a VM one box 8.1 downloaded from LCS. The url of the machine is like usnconeboxax1aosxxxxxx.cloud.onebox.dynamics.com
My aim is to create an application c# for create and select data with OData.
I'm using DLL libraries provided by https://github.com/Microsoft/Dynamics-AX-Integration/tree/master/ServiceSamples
I created this main method for authenticating:
class Program
How to upload image for released product by AIF
I'm creating an integration, using AIF and C#. I can create the products and released products, but I don't know how to add the image. Could you help me?
Add DLL to D365 F&O project and use it in X++ class
Hi
I am trying to add dll reference to unified operation project and consume the methods inside dll into x++ class. Please help.
Thank You
--Pradeep
Created a form in which FROM DATE and TO DATE is there. User must inter TO DATE greater then FROM DATE. The EDT of both the date is TransDate.
Hello all,
Created a form in which FROM DATE and TO DATE is there. User must inter TO DATE greater then FROM DATE. The EDT of both the date is TransDate.
Please help me to solve this problem.
Thank you
Siddhant
How to rotate a PNG image from bytes[] for SSRS report?
Hi All,
I am receiving a PNG image from Fedex for a shipping label. It is being received as a base64String and stored in our database. I need to print this image on our pickList report and need it to display sideways/rotated (for a peel-off label on the picklist). The Base64String gets passed to the SSRS report and displays fine, however I was unable to find a way to rotate the image in SSRS. My next best thought was to rotate it via code in x++. I made a decent attempt, but the code fails when I try to create an image from memorystream, and it does not provide me with any error messages. It just stops. I am not sure if i can create an 'image' object from a PNG byte[] or if it has to be a bitmap byte[]. That may be why it is failing. Any suggestions for an easier way to rotate the image in SSRS? If not, any guidance on why my code isn't working? Thanks!
How to get the data entities size in Dynamics 365 Finance and Operation
Hello expert,
I did some research over the internet on this and I haven't found anything. I looked Dynamics F&O GUI interface, I didn't find anything related as well. We could get some estimation based on X++ code although we could not deploy this to customer's production env. Just wonder if there is any other way for this. thanks.
How to keep the value in the other Looping?
public void processReport()
{
IDSItemPlannedCostTmp itemPlannedCostTmp;
IDSItemPlannedCostDP itemPlannedCostDP;
IDSItemPlannedCostSummaryTmpDuplic itemPlannedDuplicate;
IDSItemPlannedCostContract itemPlannedCostContract;
Amount margin,
totalCost,
productionCost,
salesPrice,
variableCost,
netProfitAmount,
netProfitperc;
CostGroupId costGroupId;
CostGroupType costGroupType;
ItemNetWeight packWeight;
Qty weightSize;
;
itemPlannedCostSumTmp.setConnection(this.parmUserConnection());
this.initCache();
this.initContract();
//this.initQuery();
itemPlannedCostDP = New IDSItemPlannedCostDP();
itemPlannedCostContract = New IDSItemPlannedCostContract();
itemPlannedCostContract.parmFromDate(fromDate);
itemPlannedCostContract.parmMarginVersionId(marginVersionId);
itemPlannedCostContract.parmVersionId(versionId);
itemPlannedCostContract.parmHideCost(hideVariable);
itemPlannedCostDP.parmQuery(this.parmQuery());
itemPlannedCostDP.parmDataContract(itemPlannedCostContract);
itemPlannedCostDP.parmErrorChecking(true);
itemPlannedCostDP.processReport();
itemPlannedCostTmp.setTmp();
itemPlannedCostTmp = itemPlannedCostDP.getItemPlannedCostTmp();
while select sum(CostPriceSum)
from itemPlannedCostTmp
group by ItemId,
ItemName,
packitemid,
PackItemIdDisplay,
PackItemNameDisplay,
CalcQty,
UnitId,
CostGroupId,
CostGroupName,
CostGroupPriority,
StandardInventColorId,
BOMId
{
itemPlannedCostSumTmp.VersionId = versionId;
itemPlannedCostSumTmp.VersionName = versionName;
itemPlannedCostSumTmp.ItemId = itemPlannedCostTmp.PackItemId == '' ? itemPlannedCostTmp.ItemId : itemPlannedCostTmp.PackItemIdDisplay;
itemPlannedCostSumTmp.ItemName = itemPlannedCostTmp.PackItemId == '' ? itemPlannedCostTmp.ItemName : itemPlannedCostTmp.PackItemNameDisplay;
itemPlannedCostSumTmp.CalcQty = itemPlannedCostTmp.CalcQty;
itemPlannedCostSumTmp.UnitId = itemPlannedCostTmp.UnitId;
itemPlannedCostSumTmp.CostGroupId = itemPlannedCostTmp.CostGroupId;
itemPlannedCostSumTmp.CostGroupName = itemPlannedCostTmp.CostGroupName;
itemPlannedCostSumTmp.Priority = itemPlannedCostTmp.CostGroupPriority;
itemPlannedCostSumTmp.BOMCalcCostPricePcs = itemPlannedCostTmp.CostPriceSum;
if(itemPlannedCostSumTmp.CalcQty)
{
itemPlannedCostSumTmp.BOMCalcCostPricePcs = decRound(itemPlannedCostSumTmp.BOMCalcCostPricePcs / itemPlannedCostSumTmp.CalcQty, 3);
}
itemPlannedCostSumTmp.StandardInventColorId = itemPlannedCostTmp.StandardInventColorId;
itemPlannedCostSumTmp.BOMId = itemPlannedCostTmp.BOMId;
itemPlannedCostSumTmp.insert();
}
// total cost
while select sum(BOMCalcCostPricePcs) from itemPlannedCostSumTmp
group by VersionId,
VersionName,
ItemId,
ItemName,
CalcQty,
UnitId,
StandardInventColorId,
BOMId
where itemPlannedCostSumTmp.CostGroupId != 'Production cost'
{
totalCost = itemPlannedCostSumTmp.BOMCalcCostPricePcs;
itemPlannedCostSumTmp.CostGroupId = 'Total cost';
itemPlannedCostSumTmp.CostGroupName = 'Total cost';
itemPlannedCostSumTmp.Priority = 100;
itemPlannedCostSumTmp.BOMCalcCostPricePcs = decRound(totalCost , 2);
itemPlannedCostSumTmp.insert();
select firstOnly1 itemPlannedCostTmp
where itemPlannedCostTmp.PackItemId == itemPlannedCostSumTmp.ItemId;
if(!itemPlannedCostTmp)
{
select firstOnly1 itemPlannedCostTmp
where itemPlannedCostTmp.ItemId == itemPlannedCostSumTmp.ItemId
&& itemPlannedCostTmp.PackItemId == '';
}
margin = itemPlannedCostTmp.CostProfitPct;
packWeight = itemPlannedCostTmp.PackWeight == 0 ? 1 : itemPlannedCostTmp.PackWeight;
itemPlannedCostSumTmp.CostGroupId = 'Up_kg';
itemPlannedCostSumTmp.CostGroupName = 'Cost price/KG';
itemPlannedCostSumTmp.Priority = 140;
itemPlannedCostSumTmp.BOMCalcCostPricePcs = decRound(totalCost / packWeight, 2);
if(strScan(itemPlannedCostSumTmp.BOMId, "(T)",1,strLen(itemPlannedCostSumTmp.BOMId)) > 1 && itemPlannedCostTmp.ItemSize > 0)
{
weightSize = itemPlannedCostTmp.TheoreticalSG == 0 ? 0 : (itemPlannedCostTmp.ItemSize/itemPlannedCostTmp.TheoreticalSG);
itemPlannedCostSumTmp.BOMCalcCostPricePcs = weightSize == 0? 0: decRound(totalCost / weightSize, 2);
}
itemPlannedCostSumTmp.insert();
itemPlannedCostSumTmp.CostGroupId = 'Up_l';
itemPlannedCostSumTmp.CostGroupName = 'Cost price/Liter';
itemPlannedCostSumTmp.BOMCalcCostPricePcs = decRound(itemPlannedCostTmp.ControlSG == 0 ? 0 : itemPlannedCostTmp.ControlSG * decRound(totalCost / packWeight, 2), 2);
if(strScan(itemPlannedCostSumTmp.BOMId, "(T)",1,strLen(itemPlannedCostSumTmp.BOMId)) > 1 && itemPlannedCostTmp.ItemSize > 0)
{
itemPlannedCostSumTmp.BOMCalcCostPricePcs = decRound(totalCost / itemPlannedCostTmp.ItemSize, 2);
}
itemPlannedCostSumTmp.Priority = 150;
itemPlannedCostSumTmp.insert();
itemPlannedCostSumTmp.CostGroupId = 'Margin';
itemPlannedCostSumTmp.CostGroupName = 'GP(%)';
itemPlannedCostSumTmp.Priority = 200;
itemPlannedCostSumTmp.BOMCalcCostPricePcs = decRound(margin, 2);
itemPlannedCostSumTmp.insert();
}
//----------------------------------->Chong
{
// production cost
while select sum(BOMCalcCostPricePcs) from itemPlannedCostSumTmp
group by ItemId,
CostGroupId
where itemPlannedCostSumTmp.CostGroupId != 'Admin' && itemPlannedCostSumTmp.CostGroupId != 'Logistic' && itemPlannedCostSumTmp.CostGroupId != 'Up_l'
&& itemPlannedCostSumTmp.CostGroupId != 'Up_kg' && itemPlannedCostSumTmp.CostGroupId != 'Total cost' && itemPlannedCostSumTmp.CostGroupId != 'Margin'
&& itemPlannedCostSumTmp.CostGroupId != 'Production cost'
{
productionCost = itemPlannedCostSumTmp.BOMCalcCostPricePcs;
itemPlannedCostSumTmp.CostGroupId = 'Production cost';
itemPlannedCostSumTmp.CostGroupName = 'Production cost';
itemPlannedCostSumTmp.Priority = 50;
itemPlannedCostSumTmp.BOMCalcCostPricePcs = decRound(productionCost, 2);
itemPlannedCostSumTmp.insert();
}
while select sum(BOMCalcCostPricePcs) from itemPlannedCostSumTmp
group by VersionId,
VersionName,
ItemId,
ItemName,
CalcQty,
UnitId,
StandardInventColorId,
BOMId,
CostGroupId
where itemPlannedCostSumTmp.CostGroupId != 'Admin' && itemPlannedCostSumTmp.CostGroupId != 'Logistic' && itemPlannedCostSumTmp.CostGroupId != 'Up_l'
&& itemPlannedCostSumTmp.CostGroupId != 'Up_kg' && itemPlannedCostSumTmp.CostGroupId != 'Total cost' && itemPlannedCostSumTmp.CostGroupId != 'Margin'
&& itemPlannedCostSumTmp.CostGroupId != 'Production cost'
{
margin = itemPlannedCostTmp.CostProfitPct;
productionCost = itemPlannedCostSumTmp.BOMCalcCostPricePcs;
salesPrice = ((productionCost/((100 - margin)/100)));
itemPlannedCostSumTmp.CostGroupId = 'Est.price';
itemPlannedCostSumTmp.CostGroupName = 'Est. sales price';
itemPlannedCostSumTmp.Priority = 300;
itemPlannedCostSumTmp.BOMCalcCostPricePcs = decRound(salesPrice,2);
itemPlannedCostSumTmp.insert();
}
while select sum(BOMCalcCostPricePcs) from itemPlannedCostSumTmp
group by VersionId,
VersionName,
ItemId,
ItemName,
CalcQty,
UnitId,
StandardInventColorId,
BOMId,
CostGroupId
where itemPlannedCostSumTmp.CostGroupId != 'DirectLAB' && itemPlannedCostSumTmp.CostGroupId != 'DirectOHD' && itemPlannedCostSumTmp.CostGroupId != 'Material'
&& itemPlannedCostSumTmp.CostGroupId != 'Packing' && itemPlannedCostSumTmp.CostGroupId != 'Total cost' && itemPlannedCostSumTmp.CostGroupId != 'Up_l'
&& itemPlannedCostSumTmp.CostGroupId != 'Up_kg' && itemPlannedCostSumTmp.CostGroupId != 'Margin'
&& itemPlannedCostSumTmp.CostGroupId != 'Production cost' && itemPlannedCostSumTmp.CostGroupId != 'Est.price'
{
variableCost = itemPlannedCostSumTmp.BOMCalcCostPricePcs;
itemPlannedCostSumTmp.CostGroupId = 'Variable cost';
itemPlannedCostSumTmp.CostGroupName = 'Variable cost';
itemPlannedCostSumTmp.Priority = 40;
itemPlannedCostSumTmp.insert();
}
while select sum(BOMCalcCostPricePcs) from itemPlannedCostSumTmp
group by VersionId,
VersionName,
ItemId,
ItemName,
CalcQty,
UnitId,
StandardInventColorId,
BOMId,
CostGroupId
where itemPlannedCostSumTmp.CostGroupId != 'DirectLAB' && itemPlannedCostSumTmp.CostGroupId != 'DirectOHD' && itemPlannedCostSumTmp.CostGroupId != 'Material'
&& itemPlannedCostSumTmp.CostGroupId != 'Packing' && itemPlannedCostSumTmp.CostGroupId != 'Total cost' && itemPlannedCostSumTmp.CostGroupId != 'Up_l'
&& itemPlannedCostSumTmp.CostGroupId != 'Up_kg' && itemPlannedCostSumTmp.CostGroupId != 'Margin'
&& itemPlannedCostSumTmp.CostGroupId != 'Production cost' && itemPlannedCostSumTmp.CostGroupId != 'Est.price'
{
netProfitAmount = itemPlannedCostSumTmp.BOMCalcCostPricePcs == 0 ? 0: (salesPrice - totalCost - variableCost);
itemPlannedCostSumTmp.CostGroupId = 'net profit';
itemPlannedCostSumTmp.CostGroupName = 'net profit';
itemPlannedCostSumTmp.Priority = 400;
itemPlannedCostSumTmp.BOMCalcCostPricePcs = decRound(netProfitAmount,2);
itemPlannedCostSumTmp.insert();
}
}
}
For my Net Profit Amount is
salesPrice - totalCost - variableCost = netProfitAmount
But
I can't get the value once these 3 variable in the Net Profit Looping the value itself changed.
Does anybody know how to keep the value ?
This is my expected output for net profit amount
salesPrice - totalCost - variableCost = netProfitAmount
Axapta 3.0 forgot admin password safely?
Unfortunately from the past passed years I forgot Axapta 3.0 SP3 admin credentials. Is there a way to reset it safely?
Help for SSRS report for multi-Table (Parants & Child)
Hello All,
I need make a SSRS report, but I Still could not success.
I used SQL is Fine but no work in AX...
I want to show the SSRS report:
1. Table relation is :
1) VendTable (V) join PurchTable (P) on V.AccountNum = OrderAccount ( AX Query I choice the 1:N inner join)
2) PurchTable (P) join PurchLine (PL) on P.PurchId = PL.PurchId ( AX Query I choice the 1:N inner join)
3) PurchTable (P) join VendPackingSlipJour (PJ) on P.PurchId = PJ.PurchId ( AX Query I choice the 1:N inner join)
4) VendPackingSlipJour (PJ) joine VendPackingSlipTrans (PT) on PJ.RecId = PT.VendPackingSlipJour ( AX Query I choice the 1:N inner join)
5) in SQL I still use the relation on PurchLine (PL).ItemId = VendPackingSlipTrans (PT).ItemId
otherwise I will get the one more the same transaction.
2. I need the SSRS Report to show:
Head:
1)Vend Account Number (V.account)
2)Vend Account Name (P.PurchName)
3) Business Rate (V.TaxGroup)
4) V.PaymtermId
5) V.Currency
Detail:
1) PJ.PurchId
2) PL.LineNumber
3) PT.ItemId
4) PT.Name
5) PL.PurchQTY
6) PT.QTY
7) PL.RemainInventFinancial
8) P.InclTax
9) PL.PurchPrice
10) PJ.PackingSlipId
11) PJ.DeliveryDate
This Report the purpose is
Find the PO that have post the product receipt but had no Invoice.
It is work when I use SQL and export the Data to Excel.
but
In AX I try many way in AOT-Query....but no work especially in SSRS report, Data is empty or no in the one line.
Have some one could performance this case for me.
I very appreciation u.
Thanks in advance.
Br, Jen
What is the difference beween Odata and CDS?
Can anyone explain what is the difference between Odata versus CDS?
Thanks
Odata endpoint returns null exception
Hi All,
Is there any service we can reset to restart the Odata endpoint? I get the following error on all the data entities that I try to access on a Dev machine?
<ExceptionType>System.NullReferenceException</ExceptionType><StackTrace> at Microsoft.Dynamics.Platform.Integration.Services.OData.MetadataResourcesDefinition.Microsoft.Dynamics.Platform.Integration.Services.OData.IResourcesDefinition.get_ExtensionsResources()
at Microsoft.Dynamics.Platform.Integration.Services.OData.Metadata.MetadataModelBuilder..ctor()
at Microsoft.Dynamics.Platform.Integration.Services.OData.Metadata.MetadataModelBuilder.InitLazyInstance()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Microsoft.Dynamics.Platform.Integration.Services.OData.Metadata.MetadataModelBuilder.get_Instance()
at Microsoft.Dynamics.Platform.Integration.Services.OData.Metadata.EdmModelProxy.get_DirectValueAnnotationsManager()
at Microsoft.OData.Edm.ExtensionMethods.SetAnnotationValue(IEdmModel model, IEdmElement element, String namespaceName, String localName, Object value)
at Microsoft.OData.Edm.Csdl.SerializationExtensionMethods.SetEdmxVersion(IEdmModel model, Version version)
at System.Web.OData.MetadataController.GetModel()
at System.Web.OData.MetadataController.GetServiceDocument()
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__18`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__18`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Tracing.Tracers.HttpControllerTracer.<ExecuteAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__18`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()</StackTrace></Error>
GER report sent to email from code
I'm generating a file through electronic reporting (GER) from code. I want to send it via e-mail, which GER seems to support, but I don't know how to configure email settings programmatically.
The dialog uses ERFormatDestinationSettings.parmEmailSettings(), the problem is that the class is internal and therefore I'm not allowed to call it.
Haven't anybody dealt with such a requirement before?
There is a workaround - I can't easily get the file (as a stream) from GER, therefore I can send the email from my own code. I just thought I would utilize the standard logic in GER, but it's not as easy as I hoped.
AIFFault object does not have method 'new'
Hi All,
I have created a custom service to do the post Prod Journal logic.
When I test it in the AX , everything can go well, the journal can be posted success.
But when I try to call the interface from my .net program, it show me the error "AIFFault object does not have method 'new'".(This issue happen in today, in the before, the interface can run well)
I have traced and find the issue is happen in the code of posting journal below.
ProdJournalCheckPostProd::newPostJournal(prodJournalProd.JournalId, false).run();
I have checked the ProdJournalCheckPostProd class, nothing is missing, every method are there.
In order to fix the issue of "AIFFault object does not have method 'new'", I have generated full CIL, but it does not work. (When I do the generate full CIL, there still have multiple user connect to the server, is that I should log them off then do the generate full CIL again?)
I don't what should I do except generate full CIL, anybody can give me a suggestion?
How to Re Initialize the Global variable
My Requirement is need to be show/hide Purpose list in the lookup based on the master type(Customer, Vendor ) during adding the address details for the customer / vendors.
For customers need to show certain Purpose details list and Vendors need to show certain list.
So i have modified as mentioned below :
In logistics postal address form, init method assign the purpose string control value.
Like: rolesCtrl = SysLookupMultiSelectCtrl::construct(element, roles, queryStr(LogisticsLocationRolePostalLookup), true, [tableNum(LogisticsLocationRoleTranslation), fieldNum(LogisticsLocationRoleTranslation, Description)]);
I cannot go for Event handler, because I cant get/access the "rolesCtrl" global variable.
But in COC(Extension) am using custom query(XXXLogisticsLocationRolePostalLookup) like:
public void init()
{
next init();
this.rolesCtrl = SysLookupMultiSelectCtrl::construct(this, roles, queryStr(UseLogisticsLocationRolePostalLookup), true, [tableNum(LogisticsLocationRoleTranslation), fieldNum(LogisticsLocationRoleTranslation, Description)]);
}
am getting error: A control with the name 'Roles_Ids' already exists on the form.
Please advise How to do?
Not able to send email in d365 Ax
Hello expertise,
I have configured Email Parameters form ,system administrator > Emails > Email Parameters .
When trying to send email form system administrator > Emails > Email Parameters > Test email like below screenshot .
system is generating below error .
Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 16.55847:9010000
Please suggest to resolve this issue .
Thanks.
Remap VSTS with working local Folder - Dynamics 365 for Finance and Operations
Hi,
We are upgrading from 1611 to 8.1.
We are finished with Code and Data Upgrade. We are in the final stage of testing the application.
The user used while performing entire Code & Data upgrade so far was lets say - adminuser.
Now for some reason the user is changed and that user is granted admin access on all the required places, the new user is lets say 'AAA'
Now while working in Visual Studio, the mapping is lost between VSTS & working local folder.
My query is, we have not yet merged this Releases folder with the main TRUNK as we are still working on the application upgrade. However, we have removed all the overlayerings and converted to extensions.
I have a question, which folder should be be mapping with my local folder. i.e. Which Folder of VSTS with my working local folder so that I don't loose any changes done locally?
Note: I have mapped both Metadata and Projects to the standard folders only i.e.
Metadat to K:\AosService\PackagesLocalDirectory
Projects to C:\Users\Admin710f5f0783\Documents\Visual Studio 2015\Projects
AifMessageInspector::AfterReceiveRequest. Error: System.Security.SecurityException: The user name or password is incorrect
We got an incident where users cannot log in to AX2012 for like 30 minutes. (They can open client but the screen is freezing without showing any error)
During that time we found the error below in event log.
I also attached the events, could you please have a look.
The time that this issue occur is around 4.30PM – 4.54PM. In security log it shows that a lot of failed login of ax administrator account but we did not update anything on this account.
Object Server 01:
An error has occurred in the services framework. Method: AifMessageInspector::AfterReceiveRequest. Error: System.Security.SecurityException: The user name or password is incorrect.
at System.Security.Principal.WindowsIdentity.KerbS4ULogon(String upn, SafeAccessTokenHandle& safeTokenHandle)
at System.Security.Principal.WindowsIdentity..ctor(String sUserPrincipalName, String type)
at System.Security.Principal.WindowsIdentity..ctor(String sUserPrincipalName)
at Microsoft.Dynamics.Ax.Services.AxSessionInitBehavior.getUserSid(String logonAsUser)
at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.InitializeSession()
at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.InitializeContext()
at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.Attach(OperationContext owner)
at System.ServiceModel.ExtensionCollection`1.InsertItem(Int32 index, IExtension`1 item)
at System.Collections.Generic.SynchronizedCollection`1.Add(T item)
at Microsoft.Dynamics.Ax.Services.AifMessageInspector.AfterReceiveRequest(Message& request, IClientChannel channel, InstanceContext instanceContext)
The Zone of the assembly that failed was:
MyComputer
Can't build Report - Head Data like Vendor Account and Vendor Name
Hello All,
I need to build a Purchase relation transaction SSRS report.
I had 2 problems:
In SSRS Report - Head , I need show a Vendor Account and Vendor Name ....etc
In SSRS Report - Detail, I would put the Purchase Transaction information, like ItemId, ItemId Name, unit price, qty and amount (add by self: Qty*Price not from DB)
problem 1: Head Data no change that always show the first data or wrong.
problem 2: how to calculate in SSRS to sum the DIY column, like the name of the column is ' Amount ', I use sum(Amount) or sum (Amount.value)....no work
Thanks in advance.
Br, Jen
P.S I catch the problem picture:
1.
2.