Page 1 of 1

Custom Screen with Custom Business Object Error

PostPosted: Mon Aug 03, 2020 3:23 pm
by SBarnes
I have developed a custom screen based upon the maintenance screen and a custom business object and everything works perfectly except when you scroll back and fort where you get an error about @SeedValue not supplier to select top 1.

Delete also produces the same error.

What am I doing wrong?

Re: Custom Screen with Custom Business Object Error

PostPosted: Mon Aug 03, 2020 4:48 pm
by Mike.Sheen
SBarnes wrote:I have developed a custom screen based upon the maintenance screen and a custom business object and everything works perfectly except when you scroll back and fort where you get an error about @SeedValue not supplier to select top 1.

Delete also produces the same error.

What am I doing wrong?


Have you overridden the DocumentNo property and returned a value there? (in the case of Inventory Maintenance, that's the PartNo - in the case of sales orders that's Invoice No - to give you an idea of what it should be).

Also have you overridden the SortFieldValue property? And in your setup method did you Add to the SortOrders collection? Both of these should also be done.

Re: Custom Screen with Custom Business Object Error  Topic is solved

PostPosted: Mon Aug 03, 2020 5:31 pm
by SBarnes
Hi Mike

You were close but not quite the issue was Sort Field Value was no covering all possibilities for the sort collection but thanks you pointed me in the right direction to get it sorted.