Community
Showing results for 
Search instead for 
Do you mean 
Reply

Problem with SDK: Edit Date for Opportunities returns string, without time.

Highlighted
Copper Contributor
Posts: 139
Country: Netherlands

Problem with SDK: Edit Date for Opportunities returns string, without time.

If I do this:

 

<OpportunityManager>.GetMutableEntityFieldDescriptor("TBL_OPPORTUNITY.EDITDATE", true).GetValue(<some opportunity>)

I get a string object, WITHOUT time. like '11-7-2018'.

 

This is not how it should be, like for example when I do this:

 

<CompanyManager>.GetMutableEntityFieldDescriptor("TBL_COMPANY.EDITDATE", true).GetValue(<some company>)

I get a DateTime object, like it's supposed to return.

 

See my attachment (the 'me' variable is an abbreviation and stands for MutableEntity. It's a Company in the first row and an Opportunity in the second row).

 

Can this please be fixed? Now I cannot verify when an opportunity is edited within a precision of a whole day.... 

I've seen it with v20 and v20.1 with two totally different databases.

Greetings,

ACT Certified Consultants
TendenZ
the Netherlands