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

Field not appearing in field picker when accessing a table via the Excel Add-in

$
0
0

I have searched the Internet in an attempt to not have to post this, but none of the solutions I have seen have worked, so I am wondering if anyone has any other suggestions.

I have a custom table with two fields. Both fields are 64 bit integer fields. Originally, one field had a label and the other did not. The field with label appears in the field picker when we access the field via the Excel Add-in, the one that did not doesn't. After searching this forum, we added a label to the missing field as the post indicated this would resolve the issue. It didn't. 

I then followed the advice to run a full CIL build, clear caches, refresh AIF services and redeploy the AIFGDS service group. This also did not resolve the issue.

An examination of the properties of both fields show that apart from the initial state of not having a label, these two fields have identical properties. The only other difference is that the table has a field relationship defined for the field that appears and the one that is missing does not.

Does anyone have any other suggestions of how we can make the missing field appear?


Flow and Logic Apps

$
0
0

I see a lot of confusion regarding Microsoft Flow and Logic Apps, so let me very briefly explain what they are and when you should use them.

First of all, you should realize that they’re very closely related. For example, this is the designer for Flow:

And this is the designer for Logic Apps:

They’re almost identical, because Microsoft Flow is built on top of Logic Apps. Many capabilities are not just similar; they’re physically the same.

Both Logic Apps and Flow are cloud-based integration services. They allow access to data from various system (my example above uses Azure Service Bus and Dynamics 365 for Operations), to run various actions, define workflows with conditions, branches, loops and things like that. They use the same connectors, the same actions and the same graphical designer.

So what’s the difference?

Microsoft Flow is intended for self-service integration. It empowers end users to set up various integration by themselves, without having to request developers to do it for them. For example, I may want to get some data (such as expected receipts) by e-mail every morning. It would help me, but asking my implementation partner to do it for me would be an overkill. I can use Microsoft Flow to set it by myself.

Azure Logic Apps, on the other hand, is a development platform which can be used for company-wide and mission-critical integration scenarios. Although connectors and things like that are the same as in Flow, Logic Apps offers Code view in addition to the graphical designer, which may be more efficient in some cases and more importantly, it offers some additional advanced capabilities. Logic Apps can also be developed in Visual Studio, stored in version control as any other code, built and deployed by VSTS, they offer more features around security, monitoring, automation and so on.

It seems that people hear more about Flow than Logic Apps and some of them try to use Flow for all their integration needs, but it isn’t a good idea. Flow isn’t intended for this purpose and you would soon miss many tools needed for development, deployment and maintenance of your solution. Flow is really a simplified version for personal needs.

By the way, people often ask about how to integrate with on-premises systems. Both Logic Apps and Flows offer gateways (link for Logic Apps, link for Flow) that you can use to access on-premises files, databases, SharePoint and thing like that.

How to make composite data entity public?

$
0
0

Hi experts,

Can anyone tell me how to make a composite data entity public ?

the data entity in question isn't public, so i cant access from an odata endpoint.

Regards,

Flow and Logic Apps

$
0
0

I see a lot of confusion regarding Microsoft Flow and Logic Apps, so let me very briefly explain what they are and when you should use them.

First of all, you should realize that they’re very closely related. For example, this is the designer for Flow:

And this is the designer for Logic Apps:

They’re almost identical, because Microsoft Flow is built on top of Logic Apps. Many capabilities are not just similar; they’re physically the same.

Both Logic Apps and Flow are cloud-based integration services. They allow access to data from various system (my example above uses Azure Service Bus and Dynamics 365 for Operations), to run various actions, define workflows with conditions, branches, loops and things like that. They use the same connectors, the same actions and the same graphical designer.

So what’s the difference?

Microsoft Flow is intended for self-service integration. It empowers end users to set up various integration by themselves, without having to request developers to do it for them. For example, I may want to get some data (such as expected receipts) by e-mail every morning. It would help me, but asking my implementation partner to do it for me would be an overkill. I can use Microsoft Flow to set it by myself.

Azure Logic Apps, on the other hand, is a development platform which can be used for company-wide and mission-critical integration scenarios. Although connectors and things like that are the same as in Flow, Logic Apps offers Code view in addition to the graphical designer, which may be more efficient in some cases and more importantly, it offers some additional advanced capabilities. Logic Apps can also be developed in Visual Studio, stored in version control as any other code, built and deployed by VSTS, they offer more features around security, monitoring, automation and so on.

It seems that people hear more about Flow than Logic Apps and some of them try to use Flow for all their integration needs, but it isn’t a good idea. Flow isn’t intended for this purpose and you would soon miss many tools needed for development, deployment and maintenance of your solution. Flow is really a simplified version for personal needs.

By the way, people often ask about how to integrate with on-premises systems. Both Logic Apps and Flows offer gateways (link for Logic Apps, link for Flow) that you can use to access on-premises files, databases, SharePoint and thing like that.

Create several records from single row in Excel

$
0
0

 

Client will give us the Excel file Format shown above .. We will run our JOB which will read the excel and store the values in the Table in the Table in the pattern shown ......

PROBLEM .. At the moment my job simple copy pastes into the table... How can I modify my job so that the above 1 Excel Record  is classified and then stored as 4 Records into the AX Table... I reckon  below part of my job needs to be modified 

           // Just Example Codes.....

            table1.clear();
            table1.initValue();
                table1.Lname                       = excel.fieldValue(1);
                table1.Fname                       = excel.fieldValue(2);
                table1.Salary                      = str2int(excel.fieldValue(3));
                table1.Lname                       = excel.fieldValue(4);

HELP please

How i can "Group By Cast()" in Query Datasource???

$
0
0

Hi, I have consulted this forum for a long time and it has helped me a lot, but it is the first time I ask a question, hopefully they can help me.

How i can group the field with out time value, only with date?

In sql i have...

select convert(date, CREATEDDATETIME) ....
from ...
group by
CAST(CREATEDDATETIME AS DATE) .....

How i can "Group By Cast()" in Query Datasource?

I currently group as this.query().dataSourceName(this.name()).addGroupByField(fieldnum(Foli_ReleaseLogs, CreatedDateTime));

I found "SysComputedColumn::cast(field, 'date')" , But I do not know how to apply it in addGroupByField()

Sorry, my english is bad. Thank you for your answers.

Greetings from México.

Restore source code from deployable package

$
0
0

Hi.

I have some customizations that I have created into a deployable package and they are deployed with success to both UAT and PROD. Now my DEV box ended up being corrupted and I deleted it and redeployed a new DEV box. I thought that I could just create a DEV box from a point-in-time restore of my UAT, but realized to late that this wasn't the case. I then redeployed a new clean DEV box and copied in data from PROD through this guideline https://docs.microsoft.com/en-us/dynamics365/operations/dev-itpro/database/copy-database-from-azure-sql-to-sql-server which worked perfectly fine. The thing is that I didn't use VSTS for my code, which I know I should have, and now I want to restore the source code. I have deployed the deployable package to the DEV box and this makes the customizations appear and working in the application, but I cannot access the source code in VS. I can see my extension model but I cant edit it and the overlaying models do not appear at all.

Is there anyway I can restore the source code?

Any help is appreciated, thanks.

Transfer selected records

$
0
0

Hi Sir,

I'm new here in Ax, and i hope someone can help me.

I have 20 records of vouchers, I want to select 5 transactions only to be transferred to another tab(exported tab) when I click the button "export". Please see sample picture below.

  

Can you show me or guide me on how i will do it in x++.

I hope someone can help me, Thank you in advance.

Regards,

roberts


How to get Values of Controls from Form On click of Button ?

$
0
0

Hello ,

I have created a form, without linking to a database table. I put a string edit control in it. In run time, i want to take input and to store it in some variable on button click.

Please help me to do it.

Regards,

nice johny

SSRS report design

$
0
0

Hi guys,

I have an issue. There is a default delivery note report and I need to make another one, kind of similar, so I created another design. Somehow always the default design is rendered, no matter which menu item is used to call it. The condition based on menuItem name is good, I debugged it. It always renders SalesPackingSlip, Report design, not ASCReportInvoice. I have cleared all caches, deployed the reports, ran CIL. Any help would be appreciated, thanks.

Calling dll from AX error

$
0
0

We are trying to call a dll containing a C# class library from AX. The dll is used to delete users from B2C AAD using the GraphAPI. When trying this from a console application the process is executed successfully. We are adding a reference of the dll to an AX project  and we get the below error on execution: 

C# dll:

var test = Task.Run(() => authenticationContext.AcquireTokenAsync(par1, par2, new UserPasswordCredential(GraphUserName, GraphPassword))).ConfigureAwait(false).GetAwaiter().GetResult();

AX call to the dll: 

AzureHelpers.Cleanup::CleanupUsers(objectIdsList,azureSettingsDictionary);

Error:

Could not load type 'Microsoft.IdentityModel.Clients.ActiveDirectory.UserPasswordCredential' from assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory.Platform, Version=3.13.8.999, Culture=neutral, PublicKeyToken=31bf3856ad364e35' because the parent type is sealed.

I Cannot Logon to my Laptab Which Is having Windows Server 2012 R2

$
0
0

While loging into my server 2012 R2 after entering the password it shows the error message as

There are currently no logon servers available to service the logon request.

As I am using my ax in it.

Saved personalisation's not available to load after usage data reset

$
0
0

We have just upgraded to R3 but user personalisation's saved (and visible for loading originally) are then not there following a usage data reset for users.  (This is required to clear a caching issue) .This wasn't a problem in R2.  I am seeing the message something like 'no customisations exist for user xxxxxxx' when I come to reload what was saved just prior to clearing the data.

anyone seen this or have a solution?

thanks

Application data flow documentation

$
0
0

Hi,

Is there a documentation that would show like for example when a purchase receipts is saved, what are the sql tables that gets used to store the data? for example Receipt header exact sql table name used , receipt detail line item exact sql table name used , receipt detail line items taxes exact sql table name used,...

pdfsharp dll not working in batch mode

$
0
0

I have an issue with pdfsharp dll. I was able to use the dll in on a local dev instance to successfully merge two pdf files using x++ code. When I promote this dll to TEST in a different instance it fails to run in batch mode. It runs fine in interactive mode.

My server configuration

Local dev instance- AX 2012 R3 all in one  box where we have the SQL and SSRS on the same box.
TEST instance = AX 2012 2 AOS Server. 1 dedicated batch server and 1 ssrs server.

The process worked correctly on both AOS servers when running in interactive mode. It fails only in batch mode. Something that is not reflecting in CLR.

I have added the required dll files to both server\bin and client\ bind folder.

I have also done multiple compile and CIL generations and nothing seems to help.

Any suggestions on how to resolve this issue in batch.


Extracting items and prices

$
0
0

Hello Experts,

I am completely new to Microsoft Dynamic and is learning a I go alone.

I have a urgent request to pull some data from a SQL database. here is the request....

I need to know how to pull all items and their prices from DAX using SQL database. here is what i have done but this is not correct because it does not reflect the prices in DAX.

/****** Script for SelectTopNRows command from SSMS  ******/
SELECT DISTINCT [PRODTABLE].NAME, INVENTITEMPRICE.PRICE  FROM [AGDAX2012_Live].[dbo].[INVENTITEMPRICE],[PRODTABLE]
  WHERE  INVENTITEMPRICE.ITEMID = PRODTABLE.ITEMID

Any help or sugession oon this is greatly appreciated.

 

Installation error in AOS dynamics AX

$
0
0

i am trying to install the AOS Dynamics AX in windows server 2012. i have created the databases using Database installation in AX Dynamics setup in SQL Server. Now i am trying to install the AOS feature but i am getting the like this in connecting to database stage....

"Setup cannot use the database MicrosoftDynamicsAx in server VENKAT because its Collation is incorrect". please help me with this error.

Ledger transaction list report not responding

$
0
0

Hi All,

In GL module General ledger > Reports > Transactions > Ledger transaction list.

when i run the report by giving Current year or Current period or Previous year parameters the report is printing perfectly, but when i select any particular main account it is not at all responding and system gets hanged in 

AX 2012 R2 RTM Version.

Is this bug or any thing else ?

Thanks,

Krishna

run ssrs report with two design

$
0
0

I have rdp class that has two temp table, in process in rdp class i want to run specific function based on design in menu item and another function based on another design.

how to do this??

Regards,

Permissions for SysOperationTemplate form

$
0
0

Hi all,

  Good day to all.

I have a doubt. I need to change the  priviledges to few menu items which were present in UAT.  When i check the menu item, to open the form.  

on the information tab Sysoperation Template form as Form name ?

on the menu item ? there is no menu name given? how to identify this is a form which has some security roles are assigned to them? to remove this form the corresponding module ? what one should do?

Thanks & Regards,

parimalraj viswanathan

Viewing all 17532 articles
Browse latest View live


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