I'm looking for a list of public APIs that are exposed by AX. I don't see a document listing that. I came from a developer background, java provides clear API documentation of all their packages. SAP BAPI also provides clear documentation on how to call and what parameters to use. Now, I'm looking for a AX API call (ODATA? ) creates a sales order in AX. Where could I find such documentation? The resources listed below are more like technical overviews or helloworld samples, hardly detailed tutorial or documentation. Data intergrator looks promising but I could only find a few pages on it. I used tibco and informatica before, I don't see any application adapters for D365 ops either.
RE: D365 Operations /AX integration API
RE: Virtual companies / Cross data sharing alternative in Dynamics 365 EE
Hi Sebastian,
There is no other solution than having the data copied in multiple legal entities. I'm not a fan of merging multiple legal entities into one.
The master data tables are indeed not supported for the cross data sharing. Can you also tell why you have 2 million items? Are they all used or do you have complete vendor catalogs in your environment without knowing if those items will be used or not?
RE: Hyper V + Dynamics 365 VM screen flickers and VM does not start
Hi Muhammad,
It is working correctly for me. Can you tell what exact version of the VM you have downloaded? Do you have enough resources on your host machine (CPU, memory)? How many memory did you allocate to this VM? Have you tried to find additional information in the Windows event logs?
Hyper V + Dynamics 365 VM screen flickers and VM does not start
I am using Hyper V to turn on dynamics AX 365 VM but when I hit the start button the VM starts to load and the VM screen starts to flicker and after like 5-10 flickers it automatically stops and if I try to start it again the same behavior is observed.
can anyone tell me if someone else have see the same behavior.
RE: create customer voucher directly without creating a journal using x++
Hi Moataz,
What is your question here? Do you need help on specific details?
If you intended to share coding as a blog post, please use the option to ask for a blog space on this community.
create customer voucher directly without creating a journal using x++
public Voucher VoucherTrans(ChequePaymentSteps _ChequePaymentSteps,PaymentStepPosting StepPosting,ChequePaymentStatus _PaymentStatus)
{
LedgerVoucher voucherLedger;
LedgerVoucherObject voucherObj;
LedgerVoucherTransObject voucherTrObj1;
LedgerVoucherTransObject voucherTrObj2;
LedgerJournalACType LedgerJournalType,offSetType;// = this.JournalData(_PaymentStatus).AccountType;
DimensionDynamicAccount ledgerDimension,offsetledgerDimension;
CustVendPaymManPost CustVendPaymManPost;
;
voucherLedger = LedgerVoucher::newLedgerPost(DetailSummary::Detail,SysModule::Ledger,StepPosting.NumberSequenceCode);
voucherObj = LedgerVoucherObject::newVoucher(NumberSeq::newGetNumFromCode(StepPosting.NumberSequenceCode).num());
voucherLedger.addVoucher(voucherObj);
LedgerJournalType = StepPosting.AccountType;
offSetType = StepPosting.OffsetAccountType;
switch(LedgerJournalType)
{
case LedgerJournalACType::Ledger:
ledgerDimension = StepPosting.LedgerDimension;
voucherTrObj1 = LedgerVoucherTransObject::newBasicDefault(voucherObj,
LedgerPostingType::LedgerJournal,
ledgerDimension,
_ChequePaymentSteps.CurrencyCode,
_ChequePaymentSteps.ChequeAmountCur,
0,0);
break;
case LedgerJournalACType::Cust:
ledgerDimension = LedgerDynamicAccountHelper::getDynamicAccountFromAccountNumber(_ChequePaymentSteps.CustAccount,LedgerJournalACType::Cust);
voucherTrObj1 = LedgerVoucherTransObject::newBasicDefault(voucherObj,
LedgerPostingType::CustBalance,
ledgerDimension,
_ChequePaymentSteps.CurrencyCode,
_ChequePaymentSteps.ChequeAmountCur,
0,0);
break;
case LedgerJournalACType::Bank:
ledgerDimension = LedgerDynamicAccountHelper::getDynamicAccountFromAccountNumber(_ChequePaymentSteps.CustBankAccount,LedgerJournalACType::Bank);
voucherTrObj1 = LedgerVoucherTransObject::newBasicDefault(voucherObj,
LedgerPostingType::CustPayment,
ledgerDimension,
_ChequePaymentSteps.CurrencyCode,
_ChequePaymentSteps.ChequeAmountCur,
0,0);
break;
}
switch(offSetType)
{
case LedgerJournalACType::Ledger:
offsetledgerDimension = StepPosting.OffsetLedgerDimension;
voucherTrObj2 = LedgerVoucherTransObject::newBasicDefault(voucherObj,
LedgerPostingType::LedgerJournal,
offsetledgerDimension,
_ChequePaymentSteps.CurrencyCode,
-1 * _ChequePaymentSteps.ChequeAmountCur,
0,0);
break;
case LedgerJournalACType::Cust:
offsetledgerDimension = LedgerDynamicAccountHelper::getDynamicAccountFromAccountNumber(_ChequePaymentSteps.CustAccount,LedgerJournalACType::Cust);
voucherTrObj2 = LedgerVoucherTransObject::newBasicDefault(voucherObj,
LedgerPostingType::CustBalance,
offsetledgerDimension,
_ChequePaymentSteps.CurrencyCode,
-1 * _ChequePaymentSteps.ChequeAmountCur,
0,0);
break;
case LedgerJournalACType::Bank:
offsetledgerDimension = LedgerDynamicAccountHelper::getDynamicAccountFromAccountNumber(_ChequePaymentSteps.CustBankAccount,LedgerJournalACType::Bank);
voucherTrObj2 = LedgerVoucherTransObject::newBasicDefault(voucherObj,
LedgerPostingType::CustPayment,
offsetledgerDimension,
_ChequePaymentSteps.CurrencyCode,
-1 * _ChequePaymentSteps.ChequeAmountCur,
0,0);
break;
}
voucherLedger.addTrans(voucherTrObj1);
voucherLedger.addTrans(voucherTrObj2);
voucherLedger.end();
return voucherObj.parmVoucher();
}
The target principal name is incorrect.
I cannot access the user options form from tool > options. I keep getting “The target principal name is incorrect. Cannot generate SSPI context”. I checked the event viewer log and it mentions some assemblies could not load. this is the message from the event log:
Microsoft Dynamics AX Business Connector Session 6.
Updating VSAssembly Client Cache (option = 3). VSAssembly Client Cache (count = 18, timestamp = 31-Aug-16 03:09:58 pm) 3 05-Apr-14 06:01:51 am \Visual Studio Projects\C Sharp Projects\Channels.Headquarters.PricingProxy\Microsoft.Dynamics.Commerce.Headquarters.PricingProxy.dll 3 05-Apr-14 06:02:11 am \Visual Studio Projects\C Sharp Projects\DigipoortServices_NL\Microsoft.Dynamics.Digipoortservices.dll 3 05-Apr-14 06:02:11 am \Visual Studio Projects\C Sharp Projects\DigipoortServices_NL\Microsoft.Dynamics.Digipoortservices.dll.config 3 05-Apr-14 06:02:12 am \Visual Studio Projects\C Sharp Projects\EInvoiceCFDI_MX\EInvoiceCFDI_MX.dll 3 05-Apr-14 06:02:12 am \Visual Studio Projects\C Sharp Projects\EInvoiceCFDI_MX\EInvoiceCFDI_MX.dll.config 3 05-Apr-14 06:02:12 am \Visual Studio Projects\C Sharp Projects\electronicfiscaldocument_br\ElectronicFiscalDocument_BR.dll 3 05-Apr-14 06:02:12 am \Visual Studio Projects\C Sharp Projects\electronicfiscaldocument_br\ElectronicFiscalDocument_BR.dll.config 2 05-Apr-14 06:02:16 am \Visual Studio Projects\C Sharp Projects\ElsterTransferHandler_DE\Microsoft.Dynamics.ElsterTransferHandler.dll 3 05-Apr-14 06:03:21 am \Visual Studio Projects\C Sharp Projects\exchangerateprovider\Microsoft.Dynamics.AX.Application.FinancialManagement.dll 3 05-Apr-14 06:03:31 am \Visual Studio Projects\C Sharp Projects\FBSintegra_BR\Microsoft.Dynamics.FiscalBooks.Sintegra.dll 1 17-Nov-14 05:40:15 am \Visual Studio Projects\C Sharp Projects\HcmFMLALeaveTaken.BusinessLogic\HcmFMLALeaveTaken.BusinessLogic.dll 3 05-Apr-14 06:04:22 am \Visual Studio Projects\C Sharp Projects\Microsoft.Dynamics.AX.Tms\Microsoft.Dynamics.Ax.Tms.dll 3 05-Apr-14 06:04:22 am \Visual Studio Projects\C Sharp Projects\Microsoft.Dynamics.AX.Tms\Microsoft.Dynamics.Ax.Tms.dll.config 3 05-Apr-14 06:05:04 am \Visual Studio Projects\C Sharp Projects\QRCode\QRCode.dll 2 05-Apr-14 06:05:36 am \Visual Studio Projects\C Sharp Projects\VendInvoiceDocumentReport.BusinessLogic\VendInvoiceDocumentReport.BusinessLogic.dll 3 05-Apr-14 06:05:50 am \Visual Studio Projects\C Sharp Projects\WHS.DeviceCom\Microsoft.Dynamics.AX.WHS.DeviceCom.dll 3 05-Apr-14 06:05:50 am \Visual Studio Projects\C Sharp Projects\WHS.Security\WHS.Security.dll 3 17-Nov-14 05:40:27 am \Visual Studio Projects\C Sharp Projects\XmlSign\Microsoft.Dynamics.XmlSign.Xades.dll
Could not load assembly 'RetailControls, Version=5.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not load assembly 'Microsoft.Dynamics.Retail.TillLayoutDesigner, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
Could not load assembly 'Microsoft.Dynamics.Retail.StoreConnect.TransAutomClient, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64' or one of its dependencies.
Could not load assembly 'Microsoft.Dynamics.Retail.StoreConnect.TransAutomClient, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=x86' or one of its dependencies.
When debugging i realize the conn.open() line in hasValidCertificate of the SIGSigningProvider_SQLServer_Server fails and hence the error. This issue does not happen in our test server. (Works fine)
Also some of the retail module components throw “Method 'Start' in COM object of class '_ReportDesign' returned error code 0x80131904 (<unknown>) which means: The target principal name is incorrect. Cannot generate SSPI context” error. (See attached screenshot).
RE: Virtual companies / Cross data sharing alternative in Dynamics 365 EE
i have the same problem but one little bit more complex scenario about 5000 items and 140 legal entities and no answer from MS about what its best solution.
RE: Can't retrieve personalization from another user
Thank you Vilmos !!! I've been having an issue with only one user not being able to personalize forms. After reading your answer, and realizing this function is a part of "SystemUser" role, I found out that specific user was assigned to a wrong organization for that role.
Can't retrieve personalization from another user
After when I saved a personalized form then settings applies to current form, I don't need to close and open the form again.
When using Retrieve from User option - there isn't change anything after selection only changes the selection screen form greyed out. When closing the form and open again nothing changes.
Do you know whether this feature relates to any Security settings or parameter because I cannot find anything in TechNet documentation?
Thanks in advance!
Best,
Pal
RE: Item supersede process in dynamics AX 2012
We keep our supplier's part number in our item master in a field from an ISV we use. In our industry it is typical for a supplier to change their item number and we must keep a history in case of recalls. It sounds like Dynamics AX does not have a function for item superseding. I appreciate the response.
RE: D365 Operations /AX integration API
If you are specifically looking for sales order creation look at below video , Video is about overall integrations and it has example of sales order creation using odata endpoint.
RE: Master Planning, Forecast plan, Past demand
Hi Steven,
The only resolution I see is fixing the dates, as forecast planning works that way by design.
Regards,
Ganesh
Master Planning, Forecast plan, Past demand
Hi All.
I have a master planning query. I have a client who generates no demand in AX. All of their commitment comes into master planning through a forecast.
Recently some of their demand dates have lapsed, and the requirement dates are in the past. Master planning now ignores these!
I have read up that forecast planning occurs ignores old demand by design. I can understand this, although in this instance, the forecast does represent actual commitment.
Is there a method to make master planning consider the whole forecast, or is the only method to fix the dates in the forecast?
Thanks
RE: Item supersede process in dynamics AX 2012
Do you use your supplier part numbers as your Item numbers?
RE: Management reporter server components installation issue
Service account has a system admin role in DAX.
Management reporter server components installation issue
Hi all,
I tried to install Management reporter server components however installation stops and error message pops out as per below:
"Management Reporter configuration failed. See the log file for more information.
Result 'Adding integration user with account 'Domain\user'.', status = failed:
Error in getting SID
The Active Directory user or group does not exist. Contact your network administrator.
Could not add AX user with user name 'Domain\user' and ID 'AXIntUsr'."
I assign same user as service account but not sure why this error pops out.
Help appreciated
RE: Inventrans status
Hi,
If StatusIssue = 0 and
StatusReceipt = 1,2,3,4 then the item has been received into inventory
StatusReceipt = 5 then the Purchase line is Open
If StatusReceipt = 0 and
StatusIssue = 1,2,3 then the item has been removed from inventory
StatusIssue = 4,5,6 then the Sales line is Open
RE: Hyper V + Dynamics 365 VM screen flickers and VM does not start
Andre,
the details of the VM and host machine are listed below
Host Machine Details:
CPU : Core i7
Total RAM : 16GB
Memory Assigned to VM:
11GB
VM Version :
FinanceandOperations-EEJuly2017withPlatUpdate10
no I haven't looked at the event viewer yet.
Need to interrogate the length of customer account from the Grid
Hi:
I'm looking to find all customer accounts where the length is greater than 7 positions from the grid.
According to the Advanced filtering and query options [AX 2012] (see https://technet.microsoft.com/en-us/library/aa569937.aspx), I should be able to use a SQL statement, but there is not much on syntax or what SQL statements are allowed. I'm looking to do the following:
(len(SalesLine.CustAccount)>7)
Also, is there a place that shows acceptable SQL statements/syntax while in the grid?
Thanks
Paul