Skip to main content
Solved

Overtake Error


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Superhero (Customer)
  • 326 replies

Hi,

 

I need to Overtake a function. However, the studio throws “ERROR: Method Get_End_Date in layer Core overrides, but no matching method or function signature was found.” error. The error points to another function in the message. I tried SEARCH and REPLACE. The function is at the Core level, and IntelliSense shows it. What is the problem?

API: supp_blk_period_api
Function: get_start_date

 

Best answer by Tomas Ruderfelt

You need to remove line 7 and 8 in the .entity file.

Otherwise it means that you are trying to add two new attributes to the entity called “Key” and “Value”.

Those two lines you get by default and you always need to remove or change them to how you want to have it.

View original

10 replies

Forum|alt.badge.img+20

How does your .entity file look like?

Have you removed the two default attributes you get by default in it?


PhillBronson
Hero (Customer)
Forum|alt.badge.img+11
  • Hero (Customer)
  • 161 replies
  • May 1, 2025

Interesting, looks the same as the original but it’s in a different part of the file

 


Forum|alt.badge.img+20

One of the default attributes you get in the .entity file is a key.

Adding a new field to the key changes the Base method “Get_End_Date” and then the Overtake done in Core is incorrect and you get this error.

So maybe the default attributes are not removed in this case.

I re-created it easily by not removing the default attributes and after removing them the error disappeared.


PhillBronson
Hero (Customer)
Forum|alt.badge.img+11
  • Hero (Customer)
  • 161 replies
  • May 1, 2025

@Tomas Ruderfelt that makes alot of sense. And answers another question I had about tracking almost empty. entity files


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • 326 replies
  • May 2, 2025
Tomas Ruderfelt wrote:

How does your .entity file look like?

Have you removed the two default attributes you get by default in it?

@Tomas Ruderfelt 

The entity looks like this.

How can I remove the attributes? I didn’t before. I tried as below, but the same error is still shown.

 


Forum|alt.badge.img+20
  • Superhero (Employee)
  • 499 replies
  • Answer
  • May 2, 2025

You need to remove line 7 and 8 in the .entity file.

Otherwise it means that you are trying to add two new attributes to the entity called “Key” and “Value”.

Those two lines you get by default and you always need to remove or change them to how you want to have it.


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • 326 replies
  • May 2, 2025
Tomas Ruderfelt wrote:

One of the default attributes you get in the .entity file is a key.

Adding a new field to the key changes the Base method “Get_End_Date” and then the Overtake done in Core is incorrect and you get this error.

So maybe the default attributes are not removed in this case.

I re-created it easily by not removing the default attributes and after removing them the error disappeared.

@Tomas Ruderfelt I'm going to change the Where condition. How did you do that? Maybe my syntax was incorrect.


Forum|alt.badge.img+20

If the .plsql file looks exactly like that you need to add the parameters, blanket_order_ and date_, also like you have in your first picture. Or you can remove everything and do Overtake again, then you will get them by default.


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • 326 replies
  • May 2, 2025
Tomas Ruderfelt wrote:

You need to remove line 7 and 8 in the .entity file.

Otherwise it means that you are trying to add two new attributes to the entity called “Key” and “Value”.

Those two lines you get by default and you always need to remove or change them to how you want to have it.

Thank you. That is solved my problem.


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • 326 replies
  • May 2, 2025
Tomas Ruderfelt wrote:

If the .plsql file looks exactly like that you need to add the parameters, blanket_order_ and date_, also like you have in your first picture. Or you can remove everything and do Overtake again, then you will get them by default.

I wrote the Overtake again. And it works fine. Thank you again.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings