Merge 9315b1b7a2b6
This commit is contained in:
commit
d3f2cfddf0
|
@ -1,10 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/composite_XMLSBean.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/xmlbeans-2.5.0.jar" sourcepath="E:/spring/xmlbeans-2.5.0-source.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/generated_xbeans.jar" sourcepath="XBeans/src"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/cxf-rt-frontend-jaxws-2.6.1.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/Idempiere-XMLSBean-1.0.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/spring-osgi-extender-1.2.1.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/spring-aop-3.0.7.RELEASE.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/commons-logging-1.1.1.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/aopalliance-1.0.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/xmlbeans-2.5.0.jar" sourcepath="E:/spring/xmlbeans-2.5.0-source.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/cxf-rt-frontend-jaxws-2.6.1.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/stax2-api-3.1.1.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/xmlschema-core-2.0.3.jar" sourcepath="E:/spring/xmlschema-core-2.0.3-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/cxf-2.6.2.jar" sourcepath="E:/bizzidium/apache-cxf-2.6.2-src.zip"/>
|
||||
|
|
|
@ -7,17 +7,17 @@ Bundle-Activator: org.idempiere.webservices.Activator
|
|||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||
Import-Package: javax.servlet;version="3.0.0",
|
||||
javax.servlet.http;version="3.0.0",
|
||||
org.apache.commons.codec;version="1.3.0",
|
||||
org.apache.commons.codec.binary;version="1.3.0",
|
||||
org.apache.commons.logging;version="1.1.1",
|
||||
org.osgi.framework;version="1.3.0"
|
||||
org.osgi.framework;version="1.6.0"
|
||||
Require-Bundle: org.adempiere.base;bundle-version="1.0.0",
|
||||
org.adempiere.report.jasper.library;bundle-version="1.0.0",
|
||||
org.adempiere.ui;bundle-version="1.0.0",
|
||||
org.apache.ecs;bundle-version="1.0.0"
|
||||
Bundle-ClassPath: WEB-INF/lib/stax2-api-3.1.1.jar,
|
||||
Bundle-ClassPath: .,
|
||||
WEB-INF/lib/spring-osgi-extender-1.2.1.jar,
|
||||
WEB-INF/lib/spring-aop-3.0.7.RELEASE.jar,
|
||||
WEB-INF/lib/stax2-api-3.1.1.jar,
|
||||
WEB-INF/lib/spring-web-3.0.7.RELEASE.jar,
|
||||
.,
|
||||
WEB-INF/lib/spring-context-3.0.7.RELEASE.jar,
|
||||
WEB-INF/lib/spring-beans-3.0.7.RELEASE.jar,
|
||||
WEB-INF/lib/spring-core-3.0.7.RELEASE.jar,
|
||||
|
@ -27,13 +27,15 @@ Bundle-ClassPath: WEB-INF/lib/stax2-api-3.1.1.jar,
|
|||
WEB-INF/lib/cxf-2.6.2.jar,
|
||||
WEB-INF/lib/neethi-3.0.2.jar,
|
||||
WEB-INF/lib/xmlschema-core-2.0.3.jar,
|
||||
WEB-INF/lib/spring-aop-3.0.7.RELEASE.jar,
|
||||
WEB-INF/lib/cxf-rt-frontend-jaxws-2.6.1.jar,
|
||||
WEB-INF/lib/generated_xbeans.jar,
|
||||
WEB-INF/lib/xmlbeans-2.5.0.jar,
|
||||
WEB-INF/lib/composite_XMLSBean.jar
|
||||
WEB-INF/lib/aopalliance-1.0.jar,
|
||||
WEB-INF/lib/commons-logging-1.1.1.jar,
|
||||
WEB-INF/lib/Idempiere-XMLSBean-1.0.jar
|
||||
Export-Package: com._3e.ADInterface,
|
||||
com.adaxa.ws,
|
||||
com.adaxa.ws.impl,
|
||||
com.globalqss.ObPOSInterface
|
||||
org.compiere.model,
|
||||
org.idempiere.adInterface.x10,
|
||||
org.idempiere.adInterface.x10.impl,
|
||||
org.idempiere.webservices,
|
||||
org.idempiere.webservices.fault
|
||||
Web-ContextPath: ADInterface
|
||||
|
|
|
@ -1,27 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
|
||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd" >
|
||||
<!--beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"-->
|
||||
|
||||
|
||||
|
||||
<jaxws:endpoint id="ADService" address="/ADService" implementor="com._3e.ADInterface.ADServiceImpl">
|
||||
<jaxws:dataBinding>
|
||||
<bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding" />
|
||||
</jaxws:dataBinding>
|
||||
</jaxws:endpoint>
|
||||
|
||||
<jaxws:endpoint id="ModelADService" address="/ModelADService" implementor="com._3e.ADInterface.ModelADServiceImpl">
|
||||
<jaxws:dataBinding>
|
||||
<bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding" />
|
||||
</jaxws:dataBinding>
|
||||
</jaxws:endpoint>
|
||||
|
||||
<jaxws:endpoint id="WebstoreService" address="/WebstoreService" implementor="com.adaxa.ws.WebstoreServiceImpl">
|
||||
<jaxws:endpoint id="compositeInterface" address="/compositeInterface" implementor="com.bizidium.ws.CompositeServiceImpl" >
|
||||
<jaxws:dataBinding>
|
||||
<bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding" />
|
||||
<bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding" >
|
||||
</bean>
|
||||
</jaxws:dataBinding>
|
||||
</jaxws:endpoint>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ package com._3e.ADInterface;
|
|||
import java.sql.PreparedStatement;
|
||||
import java.sql.SQLException;
|
||||
|
||||
import pl.x3E.adInterface.DataRow;
|
||||
import org.idempiere.adInterface.x10.DataRow;
|
||||
|
||||
public interface ADInfo {
|
||||
public void setParameters( PreparedStatement pstmt, boolean forCount) throws SQLException;
|
||||
|
|
|
@ -18,11 +18,11 @@ import org.compiere.util.KeyNamePair;
|
|||
import org.compiere.util.ValueNamePair;
|
||||
import org.compiere.util.WebSessionCtx;
|
||||
|
||||
import pl.x3E.adInterface.DataField;
|
||||
import pl.x3E.adInterface.DataRow;
|
||||
import pl.x3E.adInterface.DataSet;
|
||||
import pl.x3E.adInterface.LookupValue;
|
||||
import pl.x3E.adInterface.LookupValues;
|
||||
import org.idempiere.adInterface.x10.DataField;
|
||||
import org.idempiere.adInterface.x10.DataRow;
|
||||
import org.idempiere.adInterface.x10.DataSet;
|
||||
import org.idempiere.adInterface.x10.LookupValue;
|
||||
import org.idempiere.adInterface.x10.LookupValues;
|
||||
|
||||
/*
|
||||
* ADEMPIERE/COMPIERE
|
||||
|
@ -42,8 +42,11 @@ public class ADLookup {
|
|||
static final int TYPE_BUISNESS_PARTNER = 002;
|
||||
|
||||
private String m_columnName;
|
||||
private int m_type;
|
||||
private String m_tableName;
|
||||
private String m_keyColumnName;
|
||||
private Boolean IsQueryJoin;
|
||||
private boolean m_isSOTRX;
|
||||
|
||||
private final int MAX_PRODUCT_ROWS=500;
|
||||
|
||||
|
@ -70,6 +73,7 @@ public class ADLookup {
|
|||
|
||||
private String getWhereClause( String keyColumn, DataRow params ) {
|
||||
String whereClause = "IsSummary='N'";
|
||||
String lookupColumn = keyColumn;
|
||||
return whereClause;
|
||||
}
|
||||
|
||||
|
@ -128,6 +132,8 @@ public class ADLookup {
|
|||
String whereClause = getWhereClause(m_columnName, adr);
|
||||
String finalSQL="";
|
||||
|
||||
IsQueryJoin = false;
|
||||
|
||||
String mode = "normal";
|
||||
for (int i=0; i< adr.sizeOfFieldArray(); i++) {
|
||||
DataField f = adr.getFieldArray(i);
|
||||
|
@ -194,14 +200,16 @@ public class ADLookup {
|
|||
//join<EFBFBD>w
|
||||
if ((ile==1))
|
||||
{
|
||||
System.out.println("Znalaz<EFBFBD>em 1 rekord wi<77>c szukam dla bez join. W kliencie zostanie automatycznie uzupe<70>niona warto<74>c");
|
||||
System.out.println("Znalaz�em 1 rekord wi�c szukam dla bez join. W kliencie zostanie automatycznie uzupe�niona warto�c");
|
||||
IsQueryJoin = false;
|
||||
}
|
||||
//Jesli wiecej niz jeden to uzywamy join<EFBFBD>w
|
||||
//Spowoduje to wyswietlenie rekord<EFBFBD>w spe<EFBFBD>niajacych kryterium
|
||||
//w oknie LookUp'a
|
||||
if (ile>1)
|
||||
{
|
||||
System.out.println("Znalaz<EFBFBD>em wi<77>cej ni<6E> 1 rekord wi<77>c szukam dla whereClause i z joinami. W kliencie zostanie wy<77>wietlone LookUpWindow z przefiltrowanymi rekordami.");
|
||||
System.out.println("Znalaz�em wi�cej ni� 1 rekord wi�c szukam dla whereClause i z joinami. W kliencie zostanie wy�wietlone LookUpWindow z przefiltrowanymi rekordami.");
|
||||
IsQueryJoin = true;
|
||||
|
||||
}
|
||||
ds = getResult(info, ds, ile, mode);
|
||||
|
|
|
@ -1,63 +0,0 @@
|
|||
package com._3e.ADInterface;
|
||||
|
||||
|
||||
import javax.jws.WebParam;
|
||||
import javax.jws.WebService;
|
||||
import javax.jws.soap.SOAPBinding;
|
||||
import javax.jws.soap.SOAPBinding.ParameterStyle;
|
||||
import javax.jws.soap.SOAPBinding.Style;
|
||||
import javax.jws.soap.SOAPBinding.Use;
|
||||
|
||||
import pl.x3E.adInterface.ADLoginRequestDocument;
|
||||
import pl.x3E.adInterface.ADLoginResponseDocument;
|
||||
import pl.x3E.adInterface.ADMenuDocument;
|
||||
import pl.x3E.adInterface.DocActionDocument;
|
||||
import pl.x3E.adInterface.GetLookupSearchDataReqDocument;
|
||||
import pl.x3E.adInterface.GetProcessParamsDocument;
|
||||
import pl.x3E.adInterface.LocationDocument;
|
||||
import pl.x3E.adInterface.ProcessParamsDocument;
|
||||
import pl.x3E.adInterface.RunProcessDocument;
|
||||
import pl.x3E.adInterface.RunProcessResponseDocument;
|
||||
import pl.x3E.adInterface.StandardResponseDocument;
|
||||
import pl.x3E.adInterface.WindowDocument;
|
||||
import pl.x3E.adInterface.WindowTabDataDocument;
|
||||
import pl.x3E.adInterface.WindowTabDataReqDocument;
|
||||
|
||||
@WebService(targetNamespace="http://3e.pl/ADInterface")
|
||||
@SOAPBinding(style=Style.RPC,use=Use.LITERAL,parameterStyle=ParameterStyle.WRAPPED)
|
||||
public interface ADService {
|
||||
|
||||
public WindowDocument getADWindow(@WebParam(name="WindowNo") int WindowNo,@WebParam(name="AD_Window_ID") int AD_Window_ID,@WebParam(name="AD_Menu_ID") int AD_Menu_ID);
|
||||
//public WindowTabDataDocument getWindowTabData(int WindowNo, int AD_Window_ID, int AD_Menu_ID, int TabNo, int PrevTabNo, int PrevRecNo, boolean GetData) throws XFireFault;
|
||||
//public WindowTabDataDocument getWindowTabData(int WindowNo, int AD_Window_ID, int AD_Menu_ID, int TabNo, int PrevTabNo, int PrevRecNo, boolean GetData, int RowStart, int RowCount) throws XFireFault;
|
||||
public WindowTabDataDocument getWindowTabData(WindowTabDataReqDocument reqd);
|
||||
|
||||
public WindowTabDataDocument getDataRow(@WebParam(name="WindowNo") int WindowNo,@WebParam(name="TabNo") int TabNo,@WebParam(name="RowNo") int RowNo );
|
||||
public WindowTabDataDocument updateDataRow(@WebParam(name="WindowNo") int WindowNo,@WebParam(name="TabNo") int TabNo,@WebParam(name="RowNo") int RowNo, WindowTabDataDocument data );
|
||||
public WindowTabDataDocument saveDataRow(@WebParam(name="WindowNo") int WindowNo,@WebParam(name="TabNo") int TabNo,@WebParam(name="RowNo") int RowNo, WindowTabDataDocument data );
|
||||
public WindowTabDataDocument addNewDataRow(@WebParam(name="WindowNo") int WindowNo,@WebParam(name="TabNo") int TabNo );
|
||||
public WindowTabDataDocument deleteDataRow(@WebParam(name="WindowNo") int WindowNo,@WebParam(name="TabNo") int TabNo,@WebParam(name="RowNo") int RowNo );
|
||||
public WindowTabDataDocument ignoreDataRow(@WebParam(name="WindowNo") int WindowNo,@WebParam(name="TabNo") int TabNo,@WebParam(name="RowNo") int RowNo );
|
||||
public WindowTabDataDocument refreshDataRow(@WebParam(name="WindowNo") int WindowNo,@WebParam(name="TabNo") int TabNo,@WebParam(name="RowNo") int RowNo );
|
||||
|
||||
public WindowTabDataDocument getLookupSearchData(GetLookupSearchDataReqDocument req);
|
||||
public WindowTabDataDocument getLookupData(@WebParam(name="WindowNo") int WindowNo,@WebParam(name="TabNo") int TabNo,@WebParam(name="RowNo") int RowNo,@WebParam(name="columnName") String columnName );
|
||||
|
||||
public ADMenuDocument getADMenu(@WebParam(name="AD_Role_ID")int AD_Role_ID);
|
||||
|
||||
public ADLoginResponseDocument login( ADLoginRequestDocument req );
|
||||
|
||||
public ProcessParamsDocument getProcessParams( GetProcessParamsDocument req );
|
||||
public RunProcessResponseDocument runProcess( RunProcessDocument req );
|
||||
|
||||
public StandardResponseDocument saveLocation( LocationDocument req );
|
||||
public LocationDocument getLocation( LocationDocument req );
|
||||
|
||||
public DocActionDocument getDocAction(@WebParam(name="WindowNo") int WindowNo,@WebParam(name="TabNo") int TabNo,@WebParam(name="RowNo") int RowNo,@WebParam(name="ColName") String ColName );
|
||||
public StandardResponseDocument setDocAction(@WebParam(name="WindowNo") int WindowNo,@WebParam(name="TabNo") int TabNo,@WebParam(name="RowNo") int RowNo,@WebParam(name="ColName") String ColName,@WebParam(name="docAction") String docAction );
|
||||
|
||||
public String getVersion();
|
||||
|
||||
public boolean isLoggedIn();
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -9,8 +9,8 @@ import org.compiere.util.CLogger;
|
|||
import org.compiere.util.Env;
|
||||
import org.compiere.util.Msg;
|
||||
|
||||
import pl.x3E.adInterface.DataField;
|
||||
import pl.x3E.adInterface.DataRow;
|
||||
import org.idempiere.adInterface.x10.DataField;
|
||||
import org.idempiere.adInterface.x10.DataRow;
|
||||
|
||||
|
||||
public class InfoBPartner implements ADInfo {
|
||||
|
|
|
@ -16,8 +16,8 @@ import org.compiere.util.DB;
|
|||
import org.compiere.util.Env;
|
||||
import org.compiere.util.Msg;
|
||||
|
||||
import pl.x3E.adInterface.DataField;
|
||||
import pl.x3E.adInterface.DataRow;
|
||||
import org.idempiere.adInterface.x10.DataField;
|
||||
import org.idempiere.adInterface.x10.DataRow;
|
||||
|
||||
|
||||
public class InfoProduct implements ADInfo {
|
||||
|
|
|
@ -36,13 +36,13 @@ import javax.jws.soap.SOAPBinding.ParameterStyle;
|
|||
import javax.jws.soap.SOAPBinding.Style;
|
||||
import javax.jws.soap.SOAPBinding.Use;
|
||||
|
||||
import pl.x3E.adInterface.ModelCRUDRequestDocument;
|
||||
import pl.x3E.adInterface.ModelGetListRequestDocument;
|
||||
import pl.x3E.adInterface.ModelRunProcessRequestDocument;
|
||||
import pl.x3E.adInterface.ModelSetDocActionRequestDocument;
|
||||
import pl.x3E.adInterface.RunProcessResponseDocument;
|
||||
import pl.x3E.adInterface.StandardResponseDocument;
|
||||
import pl.x3E.adInterface.WindowTabDataDocument;
|
||||
import org.idempiere.adInterface.x10.ModelCRUDRequestDocument;
|
||||
import org.idempiere.adInterface.x10.ModelGetListRequestDocument;
|
||||
import org.idempiere.adInterface.x10.ModelRunProcessRequestDocument;
|
||||
import org.idempiere.adInterface.x10.ModelSetDocActionRequestDocument;
|
||||
import org.idempiere.adInterface.x10.RunProcessResponseDocument;
|
||||
import org.idempiere.adInterface.x10.StandardResponseDocument;
|
||||
import org.idempiere.adInterface.x10.WindowTabDataDocument;
|
||||
|
||||
@WebService(targetNamespace="http://3e.pl/ADInterface")
|
||||
@SOAPBinding(style=Style.RPC,use=Use.LITERAL,parameterStyle=ParameterStyle.WRAPPED)
|
||||
|
@ -66,4 +66,6 @@ public interface ModelADService {
|
|||
|
||||
public WindowTabDataDocument queryData(ModelCRUDRequestDocument req);
|
||||
|
||||
public StandardResponseDocument createUpdateData(ModelCRUDRequestDocument req);
|
||||
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,6 +2,8 @@ package com._3e.ADInterface;
|
|||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.CharArrayWriter;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
|
@ -14,6 +16,7 @@ import java.util.logging.Level;
|
|||
import net.sf.compilo.report.ReportProcessor;
|
||||
import net.sf.jasperreports.engine.JasperPrint;
|
||||
|
||||
import org.compiere.model.GridField;
|
||||
import org.compiere.model.GridTab;
|
||||
import org.compiere.model.Lookup;
|
||||
import org.compiere.model.MAllocationHdr;
|
||||
|
@ -46,19 +49,19 @@ import org.compiere.util.Trx;
|
|||
import org.compiere.wf.MWFProcess;
|
||||
import org.compiere.wf.MWorkflow;
|
||||
|
||||
import pl.x3E.adInterface.DataField;
|
||||
import pl.x3E.adInterface.DataRow;
|
||||
import pl.x3E.adInterface.GetProcessParamsDocument;
|
||||
import pl.x3E.adInterface.LookupValue;
|
||||
import pl.x3E.adInterface.LookupValues;
|
||||
import pl.x3E.adInterface.ProcessParam;
|
||||
import pl.x3E.adInterface.ProcessParamList;
|
||||
import pl.x3E.adInterface.ProcessParams;
|
||||
import pl.x3E.adInterface.ProcessParamsDocument;
|
||||
import pl.x3E.adInterface.RunProcess;
|
||||
import pl.x3E.adInterface.RunProcessDocument;
|
||||
import pl.x3E.adInterface.RunProcessResponse;
|
||||
import pl.x3E.adInterface.RunProcessResponseDocument;
|
||||
import org.idempiere.adInterface.x10.DataField;
|
||||
import org.idempiere.adInterface.x10.DataRow;
|
||||
import org.idempiere.adInterface.x10.GetProcessParamsDocument;
|
||||
import org.idempiere.adInterface.x10.LookupValue;
|
||||
import org.idempiere.adInterface.x10.LookupValues;
|
||||
import org.idempiere.adInterface.x10.ProcessParam;
|
||||
import org.idempiere.adInterface.x10.ProcessParamList;
|
||||
import org.idempiere.adInterface.x10.ProcessParams;
|
||||
import org.idempiere.adInterface.x10.ProcessParamsDocument;
|
||||
import org.idempiere.adInterface.x10.RunProcess;
|
||||
import org.idempiere.adInterface.x10.RunProcessDocument;
|
||||
import org.idempiere.adInterface.x10.RunProcessResponse;
|
||||
import org.idempiere.adInterface.x10.RunProcessResponseDocument;
|
||||
|
||||
/*
|
||||
* ADEMPIERE/COMPIERE
|
||||
|
@ -341,7 +344,7 @@ public class Process {
|
|||
try
|
||||
{
|
||||
boolean ok = false;
|
||||
//File file;
|
||||
File file;
|
||||
String file_type = "pdf";
|
||||
if (!jasperreport)
|
||||
{
|
||||
|
@ -667,7 +670,7 @@ public class Process {
|
|||
|
||||
private static JasperPrint getJasperReportPrint(Properties ctx, ProcessInfo pi)
|
||||
{
|
||||
// boolean local = true; // lokalnie czy zdalnie
|
||||
boolean local = true; // lokalnie czy zdalnie
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -815,7 +818,6 @@ public class Process {
|
|||
*/
|
||||
static public ReportEngine startFinReport (ProcessInfo pi)
|
||||
{
|
||||
@SuppressWarnings("unused")
|
||||
int AD_Client_ID = Env.getAD_Client_ID(Env.getCtx());
|
||||
|
||||
// Create Query from Parameters
|
||||
|
@ -889,7 +891,6 @@ public class Process {
|
|||
}
|
||||
Object Processing = tab.getValue("Processing");
|
||||
String DocStatus = (String)tab.getValue("DocStatus");
|
||||
@SuppressWarnings("unused")
|
||||
String DocAction = (String)tab.getValue("DocAction");
|
||||
String OrderType = Env.getContext(Env.getCtx(), tab.getWindowNo(), "OrderType");
|
||||
String IsSOTrx = Env.getContext(Env.getCtx(), tab.getWindowNo(), "IsSOTrx");
|
||||
|
@ -1053,9 +1054,9 @@ public class Process {
|
|||
|
||||
}*/
|
||||
|
||||
/*public void doPost() throws IOException {
|
||||
public void doPost() throws IOException {
|
||||
String column_name = "";//WebUtil.getParameter(request, "ColumnName");
|
||||
//String action = "";//WebUtil.getParameter(request, "action");
|
||||
String action = "";//WebUtil.getParameter(request, "action");
|
||||
|
||||
WWindowStatus ws = null; //WWindowStatus.get(request);
|
||||
|
||||
|
@ -1071,9 +1072,9 @@ public class Process {
|
|||
//return;
|
||||
}
|
||||
|
||||
//GridField f = ws.curTab.getField( column_name );
|
||||
//int process_id = f.getAD_Process_ID();
|
||||
//int record_id = ws.curTab.getRecord_ID();
|
||||
GridField f = ws.curTab.getField( column_name );
|
||||
int process_id = f.getAD_Process_ID();
|
||||
int record_id = ws.curTab.getRecord_ID();
|
||||
String qs =
|
||||
"AD_Process_ID="+Integer.toString(process_id) +"&"+
|
||||
"AD_Record_ID="+Integer.toString(record_id);
|
||||
|
@ -1082,7 +1083,7 @@ public class Process {
|
|||
//disp.forward(request, response);
|
||||
|
||||
return;
|
||||
} // doPost*/
|
||||
} // doPost
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package com.adaxa.ws;
|
||||
|
||||
import javax.jws.WebService;
|
||||
import javax.jws.soap.SOAPBinding;
|
||||
import javax.jws.soap.SOAPBinding.ParameterStyle;
|
||||
import javax.jws.soap.SOAPBinding.Style;
|
||||
import javax.jws.soap.SOAPBinding.Use;
|
||||
|
||||
|
||||
/**
|
||||
* @author ashley
|
||||
*
|
||||
*/
|
||||
@WebService(targetNamespace="http://3e.pl/ADInterface")
|
||||
@SOAPBinding(style=Style.RPC,use=Use.LITERAL,parameterStyle=ParameterStyle.WRAPPED)
|
||||
public interface WebstoreService
|
||||
{
|
||||
public ProcessResponseDocument runProcess(ProcessRequestDocument requestDoc);
|
||||
}
|
|
@ -1,579 +0,0 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package com.adaxa.ws;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import javax.jws.WebService;
|
||||
|
||||
import org.adempiere.exceptions.AdempiereException;
|
||||
import org.compiere.model.Lookup;
|
||||
import org.compiere.model.MPInstance;
|
||||
import org.compiere.model.MPInstancePara;
|
||||
import org.compiere.model.MProcess;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MWebService;
|
||||
import org.compiere.model.MWebServiceType;
|
||||
import org.compiere.model.X_WS_WebServiceMethod;
|
||||
import org.compiere.model.X_WS_WebService_Para;
|
||||
import org.compiere.process.ProcessInfo;
|
||||
import org.compiere.util.CLogger;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.DisplayType;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
import org.compiere.util.Login;
|
||||
import org.compiere.util.NamePair;
|
||||
import org.compiere.util.Trx;
|
||||
import org.compiere.util.ValueNamePair;
|
||||
|
||||
import com._3e.ADInterface.CompiereService;
|
||||
|
||||
/**
|
||||
* @author ashley
|
||||
*/
|
||||
@WebService(endpointInterface="com.adaxa.ws.WebstoreService", serviceName="WebstoreService", targetNamespace="http://3e.pl/ADInterface")
|
||||
public class WebstoreServiceImpl implements WebstoreService
|
||||
{
|
||||
|
||||
protected static final CLogger logger = CLogger
|
||||
.getCLogger(WebstoreService.class);
|
||||
public static final String WEB_SERVICE_NAME = "WebstoreService";
|
||||
private CompiereService compiereService;
|
||||
private MWebService webService;
|
||||
private X_WS_WebServiceMethod webServiceMethod;
|
||||
private MWebServiceType webServiceType;
|
||||
|
||||
public WebstoreServiceImpl()
|
||||
{
|
||||
compiereService = new CompiereService();
|
||||
compiereService.connect();
|
||||
}
|
||||
|
||||
protected void login(LoginRequest loginRequest) throws Exception
|
||||
{
|
||||
Login login = new Login(compiereService.getM_ctx());
|
||||
|
||||
// Validate user credentials
|
||||
KeyNamePair[] roles = login.getRoles(loginRequest.getUser(),
|
||||
loginRequest.getPass());
|
||||
|
||||
if (roles == null)
|
||||
{
|
||||
throw new Exception("Login Error: Invalid user credentials");
|
||||
}
|
||||
|
||||
// Validate role
|
||||
KeyNamePair loginRole = null;
|
||||
for (KeyNamePair role : roles)
|
||||
{
|
||||
if (role.getKey() == loginRequest.getRoleID())
|
||||
{
|
||||
loginRole = role;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (loginRole == null)
|
||||
{
|
||||
throw new Exception(
|
||||
"Login Error: Role is not allowed for this user");
|
||||
}
|
||||
|
||||
// Validate client
|
||||
KeyNamePair[] clients = login.getClients(loginRole);
|
||||
|
||||
if (clients == null)
|
||||
{
|
||||
throw new Exception(
|
||||
"Login Error: Client is not allowed for this user with the defined role");
|
||||
}
|
||||
|
||||
KeyNamePair loginClient = null;
|
||||
for (KeyNamePair client : clients)
|
||||
{
|
||||
if (client.getKey() == loginRequest.getClientID())
|
||||
{
|
||||
loginClient = client;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (loginClient == null)
|
||||
{
|
||||
throw new Exception(
|
||||
"Login Error: Client is not allowed for this user with the defined role");
|
||||
}
|
||||
|
||||
compiereService.getM_ctx().setProperty("#AD_Client_ID", "" + loginRequest.getClientID());
|
||||
|
||||
// Validate org
|
||||
KeyNamePair[] orgs = login.getOrgs(loginRole);
|
||||
if (orgs == null)
|
||||
{
|
||||
throw new Exception(
|
||||
"Login Error: Organization is not allowed for this user");
|
||||
}
|
||||
|
||||
KeyNamePair loginOrg = null;
|
||||
for (KeyNamePair org : orgs)
|
||||
{
|
||||
if (org.getKey() == loginRequest.getOrgID())
|
||||
{
|
||||
loginOrg = org;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (loginOrg == null)
|
||||
{
|
||||
throw new Exception(
|
||||
"Login Error: Organization is not allowed for this user");
|
||||
}
|
||||
|
||||
// Validate Warehouse
|
||||
KeyNamePair[] warehouses = login.getWarehouses(loginOrg);
|
||||
|
||||
if (warehouses == null)
|
||||
{
|
||||
throw new Exception(
|
||||
"Login Error: Warehouse is not allowed for this user");
|
||||
}
|
||||
|
||||
KeyNamePair loginWarehouse = null;
|
||||
for (KeyNamePair warehouse : warehouses)
|
||||
{
|
||||
if (warehouse.getKey() == loginRequest.getWarehouseID())
|
||||
{
|
||||
loginWarehouse = warehouse;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (loginWarehouse == null)
|
||||
{
|
||||
throw new Exception(
|
||||
"Login Error: Warehouse is not allowed for this user");
|
||||
}
|
||||
|
||||
String error = login.validateLogin(loginOrg);
|
||||
|
||||
if (error != null && error.length() > 0)
|
||||
{
|
||||
throw new Exception("Login Error: " + error);
|
||||
}
|
||||
|
||||
int AD_User_ID = Env.getAD_User_ID(compiereService.getM_ctx());
|
||||
|
||||
if (!compiereService.login(AD_User_ID, loginRequest.getRoleID(),
|
||||
loginRequest.getClientID(), loginRequest.getOrgID(),
|
||||
loginRequest.getWarehouseID(), loginRequest.getLang()))
|
||||
{
|
||||
throw new Exception(
|
||||
"Login Error: Could not initialize login details");
|
||||
}
|
||||
}
|
||||
|
||||
private void initWebServiceType(String webserviceValue, String methodValue,
|
||||
String serviceTypeValue) throws Exception
|
||||
{
|
||||
webService = MWebService.get(compiereService.getM_ctx(),
|
||||
webserviceValue);
|
||||
if (webService == null || !webService.isActive())
|
||||
{
|
||||
throw new Exception("Web Service Configuration Error: Web Service "
|
||||
+ webserviceValue + " not registered");
|
||||
}
|
||||
|
||||
webServiceMethod = webService.getMethod(methodValue);
|
||||
if (webServiceMethod == null || !webServiceMethod.isActive())
|
||||
{
|
||||
throw new Exception("Web Service Configuration Error: Method "
|
||||
+ methodValue + " not registered");
|
||||
}
|
||||
|
||||
String sql = "SELECT * FROM WS_WebServiceType "
|
||||
+ "WHERE AD_Client_ID=? " + "AND WS_WebService_ID=? "
|
||||
+ "AND WS_WebServiceMethod_ID=? " + "AND Value=? "
|
||||
+ "AND IsActive='Y'";
|
||||
PreparedStatement pstmt = null;
|
||||
ResultSet rs = null;
|
||||
try
|
||||
{
|
||||
pstmt = DB.prepareStatement(sql, null);
|
||||
pstmt.setInt(1, compiereService.getM_AD_Client_ID());
|
||||
pstmt.setInt(2, webService.getWS_WebService_ID());
|
||||
pstmt.setInt(3, webServiceMethod.getWS_WebServiceMethod_ID());
|
||||
pstmt.setString(4, serviceTypeValue);
|
||||
rs = pstmt.executeQuery();
|
||||
if (rs.next())
|
||||
{
|
||||
webServiceType = new MWebServiceType(
|
||||
compiereService.getM_ctx(), rs, null);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.log(Level.SEVERE, "Could not get web service type", ex);
|
||||
throw new Exception(
|
||||
"Web Service Error: Could not get web service with type '"
|
||||
+ serviceTypeValue + "'");
|
||||
}
|
||||
finally
|
||||
{
|
||||
DB.close(rs, pstmt);
|
||||
}
|
||||
|
||||
if (webServiceType == null)
|
||||
{
|
||||
throw new Exception("Web Service Error: Web service type '"
|
||||
+ serviceTypeValue + "' is not configured");
|
||||
}
|
||||
|
||||
String accessSql = "SELECT IsReadWrite FROM WS_WebServiceTypeAccess WHERE AD_Role_ID=? "
|
||||
+ "AND WS_WebServiceType_ID=? AND IsActive='Y'";
|
||||
|
||||
String hasAccess = DB.getSQLValueString(null, accessSql,
|
||||
Env.getAD_Role_ID(compiereService.getM_ctx()),
|
||||
webServiceType.get_ID());
|
||||
|
||||
if (!"Y".equals(hasAccess))
|
||||
{
|
||||
throw new Exception(
|
||||
"Web Service Error: Login role does not have access to the service type");
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private <T> T formatValue(String value, Class<T> type) throws Exception
|
||||
{
|
||||
try
|
||||
{
|
||||
if (value == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else if (String.class == type)
|
||||
{
|
||||
return (T) value;
|
||||
}
|
||||
else if (value.trim().length() == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else if (Integer.class == type)
|
||||
{
|
||||
return (T) Integer.valueOf(value);
|
||||
}
|
||||
else if (BigDecimal.class == type)
|
||||
{
|
||||
return (T) new BigDecimal(value);
|
||||
}
|
||||
else if (Boolean.class == type)
|
||||
{
|
||||
if ("Y".equalsIgnoreCase(value))
|
||||
{
|
||||
return (T) Boolean.TRUE;
|
||||
}
|
||||
else if ("N".equalsIgnoreCase(value))
|
||||
{
|
||||
return (T) Boolean.FALSE;
|
||||
}
|
||||
|
||||
return (T) Boolean.valueOf(value);
|
||||
}
|
||||
else if (Timestamp.class == type)
|
||||
{
|
||||
Date date = compiereService.dateFormat.parse(value);
|
||||
return (T) new Timestamp(date.getTime());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
throw new Exception("Casting to type '"
|
||||
+ type.getClass().getName() + "' is not defined");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception("Cannot cast parameter to type: "
|
||||
+ type.getClass().getName() + ", cause: " + ex.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
public String formatValue(Object value)
|
||||
{
|
||||
if (value == null)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
else if (value instanceof Timestamp)
|
||||
{
|
||||
Date date = new Date(((Timestamp) value).getTime());
|
||||
return compiereService.dateFormat.format(date);
|
||||
}
|
||||
|
||||
return String.valueOf(value);
|
||||
}
|
||||
|
||||
private <T> T getConstantParameterValue(MWebServiceType serviceType,
|
||||
String parameterName, Class<T> type) throws Exception
|
||||
{
|
||||
X_WS_WebService_Para processIdParameter = webServiceType
|
||||
.getParameter(parameterName);
|
||||
|
||||
if (processIdParameter == null
|
||||
|| !X_WS_WebService_Para.PARAMETERTYPE_Constant
|
||||
.equals(processIdParameter.getParameterType()))
|
||||
{
|
||||
logger.severe("Invalid configuration for '" + parameterName
|
||||
+ "' parameter in the web service type: "
|
||||
+ serviceType.getName());
|
||||
throw new Exception("Web Service Error: Invalid configuraiton");
|
||||
}
|
||||
|
||||
String parameterValue = processIdParameter.getConstantValue();
|
||||
|
||||
try
|
||||
{
|
||||
return formatValue(parameterValue, type);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.severe("Error in formatting value, cause: "
|
||||
+ ex.getMessage());
|
||||
throw new Exception(
|
||||
"Web Service Error: Invalid configuration for parameter '"
|
||||
+ parameterName + "' and service type '"
|
||||
+ serviceType.getName() + "'");
|
||||
}
|
||||
}
|
||||
|
||||
private MPInstance fillParameters(MProcess process,
|
||||
Parameter parameters[], int recordId) throws Exception
|
||||
{
|
||||
MPInstance processInstance = new MPInstance(process, recordId);
|
||||
MPInstancePara[] instanceParameters = processInstance.getParameters();
|
||||
HashMap<String, String> parametersMap = new HashMap<String, String>();
|
||||
for (Parameter parameter : parameters)
|
||||
{
|
||||
parametersMap.put(parameter.getName(), parameter.getValue());
|
||||
}
|
||||
|
||||
for (int i = 0; i < instanceParameters.length; i++)
|
||||
{
|
||||
MPInstancePara instanceParameter = instanceParameters[i];
|
||||
String parameterName = instanceParameter.getParameterName();
|
||||
MProcessPara processParameter = process.getParameter(parameterName);
|
||||
|
||||
if (processParameter == null)
|
||||
{
|
||||
logger.severe("Parameter '" + parameterName
|
||||
+ "' not found for process with value '"
|
||||
+ process.getValue() + "'");
|
||||
continue;
|
||||
}
|
||||
|
||||
int displayType = processParameter.getAD_Reference_ID();
|
||||
|
||||
String value = parametersMap.get(parameterName);
|
||||
String valueTo = null;
|
||||
|
||||
if (value != null)
|
||||
{
|
||||
value = value.trim();
|
||||
}
|
||||
|
||||
if (processParameter.isRange())
|
||||
{
|
||||
valueTo = parametersMap.get(parameterName + "_2");
|
||||
|
||||
if (valueTo != null)
|
||||
{
|
||||
valueTo = valueTo.trim();
|
||||
}
|
||||
}
|
||||
|
||||
if (value != null && value.length() == 0)
|
||||
value = null;
|
||||
|
||||
if (value != null
|
||||
&& (DisplayType.List == displayType
|
||||
|| DisplayType.TableDir == displayType || DisplayType.Table == displayType)
|
||||
&& value.equals("-1"))
|
||||
{
|
||||
value = null;
|
||||
}
|
||||
|
||||
if (value == null && processParameter.isMandatory())
|
||||
{
|
||||
throw new Exception("Parameter '" + parameterName
|
||||
+ "' is mandatory");
|
||||
}
|
||||
|
||||
if (DisplayType.isNumeric(displayType)
|
||||
|| DisplayType.isID(displayType))
|
||||
{
|
||||
instanceParameter.setP_Number(formatValue(value,
|
||||
BigDecimal.class));
|
||||
if (processParameter.isRange())
|
||||
{
|
||||
instanceParameter.setP_Number_To(formatValue(valueTo,
|
||||
BigDecimal.class));
|
||||
}
|
||||
}
|
||||
else if (DisplayType.isDate(displayType))
|
||||
{
|
||||
instanceParameter
|
||||
.setP_Date(formatValue(value, Timestamp.class));
|
||||
if (processParameter.isRange())
|
||||
{
|
||||
instanceParameter.setP_Date_To(formatValue(valueTo,
|
||||
Timestamp.class));
|
||||
}
|
||||
}
|
||||
else if (DisplayType.YesNo == processParameter.getAD_Reference_ID())
|
||||
{
|
||||
boolean booleanValue = formatValue(value, Boolean.class);
|
||||
instanceParameter.setP_String((booleanValue ? "Y" : "N"));
|
||||
}
|
||||
if (processParameter.isLookup())
|
||||
{
|
||||
Lookup lookup = processParameter.getLookup();
|
||||
if (lookup != null)
|
||||
{
|
||||
NamePair namePair = lookup.getDirect(value, false, false);
|
||||
if (namePair != null)
|
||||
{
|
||||
instanceParameter.setInfo(namePair.getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
instanceParameter.setP_String(value);
|
||||
instanceParameter.setP_String_To(valueTo);
|
||||
}
|
||||
|
||||
instanceParameter.saveEx();
|
||||
}
|
||||
|
||||
processInstance.saveEx();
|
||||
|
||||
return processInstance;
|
||||
}
|
||||
|
||||
private void fillOutputValues(MProcess process, ProcessInfo processInfo,
|
||||
ProcessResponse processResponse)
|
||||
{
|
||||
if (processInfo.getSerializableObject() != null
|
||||
&& processInfo.getSerializableObject() instanceof List)
|
||||
{
|
||||
List<?> outputValues = (List<?>) processInfo
|
||||
.getSerializableObject();
|
||||
for (Object obj : outputValues)
|
||||
{
|
||||
if (obj instanceof ValueNamePair)
|
||||
{
|
||||
ValueNamePair outputValueNamePair = (ValueNamePair)obj;
|
||||
OutputData outputData = processResponse.addNewOuptutData();
|
||||
outputData.setName(outputValueNamePair.getName());
|
||||
outputData.setValue(formatValue(outputValueNamePair.getValueObject()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public ProcessResponseDocument runProcess(ProcessRequestDocument requestDoc)
|
||||
{
|
||||
ProcessResponseDocument responseDoc = ProcessResponseDocument.Factory.newInstance();
|
||||
ProcessResponse response = responseDoc.addNewProcessResponse();
|
||||
|
||||
LoginRequest loginRequest = requestDoc.getProcessRequest()
|
||||
.getLoginRequest();
|
||||
|
||||
String serviceType = requestDoc.getProcessRequest().getServiceType();
|
||||
|
||||
try
|
||||
{
|
||||
login(loginRequest);
|
||||
initWebServiceType(WEB_SERVICE_NAME, "runProcess", serviceType);
|
||||
String processValue = getConstantParameterValue(webServiceType,
|
||||
"PROCESS", String.class);
|
||||
|
||||
int processId = MProcess.getProcess_ID(processValue, null);
|
||||
|
||||
if (processId <= 0)
|
||||
{
|
||||
logger.severe("Process with value '" + processValue + "' not found");
|
||||
throw new Exception("Configuration error - Process not found");
|
||||
}
|
||||
|
||||
MProcess process = MProcess.get(compiereService.getM_ctx(),
|
||||
processId);
|
||||
|
||||
String accessSql = "SELECT IsReadWrite FROM AD_Process_Access "
|
||||
+ "WHERE AD_Role_ID=? AND AD_Process_ID=? AND IsActive='Y'";
|
||||
String hasAccess = DB.getSQLValueString(null, accessSql,
|
||||
Env.getAD_Role_ID(compiereService.getM_ctx()), processId);
|
||||
|
||||
if (!"Y".equals(hasAccess))
|
||||
{
|
||||
throw new Exception("Configuration Error: Login role doesn not have access to the process");
|
||||
}
|
||||
|
||||
Parameter[] parameters = requestDoc.getProcessRequest().getProcessData().getParameterArray();
|
||||
MPInstance processInstance = fillParameters(process, parameters, 0);
|
||||
|
||||
ProcessInfo processInfo = new ProcessInfo (process.getName(), process.getAD_Process_ID());
|
||||
processInfo.setAD_User_ID(Env.getAD_User_ID(compiereService.getM_ctx()));
|
||||
processInfo.setAD_Client_ID(Env.getAD_Client_ID(compiereService.getM_ctx()));
|
||||
processInfo.setAD_PInstance_ID(processInstance.getAD_PInstance_ID());
|
||||
|
||||
boolean success = false;
|
||||
|
||||
Trx trx = Trx.get(Trx.createTrxName("WSProcess"), true);
|
||||
try
|
||||
{
|
||||
success = process.processIt(processInfo, trx);
|
||||
fillOutputValues(process, processInfo, response);
|
||||
trx.commit();
|
||||
}
|
||||
finally
|
||||
{
|
||||
trx.rollback();
|
||||
trx.close();
|
||||
}
|
||||
|
||||
if (success && !processInfo.isError())
|
||||
{
|
||||
response.setIsError(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
response.setIsError(true);
|
||||
response.setError(processInfo.getSummary());
|
||||
}
|
||||
}
|
||||
catch (AdempiereException ex)
|
||||
{
|
||||
response.setIsError(true);
|
||||
response.setError(ex.getMessage());
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
response.setIsError(true);
|
||||
response.setError(ex.getMessage());
|
||||
}
|
||||
|
||||
return responseDoc;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
package com.bizidium.ws;
|
||||
|
||||
import javax.jws.WebService;
|
||||
import javax.jws.soap.SOAPBinding;
|
||||
import javax.jws.soap.SOAPBinding.ParameterStyle;
|
||||
import javax.jws.soap.SOAPBinding.Style;
|
||||
import javax.jws.soap.SOAPBinding.Use;
|
||||
|
||||
import org.idempiere.adInterface.x10.CompositeModelRequestDocument;
|
||||
import org.idempiere.adInterface.x10.CompositeResponsesDocument;
|
||||
|
||||
@WebService(targetNamespace="http://idempiere.org/ADInterface/1_0")
|
||||
@SOAPBinding(style=Style.RPC,use=Use.LITERAL,parameterStyle=ParameterStyle.WRAPPED)
|
||||
public interface CompositeService {
|
||||
|
||||
public CompositeResponsesDocument compositeCRUD(CompositeModelRequestDocument reqs);
|
||||
}
|
|
@ -0,0 +1,350 @@
|
|||
/******************************************************************************
|
||||
* Copyright (C) 2012 Trek Global *
|
||||
* Product: iDempiere ERP & CRM Smart Business Solution *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program; if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
*****************************************************************************/
|
||||
package com.bizidium.ws;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Properties;
|
||||
|
||||
import javax.jws.WebService;
|
||||
|
||||
import org.compiere.util.CLogger;
|
||||
import org.compiere.util.Trx;
|
||||
import org.idempiere.adInterface.x10.ADLoginRequest;
|
||||
import org.idempiere.adInterface.x10.CompositeModelRequest;
|
||||
import org.idempiere.adInterface.x10.CompositeModelRequestDocument;
|
||||
import org.idempiere.adInterface.x10.CompositeResponse;
|
||||
import org.idempiere.adInterface.x10.CompositeResponses;
|
||||
import org.idempiere.adInterface.x10.CompositeResponsesDocument;
|
||||
import org.idempiere.adInterface.x10.DataField;
|
||||
import org.idempiere.adInterface.x10.ModelCRUD;
|
||||
import org.idempiere.adInterface.x10.ModelCRUDRequest;
|
||||
import org.idempiere.adInterface.x10.ModelCRUDRequestDocument;
|
||||
import org.idempiere.adInterface.x10.ModelRunProcessRequest;
|
||||
import org.idempiere.adInterface.x10.ModelRunProcessRequestDocument;
|
||||
import org.idempiere.adInterface.x10.ModelSetDocActionRequest;
|
||||
import org.idempiere.adInterface.x10.ModelSetDocActionRequestDocument;
|
||||
import org.idempiere.adInterface.x10.Operation;
|
||||
import org.idempiere.adInterface.x10.Operation.TargetPort;
|
||||
import org.idempiere.adInterface.x10.Operations;
|
||||
import org.idempiere.adInterface.x10.RunProcessResponseDocument;
|
||||
import org.idempiere.adInterface.x10.StandardResponse;
|
||||
import org.idempiere.adInterface.x10.StandardResponseDocument;
|
||||
import org.idempiere.adInterface.x10.WindowTabDataDocument;
|
||||
import org.idempiere.webservices.AbstractService;
|
||||
|
||||
import com._3e.ADInterface.CompiereService;
|
||||
import com._3e.ADInterface.ModelADServiceImpl;
|
||||
|
||||
/**
|
||||
* Composite service interface for combining request and transaction management
|
||||
*
|
||||
* @author Deepak Pansheriya
|
||||
*
|
||||
*/
|
||||
@WebService(endpointInterface = "com.bizidium.ws.CompositeService", serviceName = "compositeInterface")
|
||||
public class CompositeServiceImpl extends AbstractService implements CompositeService {
|
||||
private static CLogger log = CLogger.getCLogger(CompositeServiceImpl.class);
|
||||
|
||||
private static String webServiceName = new String("biziInterface");
|
||||
|
||||
public CompositeServiceImpl() {
|
||||
|
||||
log.info("Creating session object BiziInterface");
|
||||
}
|
||||
|
||||
|
||||
public CompositeResponsesDocument compositeCRUD(CompositeModelRequestDocument reqs) {
|
||||
|
||||
CompiereService m_cs = getCompiereService();
|
||||
|
||||
CompositeResponsesDocument ret = CompositeResponsesDocument.Factory.newInstance();
|
||||
CompositeResponses resps = ret.addNewCompositeResponses();
|
||||
|
||||
CompositeModelRequest req = reqs.getCompositeModelRequest();
|
||||
String serviceType = req.getServiceType();
|
||||
|
||||
ADLoginRequest reqlogin = req.getADLoginRequest();
|
||||
String err = login(reqlogin, webServiceName, "composite", serviceType);
|
||||
if (err != null && err.length() > 0) {
|
||||
CompositeResponse resp = resps.addNewCompositeResponse();
|
||||
StandardResponse stdResp = resp.addNewStandardResponse();
|
||||
stdResp.setError(err);
|
||||
stdResp.setIsError(true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
ModelADServiceImpl modelADService = new ModelADServiceImpl(ctx);
|
||||
|
||||
String trxName = m_cs.getM_trx_name();
|
||||
trxName = Trx.createTrxName("ws_biziInterface");
|
||||
|
||||
Trx trx = Trx.get(trxName, true);
|
||||
|
||||
modelADService.setLocalTrxName(trxName);
|
||||
|
||||
Operations operationsArr[] = req.getOperationsArray();
|
||||
|
||||
for (Operations operations : operationsArr) {
|
||||
Operation operationArr[] = operations.getOperationArray();
|
||||
if (operationArr.length > 0) {
|
||||
CompositeResponse compResp = resps.addNewCompositeResponse();
|
||||
ArrayList<StandardResponse> respAggregator = new ArrayList<StandardResponse>();
|
||||
boolean isSuccess = performOperations(trx, operationArr, modelADService, compResp, respAggregator, reqlogin);
|
||||
|
||||
// Committing after each operation set
|
||||
if (isSuccess) {
|
||||
commitTrx(trx, compResp, respAggregator, "Cannot commit at end of process", false);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
trx.close();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform operation
|
||||
* @param trx
|
||||
* @param ops
|
||||
* @param modelADService
|
||||
* @param compResp
|
||||
* @param respAggregator
|
||||
* @param reqlogin
|
||||
* @return isError
|
||||
*/
|
||||
private boolean performOperations(Trx trx, Operation ops[], ModelADServiceImpl modelADService, CompositeResponse compResp,
|
||||
ArrayList<StandardResponse> respAggregator, ADLoginRequest reqlogin) {
|
||||
for (Operation operation : ops) {
|
||||
|
||||
if (operation.getPreCommit()) {
|
||||
if (!commitTrx(trx, compResp, respAggregator, "Cannot commit before Operation", true)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
modelADService.setManageTrx(false);
|
||||
|
||||
TargetPort.Enum portEnum = operation.getTargetPort();
|
||||
|
||||
StandardResponseDocument respDoc = null;
|
||||
if (portEnum == TargetPort.CREATE_DATA) {
|
||||
ModelCRUDRequestDocument wrapperDoc = getWrappedCRUD(operation, reqlogin);
|
||||
if (wrapperDoc == null) {
|
||||
rollbackAndSetError(trx, compResp, respAggregator, "Operation createData must required ModelCRUD");
|
||||
return false;
|
||||
} else {
|
||||
respDoc = modelADService.createData(wrapperDoc);
|
||||
}
|
||||
} else if (portEnum == TargetPort.DELETE_DATA) {
|
||||
ModelCRUDRequestDocument wrapperDoc = getWrappedCRUD(operation, reqlogin);
|
||||
if (wrapperDoc == null) {
|
||||
rollbackAndSetError(trx, compResp, respAggregator, "Operation deleteData must required ModelCRUD");
|
||||
return false;
|
||||
} else {
|
||||
respDoc = modelADService.deleteData(wrapperDoc);
|
||||
}
|
||||
} else if (portEnum == TargetPort.CREATE_UPDATE_DATA) {
|
||||
ModelCRUDRequestDocument wrapperDoc = getWrappedCRUD(operation, reqlogin);
|
||||
if (wrapperDoc == null) {
|
||||
rollbackAndSetError(trx, compResp, respAggregator, "Operation createUpdateData must required ModelCRUD");
|
||||
return false;
|
||||
} else {
|
||||
respDoc = modelADService.createUpdateData(wrapperDoc);
|
||||
}
|
||||
} else if (portEnum == TargetPort.READ_DATA) {
|
||||
ModelCRUDRequestDocument wrapperDoc = getWrappedCRUD(operation, reqlogin);
|
||||
if (wrapperDoc == null) {
|
||||
// Do not rollback, Continue with consecutive operations
|
||||
respDoc = StandardResponseDocument.Factory.newInstance();
|
||||
StandardResponse resp = respDoc.addNewStandardResponse();
|
||||
resp.setIsError(false);
|
||||
resp.setError("Operation readData must required ModelCRUD");
|
||||
} else {
|
||||
WindowTabDataDocument dataResponse = modelADService.readData(wrapperDoc);
|
||||
if (dataResponse != null) {
|
||||
respDoc = StandardResponseDocument.Factory.newInstance();
|
||||
StandardResponse resp = respDoc.addNewStandardResponse();
|
||||
// Do not fail though read is failed
|
||||
resp.setIsError(false);
|
||||
resp.setWindowTabData(dataResponse.getWindowTabData());
|
||||
}
|
||||
}
|
||||
} else if (portEnum == TargetPort.RUN_PROCESS) {
|
||||
if (operation.getModelRunProcess() == null) {
|
||||
rollbackAndSetError(trx, compResp, respAggregator, "Operation runProcess must required ModelRunProcess");
|
||||
return false;
|
||||
}
|
||||
|
||||
ModelRunProcessRequestDocument wrapperDoc = ModelRunProcessRequestDocument.Factory.newInstance();
|
||||
ModelRunProcessRequest runProcessReq = wrapperDoc.addNewModelRunProcessRequest();
|
||||
runProcessReq.setADLoginRequest(reqlogin);
|
||||
runProcessReq.setModelRunProcess(operation.getModelRunProcess());
|
||||
|
||||
RunProcessResponseDocument runResponse = modelADService.runProcess(wrapperDoc);
|
||||
if (runResponse != null) {
|
||||
respDoc = StandardResponseDocument.Factory.newInstance();
|
||||
StandardResponse resp = respDoc.addNewStandardResponse();
|
||||
resp.setIsError(runResponse.getRunProcessResponse().getIsError());
|
||||
resp.setRunProcessResponse(runResponse.getRunProcessResponse());
|
||||
}
|
||||
} else if (portEnum == TargetPort.SET_DOC_ACTION) {
|
||||
if (operation.getModelSetDocAction() == null) {
|
||||
rollbackAndSetError(trx, compResp, respAggregator, "Operation updateData must required ModelSetDocAction");
|
||||
return false;
|
||||
}
|
||||
|
||||
ModelSetDocActionRequestDocument wrapperDoc = ModelSetDocActionRequestDocument.Factory.newInstance();
|
||||
ModelSetDocActionRequest actionReq = wrapperDoc.addNewModelSetDocActionRequest();
|
||||
actionReq.setADLoginRequest(reqlogin);
|
||||
actionReq.setModelSetDocAction(operation.getModelSetDocAction());
|
||||
|
||||
respDoc = modelADService.setDocAction(wrapperDoc);
|
||||
|
||||
} else if (portEnum == TargetPort.UPDATE_DATA) {
|
||||
ModelCRUDRequestDocument wrapperDoc = getWrappedCRUD(operation, reqlogin);
|
||||
if (wrapperDoc == null) {
|
||||
rollbackAndSetError(trx, compResp, respAggregator, "Operation updateData must required ModelCRUD");
|
||||
return false;
|
||||
} else {
|
||||
respDoc = modelADService.updateData(wrapperDoc);
|
||||
}
|
||||
}
|
||||
|
||||
if (respDoc != null)
|
||||
respAggregator.add(respDoc.getStandardResponse());
|
||||
|
||||
if (respDoc != null && respDoc.getStandardResponse().getIsError()) {
|
||||
rollbackAndSetError(trx, compResp, respAggregator, null);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (operation.getPostCommit()) {
|
||||
|
||||
if (!commitTrx(trx, compResp, respAggregator, "Cannot commit after operation", false)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* create ModelCRUDRequestDocument for operation element
|
||||
* @param operation
|
||||
* @param reqlogin
|
||||
* @return
|
||||
*/
|
||||
private ModelCRUDRequestDocument getWrappedCRUD(Operation operation, ADLoginRequest reqlogin) {
|
||||
if (operation.getModelCRUD() == null)
|
||||
return null;
|
||||
|
||||
ModelCRUDRequestDocument wrapperDoc = ModelCRUDRequestDocument.Factory.newInstance();
|
||||
ModelCRUDRequest wrapperCRUD = wrapperDoc.addNewModelCRUDRequest();
|
||||
wrapperCRUD.setModelCRUD(operation.getModelCRUD());
|
||||
wrapperCRUD.setADLoginRequest(reqlogin);
|
||||
|
||||
return wrapperDoc;
|
||||
}
|
||||
|
||||
public void resolveContextCRUD(Properties ctx, ModelCRUD crud) {
|
||||
DataField fields[] = crud.getDataRow().getFieldArray();
|
||||
for (DataField field : fields) {
|
||||
String val = field.getVal();
|
||||
if (val != null && val.startsWith("#")) {
|
||||
// Replace value from context variables
|
||||
String key = val.substring(1);
|
||||
val = (String) ctx.get(key);
|
||||
field.setVal(val);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Rollback and set error on response
|
||||
* @param trx
|
||||
* @param compResp
|
||||
* @param respAggregator
|
||||
* @param string
|
||||
*/
|
||||
protected void rollbackAndSetError(Trx trx, CompositeResponse compResp, ArrayList<StandardResponse> respAggregator, String string) {
|
||||
if (respAggregator == null) {
|
||||
StandardResponse resp = compResp.addNewStandardResponse();
|
||||
resp.setError(string);
|
||||
resp.setIsError(true);
|
||||
} else {
|
||||
int ind = 0;
|
||||
StandardResponse orgArr[] = compResp.getStandardResponseArray();
|
||||
StandardResponse respArr[] = new StandardResponse[orgArr.length + respAggregator.size()];
|
||||
|
||||
for (StandardResponse resp : orgArr) {
|
||||
respArr[ind++] = resp;
|
||||
}
|
||||
// Set all response as Failed
|
||||
for (StandardResponse resp : respAggregator) {
|
||||
resp.setIsRolledBack(true);
|
||||
respArr[ind++] = resp;
|
||||
}
|
||||
if (string != null && respAggregator.size() > 0) {
|
||||
StandardResponse resp = respAggregator.get(respAggregator.size() - 1);
|
||||
resp.setError(string);
|
||||
resp.setIsError(true);
|
||||
}
|
||||
compResp.setStandardResponseArray(respArr);
|
||||
respAggregator.clear();
|
||||
}
|
||||
trx.rollback();
|
||||
trx.close();
|
||||
}
|
||||
|
||||
/**
|
||||
* Commit transaction and prepare response document
|
||||
* @param trx
|
||||
* @param compResp
|
||||
* @param respAggregator
|
||||
* @param string
|
||||
* @param addNewResp
|
||||
* @return
|
||||
*/
|
||||
protected boolean commitTrx(Trx trx, CompositeResponse compResp, ArrayList<StandardResponse> respAggregator, String string,
|
||||
boolean addNewResp) {
|
||||
|
||||
if (trx.isActive() && !trx.commit()) {
|
||||
if (addNewResp)
|
||||
respAggregator.add(StandardResponse.Factory.newInstance());
|
||||
|
||||
rollbackAndSetError(trx, compResp, respAggregator, string);
|
||||
return false;
|
||||
}
|
||||
|
||||
int ind = 0;
|
||||
StandardResponse orgArr[] = compResp.getStandardResponseArray();
|
||||
StandardResponse respArr[] = new StandardResponse[orgArr.length + respAggregator.size()];
|
||||
|
||||
for (StandardResponse resp : orgArr) {
|
||||
respArr[ind++] = resp;
|
||||
}
|
||||
// Set all committed response
|
||||
for (StandardResponse resp : respAggregator) {
|
||||
respArr[ind++] = resp;
|
||||
}
|
||||
|
||||
compResp.setStandardResponseArray(respArr);
|
||||
respAggregator.clear();
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
|
@ -1,56 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Carlos Ruiz - globalqss *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation; either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the Free Software *
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Carlos Ruiz (globalqss@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - GlobalQSS (http://www.globalqss.com) *
|
||||
***********************************************************************/
|
||||
|
||||
package com.globalqss.ObPOSInterface;
|
||||
|
||||
import javax.jws.WebService;
|
||||
|
||||
import org.openbravo.erpCommon.ws.externalSales.ArrayOfTns1Order;
|
||||
import org.openbravo.erpCommon.ws.externalSales.ProductsCatalogResponseDocument;
|
||||
import org.openbravo.erpCommon.ws.externalSales.ProductsPlusCatalogResponseDocument;
|
||||
import org.openbravo.erpCommon.ws.externalSales.UploadOrdersResponseDocument;
|
||||
|
||||
@WebService
|
||||
public interface ExternalSales {
|
||||
|
||||
public ProductsPlusCatalogResponseDocument getProductsPlusCatalog(int entityId, int organizationId, int salesChannel, String username, String password);
|
||||
|
||||
public UploadOrdersResponseDocument uploadOrders(int entityId, int organizationId, int salesChannel, ArrayOfTns1Order newOrders, String username, String password);
|
||||
|
||||
public ProductsCatalogResponseDocument getProductsCatalog(int entityId, int organizationId, int salesChannel, String username, String password);
|
||||
|
||||
/* methods to implement */
|
||||
|
||||
/*
|
||||
|
||||
public GetOrdersResponseDocument getOrders(GetOrdersRequestDocument req) throws XFireFault;
|
||||
|
||||
*/
|
||||
|
||||
}
|
|
@ -1,174 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Carlos Ruiz - globalqss *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation; either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the Free Software *
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Carlos Ruiz (globalqss@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - GlobalQSS (http://www.globalqss.com) *
|
||||
***********************************************************************/
|
||||
|
||||
package com.globalqss.ObPOSInterface;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.security.MessageDigest;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
|
||||
import javax.xml.namespace.QName;
|
||||
|
||||
import org.apache.commons.codec.binary.Base64;
|
||||
import org.compiere.util.CLogger;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.SecureEngine;
|
||||
import org.idempiere.webservices.fault.IdempiereServiceFault;
|
||||
import org.openbravo.erpCommon.ws.externalSales.ArrayOfTns1Order;
|
||||
import org.openbravo.erpCommon.ws.externalSales.ProductsCatalogResponse;
|
||||
import org.openbravo.erpCommon.ws.externalSales.ProductsCatalogResponseDocument;
|
||||
import org.openbravo.erpCommon.ws.externalSales.ProductsPlusCatalogResponse;
|
||||
import org.openbravo.erpCommon.ws.externalSales.ProductsPlusCatalogResponseDocument;
|
||||
import org.openbravo.erpCommon.ws.externalSales.UploadOrdersResponse;
|
||||
import org.openbravo.erpCommon.ws.externalSales.UploadOrdersResponseDocument;
|
||||
|
||||
/*
|
||||
* ADEMPIERE/COMPIERE
|
||||
*
|
||||
* Web Service interface for openbravo pos
|
||||
*
|
||||
* Contributors: Carlos Ruiz - globalqss
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Carlos Ruiz - globalqss
|
||||
*
|
||||
*/
|
||||
public class ExternalSalesImpl implements ExternalSales {
|
||||
|
||||
private static CLogger log = CLogger.getCLogger(ExternalSalesImpl.class);
|
||||
|
||||
private static String webServiceName = new String("ExternalSales");
|
||||
|
||||
public ExternalSalesImpl()
|
||||
{
|
||||
log.info("Creating session object ExternalSales");
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return "0.1.0";
|
||||
}
|
||||
|
||||
public UploadOrdersResponseDocument uploadOrders(int entityId,
|
||||
int organizationId, int salesChannel, ArrayOfTns1Order newOrders,
|
||||
String username, String password) {
|
||||
// TODO Auto-generated method stub
|
||||
UploadOrdersResponseDocument resdoc = UploadOrdersResponseDocument.Factory.newInstance();
|
||||
@SuppressWarnings("unused")
|
||||
UploadOrdersResponse res = resdoc.addNewUploadOrdersResponse();
|
||||
|
||||
authenticate(username, password, webServiceName, "uploadOrders");
|
||||
|
||||
return resdoc;
|
||||
}
|
||||
|
||||
public ProductsCatalogResponseDocument getProductsCatalog(int entityId,
|
||||
int organizationId, int salesChannel, String username,
|
||||
String password) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
ProductsCatalogResponseDocument resdoc = ProductsCatalogResponseDocument.Factory.newInstance();
|
||||
@SuppressWarnings("unused")
|
||||
ProductsCatalogResponse res = resdoc.addNewProductsCatalogResponse();
|
||||
|
||||
authenticate(username, password, webServiceName, "getProductsCatalog");
|
||||
|
||||
return resdoc;
|
||||
}
|
||||
|
||||
public ProductsPlusCatalogResponseDocument getProductsPlusCatalog(
|
||||
int entityId, int organizationId, int salesChannel,
|
||||
String username, String password) {
|
||||
// TODO Auto-generated method stub
|
||||
ProductsPlusCatalogResponseDocument resdoc = ProductsPlusCatalogResponseDocument.Factory.newInstance();
|
||||
@SuppressWarnings("unused")
|
||||
ProductsPlusCatalogResponse res = resdoc.addNewProductsPlusCatalogResponse();
|
||||
|
||||
authenticate(username, password, webServiceName, "getProductsPlusCatalog");
|
||||
|
||||
/*
|
||||
* Sample of needed work
|
||||
*
|
||||
ArrayOfTns1ProductPlus app = res.addNewArrayOfTns1ProductPlus();
|
||||
// Iterate in M_Product for the organization / warehouse?
|
||||
|
||||
for (MProduct product : products) ...
|
||||
|
||||
ProductPlus prds = app.addNewProducts();
|
||||
Category cat = prds.addNewCategory();
|
||||
cat.setDescription(product.getM_Category().getDescription());
|
||||
cat.setId(product.getM_Category_ID());
|
||||
cat.setName(product.getM_Category().getName());
|
||||
Tax tax = prds.addNewTax();
|
||||
tax.setName(product.getC_Tax().getName());
|
||||
tax.setId(product.getC_Tax_ID());
|
||||
tax.setPercentage(product.getC_Tax().getRate());
|
||||
prds.setDescription(product.getDescription());
|
||||
prds.setEan(product.getEAN());
|
||||
prds.setId(product.getM_Product_ID());
|
||||
prds.setListPrice(product.getPriceList()); // we would need a price list related to the POS
|
||||
prds.setName(product.getName());
|
||||
prds.setNumber(product.getNumber()); // number?
|
||||
prds.setPurchasePrice(product.getPurchasePrice()); // we would need a purchase price list related to the POS
|
||||
prds.setQtyonhand(product.getQtyOnHand()); // we would need a warehouse or locator related to the POS
|
||||
*/
|
||||
|
||||
return resdoc;
|
||||
}
|
||||
|
||||
public static void authenticate(String username, String password, String webServiceName, String method) {
|
||||
String dbpwd = DB.getSQLValueString(null, "SELECT Password FROM AD_User WHERE Name=? AND Password IS NOT NULL", username); // and ad_client_id in (0,?)
|
||||
if (dbpwd == null || dbpwd.length() <= 0)
|
||||
throw new IdempiereServiceFault("Invalid user/password", new QName("username"));
|
||||
|
||||
String isencr = DB.getSQLValueString(null, "SELECT IsEncrypted FROM AD_Column WHERE AD_Column_ID=417");
|
||||
if ("Y".equals(isencr))
|
||||
dbpwd = SecureEngine.decrypt(dbpwd);
|
||||
|
||||
String hashPassword = null;
|
||||
try {
|
||||
hashPassword = new String(Base64.encodeBase64(MessageDigest.getInstance("SHA-1").digest(dbpwd.getBytes("UTF-8"))), "ASCII");
|
||||
} catch (UnsupportedEncodingException e1) {
|
||||
throw new IdempiereServiceFault("Error hashing db password", e1, new QName("username"));
|
||||
} catch (NoSuchAlgorithmException e1) {
|
||||
throw new IdempiereServiceFault("Error hashing db password", e1, new QName("username"));
|
||||
}
|
||||
|
||||
if (! hashPassword.equals(password))
|
||||
/* Invalid password */
|
||||
throw new IdempiereServiceFault("Invalid user/password", new QName("password"));
|
||||
|
||||
throw new IdempiereServiceFault("Security not implemented yet", new QName("webServiceName"));
|
||||
// TODO: authenticate web service and method
|
||||
// TODO: Search for a service type for client and role access with the same value as the method
|
||||
}
|
||||
|
||||
}
|
|
@ -1,60 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Carlos Ruiz - globalqss *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation; either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the Free Software *
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Carlos Ruiz (globalqss@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - GlobalQSS (http://www.globalqss.com) *
|
||||
***********************************************************************/
|
||||
|
||||
package com.globalqss.ObPOSInterface;
|
||||
|
||||
import org.openbravo.erpCommon.ws.externalSales.GetCustomersResponseDocument;
|
||||
|
||||
@javax.jws.WebService
|
||||
public interface WebService {
|
||||
|
||||
/* methods to implement */
|
||||
|
||||
public GetCustomersResponseDocument getCustomers(int clientId, String username, String password);
|
||||
|
||||
/*
|
||||
public GetCustomerResponseDocument getCustomer(GetCustomerRequestDocument req) throws XFireFault;
|
||||
|
||||
public GetCustomerResponse1Document getCustomer(GetCustomerRequest1Document req) throws XFireFault;
|
||||
|
||||
public UpdateCustomerResponseDocument updateCustomer(UpdateCustomerRequestDocument req) throws XFireFault;
|
||||
|
||||
public GetCustomerAddressesResponseDocument getCustomerAddresses(GetCustomerAddressesRequestDocument req) throws XFireFault;
|
||||
|
||||
public GetCustomerLocationResponseDocument getCustomerLocation(GetCustomerLocationRequestDocument req) throws XFireFault;
|
||||
|
||||
public UpdateAddressResponseDocument updateAddress(UpdateAddressRequestDocument req) throws XFireFault;
|
||||
|
||||
public GetCustomerContactResponseDocument getCustomerContact(GetCustomerContactRequestDocument req) throws XFireFault;
|
||||
|
||||
public UpdateContactResponseDocument updateContact(UpdateContactRequestDocument req) throws XFireFault;
|
||||
|
||||
*/
|
||||
|
||||
}
|
|
@ -1,79 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Carlos Ruiz - globalqss *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation; either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the Free Software *
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Carlos Ruiz (globalqss@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - GlobalQSS (http://www.globalqss.com) *
|
||||
***********************************************************************/
|
||||
|
||||
package com.globalqss.ObPOSInterface;
|
||||
|
||||
import org.compiere.util.CLogger;
|
||||
import org.openbravo.erpCommon.ws.externalSales.GetCustomersResponse;
|
||||
import org.openbravo.erpCommon.ws.externalSales.GetCustomersResponseDocument;
|
||||
|
||||
/*
|
||||
* ADEMPIERE/COMPIERE
|
||||
*
|
||||
* Web Service interface for openbravo pos
|
||||
*
|
||||
* Contributors: Carlos Ruiz - globalqss
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Carlos Ruiz - globalqss
|
||||
*
|
||||
*/
|
||||
public class WebServiceImpl implements WebService {
|
||||
|
||||
private static CLogger log = CLogger.getCLogger(WebServiceImpl.class);
|
||||
|
||||
private static String webServiceName = new String("WebService");
|
||||
|
||||
public WebServiceImpl()
|
||||
{
|
||||
log.info("Creating session object ExternalSales");
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return "0.1.0";
|
||||
}
|
||||
|
||||
public GetCustomersResponseDocument getCustomers(int clientId, String username, String password)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
GetCustomersResponseDocument resdoc = GetCustomersResponseDocument.Factory.newInstance();
|
||||
@SuppressWarnings("unused")
|
||||
GetCustomersResponse res = resdoc.addNewGetCustomersResponse();
|
||||
|
||||
ExternalSalesImpl.authenticate(username, password, webServiceName, "getCustomers");
|
||||
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return resdoc;
|
||||
}
|
||||
|
||||
}
|
|
@ -77,6 +77,34 @@ public interface I_WS_WebServiceFieldInput
|
|||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name AD_Reference_ID */
|
||||
public static final String COLUMNNAME_AD_Reference_ID = "AD_Reference_ID";
|
||||
|
||||
/** Set Reference.
|
||||
* System Reference and Validation
|
||||
*/
|
||||
public void setAD_Reference_ID (int AD_Reference_ID);
|
||||
|
||||
/** Get Reference.
|
||||
* System Reference and Validation
|
||||
*/
|
||||
public int getAD_Reference_ID();
|
||||
|
||||
public org.compiere.model.I_AD_Reference getAD_Reference() throws RuntimeException;
|
||||
|
||||
/** Column name ColumnName */
|
||||
public static final String COLUMNNAME_ColumnName = "ColumnName";
|
||||
|
||||
/** Set DB Column Name.
|
||||
* Name of the column in the database
|
||||
*/
|
||||
public void setColumnName (String ColumnName);
|
||||
|
||||
/** Get DB Column Name.
|
||||
* Name of the column in the database
|
||||
*/
|
||||
public String getColumnName();
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
||||
|
@ -93,6 +121,15 @@ public interface I_WS_WebServiceFieldInput
|
|||
*/
|
||||
public int getCreatedBy();
|
||||
|
||||
/** Column name IdentifierLogic */
|
||||
public static final String COLUMNNAME_IdentifierLogic = "IdentifierLogic";
|
||||
|
||||
/** Set Identifier Logic */
|
||||
public void setIdentifierLogic (String IdentifierLogic);
|
||||
|
||||
/** Get Identifier Logic */
|
||||
public String getIdentifierLogic();
|
||||
|
||||
/** Column name IsActive */
|
||||
public static final String COLUMNNAME_IsActive = "IsActive";
|
||||
|
||||
|
@ -106,6 +143,32 @@ public interface I_WS_WebServiceFieldInput
|
|||
*/
|
||||
public boolean isActive();
|
||||
|
||||
/** Column name IsIdentifier */
|
||||
public static final String COLUMNNAME_IsIdentifier = "IsIdentifier";
|
||||
|
||||
/** Set Identifier.
|
||||
* This column is part of the record identifier
|
||||
*/
|
||||
public void setIsIdentifier (boolean IsIdentifier);
|
||||
|
||||
/** Get Identifier.
|
||||
* This column is part of the record identifier
|
||||
*/
|
||||
public boolean isIdentifier();
|
||||
|
||||
/** Column name IsNullIdentifier */
|
||||
public static final String COLUMNNAME_IsNullIdentifier = "IsNullIdentifier";
|
||||
|
||||
/** Set Allow Null Value.
|
||||
* Should allow null value for identifiere field
|
||||
*/
|
||||
public void setIsNullIdentifier (boolean IsNullIdentifier);
|
||||
|
||||
/** Get Allow Null Value.
|
||||
* Should allow null value for identifiere field
|
||||
*/
|
||||
public boolean isNullIdentifier();
|
||||
|
||||
/** Column name Updated */
|
||||
public static final String COLUMNNAME_Updated = "Updated";
|
||||
|
||||
|
|
|
@ -32,6 +32,8 @@ package org.compiere.model;
|
|||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
|
||||
|
@ -42,6 +44,7 @@ import org.compiere.util.DB;
|
|||
* Web Services Type Model
|
||||
*
|
||||
* @author Carlos Ruiz
|
||||
* @author Deepak Pansheriya - Updated to support CreateUpdate service
|
||||
*/
|
||||
public class MWebServiceType extends X_WS_WebServiceType
|
||||
{
|
||||
|
@ -58,6 +61,14 @@ public class MWebServiceType extends X_WS_WebServiceType
|
|||
/** Allowed output columns */
|
||||
private String[] m_outputcolumnnames = null;
|
||||
|
||||
private Map<String, X_WS_WebServiceFieldInput> m_inputFieldMap = null;
|
||||
|
||||
private ArrayList<String> m_keyColumns = null;
|
||||
|
||||
public ArrayList<String> getKeyColumns() {
|
||||
getInputFieldMap(false);
|
||||
return m_keyColumns;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Parameters
|
||||
|
@ -238,7 +249,6 @@ public class MWebServiceType extends X_WS_WebServiceType
|
|||
} // isOutputColumnNameAllowed
|
||||
|
||||
/** Static Logger */
|
||||
@SuppressWarnings("unused")
|
||||
private static CLogger s_log = CLogger.getCLogger (MWebServiceType.class);
|
||||
|
||||
/**************************************************************************
|
||||
|
@ -271,4 +281,64 @@ public class MWebServiceType extends X_WS_WebServiceType
|
|||
super(ctx, rs, trxName);
|
||||
} // MWebServiceType
|
||||
|
||||
/**
|
||||
*
|
||||
* @param requery
|
||||
*/
|
||||
public void getInputFieldMap(boolean requery){
|
||||
if(!requery && m_inputFieldMap!=null)
|
||||
return;
|
||||
|
||||
if(m_inputFieldMap!=null)
|
||||
m_inputFieldMap.clear();
|
||||
else
|
||||
m_inputFieldMap = new HashMap<String, X_WS_WebServiceFieldInput>();
|
||||
|
||||
if(m_keyColumns==null)
|
||||
m_keyColumns = new ArrayList<String>();
|
||||
else
|
||||
m_keyColumns.clear();
|
||||
|
||||
|
||||
String sql = "SELECT coalesce(c.ColumnName,f.ColumnName),f.* FROM WS_WebServiceFieldInput f left join AD_Column c on c.AD_Column_ID=f.AD_Column_ID " +
|
||||
"WHERE f.WS_WebServiceType_ID=? " +
|
||||
"AND (c.IsActive='Y' OR c.IsActive is null)" +
|
||||
"AND f.IsActive='Y' " +
|
||||
"ORDER BY c.ColumnName";
|
||||
PreparedStatement pstmt = null;
|
||||
ResultSet rs = null;
|
||||
try
|
||||
{
|
||||
pstmt = DB.prepareStatement (sql, get_TrxName());
|
||||
pstmt.setInt (1, getWS_WebServiceType_ID());
|
||||
rs = pstmt.executeQuery ();
|
||||
while (rs.next ())
|
||||
{
|
||||
String colName = rs.getString(1);
|
||||
X_WS_WebServiceFieldInput inputField = new X_WS_WebServiceFieldInput(getCtx(), rs, null);
|
||||
if(inputField.isIdentifier())
|
||||
m_keyColumns.add(colName);
|
||||
|
||||
m_inputFieldMap.put(colName,inputField );
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
log.log(Level.SEVERE, sql, e);
|
||||
}
|
||||
finally
|
||||
{
|
||||
DB.close(rs, pstmt);
|
||||
rs = null;
|
||||
pstmt = null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public X_WS_WebServiceFieldInput getFieldInput(String colName){
|
||||
getInputFieldMap(false);
|
||||
|
||||
return m_inputFieldMap.get(colName);
|
||||
}
|
||||
|
||||
} // MWebServiceType
|
||||
|
|
|
@ -30,7 +30,7 @@ public class X_WS_WebServiceFieldInput extends PO implements I_WS_WebServiceFiel
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20100713L;
|
||||
private static final long serialVersionUID = 20121118L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_WS_WebServiceFieldInput (Properties ctx, int WS_WebServiceFieldInput_ID, String trxName)
|
||||
|
@ -99,6 +99,113 @@ public class X_WS_WebServiceFieldInput extends PO implements I_WS_WebServiceFiel
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public org.compiere.model.I_AD_Reference getAD_Reference() throws RuntimeException
|
||||
{
|
||||
return (org.compiere.model.I_AD_Reference)MTable.get(getCtx(), org.compiere.model.I_AD_Reference.Table_Name)
|
||||
.getPO(getAD_Reference_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Reference.
|
||||
@param AD_Reference_ID
|
||||
System Reference and Validation
|
||||
*/
|
||||
public void setAD_Reference_ID (int AD_Reference_ID)
|
||||
{
|
||||
if (AD_Reference_ID < 1)
|
||||
set_Value (COLUMNNAME_AD_Reference_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_AD_Reference_ID, Integer.valueOf(AD_Reference_ID));
|
||||
}
|
||||
|
||||
/** Get Reference.
|
||||
@return System Reference and Validation
|
||||
*/
|
||||
public int getAD_Reference_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Reference_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set DB Column Name.
|
||||
@param ColumnName
|
||||
Name of the column in the database
|
||||
*/
|
||||
public void setColumnName (String ColumnName)
|
||||
{
|
||||
set_Value (COLUMNNAME_ColumnName, ColumnName);
|
||||
}
|
||||
|
||||
/** Get DB Column Name.
|
||||
@return Name of the column in the database
|
||||
*/
|
||||
public String getColumnName ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_ColumnName);
|
||||
}
|
||||
|
||||
/** Set Identifier Logic.
|
||||
@param IdentifierLogic Identifier Logic */
|
||||
public void setIdentifierLogic (String IdentifierLogic)
|
||||
{
|
||||
set_Value (COLUMNNAME_IdentifierLogic, IdentifierLogic);
|
||||
}
|
||||
|
||||
/** Get Identifier Logic.
|
||||
@return Identifier Logic */
|
||||
public String getIdentifierLogic ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_IdentifierLogic);
|
||||
}
|
||||
|
||||
/** Set Identifier.
|
||||
@param IsIdentifier
|
||||
This column is part of the record identifier
|
||||
*/
|
||||
public void setIsIdentifier (boolean IsIdentifier)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsIdentifier, Boolean.valueOf(IsIdentifier));
|
||||
}
|
||||
|
||||
/** Get Identifier.
|
||||
@return This column is part of the record identifier
|
||||
*/
|
||||
public boolean isIdentifier ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsIdentifier);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Allow Null Value.
|
||||
@param IsNullIdentifier
|
||||
Should allow null value for identifiere field
|
||||
*/
|
||||
public void setIsNullIdentifier (boolean IsNullIdentifier)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsNullIdentifier, Boolean.valueOf(IsNullIdentifier));
|
||||
}
|
||||
|
||||
/** Get Allow Null Value.
|
||||
@return Should allow null value for identifiere field
|
||||
*/
|
||||
public boolean isNullIdentifier ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsNullIdentifier);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Web Service Field Input.
|
||||
@param WS_WebServiceFieldInput_ID Web Service Field Input */
|
||||
public void setWS_WebServiceFieldInput_ID (int WS_WebServiceFieldInput_ID)
|
||||
|
|
|
@ -0,0 +1,603 @@
|
|||
/******************************************************************************
|
||||
* Copyright (C) 2012 Trek Global *
|
||||
* Product: iDempiere ERP & CRM Smart Business Solution *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program; if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
*****************************************************************************/
|
||||
package org.idempiere.webservices;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpSession;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.ws.WebServiceContext;
|
||||
import javax.xml.ws.handler.MessageContext;
|
||||
|
||||
import org.adempiere.base.Service;
|
||||
import org.adempiere.base.ServiceQuery;
|
||||
import org.adempiere.exceptions.AdempiereException;
|
||||
import org.compiere.model.Lookup;
|
||||
import org.compiere.model.MWebService;
|
||||
import org.compiere.model.MWebServiceType;
|
||||
import org.compiere.model.PO;
|
||||
import org.compiere.model.POInfo;
|
||||
import org.compiere.model.X_WS_WebServiceMethod;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
import org.compiere.util.Login;
|
||||
import org.compiere.util.NamePair;
|
||||
import org.compiere.util.Trx;
|
||||
import org.idempiere.webservices.fault.IdempiereServiceFault;
|
||||
|
||||
import org.idempiere.adInterface.x10.ADLoginRequest;
|
||||
import org.idempiere.adInterface.x10.DataField;
|
||||
import org.idempiere.adInterface.x10.OutputField;
|
||||
import org.idempiere.adInterface.x10.OutputFields;
|
||||
import org.idempiere.adInterface.x10.StandardResponse;
|
||||
import org.idempiere.adInterface.x10.StandardResponseDocument;
|
||||
|
||||
import com._3e.ADInterface.CompiereService;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Deepak Pansheriya
|
||||
*
|
||||
*/
|
||||
public class AbstractService {
|
||||
|
||||
@Resource
|
||||
protected WebServiceContext ctx;
|
||||
|
||||
/**
|
||||
* Login to web Services
|
||||
* @param loginRequest
|
||||
* @param webService
|
||||
* @param method
|
||||
* @param serviceType
|
||||
* @return
|
||||
*/
|
||||
protected String login(ADLoginRequest loginRequest, String webService, String method, String serviceType) {
|
||||
|
||||
CompiereService m_cs = getCompiereService();
|
||||
|
||||
if (m_cs.isLoggedIn() && m_cs.getM_AD_Client_ID() == loginRequest.getClientID() && loginRequest.getClientID() == Env.getAD_Client_ID(Env.getCtx())
|
||||
&& m_cs.getM_AD_Org_ID() == loginRequest.getOrgID() && m_cs.getM_AD_Role_ID() == loginRequest.getRoleID()
|
||||
&& m_cs.getM_AD_Warehouse_ID() == loginRequest.getWarehouseID() && loginRequest.getUser().equals(m_cs.getUser()))
|
||||
return authenticate(webService, method, serviceType, m_cs); // already logged with same data
|
||||
|
||||
String ret =invokeLoginValidator(loginRequest, m_cs.getM_ctx(), null, IWSValidator.TIME_BEFORE_LOGIN);
|
||||
if(ret!=null && ret.length()>0)
|
||||
return ret;
|
||||
|
||||
Login login = new Login(m_cs.getM_ctx());
|
||||
KeyNamePair[] roles = login.getRoles(loginRequest.getUser(), loginRequest.getPass());
|
||||
if (roles != null) {
|
||||
boolean okrole = false;
|
||||
for (KeyNamePair role : roles) {
|
||||
if (role.getKey() == loginRequest.getRoleID()) {
|
||||
okrole = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!okrole)
|
||||
return "Error logging in - role not allowed for this user";
|
||||
|
||||
KeyNamePair[] clients = login.getClients(new KeyNamePair(loginRequest.getRoleID(), ""));
|
||||
boolean okclient = false;
|
||||
for (KeyNamePair client : clients) {
|
||||
if (client.getKey() == loginRequest.getClientID()) {
|
||||
okclient = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!okclient)
|
||||
return "Error logging in - client not allowed for this role";
|
||||
|
||||
m_cs.getM_ctx().setProperty("#AD_Client_ID", "" + loginRequest.getClientID());
|
||||
|
||||
KeyNamePair[] orgs = login.getOrgs(new KeyNamePair(loginRequest.getRoleID(), ""));
|
||||
|
||||
if (orgs == null)
|
||||
return "Error logging in - no organizations for this role";
|
||||
|
||||
KeyNamePair orglogin = null;
|
||||
boolean okorg = false;
|
||||
for (KeyNamePair org : orgs) {
|
||||
if (org.getKey() == loginRequest.getOrgID()) {
|
||||
okorg = true;
|
||||
orglogin = org;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!okorg)
|
||||
return "Error logging in - org not allowed for this role";
|
||||
|
||||
KeyNamePair[] warehouses = login.getWarehouses(new KeyNamePair(loginRequest.getOrgID(), ""));
|
||||
boolean okwh = false;
|
||||
for (KeyNamePair warehouse : warehouses) {
|
||||
if (warehouse.getKey() == loginRequest.getWarehouseID()) {
|
||||
okwh = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!okwh)
|
||||
return "Error logging in - warehouse not allowed for this org";
|
||||
|
||||
String error = login.validateLogin(orglogin);
|
||||
if (error != null && error.length() > 0)
|
||||
return error;
|
||||
|
||||
int AD_User_ID = Env.getAD_User_ID(m_cs.getM_ctx());
|
||||
|
||||
|
||||
if (!m_cs.login(AD_User_ID, loginRequest.getRoleID(), loginRequest.getClientID(), loginRequest.getOrgID(), loginRequest.getWarehouseID(), loginRequest.getLang()))
|
||||
return "Error logging in";
|
||||
|
||||
|
||||
|
||||
} else {
|
||||
return "Error logging in - no roles or user/pwd invalid for user " + loginRequest.getUser();
|
||||
}
|
||||
|
||||
ret =invokeLoginValidator(loginRequest, m_cs.getM_ctx(), null, IWSValidator.TIME_AFTER_LOGIN);
|
||||
if(ret!=null && ret.length()>0)
|
||||
return ret;
|
||||
|
||||
return authenticate(webService, method, serviceType, m_cs);
|
||||
}
|
||||
|
||||
/**
|
||||
* Authenticate user for requested service type
|
||||
* @param webServiceValue
|
||||
* @param methodValue
|
||||
* @param serviceTypeValue
|
||||
* @param m_cs
|
||||
* @return
|
||||
*/
|
||||
protected String authenticate(String webServiceValue, String methodValue, String serviceTypeValue, CompiereService m_cs) {
|
||||
|
||||
HttpServletRequest req = (HttpServletRequest) ctx.getMessageContext().get(MessageContext.SERVLET_REQUEST);
|
||||
|
||||
MWebService m_webservice = MWebService.get(m_cs.getM_ctx(), webServiceValue);
|
||||
if (m_webservice == null || !m_webservice.isActive())
|
||||
return "Web Service " + webServiceValue + " not registered";
|
||||
|
||||
X_WS_WebServiceMethod m_webservicemethod = m_webservice.getMethod(methodValue);
|
||||
if (m_webservicemethod == null || !m_webservicemethod.isActive())
|
||||
return "Method " + methodValue + " not registered";
|
||||
|
||||
MWebServiceType m_webservicetype = null;
|
||||
final String sql = "SELECT * FROM WS_WebServiceType " + "WHERE AD_Client_ID=? " + "AND WS_WebService_ID=? "
|
||||
+ "AND WS_WebServiceMethod_ID=? " + "AND Value=? " + "AND IsActive='Y'";
|
||||
PreparedStatement pstmt = null;
|
||||
ResultSet rs = null;
|
||||
try {
|
||||
pstmt = DB.prepareStatement(sql, null);
|
||||
pstmt.setInt(1, m_cs.getM_AD_Client_ID());
|
||||
pstmt.setInt(2, m_webservice.getWS_WebService_ID());
|
||||
pstmt.setInt(3, m_webservicemethod.getWS_WebServiceMethod_ID());
|
||||
pstmt.setString(4, serviceTypeValue);
|
||||
rs = pstmt.executeQuery();
|
||||
if (rs.next())
|
||||
m_webservicetype = new MWebServiceType(m_cs.getM_ctx(), rs, null);
|
||||
} catch (Exception e) {
|
||||
throw new IdempiereServiceFault(e.getClass().toString() + " " + e.getMessage() + " sql=" + sql, e.getCause(), new QName(
|
||||
"authenticate"));
|
||||
} finally {
|
||||
DB.close(rs, pstmt);
|
||||
rs = null;
|
||||
pstmt = null;
|
||||
}
|
||||
|
||||
if (m_webservicetype == null)
|
||||
return "Service type " + serviceTypeValue + " not configured";
|
||||
|
||||
req.setAttribute("MWebServiceType", m_webservicetype);
|
||||
|
||||
String ret=invokeLoginValidator(null, m_cs.getM_ctx(), m_webservicetype, IWSValidator.TIME_ON_AUTHENTICATION);
|
||||
if(ret!=null && ret.length()>0)
|
||||
return ret;
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Rollback and set error on standard response
|
||||
* @param trx
|
||||
* @param resp
|
||||
* @param ret
|
||||
* @param isError
|
||||
* @param string
|
||||
* @return
|
||||
*/
|
||||
protected static StandardResponseDocument rollbackAndSetError(Trx trx, StandardResponse resp, StandardResponseDocument ret, boolean isError,
|
||||
String string) {
|
||||
resp.setError(string);
|
||||
resp.setIsError(isError);
|
||||
trx.rollback();
|
||||
trx.close();
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Compiere Service object for current session
|
||||
*/
|
||||
protected CompiereService getCompiereService() {
|
||||
HttpServletRequest req = (HttpServletRequest) ctx.getMessageContext().get(MessageContext.SERVLET_REQUEST);
|
||||
HttpSession session = req.getSession();
|
||||
CompiereService m_cs = (CompiereService) session.getAttribute("CompiereServiceBean");
|
||||
if (m_cs == null) {
|
||||
m_cs = new CompiereService();
|
||||
m_cs.connect();
|
||||
session.setAttribute("CompiereServiceBean", m_cs);
|
||||
}
|
||||
return m_cs;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
protected MWebServiceType getWebServiceType() {
|
||||
HttpServletRequest req = (HttpServletRequest) ctx.getMessageContext().get(MessageContext.SERVLET_REQUEST);
|
||||
|
||||
return (MWebServiceType) req.getAttribute("MWebServiceType");
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Get request Ctx
|
||||
* @return
|
||||
*/
|
||||
protected Map<String, Object> getRequestCtx() {
|
||||
HttpServletRequest req = (HttpServletRequest) ctx.getMessageContext().get(MessageContext.SERVLET_REQUEST);
|
||||
|
||||
Map<String,Object> reqCtx= (Map<String,Object>)req.getAttribute("RequestCtx");
|
||||
if(reqCtx==null){
|
||||
reqCtx = new HashMap<String, Object>();
|
||||
req.setAttribute("RequestCtx", reqCtx);
|
||||
}
|
||||
|
||||
return reqCtx;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param resp
|
||||
* @param m_webservicetype
|
||||
*/
|
||||
protected void setOuputFields(StandardResponse resp,MWebServiceType m_webservicetype,PO po,POInfo poInfo){
|
||||
String[] outCols = m_webservicetype.getOutputColumnNames(false);
|
||||
if(outCols.length>0){
|
||||
OutputFields outputFields = resp.getOutputFields();
|
||||
if(outputFields==null)
|
||||
outputFields=resp.addNewOutputFields();
|
||||
|
||||
for(String colName:outCols){
|
||||
int indCol = poInfo.getColumnIndex(colName);
|
||||
if(indCol<0)
|
||||
continue;
|
||||
|
||||
OutputField outField= outputFields.addNewOutputField();
|
||||
outField.setColumn(colName);
|
||||
if(po.get_Value(indCol)!=null){
|
||||
outField.setValue(po.get_Value(indCol).toString());
|
||||
Lookup lookup = poInfo.getColumnLookup(indCol);
|
||||
if(lookup != null){
|
||||
//Setting text
|
||||
if(lookup.getSize()==0)
|
||||
lookup.refresh();
|
||||
|
||||
NamePair pair = lookup.getDirect(po.get_Value(indCol), false, false);
|
||||
outField.setText(pair.getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse variables inside SQL
|
||||
* @param sql
|
||||
* @param sqlParas
|
||||
* @param po
|
||||
* @param requestCtx
|
||||
* @return
|
||||
* @throws AdempiereException
|
||||
*/
|
||||
protected String parseSQL(String sql, ArrayList<Object> sqlParas, PO po,POInfo poInfo, Map<String, Object> requestCtx) throws AdempiereException {
|
||||
if (sql.startsWith("@SQL="))
|
||||
sql = sql.substring(5);
|
||||
|
||||
if (sql.toLowerCase().indexOf(" where ") == -1)
|
||||
throw new AdempiereException("Invalid SQL: Query do not have any filetering criteria");
|
||||
|
||||
StringBuilder sqlBuilder = new StringBuilder();
|
||||
|
||||
if (sql.indexOf('@') == -1) {
|
||||
sqlBuilder.append(sql);
|
||||
} else {
|
||||
int firstInd = sql.indexOf('@');
|
||||
while (firstInd >= 0) {
|
||||
|
||||
sqlBuilder.append(sql.substring(0, firstInd));
|
||||
|
||||
sql = sql.substring(firstInd + 1);
|
||||
|
||||
firstInd = sql.indexOf('@');
|
||||
if (firstInd == -1) {
|
||||
throw new AdempiereException("Missing closing '@' in SQL");
|
||||
}
|
||||
|
||||
String token = sql.substring(0, firstInd);
|
||||
boolean isNullable = false;
|
||||
if(token.charAt(0)=='!'){
|
||||
isNullable = true;
|
||||
token = token.substring(1);
|
||||
}
|
||||
|
||||
sql = sql.substring(firstInd + 1);
|
||||
|
||||
Object val = parseVariable(token, po,poInfo, requestCtx);
|
||||
if(val == null && isNullable){
|
||||
int ind = sqlBuilder.lastIndexOf("=");
|
||||
sqlBuilder.replace(ind, sqlBuilder.length(), " Is Null ");
|
||||
}else if (val == null)
|
||||
throw new AdempiereException("Can not resolve varialbe '" + token + "' in sql");
|
||||
else{
|
||||
sqlBuilder.append(" ? ");
|
||||
sqlParas.add(val);
|
||||
}
|
||||
|
||||
firstInd = sql.indexOf('@');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return sqlBuilder.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolving context variable into object
|
||||
* @param varName
|
||||
* @param po
|
||||
* @param requestCtx
|
||||
* @return
|
||||
*/
|
||||
protected Object parseVariable(String varName, PO po,POInfo poInfo, Map<String, Object> requestCtx) {
|
||||
Object val = null;
|
||||
if (varName.charAt(0) == '@')
|
||||
varName = varName.substring(1);
|
||||
|
||||
int indDot = varName.indexOf(".");
|
||||
if (indDot == -1) {
|
||||
if (varName.charAt(0) == '#') {
|
||||
varName = varName.substring(1);
|
||||
val = getCompiereService().getM_ctx().getProperty(varName);
|
||||
} else {
|
||||
// If there is no table name, then it should be
|
||||
// premitive data type
|
||||
if (po != null && poInfo.getColumnIndex(varName)!=-1)
|
||||
val = po.get_Value(varName);
|
||||
|
||||
if (val == null)
|
||||
val = requestCtx.get(varName);
|
||||
}
|
||||
} else {
|
||||
|
||||
|
||||
String tblName = varName.substring(0, indDot);
|
||||
String colName = varName.substring(indDot + 1);
|
||||
if (colName.indexOf(".") >= 0) {
|
||||
throw new IdempiereServiceFault(" can not resolve " + varName + ". contains un supported multi level object resolution",
|
||||
new QName("resolveCtxVariable"));
|
||||
}
|
||||
|
||||
Object obj = requestCtx.get(tblName);
|
||||
if (obj == null || !(obj instanceof PO)) {
|
||||
throw new IdempiereServiceFault(" can not found object of " + tblName + ". Request variable " + varName
|
||||
+ " can not resolved", new QName("resolveCtxVariable"));
|
||||
}
|
||||
|
||||
PO refPO = (PO) obj;
|
||||
val = refPO.get_Value(colName);
|
||||
|
||||
}
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param strValue
|
||||
* @param columnClass
|
||||
* @param colName
|
||||
* @param m_webservicetype
|
||||
* @return
|
||||
*/
|
||||
protected Object convertToObj(String strValue,Class columnClass,String colName){
|
||||
|
||||
Object value = null;
|
||||
|
||||
if (columnClass == Boolean.class) {
|
||||
if ("Y".equalsIgnoreCase(strValue)
|
||||
|| "true".equalsIgnoreCase(strValue))
|
||||
value = new Boolean(true);
|
||||
else if ("N".equalsIgnoreCase(strValue)
|
||||
|| "false".equalsIgnoreCase(strValue))
|
||||
value = new Boolean(false);
|
||||
else
|
||||
throw new IdempiereServiceFault(" input column " + colName
|
||||
+ " wrong value " + strValue, new QName(
|
||||
"setValueAccordingToClass"));
|
||||
} else if (columnClass == Integer.class) {
|
||||
try {
|
||||
value = Integer.parseInt(strValue);
|
||||
} catch (NumberFormatException e) {
|
||||
throw new IdempiereServiceFault(e.getClass().toString()
|
||||
+ " " + e.getMessage() + " for "
|
||||
+ colName , e.getCause(), new QName(
|
||||
"setValueAccordingToClass"));
|
||||
}
|
||||
} else if (columnClass == BigDecimal.class) {
|
||||
try {
|
||||
value = new BigDecimal(strValue);
|
||||
} catch (Exception e) {
|
||||
throw new IdempiereServiceFault(e.getClass().toString()
|
||||
+ " " + e.getMessage() + " for "
|
||||
+ colName, e.getCause(), new QName(
|
||||
"setValueAccordingToClass"));
|
||||
}
|
||||
} else if (columnClass == Timestamp.class) {
|
||||
try {
|
||||
value = Timestamp.valueOf(strValue);
|
||||
} catch (Exception e) {
|
||||
throw new IdempiereServiceFault(e.getClass().toString()
|
||||
+ " " + e.getMessage() + " for "
|
||||
+ colName, e.getCause(), new QName(
|
||||
"setValueAccordingToClass"));
|
||||
}
|
||||
} else if (columnClass == byte[].class) {
|
||||
throw new IdempiereServiceFault(" input column "
|
||||
+ colName + " LOB not supported",
|
||||
new QName("setValueAccordingToClass"));
|
||||
} else {
|
||||
value = strValue;
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve variable data type
|
||||
* @param columnName
|
||||
* @param displayType
|
||||
* @return
|
||||
*/
|
||||
protected Class getVariableType(String columnName,int displayType){
|
||||
Class ColumnClass= null;
|
||||
if (columnName.equals("AD_Language") || columnName.equals("EntityType"))
|
||||
{
|
||||
ColumnClass = String.class;
|
||||
}
|
||||
else if (columnName.equals("Posted")
|
||||
|| columnName.equals("Processed")
|
||||
|| columnName.equals("Processing"))
|
||||
{
|
||||
ColumnClass = Boolean.class;
|
||||
}
|
||||
else if (columnName.equals("Record_ID"))
|
||||
{
|
||||
ColumnClass = Integer.class;
|
||||
}
|
||||
else
|
||||
ColumnClass = org.compiere.util.DisplayType.getClass(displayType, true);
|
||||
|
||||
return ColumnClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* retrieve web service Validators
|
||||
* @param serviceType
|
||||
* @return
|
||||
*/
|
||||
public static List<IWSValidator> getValidators(String serviceType){
|
||||
ServiceQuery query = new ServiceQuery();
|
||||
query.put("WSType",serviceType);
|
||||
|
||||
return Service.locator().list(IWSValidator.class, query).getServices();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke webservice Validator
|
||||
* @param m_WebServiceType
|
||||
* @param time
|
||||
* @param po
|
||||
* @param fields
|
||||
* @param trx
|
||||
* @param requestCtx
|
||||
* @param resp
|
||||
* @param ret
|
||||
* @return
|
||||
*/
|
||||
public static StandardResponseDocument invokeWSValidator(MWebServiceType m_WebServiceType, int time,PO po, DataField fields[], Trx trx,Map<String, Object> requestCtx,StandardResponse resp,StandardResponseDocument ret){
|
||||
|
||||
List<IWSValidator> validators = getValidators(m_WebServiceType.getValue());
|
||||
List<IWSValidator> globalValidators = getValidators("GLOBAL");
|
||||
//Call global validator
|
||||
for(IWSValidator validator:globalValidators){
|
||||
try{
|
||||
validator.validate(po, m_WebServiceType, fields, time,trx.getTrxName(),requestCtx);
|
||||
}catch (IdempiereServiceFault e) {
|
||||
return rollbackAndSetError(trx, resp, ret, true, e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
for(IWSValidator validator:validators){
|
||||
try{
|
||||
validator.validate(po, m_WebServiceType, fields, time,trx.getTrxName(),requestCtx);
|
||||
}catch (IdempiereServiceFault e) {
|
||||
return rollbackAndSetError(trx, resp, ret, true, e.getMessage());
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke web Service Login Validator
|
||||
* @param loginRequest
|
||||
* @param ctx
|
||||
* @param m_webserviceType
|
||||
* @param time
|
||||
* @return
|
||||
*/
|
||||
public static String invokeLoginValidator(ADLoginRequest loginRequest, Properties ctx, MWebServiceType m_webserviceType, int time) {
|
||||
|
||||
List<IWSValidator> validators = null;
|
||||
if (m_webserviceType != null) {
|
||||
validators = getValidators(m_webserviceType.getValue());
|
||||
}
|
||||
List<IWSValidator> globalValidators = getValidators("GLOBAL");
|
||||
// Call global validator
|
||||
for (IWSValidator validator : globalValidators) {
|
||||
try {
|
||||
validator.login(loginRequest, ctx, m_webserviceType, time);
|
||||
} catch (IdempiereServiceFault e) {
|
||||
return e.getMessage();
|
||||
}
|
||||
}
|
||||
|
||||
if (validators != null) {
|
||||
for (IWSValidator validator : validators) {
|
||||
try {
|
||||
validator.login(loginRequest, ctx, m_webserviceType, time);
|
||||
} catch (IdempiereServiceFault e) {
|
||||
return e.getMessage();
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package org.idempiere.webservices;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.compiere.model.MWebServiceType;
|
||||
import org.compiere.model.PO;
|
||||
import org.idempiere.webservices.fault.IdempiereServiceFault;
|
||||
|
||||
import org.idempiere.adInterface.x10.ADLoginRequest;
|
||||
import org.idempiere.adInterface.x10.DataField;
|
||||
|
||||
public interface IWSValidator {
|
||||
public static final int TIME_BEFORE_PARSE=1;
|
||||
public static final int TIME_AFTER_PARSE=2;
|
||||
public static final int TIME_BEFORE_SAVE=3;
|
||||
public static final int TIME_AFTER_SAVE=4;
|
||||
|
||||
public static final int TIME_BEFORE_LOGIN=5;
|
||||
public static final int TIME_AFTER_LOGIN=6;
|
||||
public static final int TIME_ON_AUTHENTICATION=7;
|
||||
|
||||
public static final int TIME_BEFORE_PROCESS=8;
|
||||
public static final int TIME_AFTER_PROCESS=9;
|
||||
|
||||
public void validate(PO po,MWebServiceType m_webserviceType,DataField[] fields,int time,String trxName,Map<String, Object> requestCtx) throws IdempiereServiceFault;
|
||||
public void login(ADLoginRequest loginRequest,Properties ctx,MWebServiceType m_webserviceType,int time) throws IdempiereServiceFault;
|
||||
}
|
|
@ -7,15 +7,15 @@ import javax.xml.ws.WebFault;
|
|||
public class IdempiereServiceFault extends RuntimeException{
|
||||
|
||||
public IdempiereServiceFault(String string, QName qName) {
|
||||
// TODO Auto-generated constructor stub
|
||||
super(string);
|
||||
}
|
||||
|
||||
public IdempiereServiceFault(String string, Throwable cause, QName qName) {
|
||||
// TODO Auto-generated constructor stub
|
||||
super(string, cause);
|
||||
}
|
||||
|
||||
public IdempiereServiceFault(Exception exception) {
|
||||
// TODO Auto-generated constructor stub
|
||||
super(exception);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,58 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://adaxa.com/ws" xmlns:tns="http://adaxa.com/ws"
|
||||
elementFormDefault="qualified">
|
||||
|
||||
<xsd:complexType name="LoginRequest">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="user" type="xsd:string" />
|
||||
<xsd:element name="pass" type="xsd:string" />
|
||||
<xsd:element name="lang" type="xsd:string" />
|
||||
<xsd:element name="ClientID" type="xsd:int" />
|
||||
<xsd:element name="RoleID" type="xsd:int" />
|
||||
<xsd:element name="OrgID" type="xsd:int" />
|
||||
<xsd:element name="WarehouseID" type="xsd:int" />
|
||||
<xsd:element name="stage" type="xsd:int" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:element name="ProcessRequest" type="tns:ProcessRequest" />
|
||||
<xsd:element name="ProcessResponse" type="tns:ProcessResponse" />
|
||||
|
||||
<xsd:complexType name="parameter">
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="value" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="ProcessData">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="parameter" type="tns:parameter"
|
||||
minOccurs="1" maxOccurs="unbounded" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="ProcessRequest">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ProcessData" type="tns:ProcessData"
|
||||
minOccurs="1" maxOccurs="1" />
|
||||
<xsd:element name="serviceType" type="xsd:string" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="LoginRequest" type="tns:LoginRequest"
|
||||
minOccurs="1" maxOccurs="1" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="outputData">
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="value" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="ProcessResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Error" type="xsd:string" />
|
||||
<xsd:element name="ouptutData" type="tns:outputData" minOccurs="0"
|
||||
maxOccurs="unbounded" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="IsError" type="xsd:boolean" />
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://3e.pl/ADInterface"
|
||||
xmlns:tns="http://3e.pl/ADInterface"
|
||||
targetNamespace="http://idempiere.org/ADInterface/1_0"
|
||||
xmlns:tns="http://idempiere.org/ADInterface/1_0"
|
||||
elementFormDefault="qualified">
|
||||
|
||||
<xsd:element name="Window" type="tns:Window"/>
|
||||
|
@ -356,13 +356,32 @@
|
|||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="StandardResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Error" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="IsError" type="xsd:boolean"/>
|
||||
<xsd:attribute name="RecordID" type="xsd:int"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="StandardResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Error" type="xsd:string" minOccurs="0" />
|
||||
<xsd:element name="Summary" type="xsd:string" minOccurs="0" />
|
||||
<xsd:element name="LogInfo" type="xsd:string" minOccurs="0" />
|
||||
<xsd:element name="Data" type="xsd:hexBinary" minOccurs="0" />
|
||||
<xsd:element name="outputFields" type="tns:outputFields" minOccurs="0"/>
|
||||
<xsd:element name="RunProcessResponse" type="tns:RunProcessResponse" minOccurs="0"/>
|
||||
<xsd:element name="WindowTabData" type="tns:WindowTabData" minOccurs="0"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="IsError" type="xsd:boolean" />
|
||||
<xsd:attribute name="IsRolledBack" type="xsd:boolean" />
|
||||
<xsd:attribute name="RecordID" type="xsd:int" />
|
||||
<xsd:attribute name="ReportFormat" type="xsd:string" use="optional" />
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="outputFields">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="outputField" type="tns:outputField" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="outputField">
|
||||
<xsd:attribute name="column" type="xsd:string" />
|
||||
<xsd:attribute name="value" type="xsd:string" />
|
||||
<xsd:attribute name="Text" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
|
||||
|
||||
<xsd:element name="Location" type="tns:Location"/>
|
||||
|
@ -400,6 +419,7 @@
|
|||
<xsd:element name="serviceType" type="xsd:string"/>
|
||||
<xsd:element name="tableName" type="xsd:string"/>
|
||||
<xsd:element name="recordID" type="xsd:int"/>
|
||||
<xsd:element name="recordIDVariable" type="xsd:string" minOccurs="0"/>
|
||||
<xsd:element name="docAction" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
@ -457,7 +477,8 @@
|
|||
<xsd:element name="serviceType" type="xsd:string"/>
|
||||
<xsd:element name="TableName" type="xsd:string"/>
|
||||
<xsd:element name="RecordID" type="xsd:int"/>
|
||||
<xsd:element name="Filter" type="xsd:string"/>
|
||||
<xsd:element name="recordIDVariable" type="xsd:string" minOccurs="0"/>
|
||||
<xsd:element name="Filter" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="Action">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
|
@ -465,6 +486,7 @@
|
|||
<xsd:enumeration value="Read"></xsd:enumeration>
|
||||
<xsd:enumeration value="Update"></xsd:enumeration>
|
||||
<xsd:enumeration value="Delete"></xsd:enumeration>
|
||||
<xsd:enumeration value="CreateUpdate"></xsd:enumeration>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
|
@ -479,4 +501,60 @@
|
|||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
|
||||
<xsd:complexType name="operations">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="operation" type="tns:operation" minOccurs="1" maxOccurs="unbounded"></xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="operation">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="TargetPort">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="createData"></xsd:enumeration>
|
||||
<xsd:enumeration value="readData"></xsd:enumeration>
|
||||
<xsd:enumeration value="updateData"></xsd:enumeration>
|
||||
<xsd:enumeration value="deleteData"></xsd:enumeration>
|
||||
<xsd:enumeration value="runProcess"></xsd:enumeration>
|
||||
<xsd:enumeration value="setDocAction"></xsd:enumeration>
|
||||
<xsd:enumeration value="createUpdateData"></xsd:enumeration>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ModelCRUD" type="tns:ModelCRUD" minOccurs="0"></xsd:element>
|
||||
<xsd:element name="ModelSetDocAction" type="tns:ModelSetDocAction" minOccurs="0"></xsd:element>
|
||||
<xsd:element name="ModelRunProcess" type="tns:ModelRunProcess" minOccurs="0"></xsd:element>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="preCommit" type="xsd:boolean" default="false"></xsd:attribute>
|
||||
<xsd:attribute name="postCommit" type="xsd:boolean" default="false"></xsd:attribute>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="CompositeModelRequest" type="tns:CompositeModelRequest"></xsd:element>
|
||||
<xsd:complexType name="CompositeModelRequest">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ADLoginRequest" type="tns:ADLoginRequest"></xsd:element>
|
||||
<xsd:element name="serviceType" type="xsd:string"/>
|
||||
<xsd:element name="operations" type="tns:operations" maxOccurs="unbounded"></xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
|
||||
<xsd:element name="CompositeResponses" type="tns:CompositeResponses"></xsd:element>
|
||||
|
||||
<xsd:complexType name="CompositeResponses">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="CompositeResponse" type="tns:CompositeResponse" minOccurs="0" maxOccurs="unbounded"></xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
|
||||
<xsd:complexType name="CompositeResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="StandardResponse" type="tns:StandardResponse" minOccurs="1" maxOccurs="unbounded"></xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
|
||||
|
||||
</xsd:schema>
|
|
@ -1,239 +0,0 @@
|
|||
<xsd:schema targetNamespace="http://externalSales.ws.erpCommon.openbravo.org" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://externalSales.ws.erpCommon.openbravo.org" xmlns:wsdl="wsdl">
|
||||
<xsd:complexType name="Category">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="description" type="xsd:string"/>
|
||||
<xsd:element name="id" type="xsd:int"/>
|
||||
<xsd:element name="name" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Tax">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="id" type="xsd:int"/>
|
||||
<xsd:element name="name" type="xsd:string"/>
|
||||
<xsd:element name="percentage" type="xsd:double"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Product">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="category" type="tns:Category"/>
|
||||
<xsd:element name="description" type="xsd:string"/>
|
||||
<xsd:element name="ean" type="xsd:string"/>
|
||||
<xsd:element name="id" type="xsd:int"/>
|
||||
<xsd:element name="imageUrl" type="xsd:string"/>
|
||||
<xsd:element name="listPrice" type="xsd:double"/>
|
||||
<xsd:element name="name" type="xsd:string"/>
|
||||
<xsd:element name="number" type="xsd:string"/>
|
||||
<xsd:element name="purchasePrice" type="xsd:double"/>
|
||||
<xsd:element name="tax" type="tns:Tax"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ProductPlus">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="tns:Product">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="qtyonhand" type="xsd:double"/>
|
||||
</xsd:sequence>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="BPartner">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="address1" type="xsd:string"/>
|
||||
<xsd:element name="address2" type="xsd:string"/>
|
||||
<xsd:element name="city" type="xsd:string"/>
|
||||
<xsd:element name="country" type="xsd:string"/>
|
||||
<xsd:element name="id" type="xsd:string"/>
|
||||
<xsd:element name="name" type="xsd:string"/>
|
||||
<xsd:element name="postal" type="xsd:string"/>
|
||||
<xsd:element name="region" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="OrderLine">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="orderLineId" type="xsd:int"/>
|
||||
<xsd:element name="price" type="xsd:double"/>
|
||||
<xsd:element name="productId" type="xsd:int"/>
|
||||
<xsd:element name="taxId" type="xsd:int"/>
|
||||
<xsd:element name="units" type="xsd:double"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="OrderIdentifier">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="dateNew" type="xsd:dateTime"/>
|
||||
<xsd:element name="documentNo" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Payment">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="amount" type="xsd:double"/>
|
||||
<xsd:element name="paymentType" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Order">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="businessPartner" type="tns:BPartner"/>
|
||||
<xsd:element name="lines" type="tns:ArrayOf_tns1_OrderLine"/>
|
||||
<xsd:element name="orderId" type="tns:OrderIdentifier"/>
|
||||
<xsd:element name="payment" type="tns:ArrayOf_tns1_Payment"/>
|
||||
<xsd:element name="state" type="xsd:int"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOf_tns1_Product">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="products" type="tns:Product" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOf_tns1_ProductPlus">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="products" type="tns:ProductPlus" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOf_tns1_OrderLine">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="orderlines" type="tns:OrderLine" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOf_tns1_Payment">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="payments" type="tns:Payment" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOf_tns1_Order">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="orders" type="tns:Order" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOf_tns1_OrderIdentifier">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="orderidentifiers" type="tns:OrderIdentifier" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Contact">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="businessPartnerId" type="xsd:int"/>
|
||||
<xsd:element name="clientId" type="xsd:int"/>
|
||||
<xsd:element name="email" type="xsd:string"/>
|
||||
<xsd:element name="fax" type="xsd:string"/>
|
||||
<xsd:element name="firstName" type="xsd:string"/>
|
||||
<xsd:element name="id" type="xsd:int"/>
|
||||
<xsd:element name="lastName" type="xsd:string"/>
|
||||
<xsd:element name="phone" type="xsd:string"/>
|
||||
<xsd:element name="phone2" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Location">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="address1" type="xsd:string"/>
|
||||
<xsd:element name="address2" type="xsd:string"/>
|
||||
<xsd:element name="businessPartnerId" type="xsd:int"/>
|
||||
<xsd:element name="city" type="xsd:string"/>
|
||||
<xsd:element name="clientId" type="xsd:int"/>
|
||||
<xsd:element name="country" type="xsd:string"/>
|
||||
<xsd:element name="id" type="xsd:int"/>
|
||||
<xsd:element name="postal" type="xsd:string"/>
|
||||
<xsd:element name="region" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="BusinessPartner">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="clientId" type="xsd:int"/>
|
||||
<xsd:element name="complete" type="xsd:boolean"/>
|
||||
<xsd:element name="contacts" type="tns:ArrayOf_tns1_Contact"/>
|
||||
<xsd:element name="customer" type="xsd:boolean"/>
|
||||
<xsd:element name="description" type="xsd:string"/>
|
||||
<xsd:element name="id" type="xsd:int"/>
|
||||
<xsd:element name="locations" type="tns:ArrayOf_tns1_Location"/>
|
||||
<xsd:element name="name" type="xsd:string"/>
|
||||
<xsd:element name="searchKey" type="xsd:string"/>
|
||||
<xsd:element name="vendor" type="xsd:boolean"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Customer">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="tns:BusinessPartner">
|
||||
<xsd:sequence/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOf_tns1_Contact">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="contacts" type="tns:Contact" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOf_tns1_Location">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="locations" type="tns:Location" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOf_tns1_Customer">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="customers" type="tns:Customer" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOf_xsd_int">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ints" type="xsd:int" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="ProductsPlusCatalogRequest" type="tns:ProductsPlusCatalogRequest"/>
|
||||
<xsd:complexType name="ProductsPlusCatalogRequest">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="entityId" type="xsd:int"/>
|
||||
<xsd:element name="OrganizationId" type="xsd:int"/>
|
||||
<xsd:element name="salesChannel" type="xsd:int"/>
|
||||
<xsd:element name="username" type="xsd:string"/>
|
||||
<xsd:element name="password" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="ProductsPlusCatalogResponse" type="tns:ProductsPlusCatalogResponse"/>
|
||||
<xsd:complexType name="ProductsPlusCatalogResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ArrayOf_tns1_ProductPlus" type="tns:ArrayOf_tns1_ProductPlus"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="ProductsCatalogRequest" type="tns:ProductsCatalogRequest"/>
|
||||
<xsd:complexType name="ProductsCatalogRequest">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="entityId" type="xsd:int"/>
|
||||
<xsd:element name="OrganizationId" type="xsd:int"/>
|
||||
<xsd:element name="salesChannel" type="xsd:int"/>
|
||||
<xsd:element name="username" type="xsd:string"/>
|
||||
<xsd:element name="password" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="ProductsCatalogResponse" type="tns:ProductsCatalogResponse"/>
|
||||
<xsd:complexType name="ProductsCatalogResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ArrayOf_tns1_Product" type="tns:ArrayOf_tns1_Product"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="GetCustomersRequest" type="tns:GetCustomersRequest"/>
|
||||
<xsd:complexType name="GetCustomersRequest">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="clientId" type="xsd:int"/>
|
||||
<xsd:element name="username" type="xsd:string"/>
|
||||
<xsd:element name="password" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="GetCustomersResponse" type="tns:GetCustomersResponse"/>
|
||||
<xsd:complexType name="GetCustomersResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ArrayOf_tns1_Customer" type="tns:ArrayOf_tns1_Customer"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="UploadOrdersRequest" type="tns:UploadOrdersRequest"/>
|
||||
<xsd:complexType name="UploadOrdersRequest">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="entityId" type="xsd:int"/>
|
||||
<xsd:element name="OrganizationId" type="xsd:int"/>
|
||||
<xsd:element name="salesChannel" type="xsd:int"/>
|
||||
<xsd:element name="newOrders" type="tns:ArrayOf_tns1_Order"/>
|
||||
<xsd:element name="username" type="xsd:string"/>
|
||||
<xsd:element name="password" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="UploadOrdersResponse" type="tns:UploadOrdersResponse"/>
|
||||
<xsd:complexType name="UploadOrdersResponse">
|
||||
<xsd:sequence></xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:schema>
|
|
@ -17,11 +17,13 @@ bin.includes = META-INF/,\
|
|||
WEB-INF/lib/neethi-3.0.2.jar,\
|
||||
WEB-INF/lib/xmlschema-core-2.0.3.jar,\
|
||||
WEB-INF/lib/stax2-api-3.1.1.jar,\
|
||||
WEB-INF/lib/spring-aop-3.0.7.RELEASE.jar,\
|
||||
WEB-INF/lib/cxf-rt-frontend-jaxws-2.6.1.jar,\
|
||||
WEB-INF/lib/generated_xbeans.jar,\
|
||||
WEB-INF/lib/xmlbeans-2.5.0.jar,\
|
||||
WEB-INF/lib/composite_XMLSBean.jar
|
||||
WEB-INF/lib/aopalliance-1.0.jar,\
|
||||
WEB-INF/lib/commons-logging-1.1.1.jar,\
|
||||
WEB-INF/lib/spring-aop-3.0.7.RELEASE.jar,\
|
||||
WEB-INF/lib/spring-osgi-extender-1.2.1.jar,\
|
||||
WEB-INF/lib/Idempiere-XMLSBean-1.0.jar
|
||||
src.includes = WEB-INF/classes/,\
|
||||
WEB-INF/lib/,\
|
||||
WEB-INF/web.xml,\
|
||||
|
|
|
@ -1,73 +1,5 @@
|
|||
-- Jan 30, 2009 7:13:26 PM COT
|
||||
-- Web Service Definition and Security
|
||||
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,Help,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (0,0,TO_DATE('2009-01-30 19:13:25','YYYY-MM-DD HH24:MI:SS'),100,'Contributed by http://www.3e.pl/ - intended to enable work of clients like ADClient.exe','WARNING! This is disabled by default as security is not implemented yet','Y','UI Oriented Adempiere Web Services',TO_DATE('2009-01-30 19:13:25','YYYY-MM-DD HH24:MI:SS'),100,'ADService',50000)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:13:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','getADWindow',TO_DATE('2009-01-30 19:13:41','YYYY-MM-DD HH24:MI:SS'),100,'getADWindow',50000,50000)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:13:54','YYYY-MM-DD HH24:MI:SS'),100,'Y','getWindowTabData',TO_DATE('2009-01-30 19:13:54','YYYY-MM-DD HH24:MI:SS'),100,'getWindowTabData',50000,50001)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:14:02','YYYY-MM-DD HH24:MI:SS'),100,'Y','getDataRow',TO_DATE('2009-01-30 19:14:02','YYYY-MM-DD HH24:MI:SS'),100,'getDataRow',50000,50002)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:14:08','YYYY-MM-DD HH24:MI:SS'),100,'Y','updateDataRow',TO_DATE('2009-01-30 19:14:08','YYYY-MM-DD HH24:MI:SS'),100,'updateDataRow',50000,50003)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:14:13','YYYY-MM-DD HH24:MI:SS'),100,'Y','saveDataRow',TO_DATE('2009-01-30 19:14:13','YYYY-MM-DD HH24:MI:SS'),100,'saveDataRow',50000,50004)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:14:19','YYYY-MM-DD HH24:MI:SS'),100,'Y','addNewDataRow',TO_DATE('2009-01-30 19:14:19','YYYY-MM-DD HH24:MI:SS'),100,'addNewDataRow',50000,50005)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:14:24','YYYY-MM-DD HH24:MI:SS'),100,'Y','deleteDataRow',TO_DATE('2009-01-30 19:14:24','YYYY-MM-DD HH24:MI:SS'),100,'deleteDataRow',50000,50006)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:14:43','YYYY-MM-DD HH24:MI:SS'),100,'Y','ignoreDataRow',TO_DATE('2009-01-30 19:14:43','YYYY-MM-DD HH24:MI:SS'),100,'ignoreDataRow',50000,50007)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:14:51','YYYY-MM-DD HH24:MI:SS'),100,'Y','refreshDataRow',TO_DATE('2009-01-30 19:14:51','YYYY-MM-DD HH24:MI:SS'),100,'refreshDataRow',50000,50008)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:14:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','getLookupSearchData',TO_DATE('2009-01-30 19:14:57','YYYY-MM-DD HH24:MI:SS'),100,'getLookupSearchData',50000,50009)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:15:02','YYYY-MM-DD HH24:MI:SS'),100,'Y','getLookupData',TO_DATE('2009-01-30 19:15:02','YYYY-MM-DD HH24:MI:SS'),100,'getLookupData',50000,50010)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:15:07','YYYY-MM-DD HH24:MI:SS'),100,'Y','getADMenu',TO_DATE('2009-01-30 19:15:07','YYYY-MM-DD HH24:MI:SS'),100,'getADMenu',50000,50011)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:15:12','YYYY-MM-DD HH24:MI:SS'),100,'Y','login',TO_DATE('2009-01-30 19:15:12','YYYY-MM-DD HH24:MI:SS'),100,'login',50000,50012)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:15:17','YYYY-MM-DD HH24:MI:SS'),100,'Y','getProcessParams',TO_DATE('2009-01-30 19:15:17','YYYY-MM-DD HH24:MI:SS'),100,'getProcessParams',50000,50013)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:15:22','YYYY-MM-DD HH24:MI:SS'),100,'Y','runProcess',TO_DATE('2009-01-30 19:15:22','YYYY-MM-DD HH24:MI:SS'),100,'runProcess',50000,50014)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:15:30','YYYY-MM-DD HH24:MI:SS'),100,'Y','saveLocation',TO_DATE('2009-01-30 19:15:30','YYYY-MM-DD HH24:MI:SS'),100,'saveLocation',50000,50015)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:15:36','YYYY-MM-DD HH24:MI:SS'),100,'Y','getLocation',TO_DATE('2009-01-30 19:15:36','YYYY-MM-DD HH24:MI:SS'),100,'getLocation',50000,50016)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:15:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','getDocAction',TO_DATE('2009-01-30 19:15:41','YYYY-MM-DD HH24:MI:SS'),100,'getDocAction',50000,50017)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:15:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','setDocAction',TO_DATE('2009-01-30 19:15:46','YYYY-MM-DD HH24:MI:SS'),100,'setDocAction',50000,50018)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:15:51','YYYY-MM-DD HH24:MI:SS'),100,'Y','getVersion',TO_DATE('2009-01-30 19:15:51','YYYY-MM-DD HH24:MI:SS'),100,'getVersion',50000,50019)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:15:56','YYYY-MM-DD HH24:MI:SS'),100,'Y','isLoggedIn',TO_DATE('2009-01-30 19:15:56','YYYY-MM-DD HH24:MI:SS'),100,'isLoggedIn',50000,50020)
|
||||
;
|
||||
|
||||
UPDATE WS_WebService SET IsActive='N',Updated=TO_DATE('2009-01-30 19:16:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE WS_WebService_ID=50000
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,Help,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (0,0,TO_DATE('2009-01-30 19:17:43','YYYY-MM-DD HH24:MI:SS'),100,'Contributed by http://www.globalqss.com - implemented security','This web services are very generic - so it''s necessary to configure the security layer in the web services security window to make them work. You can take a look to GardenWorld samples.','Y','Model Oriented Web Services',TO_DATE('2009-01-30 19:17:43','YYYY-MM-DD HH24:MI:SS'),100,'ModelADService',50001)
|
||||
;
|
||||
|
@ -98,48 +30,3 @@ INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Descri
|
|||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'Access records via conditions on columns - return data rows','Y','Query Data',TO_DATE('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'queryData',50001,50028)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (0,0,TO_DATE('2009-01-30 19:24:05','YYYY-MM-DD HH24:MI:SS'),100,'Web services needed for integration with Openbravo POS','Y','External Sales - web service',TO_DATE('2009-01-30 19:24:05','YYYY-MM-DD HH24:MI:SS'),100,'ExternalSales',50002)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:24:27','YYYY-MM-DD HH24:MI:SS'),100,'Y','getProductsPlusCatalog',TO_DATE('2009-01-30 19:24:27','YYYY-MM-DD HH24:MI:SS'),100,'getProductsPlusCatalog',50002,50029)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:24:34','YYYY-MM-DD HH24:MI:SS'),100,'Y','uploadOrders',TO_DATE('2009-01-30 19:24:34','YYYY-MM-DD HH24:MI:SS'),100,'uploadOrders',50002,50030)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:24:39','YYYY-MM-DD HH24:MI:SS'),100,'Y','getProductsCatalog',TO_DATE('2009-01-30 19:24:39','YYYY-MM-DD HH24:MI:SS'),100,'getProductsCatalog',50002,50031)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:24:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','getOrders',TO_DATE('2009-01-30 19:24:46','YYYY-MM-DD HH24:MI:SS'),100,'getOrders',50002,50032)
|
||||
;
|
||||
|
||||
UPDATE WS_WebServiceMethod SET IsActive='N',Updated=TO_DATE('2009-01-30 19:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE WS_WebServiceMethod_ID=50032
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (0,0,TO_DATE('2009-01-30 19:25:04','YYYY-MM-DD HH24:MI:SS'),100,'Web services needed for integration with Openbravo POS','Y','WebService - web service',TO_DATE('2009-01-30 19:25:04','YYYY-MM-DD HH24:MI:SS'),100,'WebService',50003)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:25:14','YYYY-MM-DD HH24:MI:SS'),100,'Y','getCustomers',TO_DATE('2009-01-30 19:25:14','YYYY-MM-DD HH24:MI:SS'),100,'getCustomers',50003,50033)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:25:21','YYYY-MM-DD HH24:MI:SS'),100,'N','getCustomer',TO_DATE('2009-01-30 19:25:21','YYYY-MM-DD HH24:MI:SS'),100,'getCustomer',50003,50034)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:25:31','YYYY-MM-DD HH24:MI:SS'),100,'N','updateCustomer',TO_DATE('2009-01-30 19:25:31','YYYY-MM-DD HH24:MI:SS'),100,'updateCustomer',50003,50035)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:25:38','YYYY-MM-DD HH24:MI:SS'),100,'N','getCustomerAddresses',TO_DATE('2009-01-30 19:25:38','YYYY-MM-DD HH24:MI:SS'),100,'getCustomerAddresses',50003,50036)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:25:44','YYYY-MM-DD HH24:MI:SS'),100,'N','getCustomerLocation',TO_DATE('2009-01-30 19:25:44','YYYY-MM-DD HH24:MI:SS'),100,'getCustomerLocation',50003,50037)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:25:51','YYYY-MM-DD HH24:MI:SS'),100,'N','updateAddress',TO_DATE('2009-01-30 19:25:51','YYYY-MM-DD HH24:MI:SS'),100,'updateAddress',50003,50038)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:25:58','YYYY-MM-DD HH24:MI:SS'),100,'N','getCustomerContact',TO_DATE('2009-01-30 19:25:58','YYYY-MM-DD HH24:MI:SS'),100,'getCustomerContact',50003,50039)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:26:07','YYYY-MM-DD HH24:MI:SS'),100,'N','updateContact',TO_DATE('2009-01-30 19:26:07','YYYY-MM-DD HH24:MI:SS'),100,'updateContact',50003,50040)
|
||||
;
|
||||
|
||||
|
|
|
@ -0,0 +1,608 @@
|
|||
|
||||
-- Dec 12, 2012 8:54:30 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Column SET SeqNoSelection=2, IsSelectionColumn='Y', IsToolbarButton='N',Updated=TO_DATE('2012-12-12 20:54:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56727
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 8:54:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Column SET SeqNoSelection=1, IsSelectionColumn='Y', IsToolbarButton='N',Updated=TO_DATE('2012-12-12 20:54:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56730
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:27:55 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202041,'D',1,'N','N','N',0,'N',10,'N',18,'N',120,'N','Y','c3d437e8-e10d-4d1b-87e6-68eb5ab4c9ea','Y','AD_Reference_ID','System Reference and Validation','The Reference could be a display type, list or table validation.','Reference','Y',100,TO_DATE('2012-12-12 21:27:54','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 21:27:54','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:27:55 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202041 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:28:03 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD AD_Reference_ID NUMBER(10) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:29:30 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202042,'D','N','N','N',0,'N',30,'Y',10,'N',228,'N','Y','30db973a-b039-437e-b55a-c9ca1e9d7378','Y','ColumnName','Name of the column in the database','The Column Name indicates the name of a column on a table as defined in the database.','DB Column Name','Y',100,TO_DATE('2012-12-12 21:29:30','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 21:29:30','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:29:30 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202042 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:29:38 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD ColumnName NVARCHAR2(30) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:31:07 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('IdentifierLogic',200592,'D','Identifier Logic','Identifier Logic','d5470526-d7b3-41fb-9ee7-35190020169c',0,TO_DATE('2012-12-12 21:31:06','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-12-12 21:31:06','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:31:08 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200592 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:32:26 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202043,'D','N','N','N',0,'N',2000,'N',14,'N',200592,'N','Y','bdf425b5-7c59-42d4-bb59-56c9800e8325','Y','IdentifierLogic','Identifier Logic','Y',100,TO_DATE('2012-12-12 21:32:25','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 21:32:25','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:32:26 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202043 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:32:51 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD IdentifierLogic NVARCHAR2(2000) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:36:10 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202044,'D','N','N','N',0,'N',1,'N',20,'N',382,'N','Y','f0baaca8-7437-4a9d-a02d-26827b0b54b2','Y','IsIdentifier','This column is part of the record identifier','N','The Identifier checkbox indicates that this column is part of the identifier or key for this table. ','Identifier','Y',100,TO_DATE('2012-12-12 21:36:09','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 21:36:09','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:36:10 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202044 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:36:22 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD IsIdentifier CHAR(1) DEFAULT 'N' CHECK (IsIdentifier IN ('Y','N'))
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:36:34 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput MODIFY IdentifierLogic NVARCHAR2(2000) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:37:50 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Description,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('IsNullIdentifier',200593,'D','Should allow null value for identifiere field','Allow Null Value','Allow Null Value','a704f515-b9a7-4e90-8d44-d7e16e0f5d8c',0,TO_DATE('2012-12-12 21:37:49','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-12-12 21:37:49','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:37:50 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200593 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:39:48 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202045,'D','N','N','N',0,'N',1,'N',20,'N',200593,'N','Y','9cc0e2b6-8bc2-4541-86ad-63513f027011','Y','IsNullIdentifier','Should allow null value for identifiere field','N','Allow Null Value','Y',100,TO_DATE('2012-12-12 21:39:47','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 21:39:47','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:39:48 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202045 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:39:53 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD IsNullIdentifier CHAR(1) DEFAULT 'N' CHECK (IsNullIdentifier IN ('Y','N'))
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:40:15 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput MODIFY IsIdentifier CHAR(1) DEFAULT 'N'
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
-- Dec 12, 2012 10:36:44 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebServiceType_UU',200594,'D','WS_WebServiceType_UU','WS_WebServiceType_UU','1be8e032-ddc3-489c-8c3d-9a4416968d32',0,TO_DATE('2012-12-12 22:36:43','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-12-12 22:36:43','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:36:44 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200594 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:37:11 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53164,202046,'D','N','N','N',0,'N',36,'N',10,'N',200594,'N','Y','0d88f8d9-25c1-4507-a495-b7ba84378e86','Y','WS_WebServiceType_UU','WS_WebServiceType_UU','N',100,TO_DATE('2012-12-12 22:37:11','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 22:37:11','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:37:11 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202046 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:37:33 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceType ADD WS_WebServiceType_UU NVARCHAR2(36) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:38:46 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebService_Para_UU',200595,'D','WS_WebService_Para_UU','WS_WebService_Para_UU','2f690372-900f-457e-8ef7-d1b04496fa5c',0,TO_DATE('2012-12-12 22:38:45','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-12-12 22:38:45','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:38:46 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200595 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:39:14 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53165,202047,'D','N','N','N',0,'N',36,'N',10,'N',200595,'N','Y','90cb04b7-7f82-4866-97f6-c8ff0da18c8b','Y','WS_WebService_Para_UU','WS_WebService_Para_UU','N',100,TO_DATE('2012-12-12 22:39:13','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 22:39:13','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:39:14 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202047 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:39:21 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebService_Para ADD WS_WebService_Para_UU NVARCHAR2(36) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:40:21 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebServiceFieldInput_UU',200596,'D','WS_WebServiceFieldInput_UU','WS_WebServiceFieldInput_UU','b835e570-ab79-4d64-8b4c-2d1ee688e783',0,TO_DATE('2012-12-12 22:40:21','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-12-12 22:40:21','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:40:21 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200596 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:40:43 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202048,'D','N','N','N',0,'N',36,'N',10,'N',200596,'N','Y','2f2437aa-cd9c-4fcb-972b-ed1e3393d108','Y','WS_WebServiceFieldInput_UU','WS_WebServiceFieldInput_UU','N',100,TO_DATE('2012-12-12 22:40:42','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 22:40:42','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:40:43 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202048 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:40:47 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD WS_WebServiceFieldInput_UU NVARCHAR2(36) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:41:43 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebServiceFieldOutput_UU',200597,'D','WS_WebServiceFieldOutput_UU','WS_WebServiceFieldOutput_UU','bcdfaa22-d87c-4df5-935b-d8f5339d4f51',0,TO_DATE('2012-12-12 22:41:42','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-12-12 22:41:42','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:41:43 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200597 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:42:01 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53167,202049,'D','N','N','N',0,'N',36,'N',10,'N',200597,'N','Y','0617cbde-f858-4138-aaa4-fca99bc30988','Y','WS_WebServiceFieldOutput_UU','WS_WebServiceFieldOutput_UU','N',100,TO_DATE('2012-12-12 22:42:01','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 22:42:01','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:42:01 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202049 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:42:06 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldOutput ADD WS_WebServiceFieldOutput_UU NVARCHAR2(36) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:43:48 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebServiceTypeAccess_UU',200598,'D','WS_WebServiceTypeAccess_UU','WS_WebServiceTypeAccess_UU','32df84f5-c650-425a-b9a8-eca3ed2a6209',0,TO_DATE('2012-12-12 22:43:47','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-12-12 22:43:47','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:43:48 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200598 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:44:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53168,202050,'D','N','N','N',0,'N',36,'N',10,'N',200598,'N','Y','43bdb652-1a55-4bd5-affd-b55841f1a1ec','Y','WS_WebServiceTypeAccess_UU','WS_WebServiceTypeAccess_UU','N',100,TO_DATE('2012-12-12 22:44:37','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 22:44:37','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:44:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202050 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:44:46 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceTypeAccess ADD WS_WebServiceTypeAccess_UU NVARCHAR2(36) DEFAULT NULL
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- Dec 12, 2012 11:49:01 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Column SET MandatoryLogic='@AD_Column_ID@=0',Updated=TO_DATE('2012-12-12 23:49:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=202041
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,1,'N','N',202045,'Y',201365,'N','D','Should allow null value for identifiere field','Allow Null Value','N','Y','678c6e86-9e5f-49d6-819b-bd08b0946f17',100,0,TO_DATE('2012-12-12 23:54:36','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-12-12 23:54:36','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201365 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:38 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,30,'N','N',202042,'Y',201366,'N','The Column Name indicates the name of a column on a table as defined in the database.','D','Name of the column in the database','DB Column Name','N','Y','24b12b95-27eb-4303-a550-46402b4a44cb',100,0,TO_DATE('2012-12-12 23:54:37','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-12-12 23:54:37','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:38 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201366 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:39 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,1,'N','N',202044,'Y',201367,'N','The Identifier checkbox indicates that this column is part of the identifier or key for this table. ','D','This column is part of the record identifier','Identifier','N','Y','5551bd5f-7bde-42f0-88ac-4ccd099ace7a',100,0,TO_DATE('2012-12-12 23:54:38','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-12-12 23:54:38','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:39 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201367 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:40 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,2000,'N','N',202043,'Y',201368,'N','D','Identifier Logic','N','Y','67a1f8e7-44d4-4254-94b8-950a64f331f4',100,0,TO_DATE('2012-12-12 23:54:39','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-12-12 23:54:39','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:40 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201368 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,10,'N','N',202041,'Y',201369,'N','The Reference could be a display type, list or table validation.','D','System Reference and Validation','Reference','N','Y','837295cd-2ecc-429d-ad18-dba6dadd7c91',100,0,TO_DATE('2012-12-12 23:54:40','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-12-12 23:54:40','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201369 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,36,'N','N',202048,'Y',201370,'N','D','WS_WebServiceFieldInput_UU','N','Y','3ae46bba-2a92-4c9e-849c-98a716ec16fe',100,0,TO_DATE('2012-12-12 23:54:41','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-12-12 23:54:41','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201370 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:36 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201370
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:36 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=201366
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=201367
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=201365
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=201368
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=201369
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201370
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56668
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=56669
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=56666
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=201366
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=201365
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=201367
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=201368
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=70,IsDisplayedGrid='Y' WHERE AD_Field_ID=201369
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=80,IsDisplayedGrid='Y' WHERE AD_Field_ID=56667
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:57:03 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-12 23:57:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56665
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:57:16 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_DATE('2012-12-12 23:57:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56667
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:57:38 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-12 23:57:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56669
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:58:06 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-12 23:58:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56666
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:58:49 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, DisplayLogic='@AD_Column_ID@=0', XPosition=4,Updated=TO_DATE('2012-12-12 23:58:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201366
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:59:28 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-12-12 23:59:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201367
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:59:52 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=5,Updated=TO_DATE('2012-12-12 23:59:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201365
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:00:14 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=5, NumLines=4,Updated=TO_DATE('2012-12-13 00:00:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201368
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:00:43 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET DisplayLogic='@AD_Column_ID@>0',Updated=TO_DATE('2012-12-13 00:00:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201368
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:01:30 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET DisplayLogic='@AD_Column_ID@>0',Updated=TO_DATE('2012-12-13 00:01:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201367
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:02:02 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET DisplayLogic='@IsIdentifier@=''Y"',Updated=TO_DATE('2012-12-13 00:02:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201365
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:02:24 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET DisplayLogic='@IsIdentifier@=''Y"',Updated=TO_DATE('2012-12-13 00:02:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201368
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:03:37 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET DisplayLogic='@AD_Column_ID@=0',Updated=TO_DATE('2012-12-13 00:03:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201369
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:06:07 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-12-13 00:06:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56664
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:06:51 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:06:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56646
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:07:06 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_DATE('2012-12-13 00:07:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56650
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:07:37 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:07:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56651
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:07:57 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:07:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56649
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:08:15 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:08:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56653
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:08:59 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_DATE('2012-12-13 00:08:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56654
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:09:30 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=4, XPosition=1,Updated=TO_DATE('2012-12-13 00:09:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56654
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:09:41 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:09:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56652
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:10:01 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=5,Updated=TO_DATE('2012-12-13 00:10:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56648
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:10:15 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET NumLines=3,Updated=TO_DATE('2012-12-13 00:10:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56648
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:10:30 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=5, NumLines=3,Updated=TO_DATE('2012-12-13 00:10:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56647
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:10:43 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-12-13 00:10:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56645
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:11:51 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:11:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56657
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:12:01 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_DATE('2012-12-13 00:12:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56659
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:12:14 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:12:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56663
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:12:27 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56660
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:12:36 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:12:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56661
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:12:55 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:12:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56658
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:13:09 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-12-13 00:13:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56656
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:14:18 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:14:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56671
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:14:32 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_DATE('2012-12-13 00:14:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56673
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:14:42 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:14:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56675
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:14:50 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:14:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56672
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:14:58 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-12-13 00:14:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56670
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:15:33 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:15:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56677
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:15:43 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_DATE('2012-12-13 00:15:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56678
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:15:54 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:15:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56681
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:16:01 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:16:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56680
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:16:09 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-12-13 00:16:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56676
|
||||
;
|
|
@ -1,71 +1,3 @@
|
|||
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,Help,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:13:25','YYYY-MM-DD HH24:MI:SS'),100,'Contributed by http://www.3e.pl/ - intended to enable work of clients like ADClient.exe','WARNING! This is disabled by default as security is not implemented yet','Y','UI Oriented Adempiere Web Services',TO_TIMESTAMP('2009-01-30 19:13:25','YYYY-MM-DD HH24:MI:SS'),100,'ADService',50000)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:13:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','getADWindow',TO_TIMESTAMP('2009-01-30 19:13:41','YYYY-MM-DD HH24:MI:SS'),100,'getADWindow',50000,50000)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:13:54','YYYY-MM-DD HH24:MI:SS'),100,'Y','getWindowTabData',TO_TIMESTAMP('2009-01-30 19:13:54','YYYY-MM-DD HH24:MI:SS'),100,'getWindowTabData',50000,50001)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:14:02','YYYY-MM-DD HH24:MI:SS'),100,'Y','getDataRow',TO_TIMESTAMP('2009-01-30 19:14:02','YYYY-MM-DD HH24:MI:SS'),100,'getDataRow',50000,50002)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:14:08','YYYY-MM-DD HH24:MI:SS'),100,'Y','updateDataRow',TO_TIMESTAMP('2009-01-30 19:14:08','YYYY-MM-DD HH24:MI:SS'),100,'updateDataRow',50000,50003)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:14:13','YYYY-MM-DD HH24:MI:SS'),100,'Y','saveDataRow',TO_TIMESTAMP('2009-01-30 19:14:13','YYYY-MM-DD HH24:MI:SS'),100,'saveDataRow',50000,50004)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:14:19','YYYY-MM-DD HH24:MI:SS'),100,'Y','addNewDataRow',TO_TIMESTAMP('2009-01-30 19:14:19','YYYY-MM-DD HH24:MI:SS'),100,'addNewDataRow',50000,50005)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:14:24','YYYY-MM-DD HH24:MI:SS'),100,'Y','deleteDataRow',TO_TIMESTAMP('2009-01-30 19:14:24','YYYY-MM-DD HH24:MI:SS'),100,'deleteDataRow',50000,50006)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:14:43','YYYY-MM-DD HH24:MI:SS'),100,'Y','ignoreDataRow',TO_TIMESTAMP('2009-01-30 19:14:43','YYYY-MM-DD HH24:MI:SS'),100,'ignoreDataRow',50000,50007)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:14:51','YYYY-MM-DD HH24:MI:SS'),100,'Y','refreshDataRow',TO_TIMESTAMP('2009-01-30 19:14:51','YYYY-MM-DD HH24:MI:SS'),100,'refreshDataRow',50000,50008)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:14:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','getLookupSearchData',TO_TIMESTAMP('2009-01-30 19:14:57','YYYY-MM-DD HH24:MI:SS'),100,'getLookupSearchData',50000,50009)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:15:02','YYYY-MM-DD HH24:MI:SS'),100,'Y','getLookupData',TO_TIMESTAMP('2009-01-30 19:15:02','YYYY-MM-DD HH24:MI:SS'),100,'getLookupData',50000,50010)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:15:07','YYYY-MM-DD HH24:MI:SS'),100,'Y','getADMenu',TO_TIMESTAMP('2009-01-30 19:15:07','YYYY-MM-DD HH24:MI:SS'),100,'getADMenu',50000,50011)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:15:12','YYYY-MM-DD HH24:MI:SS'),100,'Y','login',TO_TIMESTAMP('2009-01-30 19:15:12','YYYY-MM-DD HH24:MI:SS'),100,'login',50000,50012)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:15:17','YYYY-MM-DD HH24:MI:SS'),100,'Y','getProcessParams',TO_TIMESTAMP('2009-01-30 19:15:17','YYYY-MM-DD HH24:MI:SS'),100,'getProcessParams',50000,50013)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:15:22','YYYY-MM-DD HH24:MI:SS'),100,'Y','runProcess',TO_TIMESTAMP('2009-01-30 19:15:22','YYYY-MM-DD HH24:MI:SS'),100,'runProcess',50000,50014)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:15:30','YYYY-MM-DD HH24:MI:SS'),100,'Y','saveLocation',TO_TIMESTAMP('2009-01-30 19:15:30','YYYY-MM-DD HH24:MI:SS'),100,'saveLocation',50000,50015)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:15:36','YYYY-MM-DD HH24:MI:SS'),100,'Y','getLocation',TO_TIMESTAMP('2009-01-30 19:15:36','YYYY-MM-DD HH24:MI:SS'),100,'getLocation',50000,50016)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:15:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','getDocAction',TO_TIMESTAMP('2009-01-30 19:15:41','YYYY-MM-DD HH24:MI:SS'),100,'getDocAction',50000,50017)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:15:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','setDocAction',TO_TIMESTAMP('2009-01-30 19:15:46','YYYY-MM-DD HH24:MI:SS'),100,'setDocAction',50000,50018)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:15:51','YYYY-MM-DD HH24:MI:SS'),100,'Y','getVersion',TO_TIMESTAMP('2009-01-30 19:15:51','YYYY-MM-DD HH24:MI:SS'),100,'getVersion',50000,50019)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:15:56','YYYY-MM-DD HH24:MI:SS'),100,'Y','isLoggedIn',TO_TIMESTAMP('2009-01-30 19:15:56','YYYY-MM-DD HH24:MI:SS'),100,'isLoggedIn',50000,50020)
|
||||
;
|
||||
|
||||
UPDATE WS_WebService SET IsActive='N',Updated=TO_TIMESTAMP('2009-01-30 19:16:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE WS_WebService_ID=50000
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,Help,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:17:43','YYYY-MM-DD HH24:MI:SS'),100,'Contributed by http://www.globalqss.com - implemented security','This web services are very generic - so it''s necessary to configure the security layer in the web services security window to make them work. You can take a look to GardenWorld samples.','Y','Model Oriented Web Services',TO_TIMESTAMP('2009-01-30 19:17:43','YYYY-MM-DD HH24:MI:SS'),100,'ModelADService',50001)
|
||||
;
|
||||
|
@ -95,49 +27,3 @@ INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Descri
|
|||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'Access records via conditions on columns - return data rows','Y','Query Data',TO_TIMESTAMP('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'queryData',50001,50028)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:24:05','YYYY-MM-DD HH24:MI:SS'),100,'Web services needed for integration with Openbravo POS','Y','External Sales - web service',TO_TIMESTAMP('2009-01-30 19:24:05','YYYY-MM-DD HH24:MI:SS'),100,'ExternalSales',50002)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:24:27','YYYY-MM-DD HH24:MI:SS'),100,'Y','getProductsPlusCatalog',TO_TIMESTAMP('2009-01-30 19:24:27','YYYY-MM-DD HH24:MI:SS'),100,'getProductsPlusCatalog',50002,50029)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:24:34','YYYY-MM-DD HH24:MI:SS'),100,'Y','uploadOrders',TO_TIMESTAMP('2009-01-30 19:24:34','YYYY-MM-DD HH24:MI:SS'),100,'uploadOrders',50002,50030)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:24:39','YYYY-MM-DD HH24:MI:SS'),100,'Y','getProductsCatalog',TO_TIMESTAMP('2009-01-30 19:24:39','YYYY-MM-DD HH24:MI:SS'),100,'getProductsCatalog',50002,50031)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:24:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','getOrders',TO_TIMESTAMP('2009-01-30 19:24:46','YYYY-MM-DD HH24:MI:SS'),100,'getOrders',50002,50032)
|
||||
;
|
||||
|
||||
UPDATE WS_WebServiceMethod SET IsActive='N',Updated=TO_TIMESTAMP('2009-01-30 19:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE WS_WebServiceMethod_ID=50032
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:25:04','YYYY-MM-DD HH24:MI:SS'),100,'Web services needed for integration with Openbravo POS','Y','WebService - web service',TO_TIMESTAMP('2009-01-30 19:25:04','YYYY-MM-DD HH24:MI:SS'),100,'WebService',50003)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:25:14','YYYY-MM-DD HH24:MI:SS'),100,'Y','getCustomers',TO_TIMESTAMP('2009-01-30 19:25:14','YYYY-MM-DD HH24:MI:SS'),100,'getCustomers',50003,50033)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:25:21','YYYY-MM-DD HH24:MI:SS'),100,'N','getCustomer',TO_TIMESTAMP('2009-01-30 19:25:21','YYYY-MM-DD HH24:MI:SS'),100,'getCustomer',50003,50034)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:25:31','YYYY-MM-DD HH24:MI:SS'),100,'N','updateCustomer',TO_TIMESTAMP('2009-01-30 19:25:31','YYYY-MM-DD HH24:MI:SS'),100,'updateCustomer',50003,50035)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:25:38','YYYY-MM-DD HH24:MI:SS'),100,'N','getCustomerAddresses',TO_TIMESTAMP('2009-01-30 19:25:38','YYYY-MM-DD HH24:MI:SS'),100,'getCustomerAddresses',50003,50036)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:25:44','YYYY-MM-DD HH24:MI:SS'),100,'N','getCustomerLocation',TO_TIMESTAMP('2009-01-30 19:25:44','YYYY-MM-DD HH24:MI:SS'),100,'getCustomerLocation',50003,50037)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:25:51','YYYY-MM-DD HH24:MI:SS'),100,'N','updateAddress',TO_TIMESTAMP('2009-01-30 19:25:51','YYYY-MM-DD HH24:MI:SS'),100,'updateAddress',50003,50038)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:25:58','YYYY-MM-DD HH24:MI:SS'),100,'N','getCustomerContact',TO_TIMESTAMP('2009-01-30 19:25:58','YYYY-MM-DD HH24:MI:SS'),100,'getCustomerContact',50003,50039)
|
||||
;
|
||||
|
||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:26:07','YYYY-MM-DD HH24:MI:SS'),100,'N','updateContact',TO_TIMESTAMP('2009-01-30 19:26:07','YYYY-MM-DD HH24:MI:SS'),100,'updateContact',50003,50040)
|
||||
;
|
||||
|
||||
|
|
|
@ -0,0 +1,617 @@
|
|||
|
||||
-- Dec 12, 2012 8:54:30 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Column SET SeqNoSelection=2, IsSelectionColumn='Y', IsToolbarButton='N',Updated=TO_TIMESTAMP('2012-12-12 20:54:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56727
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 8:54:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Column SET SeqNoSelection=1, IsSelectionColumn='Y', IsToolbarButton='N',Updated=TO_TIMESTAMP('2012-12-12 20:54:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56730
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:27:55 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202041,'D',1,'N','N','N',0,'N',10,'N',18,'N',120,'N','Y','c3d437e8-e10d-4d1b-87e6-68eb5ab4c9ea','Y','AD_Reference_ID','System Reference and Validation','The Reference could be a display type, list or table validation.','Reference','Y',100,TO_TIMESTAMP('2012-12-12 21:27:54','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-12-12 21:27:54','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:27:55 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202041 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:28:03 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD COLUMN AD_Reference_ID NUMERIC(10) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:29:30 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202042,'D','N','N','N',0,'N',30,'Y',10,'N',228,'N','Y','30db973a-b039-437e-b55a-c9ca1e9d7378','Y','ColumnName','Name of the column in the database','The Column Name indicates the name of a column on a table as defined in the database.','DB Column Name','Y',100,TO_TIMESTAMP('2012-12-12 21:29:30','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-12-12 21:29:30','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:29:30 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202042 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:29:38 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD COLUMN ColumnName VARCHAR(30) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:31:07 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('IdentifierLogic',200592,'D','Identifier Logic','Identifier Logic','d5470526-d7b3-41fb-9ee7-35190020169c',0,TO_TIMESTAMP('2012-12-12 21:31:06','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-12-12 21:31:06','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:31:08 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200592 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:32:26 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202043,'D','N','N','N',0,'N',2000,'N',14,'N',200592,'N','Y','bdf425b5-7c59-42d4-bb59-56c9800e8325','Y','IdentifierLogic','Identifier Logic','Y',100,TO_TIMESTAMP('2012-12-12 21:32:25','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-12-12 21:32:25','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:32:26 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202043 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:32:51 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD COLUMN IdentifierLogic VARCHAR(2000) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:33:11 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2012-12-12 21:33:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=202042
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:33:22 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2012-12-12 21:33:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=202041
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:36:10 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202044,'D','N','N','N',0,'N',1,'N',20,'N',382,'N','Y','f0baaca8-7437-4a9d-a02d-26827b0b54b2','Y','IsIdentifier','This column is part of the record identifier','N','The Identifier checkbox indicates that this column is part of the identifier or key for this table. ','Identifier','Y',100,TO_TIMESTAMP('2012-12-12 21:36:09','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-12-12 21:36:09','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:36:10 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202044 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:36:22 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD COLUMN IsIdentifier CHAR(1) DEFAULT 'N' CHECK (IsIdentifier IN ('Y','N'))
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:36:34 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO t_alter_column values('ws_webservicefieldinput','IdentifierLogic','VARCHAR(2000)',null,'NULL')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:37:50 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Description,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('IsNullIdentifier',200593,'D','Should allow null value for identifiere field','Allow Null Value','Allow Null Value','a704f515-b9a7-4e90-8d44-d7e16e0f5d8c',0,TO_TIMESTAMP('2012-12-12 21:37:49','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-12-12 21:37:49','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:37:50 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200593 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:39:48 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202045,'D','N','N','N',0,'N',1,'N',20,'N',200593,'N','Y','9cc0e2b6-8bc2-4541-86ad-63513f027011','Y','IsNullIdentifier','Should allow null value for identifiere field','N','Allow Null Value','Y',100,TO_TIMESTAMP('2012-12-12 21:39:47','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-12-12 21:39:47','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:39:48 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202045 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:39:53 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD COLUMN IsNullIdentifier CHAR(1) DEFAULT 'N' CHECK (IsNullIdentifier IN ('Y','N'))
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 9:40:15 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO t_alter_column values('ws_webservicefieldinput','IsIdentifier','CHAR(1)',null,'N')
|
||||
;
|
||||
|
||||
|
||||
|
||||
-- Dec 12, 2012 10:36:44 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebServiceType_UU',200594,'D','WS_WebServiceType_UU','WS_WebServiceType_UU','1be8e032-ddc3-489c-8c3d-9a4416968d32',0,TO_TIMESTAMP('2012-12-12 22:36:43','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-12-12 22:36:43','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:36:44 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200594 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:37:11 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53164,202046,'D','N','N','N',0,'N',36,'N',10,'N',200594,'N','Y','0d88f8d9-25c1-4507-a495-b7ba84378e86','Y','WS_WebServiceType_UU','WS_WebServiceType_UU','N',100,TO_TIMESTAMP('2012-12-12 22:37:11','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-12-12 22:37:11','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:37:11 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202046 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:37:33 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceType ADD COLUMN WS_WebServiceType_UU VARCHAR(36) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:38:46 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebService_Para_UU',200595,'D','WS_WebService_Para_UU','WS_WebService_Para_UU','2f690372-900f-457e-8ef7-d1b04496fa5c',0,TO_TIMESTAMP('2012-12-12 22:38:45','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-12-12 22:38:45','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:38:46 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200595 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:39:14 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53165,202047,'D','N','N','N',0,'N',36,'N',10,'N',200595,'N','Y','90cb04b7-7f82-4866-97f6-c8ff0da18c8b','Y','WS_WebService_Para_UU','WS_WebService_Para_UU','N',100,TO_TIMESTAMP('2012-12-12 22:39:13','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-12-12 22:39:13','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:39:14 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202047 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:39:21 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebService_Para ADD COLUMN WS_WebService_Para_UU VARCHAR(36) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:40:21 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebServiceFieldInput_UU',200596,'D','WS_WebServiceFieldInput_UU','WS_WebServiceFieldInput_UU','b835e570-ab79-4d64-8b4c-2d1ee688e783',0,TO_TIMESTAMP('2012-12-12 22:40:21','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-12-12 22:40:21','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:40:21 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200596 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:40:43 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202048,'D','N','N','N',0,'N',36,'N',10,'N',200596,'N','Y','2f2437aa-cd9c-4fcb-972b-ed1e3393d108','Y','WS_WebServiceFieldInput_UU','WS_WebServiceFieldInput_UU','N',100,TO_TIMESTAMP('2012-12-12 22:40:42','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-12-12 22:40:42','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:40:43 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202048 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:40:47 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldInput ADD COLUMN WS_WebServiceFieldInput_UU VARCHAR(36) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:41:43 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebServiceFieldOutput_UU',200597,'D','WS_WebServiceFieldOutput_UU','WS_WebServiceFieldOutput_UU','bcdfaa22-d87c-4df5-935b-d8f5339d4f51',0,TO_TIMESTAMP('2012-12-12 22:41:42','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-12-12 22:41:42','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:41:43 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200597 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:42:01 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53167,202049,'D','N','N','N',0,'N',36,'N',10,'N',200597,'N','Y','0617cbde-f858-4138-aaa4-fca99bc30988','Y','WS_WebServiceFieldOutput_UU','WS_WebServiceFieldOutput_UU','N',100,TO_TIMESTAMP('2012-12-12 22:42:01','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-12-12 22:42:01','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:42:01 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202049 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:42:06 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceFieldOutput ADD COLUMN WS_WebServiceFieldOutput_UU VARCHAR(36) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:43:48 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebServiceTypeAccess_UU',200598,'D','WS_WebServiceTypeAccess_UU','WS_WebServiceTypeAccess_UU','32df84f5-c650-425a-b9a8-eca3ed2a6209',0,TO_TIMESTAMP('2012-12-12 22:43:47','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-12-12 22:43:47','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:43:48 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Description,t.Name,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200598 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:44:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53168,202050,'D','N','N','N',0,'N',36,'N',10,'N',200598,'N','Y','43bdb652-1a55-4bd5-affd-b55841f1a1ec','Y','WS_WebServiceTypeAccess_UU','WS_WebServiceTypeAccess_UU','N',100,TO_TIMESTAMP('2012-12-12 22:44:37','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-12-12 22:44:37','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:44:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=202050 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 10:44:46 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
ALTER TABLE WS_WebServiceTypeAccess ADD COLUMN WS_WebServiceTypeAccess_UU VARCHAR(36) DEFAULT NULL
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- Dec 12, 2012 11:49:01 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Column SET MandatoryLogic='@AD_Column_ID@=0',Updated=TO_TIMESTAMP('2012-12-12 23:49:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=202041
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,1,'N','N',202045,'Y',201365,'N','D','Should allow null value for identifiere field','Allow Null Value','N','Y','678c6e86-9e5f-49d6-819b-bd08b0946f17',100,0,TO_TIMESTAMP('2012-12-12 23:54:36','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-12-12 23:54:36','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201365 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:38 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,30,'N','N',202042,'Y',201366,'N','The Column Name indicates the name of a column on a table as defined in the database.','D','Name of the column in the database','DB Column Name','N','Y','24b12b95-27eb-4303-a550-46402b4a44cb',100,0,TO_TIMESTAMP('2012-12-12 23:54:37','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-12-12 23:54:37','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:38 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201366 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:39 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,1,'N','N',202044,'Y',201367,'N','The Identifier checkbox indicates that this column is part of the identifier or key for this table. ','D','This column is part of the record identifier','Identifier','N','Y','5551bd5f-7bde-42f0-88ac-4ccd099ace7a',100,0,TO_TIMESTAMP('2012-12-12 23:54:38','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-12-12 23:54:38','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:39 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201367 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:40 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,2000,'N','N',202043,'Y',201368,'N','D','Identifier Logic','N','Y','67a1f8e7-44d4-4254-94b8-950a64f331f4',100,0,TO_TIMESTAMP('2012-12-12 23:54:39','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-12-12 23:54:39','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:40 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201368 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,10,'N','N',202041,'Y',201369,'N','The Reference could be a display type, list or table validation.','D','System Reference and Validation','Reference','N','Y','837295cd-2ecc-429d-ad18-dba6dadd7c91',100,0,TO_TIMESTAMP('2012-12-12 23:54:40','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-12-12 23:54:40','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201369 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53189,36,'N','N',202048,'Y',201370,'N','D','WS_WebServiceFieldInput_UU','N','Y','3ae46bba-2a92-4c9e-849c-98a716ec16fe',100,0,TO_TIMESTAMP('2012-12-12 23:54:41','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-12-12 23:54:41','YYYY-MM-DD HH24:MI:SS'),'Y')
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:54:41 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201370 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:36 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201370
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:36 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=201366
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=201367
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=201365
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=201368
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:55:37 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=201369
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201370
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56668
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=56669
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=56666
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=201366
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=201365
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=201367
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=201368
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=70,IsDisplayedGrid='Y' WHERE AD_Field_ID=201369
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:56:27 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET SeqNoGrid=80,IsDisplayedGrid='Y' WHERE AD_Field_ID=56667
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:57:03 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-12 23:57:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56665
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:57:16 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_TIMESTAMP('2012-12-12 23:57:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56667
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:57:38 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-12 23:57:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56669
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:58:06 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-12 23:58:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56666
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:58:49 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, DisplayLogic='@AD_Column_ID@=0', XPosition=4,Updated=TO_TIMESTAMP('2012-12-12 23:58:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201366
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:59:28 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-12-12 23:59:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201367
|
||||
;
|
||||
|
||||
-- Dec 12, 2012 11:59:52 PM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=5,Updated=TO_TIMESTAMP('2012-12-12 23:59:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201365
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:00:14 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=5, NumLines=4,Updated=TO_TIMESTAMP('2012-12-13 00:00:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201368
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:00:43 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET DisplayLogic='@AD_Column_ID@>0',Updated=TO_TIMESTAMP('2012-12-13 00:00:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201368
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:01:30 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET DisplayLogic='@AD_Column_ID@>0',Updated=TO_TIMESTAMP('2012-12-13 00:01:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201367
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:02:02 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET DisplayLogic='@IsIdentifier@=''Y"',Updated=TO_TIMESTAMP('2012-12-13 00:02:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201365
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:02:24 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET DisplayLogic='@IsIdentifier@=''Y"',Updated=TO_TIMESTAMP('2012-12-13 00:02:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201368
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:03:37 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET DisplayLogic='@AD_Column_ID@=0',Updated=TO_TIMESTAMP('2012-12-13 00:03:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201369
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:06:07 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-12-13 00:06:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56664
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:06:51 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:06:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56646
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:07:06 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_TIMESTAMP('2012-12-13 00:07:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56650
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:07:37 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:07:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56651
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:07:57 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:07:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56649
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:08:15 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:08:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56653
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:08:59 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_TIMESTAMP('2012-12-13 00:08:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56654
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:09:30 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=4, XPosition=1,Updated=TO_TIMESTAMP('2012-12-13 00:09:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56654
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:09:41 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:09:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56652
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:10:01 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=5,Updated=TO_TIMESTAMP('2012-12-13 00:10:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56648
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:10:15 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET NumLines=3,Updated=TO_TIMESTAMP('2012-12-13 00:10:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56648
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:10:30 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=5, NumLines=3,Updated=TO_TIMESTAMP('2012-12-13 00:10:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56647
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:10:43 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-12-13 00:10:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56645
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:11:51 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:11:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56657
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:12:01 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_TIMESTAMP('2012-12-13 00:12:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56659
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:12:14 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:12:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56663
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:12:27 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56660
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:12:36 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:12:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56661
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:12:55 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:12:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56658
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:13:09 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-12-13 00:13:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56656
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:14:18 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:14:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56671
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:14:32 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_TIMESTAMP('2012-12-13 00:14:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56673
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:14:42 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:14:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56675
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:14:50 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:14:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56672
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:14:58 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-12-13 00:14:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56670
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:15:33 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:15:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56677
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:15:43 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2, XPosition=4,Updated=TO_TIMESTAMP('2012-12-13 00:15:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56678
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:15:54 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:15:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56681
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:16:01 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:16:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56680
|
||||
;
|
||||
|
||||
-- Dec 13, 2012 12:16:09 AM IST
|
||||
-- IDEMPIERE-460 Adding support for composite service
|
||||
UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-12-13 00:16:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56676
|
||||
;
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse version="3.0"?>
|
||||
<plugin
|
||||
>
|
||||
<extension-point id="IWSValidator" name="WebserviceValidator" schema="schema/IWSValidator.exsd"/>
|
||||
</plugin>
|
|
@ -0,0 +1,116 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!-- Schema file written by PDE -->
|
||||
<schema targetNamespace="org.idempiere.webservices" xmlns="http://www.w3.org/2001/XMLSchema">
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.schema plugin="org.idempiere.webservices" id="IWSValidator" name="WebserviceValidator"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
[Enter description of this extension point.]
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
<element name="extension">
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.element />
|
||||
</appInfo>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<choice>
|
||||
<element ref="validator"/>
|
||||
</choice>
|
||||
<attribute name="point" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="id" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="name" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
|
||||
</documentation>
|
||||
<appInfo>
|
||||
<meta.attribute translatable="true"/>
|
||||
</appInfo>
|
||||
</annotation>
|
||||
</attribute>
|
||||
</complexType>
|
||||
</element>
|
||||
|
||||
<element name="validator">
|
||||
<complexType>
|
||||
<attribute name="class" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
|
||||
</documentation>
|
||||
<appInfo>
|
||||
<meta.attribute kind="java" basedOn=":org.idempiere.webservices.IWSValidator"/>
|
||||
</appInfo>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="WSType" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="priority" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
</complexType>
|
||||
</element>
|
||||
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.section type="since"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
[Enter the first release in which this extension point appears.]
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.section type="examples"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
[Enter extension point usage example here.]
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.section type="apiinfo"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
[Enter API information here.]
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.section type="implementation"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
[Enter information about supplied implementation of this extension point.]
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
||||
</schema>
|
Loading…
Reference in New Issue