sample code required for custom list maintenance form  Topic is solved

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

sample code required for custom list maintenance form

Postby perry » Fri Dec 04, 2015 4:45 pm

Hi,

in later version of Jiwa, JiwaFinancials.Jiwa.JiwaApplication.ListMaintenance.UserInterface(Of xx,x,x) becomes available to us.
I'm just wondering if that means there is an easier way to implement custom list maintenance form similar to Inventory Groups maintenance form.

Also similar to https://forums.jiwa.com.au/viewtopic.php?f=27&t=417 but also editable?

Regards
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15

Re: sample code required for custom list maintenance form  Topic is solved

Postby Mike.Sheen » Sat Dec 05, 2015 12:07 pm

perry wrote:Hi,

in later version of Jiwa, JiwaFinancials.Jiwa.JiwaApplication.ListMaintenance.UserInterface(Of xx,x,x) becomes available to us.
I'm just wondering if that means there is an easier way to implement custom list maintenance form similar to Inventory Groups maintenance form.

Also similar to https://forums.jiwa.com.au/viewtopic.php?f=27&t=417 but also editable?

Regards


Hi Perry,

I've added a sample plugin which does what you need in the samples and examples forum : Sample Plugin - Editable List Maintenance Form.

Mike
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: sample code required for custom list maintenance form

Postby perry » Mon Dec 07, 2015 9:36 am

thanks Mike

*EDIT*
There is a missing step in the readme
I have to open "Forms" form and set "Assembly Full Name" as the plugin, otherwise I get an error when open the form.
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15

Re: sample code required for custom list maintenance form

Postby Mike.Sheen » Mon Dec 07, 2015 10:46 am

perry wrote:thanks Mike

*EDIT*
There is a missing step in the readme
I have to open "Forms" form and set "Assembly Full Name" as the plugin, otherwise I get an error when open the form.


Hmmm... but that's exactly what this part of the script does:

Code: Select all
IF NOT EXISTS(SELECT TOP 1 * FROM SY_Forms WHERE ClassName = 'Widgets')
   INSERT INTO SY_Forms(ClassName, Description, FormType, HelpFileName, HelpPageName, AssemblyFullName)
   SELECT 'Widgets', 'Widget Sample List Maintenance', 2, '', '',
   (SELECT TOP 1 RecID FROM SY_Plugin WHERE Name = 'Sample Plugin - List Maintenance')
GO


The AssemblyFullName is set to the plugin ID. Did you rename the plugin or something before you ran the script?
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: sample code required for custom list maintenance form

Postby perry » Mon Dec 07, 2015 11:14 am

Ops.. I think I executed SQL before I save the plugin.
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 1 guest