NF13 Account Info Customization

From iDempiere en

Developer : A. Zuhri Utama

Sponsor : PT. Reka Estu Digital

Jira Ticket : IDEMPIERE-6533 - Register Account Info As Form

Description :

Added new feature to allow customization of Account Info window with custom plugin for enhancement or modification of default account info.

How To :

to customize Account Info, you need to create or use your own plugin. copy default account info window from org.adempiere.webui.acct.WAcctViewer class to your plugin, ex. com.company.form.WCustomAcctViewer and register the new form using FormFactory.

example of FormFactory :

 1package org.idempiere.custom.acct;
 2
 3
 4import org.adempiere.webui.acct.WAcctViewer;
 5import org.adempiere.webui.factory.IFormFactory;
 6import org.adempiere.webui.panel.ADForm;
 7
 8
 9public class FormFactory implements IFormFactory
10{
11
12
13	@Override
14	public ADForm newFormInstance(String formName) {
15		if (WAcctViewer.class.getName().equals(formName))
16			return new WCustomAcctViewer();
17		return null;
18	}
19
20
21}

test the plugin by register your plugin on server.product launch then click the Account Info on views widget dashboard.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.