Skip to content

Ninniku IT Hub

Provide open-source solutions for businesses.

Menu
  • Home
  • Technical Support
  • Traning
    • Arduino for IoT and ERP Integration
  • Expert Certification
  • Plug-In Download
Menu

iDempiere plug-in project

Posted on 2021-03-24
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <groupId>org.idempiere</groupId>
	<artifactId>org.idempiere.parent</artifactId>
	<version>7.1.0-SNAPSHOT</version>
	<relativePath>../idempiere2020/org.idempiere.parent/pom.xml</relativePath>
    </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>tw.aierp.aps</groupId>
  <artifactId>tw.aierp.aps</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <build>
    <sourceDirectory>src</sourceDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.8.0</version>
        <configuration>
          <source>1.7</source>
          <target>1.7</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
    <parent>
        <groupId>org.idempiere</groupId>
	<artifactId>org.idempiere.parent</artifactId>
	<version>7.1.0-SNAPSHOT</version>
	<relativePath>../idempiere2020/org.idempiere.parent/pom.xml</relativePath>
    </parent>

修改pom.xml 插入 <parent> </parent>標籤

MyProcessFactory.java

package tw.aierp.aps.factories;
import org.adempiere.base.IProcessFactory;
import org.compiere.process.ProcessCall;

import tw.aierp.aps.process.CopyPlanMonth;
public class MyProcessFactory implements IProcessFactory {

	@Override
	public ProcessCall newProcessInstance(String className) {
		if(className == null)
			return null;
		if(className.equals(CopyPlanMonth.class.getName()))
			return new CopyPlanMonth();
		return null;	
	}

}

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Apple
  • iDempiere
  • IoT
  • IT Tools
  • Linux
  • SAP
  • uncategorized
  • Wordpress

Tags

Access Arduino Backup Bad Dept Business One Button Confirmation CRM Developer Document ERP Exam Financial GPIO iDempiere Jasper Report Java JavaFX Just-In-Time Language LED Linux M1 MacOS Material Receipt Maven Model mvn Period Control Permission PostgreSQL Potentiometer Process Profit Center PWM Raspberry PI repository Resistor Role Sales Management Swing Tips Ubuntu Wordpress Workflow

Recent Posts

  • Comparing Java GUI Frameworks: Pros and Cons
  • Implement the void function for Depreciation documents in iDempiere ERP.
  • What is the difference between Docker and VM?
  • Finding Data in SAP Business One: How to Locate Relevant Tables and Columns for Documents
  • How to Handle Bad Debts in iDempiere ERP: A Step-by-Step Guide for Writing Off Receivables and Maintaining Accurate Financial Records

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2023 Ninniku IT Hub | Design: Newspaperly WordPress Theme