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

How to create batch tasks?

$
0
0

Hi,

When creating batch jobs from the form:

1. How to choose the class name..this needs to be filled based on what?

Do I need to create a controller and service class by form to be able to create a batch job from the form?

And does this class name need to be filled with controller class or service class?

Also what are the constraints and what are they used for?


View Computed Column to display value

$
0
0

Hello everyone,

I have one requirement, i am creating one view. And I want to show some values in view's computed column with the help of methods which I have to create on view. 

I have to use multiple join conditions on view methods. But on view methods have to be static methods. So I am not able to use "this" keyword. 

Eg: on view i have itemId field, now with the use of that item Id field I have to display some other values from other table.

So how can I get that current value in my methods,as we cannot use this keyword.

XML files recurring import error

$
0
0

Hello folks,

I'm dealing with an issue regarding a recurring integration with XML files. Basically the system blocks import of file before staging validation, showing the following log:

Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 17, position 15.

Apparently the problem is about the XML declaration and I'm experiencing the same error, no matter which files I try, in any sandbox environment. What is baffling though is that the very same recurring integration works fine in Live environment. All the data projects I'm using in the sandbox environments share the same data entity (custom), the same field mapping and the same middleware system for files enqueuing. We are even trying to import the same files uploaded in Live!

Since I cannot import XML files even in Prelive environment (meaning that, in this case, even the code base is identical to Live) my theory is that, maybe, some parameter or setup in Data management workspace or System administrator module gets canceled / lost during DB copying. However, so far, I couldn't detect any differences in setup between Prelive and Live. 

Have you ever experienced a similar problem? Would you share any insight? I will also definitely open a support request to MS.

Kind regards

Gian Paolo

cout unitaire HT d'un article

$
0
0

Le champ cout unitaire HT de la commande achat refuse les nombres décimaux depuis

un certain moment malgré que tout soit correct au niveau du paramétrage de la devise concernée.

Quel paramétrage faut - il faire svp?

Merci

Build server redeployment

$
0
0

Hello All,

We have a VSTS project in place, with all our code customizations. We had a build server configured but for some reason this got deallocated and we can no longer see the build and dev environments in LCS project.

 

Since we already have the VSTS project with all our customizations and our LCS is also being setup with this VSTS project already, can i just redeploy a build environment with the existing agent pool? 

What will happen to the code repository? Will this be cleaned out? or will the build look for an exisitng Main folder and reconfigure automatically?

The other way is to set up an entirely new project, link this in LCS, redeploy build server and move my customizations over from the older project to the newer one. 

Any suggestions?

Certain InventTable field values not showing in form extension

$
0
0

Hi All,

I'm working on a form extension for the InventOnHandItem form. I am trying to add two string fields to the grid from InventTable. The issue is that when I set the data field to certain fields, I am not getting any values in the new columns. I can see in SQL and Table Bowser that there are values in those columns, they just are not showing in the grid. The column and column header are there, but all the values are blank.

I tried this first with two custom fields in InventTable, and when those didn't work I tried with other fields on the table. Some show values, others don't. In SQL and table browser they all have values. Some example fields: 

DataAreaId - A value is shown.
NameAlias - A value is shown.
ItemBuyerGroupID - No value is shown.
BOMCalcGroupId - No value is shown.
ModifiedBy - No value is shown.

Again, these fields should all show values based on what I see in SQL, so I must be missing something.

The Data Source properties: 

The properties from one of the fields added to the grid, using 'ModifiedBy' as an example data field: 

I'm not sure what I am missing in the setup. I followed the same steps I have followed when joining other tables and adding fields to grids, except that the data source screenshot above shows as an inner join type. I tried both an outer join and inner join. I received no values for any fields using outer, even though outer is what I have used in other instances and got the results I expected.

Any help would be greatly appreciated. Thank you!

 

Want to discard particular sales quotation lines based on the user defined checkbox given in the sales quotation lines

$
0
0

Hi community 

My requirement is that when we go to confirm sales quotation page then we have few sales quotation lines which will be converted to sales order but I want that only that particular lines to be converted in which checkbox is unchecked so that I can convert it to sales agreement. 

DevOps : No New Test Plan button

$
0
0

Hi guys,

In Azure DevOps - Test Plans, if I don't have button for "New Test Plan", what should I do ?

When Googling, I saw that we only need to have "Basic + Test Plan" will do. Btw it is a Trial.

I'm the Admin of my org.

Thanks


Using Classes to Create a Dialog

$
0
0

I created a button that should open a dialog box, but I don't want the method to be written on clicked. I want to create a separate class that will be called. How do I do this?

Error Creating Return Sales order

$
0
0

Hi I get this error when I try to create a Sales Return Header through code:

Cannot create a record in Return orders (MCRReturnSalesTable). Exchange: No.\nThe record already exists.

It works if I do through the Return Order Form or change my SaleTable.insert() to SalesTable.doinsert().

Has anyone run into this before?

Thanks

Enum field values are not appearing in newly added field in form

$
0
0

Hi All,

We have one customized parameter form, we have added one new field in the Parameter table as enum with few values, but when added the same into Parameter form , it is appearing as just text box without values, we have added data source and data field.

When we open the table in browser able to see Enum values, but the same is not appearing in Form.

Please advise.

Regards,

Akbar 

implement Runbase form

$
0
0

i need a clear example how to implement and use runbase form "not runbase class" 

and how to use the selected fields and selected query parameters to do my business logic

it's something like this form

i read mr faisal article
How to implement Runbase form in AX

but it doesn't help me 100%

as i need a full example to how to get selected data from the class to the form based on the dialog fields or query 

any help please ?

How can I iterate over all the datasources on the PurchTable form?

$
0
0

I added an Enum type field that has the Open and Blocked values ​​and I want the fields not to be editable for all PurchesOrders with Blocked status.

How to create batch tasks?

$
0
0

Hi,

When creating batch jobs from the form:

1. How to choose the class name..this needs to be filled based on what?

Do I need to create a controller and service class by form to be able to create a batch job from the form?

And does this class name need to be filled with controller class or service class?

Also what are the constraints and what are they used for?

View Computed Column to display value

$
0
0

Hello everyone,

I have one requirement, i am creating one view. And I want to show some values in view's computed column with the help of methods which I have to create on view. 

I have to use multiple join conditions on view methods. But on view methods have to be static methods. So I am not able to use "this" keyword. 

Eg: on view i have itemId field, now with the use of that item Id field I have to display some other values from other table.

So how can I get that current value in my methods,as we cannot use this keyword.


XML files recurring import error

$
0
0

Hello folks,

I'm dealing with an issue regarding a recurring integration with XML files. Basically the system blocks import of file before staging validation, showing the following log:

Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 17, position 15.

Apparently the problem is about the XML declaration and I'm experiencing the same error, no matter which files I try, in any sandbox environment. What is baffling though is that the very same recurring integration works fine in Live environment. All the data projects I'm using in the sandbox environments share the same data entity (custom), the same field mapping and the same middleware system for files enqueuing. We are even trying to import the same files uploaded in Live!

Since I cannot import XML files even in Prelive environment (meaning that, in this case, even the code base is identical to Live) my theory is that, maybe, some parameter or setup in Data management workspace or System administrator module gets canceled / lost during DB copying. However, so far, I couldn't detect any differences in setup between Prelive and Live. 

Have you ever experienced a similar problem? Would you share any insight? I will also definitely open a support request to MS.

Kind regards

Gian Paolo

Enum field values are not appearing in newly added field in form

$
0
0

Hi All,

We have one customized parameter form, we have added one new field in the Parameter table as enum with few values, but when added the same into Parameter form , it is appearing as just text box without values, we have added data source and data field.

When we open the table in browser able to see Enum values, but the same is not appearing in Form.

Please advise.

Regards,

Akbar 

implement Runbase form

$
0
0

i need a clear example how to implement and use runbase form "not runbase class" 

and how to use the selected fields and selected query parameters to do my business logic

it's something like this form

i read mr faisal article
How to implement Runbase form in AX

but it doesn't help me 100%

as i need a full example to how to get selected data from the class to the form based on the dialog fields or query 

any help please ?

Table inheritance in D365 FO

$
0
0

Hello Community,

I have a question regarding the table inheritance in D365FO if you may answer.

How are the base and derived tables are represented in SQL ?

I was checking for EcoResProduct (Base) and EcoResDistinctProduct (Derived) but I only find the EcoResProduct table in SQL database.

Thanks.

c# dll successfully added as a reference but can't be used in code

$
0
0

Hi,

I'm using Visual Studio 2019 and, although I successfully added a reference to Gembox.Document.dll targeting .NET Framework 3.5-4.8, It's "not available" in a FinOps class, but I have no problem using it in a C# class. I've even tried with older versions or .NET standard 2.0.

What am I missing?

Viewing all 17532 articles
Browse latest View live


Latest Images

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