Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Info Window #6

Open
homebeaver opened this issue Jan 29, 2020 · 0 comments
Open

Info Window #6

homebeaver opened this issue Jan 29, 2020 · 0 comments

Comments

@homebeaver
Copy link
Contributor

homebeaver commented Jan 29, 2020

mehrere, beginnend mit Product + BPartner (analog zu AD Views):

grafik

Analogie zu AD (client) AEnv.actionPerformed:

		//  View Menu   ------------------------
		else if (actionCommand.equals("InfoProduct") && AEnv.canAccessInfo("PRODUCT"))
		{
			org.compiere.apps.search.Info.showProduct (Env.getFrame(c), WindowNo);
		}
		else if (actionCommand.equals("InfoBPartner") && AEnv.canAccessInfo("BPARTNER"))
		{
			org.compiere.apps.search.Info.showBPartner (Env.getFrame(c), WindowNo);
		}
		else if (actionCommand.equals("InfoAsset") && AEnv.canAccessInfo("ASSET"))

und in abstract class Info extends CDialog ...

	public static void showProduct (Frame frame, int WindowNo)
	{
		Info info = new InfoProduct (frame, false, WindowNo, 
			Env.getContextAsInt(Env.getCtx(), WindowNo, "M_Warehouse_ID"),
			Env.getContextAsInt(Env.getCtx(), WindowNo, "M_PriceList_ID"), 
			0,		// Record ID
			"",		//	value 
			false, false, "");
		AEnv.showCenterWindow(frame, info);
	}   //  showProduct
homebeaver pushed a commit that referenced this issue Feb 1, 2020
homebeaver pushed a commit that referenced this issue Feb 4, 2020
Nicht notwendig, wenn displayType existiert
homebeaver pushed a commit that referenced this issue Feb 5, 2020
ohne Suchfelder und ohne Selection ( keine from- where- order-clause )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant