Custom Screen with Custom Business Object Error  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Custom Screen with Custom Business Object Error

Postby SBarnes » Mon Aug 03, 2020 3:23 pm

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?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191

Re: Custom Screen with Custom Business Object Error

Postby Mike.Sheen » Mon Aug 03, 2020 4:48 pm

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.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

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

Postby SBarnes » Mon Aug 03, 2020 5:31 pm

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.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 1 guest