Quantcast
Channel: Martin Dráb's Activities
Viewing all 17532 articles
Browse latest View live

Workflow Message Processing Batch Job Error

$
0
0

Hi Everyone,

since last two week are facing issue in Dynamics AX 2012 R2, Workflow Message processing batch job is throwing error and stopping AOS server in Live ERP server.

I went to batch job tasks, I see there is one more task  "Workflow Message processing Task" added by system which gives error. below sreeenshot is for more information.

any help highly approciated 


Ttsbegin ttscommit issue in AX in batch process while integration

$
0
0

Hi,

We have created batch integration to create project on AX end based on some inputs from CRM end. But sometimes batch process is failing and throwing below error:


Infolog for job CRM to AX Project Integration (5637213192)Infolog for task CRM to AX Project Integration (5637216091) Unbalanced TTS

I am not able to debug the root cause as it is running fine after this error and AX is allowing manually to create project.

What will happen to my transaction if project is not created in this particular batch run. Is it due to some kind of interruption transaction is not getting completed? Is there any other place where I can get more details about particular record?

(In CRM there will be one plan against which one project is created in AX end)

Regards,

Smit

Ledger Entity workflow

$
0
0

Hi 

why the workflow on the old ledger entity is not the same with the new ledger entity i have created? how can i make the new entity the same as the old .

Can't add methods to data entity extension for computed columns

$
0
0

Problem:

System doesn't allow me to add a new method to my data entity extension of standard entity SalesOrderLineEntity. I have to use the new method as a DataEntityView method for a computed field that I have successfully added to my extended data entity. How can I add a new method to my data entity extension? Is there any alternative to this approach. I also tried augmentation class for my data entity but no luck.

Background:

The requirement is to add some computed fields to the standard SalesOrderLineEntity data entity which can be sent to an external system. For this reason, I have extended the SalesOrderLineEntity in my model. Then added the custom fields. But I am not able to add a new method to my extended data entity to be used as a DataEntityView method. Please advise. Thanks!

How to "Go to" a link using Action Menu Item

$
0
0

Hi folks,

I am working on a Dynamics 365 for operations VM.

I want to open a hyperlink e.g. https://www.google.com.pk by clicking on an Action Menu Item.

I have added an Action Menu Item and filled properties as shown in attached picture:

But when i click on my Action Menu Item from AX it gives following error:

Is there anything i am missing?

Azure error while deploying Dynamics 365 Operations (AX) on LCS

$
0
0

Hello,
We are trying to deploy the partner trial version of D365 Operations using LCS and getting an error at the last step before deployment:
The configured Azure subscription AAD Tenant Domain for the Connector in invalid or non-existent. Please edit the Connector and provide the correct AAD Tenant Domain that the subscription is associated with.

We checked that we had three domains including the xxxxx.onmicrosoft.com domain. We have tried all three of them but all of them are not working.

Any input would be really great.

Configuration of email in Ax

$
0
0

I am trying to generate email from Ax but system giving me following error

Full generation of CIL done many times

Compiling of Application also done 

Microsoft.Dynamics.Ax.Xpp.ClrErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ClrErrorException' was thrown.
at Dynamics.Ax.Application.SysEmailBatch.Run() in SysEmailBatch.run.xpp:line 326
at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54
at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13
at BatchRun::runJobStatic(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at BatchIL.taskThreadEntry(Object threadArg)

Thanks in Advance 

What services must be running?

$
0
0

Hi,

What are the different services must be running for run the Dynamics 365 for Finance and Operations just Like for AOS service must be running for run AX 2012 workspace?


Can I deploy on-premise sandbox on three servers

$
0
0

Can I deploy Sandbox on premises for a customer on three servers? one for SQL , one for AOS ,and one for orchestrator, as recommended it needs three orchestrator servers, can it be done with only one orchestrator instead?

Thank you 

Architecture of Mobile App for Android

$
0
0

I want to develop apps for Android and connect it with our Dynamics AX (at our premises). I have found the following app:

https://code.msdn.microsoft.com/Developing-Secure-Mobile-02105158

I have two questions regarding the above app?

1. Which platform is being used by this app? (Xamarin, Android Native or PhoneGap/Cordova or any other)?

2. I read here https://www.microsoft.com/en-us/download/details.aspx?id=38413 that AX app needs Azure Bus service to connect on-premises AX. Is it necessary? Is there any other way to connect directly to the system?

Please guide me how to create app and I would appreciate answer to my questions above. 

Regards,

Abubaker Siddiq

download demo dynamics 365 On premise for partners

$
0
0

If I am a Partner Microsoft Dynamics How  I can download Dynamics 365 for finance and operation enterprise On Premise edition using LCS ? when I create a new project  does no show  "Dynamics 365" in the option product name,  In which program partner I must belong to do this, thank you

Reviews of any recent Microsoft AX 2017 conferences?

$
0
0

Hi:

I was just in a meeting with someone who told me that a team from another company just returned from a recent Microsoft AX conference (he is unable to tell me where) and that by the tone of the conference presentations things might not be looking all that well for the future of Dynamics AX.

Is anyone ware of this or other related concerns regarding the future of this product?

On-premises versions and module licensing

$
0
0

I am currently in discussions with a potential client who might want to use Dynamics AX and I have a few questions:

1. Dynamics 365 for Operations as I understand it is a fully cloud based solution. If my potential client does not wish to go cloud based, what are his options (including versions)? Is there an on-premise version of 365 for Operations or will I have to go AX2012?

2. This potential client only wants to implement the  General Ledger, Budgeting, AP, AR and Projects modules. Can anyone point me to where I can get licensing information on the use of these modules?

best way to Learn\Get Started with AX7 (365 operations) development

$
0
0

I've been doing crm for years and the dev tools are open for everyone.  I know NAV requires some very expensive license to have a dev environment. now, could anyone explain me how that goes with AX?

I understand operations now is done on visual studio and reading around seems like you can't just download a toolkit.

I found references to this "Dynamics Lifecycle Services". Is the only way for now to get an azure VM to have a play and learn?

There was a few references to a download available on  connect.microsoft.com but the links don't work.

is there any article that explain how to start developing X++ from the beginning? including setting a dev environment from scratch?

SysLookupMultiSelectGrid on bound control

$
0
0

Hi ,

I have create a new string bound control  withdatasource as Purchtable and field ABC. This is a string field with EDT as Description.

SysLookupMultiSelectGrid works fine (overridden lookup method on form control), after selecting and when click OK values are not saved to the control. When I remove the Datasource and field from the control, on lookup selection values are saved.

Is this a limitation on bound control or am I missing something. Please correct me.

Thanks in advance!!

Regards,

Pradeep


Calculate needed CALs

$
0
0

Hi all, is there a way to produce a file containing each Role and it's need CAL? We do not use most of the vanilla Roles, so we are looking for a way to estimate our CAL needs according to our custom Roles.

Any help would be very much appreciated!

Trying to wrap my mind around Dynamics 365 Financials (Business Edition)

$
0
0

Hi:

I have a quick question about Dynamics 365 for Financials (Business Edition)

Is it true that only customers is the US, Canada and London are able to license Dynamics 365 for Financials (Business Edition)?

Also, if I needed to customize the Business Edition, is the code base X++ or C?

How to use strRFix in a Ax Join ??

$
0
0

Hello!

I like Join several tables in a Join, but the relation field1 is (45) and the field2 (C0045), then en SQL It works for me:

select ct.PARTY from View_Ekomercio ve
inner join CUSTTABLE ct on ('C' + RIGHT('000'+CAST(ve.CODCLIENTE AS VARCHAR(4)),4)) = ct.ACCOUNTNUM
inner join ..... more tables

But in AX i try...

select * from vEkomercio
join cTable
where 'C' + strRFix(int2str(vEkomercio.codcliente),4,'0') == cTable.ACCOUNTNUM;

And show the following error: "Invalid use of the expression where"

Can you help me please !!!! Thanks

System.Data.SqlClient.SqlConnection failed on Azure SQL environment

$
0
0

Hi All,

Recently I solved quite tricky issue happened on D365 Test environment running in Azure.

Original task was developed and tested on local D365 environment and works well, but suddenly failed on client's environment with a message:

Exception has been thrown by the target of an invocation.A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No such host is known.)No such host is known
Exception has been thrown by the target of an invocation.
ExecuteReader requires an open and available Connection. The connection's current state is closed

The issue was that SQLSystem.loginServer() executed on Dynamics 365 for Financials and Operations connected to Azure SQL Database, returned only server name, without a full domain part "database.windows.net"

So here is working example of getting SQLClient.SQLConnection that works both with MS SQL and Azure SQL.

private System.Data.SqlClient.SqlConnection GetSQLClientConnection()
    {
        System.Data.SqlClient.SqlConnection con;
        SQLSystem sql;
        str fullServerName;
        str loginConnectString, noDriverConnectString;
        int beginPos, endPos;

        try
        {
            new InteropPermission(InteropKind::ClrInterop).assert();
            sql = new SQLSystem();
            loginConnectString = sql.loginConnectString();
            beginPos = strScan(loginConnectString, "Driver=", 0, strLen(loginConnectString));
            endPos = strScan(loginConnectString, ";", beginPos, strLen(loginConnectString));
            noDriverConnectString = subStr(loginConnectString, 1, beginPos-1);
            noDriverConnectString = subStr(loginConnectString, endPos + 1, strLen(loginConnectString));
            noDriverConnectString = strRem(noDriverConnectString, "{}");
            con = new System.Data.SqlClient.SqlConnection(noDriverConnectString);
            con.Open();
        }
        catch (Exception::CLRError)
        {
            //BP Deviation Documented
            ex = ClrInterop::getLastException();
            while(ex)
            {
                exceptionStr += ex.get_Message();
                ex = ex.get_InnerException();
            }
            info(exceptionStr);
        }

        return con;
    }

Consume SOAP/Rest Odata endpoint from logic apps

$
0
0

I am trying to call a SOAP or REST endpoint for my demo environment. According to some msdn demonstrative documents, this should be possible. 

I am using the default HTTP connector with the following parameters: 

Method: POST

Uri: https://[aos].cloudax.dynamics.com/api/services/UserSessionService/AifUserSessionService/GetUserSessionInfo

Authentication: AD OAuth

Authority: https://login.windows.net/

Tenant: [tenant guid]

Audience: https://management.core.windows.net/

Client Id: [client id guid]

Secret: [secret guid]

The error I receive is as shown below: 

{
"statusCode": 401,
"headers": {
"ms-dyn-fqhn": "demo-0-a16326fa-42f8-4ee4-b19b-a6fc657b0a1c",
"ms-dyn-namespace": "DynAXProd",
"ms-dyn-tenant": "default-lcs-a16326fa-42f8-4ee4-b19b-a6fc657b0a1c",
"ms-dyn-role": "demo",
"ms-dyn-aid": "9f1561ee-0ab3-0007-96cb-159fb30ad301",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "SAMEORIGIN",
"Date": "Tue, 08 Aug 2017 18:43:53 GMT",
"P3P": "CP=\"No P3P policy defined. Read the Microsoft privacy statement at go.microsoft.com/fwlink\"",
"Server": "Microsoft-IIS/8.5",
"WWW-Authenticate": "authorization_uri=\"login.windows.net/.../authorize\"",
"X-Powered-By": "ASP.NET",
"Content-Length": "0"
}
}

App registrations and api permissions have been setup correctly. Is there anything I might be missing?

Viewing all 17532 articles
Browse latest View live


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