IDEMPIERE-3338 Document Status Indicator
This commit is contained in:
parent
19847dc4ce
commit
a24936da7c
|
@ -0,0 +1,71 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- IDEMPIERE-3338 Document Status Indicator
|
||||||
|
-- Apr 13, 2017 1:36:25 PM CEST
|
||||||
|
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2017-04-13 13:36:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=212997
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:26 PM CEST
|
||||||
|
ALTER TABLE PA_DocumentStatus MODIFY Name_PrintColor_ID NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:26 PM CEST
|
||||||
|
ALTER TABLE PA_DocumentStatus MODIFY Name_PrintColor_ID NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:34 PM CEST
|
||||||
|
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2017-04-13 13:36:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=212998
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:35 PM CEST
|
||||||
|
ALTER TABLE PA_DocumentStatus MODIFY Name_PrintFont_ID NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:35 PM CEST
|
||||||
|
ALTER TABLE PA_DocumentStatus MODIFY Name_PrintFont_ID NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:40 PM CEST
|
||||||
|
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2017-04-13 13:36:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=212999
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:41 PM CEST
|
||||||
|
ALTER TABLE PA_DocumentStatus MODIFY Number_PrintColor_ID NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:41 PM CEST
|
||||||
|
ALTER TABLE PA_DocumentStatus MODIFY Number_PrintColor_ID NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:47 PM CEST
|
||||||
|
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2017-04-13 13:36:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=213000
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:48 PM CEST
|
||||||
|
ALTER TABLE PA_DocumentStatus MODIFY Number_PrintFont_ID NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:48 PM CEST
|
||||||
|
ALTER TABLE PA_DocumentStatus MODIFY Number_PrintFont_ID NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:49:23 PM CEST
|
||||||
|
UPDATE PA_DocumentStatus SET Name_PrintColor_ID=NULL, Name_PrintFont_ID=NULL, Number_PrintColor_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_DATE('2017-04-13 13:49:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200002
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:49:30 PM CEST
|
||||||
|
UPDATE PA_DocumentStatus SET Name_PrintColor_ID=NULL, Name_PrintFont_ID=NULL, Number_PrintColor_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_DATE('2017-04-13 13:49:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200003
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:49:36 PM CEST
|
||||||
|
UPDATE PA_DocumentStatus SET Name_PrintColor_ID=NULL, Name_PrintFont_ID=NULL, Number_PrintColor_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_DATE('2017-04-13 13:49:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200004
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:49:43 PM CEST
|
||||||
|
UPDATE PA_DocumentStatus SET Name_PrintColor_ID=NULL, Name_PrintFont_ID=NULL, Number_PrintColor_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_DATE('2017-04-13 13:49:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200005
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201704131337_IDEMPIERE-3338.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,68 @@
|
||||||
|
-- IDEMPIERE-3338 Document Status Indicator
|
||||||
|
-- Apr 13, 2017 1:36:25 PM CEST
|
||||||
|
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2017-04-13 13:36:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=212997
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:26 PM CEST
|
||||||
|
INSERT INTO t_alter_column values('pa_documentstatus','Name_PrintColor_ID','NUMERIC(10)',null,'NULL')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:26 PM CEST
|
||||||
|
INSERT INTO t_alter_column values('pa_documentstatus','Name_PrintColor_ID',null,'NULL',null)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:34 PM CEST
|
||||||
|
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2017-04-13 13:36:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=212998
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:35 PM CEST
|
||||||
|
INSERT INTO t_alter_column values('pa_documentstatus','Name_PrintFont_ID','NUMERIC(10)',null,'NULL')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:35 PM CEST
|
||||||
|
INSERT INTO t_alter_column values('pa_documentstatus','Name_PrintFont_ID',null,'NULL',null)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:40 PM CEST
|
||||||
|
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2017-04-13 13:36:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=212999
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:41 PM CEST
|
||||||
|
INSERT INTO t_alter_column values('pa_documentstatus','Number_PrintColor_ID','NUMERIC(10)',null,'NULL')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:41 PM CEST
|
||||||
|
INSERT INTO t_alter_column values('pa_documentstatus','Number_PrintColor_ID',null,'NULL',null)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:47 PM CEST
|
||||||
|
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2017-04-13 13:36:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=213000
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:48 PM CEST
|
||||||
|
INSERT INTO t_alter_column values('pa_documentstatus','Number_PrintFont_ID','NUMERIC(10)',null,'NULL')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:36:48 PM CEST
|
||||||
|
INSERT INTO t_alter_column values('pa_documentstatus','Number_PrintFont_ID',null,'NULL',null)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:49:23 PM CEST
|
||||||
|
UPDATE PA_DocumentStatus SET Name_PrintColor_ID=NULL, Name_PrintFont_ID=NULL, Number_PrintColor_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_TIMESTAMP('2017-04-13 13:49:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200002
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:49:30 PM CEST
|
||||||
|
UPDATE PA_DocumentStatus SET Name_PrintColor_ID=NULL, Name_PrintFont_ID=NULL, Number_PrintColor_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_TIMESTAMP('2017-04-13 13:49:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200003
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:49:36 PM CEST
|
||||||
|
UPDATE PA_DocumentStatus SET Name_PrintColor_ID=NULL, Name_PrintFont_ID=NULL, Number_PrintColor_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_TIMESTAMP('2017-04-13 13:49:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200004
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 13, 2017 1:49:43 PM CEST
|
||||||
|
UPDATE PA_DocumentStatus SET Name_PrintColor_ID=NULL, Name_PrintFont_ID=NULL, Number_PrintColor_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_TIMESTAMP('2017-04-13 13:49:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200005
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201704131337_IDEMPIERE-3338.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
* Product: iDempiere ERP & CRM Smart Business Solution *
|
||||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
* Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. *
|
||||||
* This program is free software, you can redistribute it and/or modify it *
|
* 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 *
|
* 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 *
|
* by the Free Software Foundation. This program is distributed in the hope *
|
||||||
|
@ -21,8 +21,8 @@ import java.sql.Timestamp;
|
||||||
import org.compiere.util.KeyNamePair;
|
import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for PA_DocumentStatus
|
/** Generated Interface for PA_DocumentStatus
|
||||||
* @author Adempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version 1.04.1rc19
|
* @version Release 4.1
|
||||||
*/
|
*/
|
||||||
public interface I_PA_DocumentStatus
|
public interface I_PA_DocumentStatus
|
||||||
{
|
{
|
||||||
|
@ -30,8 +30,8 @@ public interface I_PA_DocumentStatus
|
||||||
/** TableName=PA_DocumentStatus */
|
/** TableName=PA_DocumentStatus */
|
||||||
public static final String Table_Name = "PA_DocumentStatus";
|
public static final String Table_Name = "PA_DocumentStatus";
|
||||||
|
|
||||||
/** AD_Table_ID=53898 */
|
/** AD_Table_ID=200216 */
|
||||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
public static final int Table_ID = 200216;
|
||||||
|
|
||||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||||
|
|
||||||
|
@ -62,18 +62,18 @@ public interface I_PA_DocumentStatus
|
||||||
*/
|
*/
|
||||||
public int getAD_Form_ID();
|
public int getAD_Form_ID();
|
||||||
|
|
||||||
public I_AD_Form getAD_Form() throws RuntimeException;
|
public org.compiere.model.I_AD_Form getAD_Form() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name AD_Org_ID */
|
/** Column name AD_Org_ID */
|
||||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||||
|
|
||||||
/** Set Organisation.
|
/** Set Organization.
|
||||||
* Organisational entity within client
|
* Organizational entity within client
|
||||||
*/
|
*/
|
||||||
public void setAD_Org_ID (int AD_Org_ID);
|
public void setAD_Org_ID (int AD_Org_ID);
|
||||||
|
|
||||||
/** Get Organisation.
|
/** Get Organization.
|
||||||
* Organisational entity within client
|
* Organizational entity within client
|
||||||
*/
|
*/
|
||||||
public int getAD_Org_ID();
|
public int getAD_Org_ID();
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ public interface I_PA_DocumentStatus
|
||||||
*/
|
*/
|
||||||
public int getAD_Role_ID();
|
public int getAD_Role_ID();
|
||||||
|
|
||||||
public I_AD_Role getAD_Role() throws RuntimeException;
|
public org.compiere.model.I_AD_Role getAD_Role() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name AD_Table_ID */
|
/** Column name AD_Table_ID */
|
||||||
public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID";
|
public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID";
|
||||||
|
@ -105,7 +105,7 @@ public interface I_PA_DocumentStatus
|
||||||
*/
|
*/
|
||||||
public int getAD_Table_ID();
|
public int getAD_Table_ID();
|
||||||
|
|
||||||
public I_AD_Table getAD_Table() throws RuntimeException;
|
public org.compiere.model.I_AD_Table getAD_Table() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name AD_User_ID */
|
/** Column name AD_User_ID */
|
||||||
public static final String COLUMNNAME_AD_User_ID = "AD_User_ID";
|
public static final String COLUMNNAME_AD_User_ID = "AD_User_ID";
|
||||||
|
@ -120,7 +120,7 @@ public interface I_PA_DocumentStatus
|
||||||
*/
|
*/
|
||||||
public int getAD_User_ID();
|
public int getAD_User_ID();
|
||||||
|
|
||||||
public I_AD_User getAD_User() throws RuntimeException;
|
public org.compiere.model.I_AD_User getAD_User() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name AD_Window_ID */
|
/** Column name AD_Window_ID */
|
||||||
public static final String COLUMNNAME_AD_Window_ID = "AD_Window_ID";
|
public static final String COLUMNNAME_AD_Window_ID = "AD_Window_ID";
|
||||||
|
@ -135,7 +135,7 @@ public interface I_PA_DocumentStatus
|
||||||
*/
|
*/
|
||||||
public int getAD_Window_ID();
|
public int getAD_Window_ID();
|
||||||
|
|
||||||
public I_AD_Window getAD_Window() throws RuntimeException;
|
public org.compiere.model.I_AD_Window getAD_Window() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name C_Project_ID */
|
/** Column name C_Project_ID */
|
||||||
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
|
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
|
||||||
|
@ -150,7 +150,7 @@ public interface I_PA_DocumentStatus
|
||||||
*/
|
*/
|
||||||
public int getC_Project_ID();
|
public int getC_Project_ID();
|
||||||
|
|
||||||
public I_C_Project getC_Project() throws RuntimeException;
|
public org.compiere.model.I_C_Project getC_Project() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name Created */
|
/** Column name Created */
|
||||||
public static final String COLUMNNAME_Created = "Created";
|
public static final String COLUMNNAME_Created = "Created";
|
||||||
|
@ -210,46 +210,64 @@ public interface I_PA_DocumentStatus
|
||||||
/** Column name Name_PrintColor_ID */
|
/** Column name Name_PrintColor_ID */
|
||||||
public static final String COLUMNNAME_Name_PrintColor_ID = "Name_PrintColor_ID";
|
public static final String COLUMNNAME_Name_PrintColor_ID = "Name_PrintColor_ID";
|
||||||
|
|
||||||
/** Set Name Colour */
|
/** Set Print Color for Name */
|
||||||
public void setName_PrintColor_ID (int Name_PrintColor_ID);
|
public void setName_PrintColor_ID (int Name_PrintColor_ID);
|
||||||
|
|
||||||
/** Get Name Colour */
|
/** Get Print Color for Name */
|
||||||
public int getName_PrintColor_ID();
|
public int getName_PrintColor_ID();
|
||||||
|
|
||||||
public I_AD_PrintColor getName_PrintColor() throws RuntimeException;
|
public org.compiere.model.I_AD_PrintColor getName_PrintColor() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name Name_PrintFont_ID */
|
/** Column name Name_PrintFont_ID */
|
||||||
public static final String COLUMNNAME_Name_PrintFont_ID = "Name_PrintFont_ID";
|
public static final String COLUMNNAME_Name_PrintFont_ID = "Name_PrintFont_ID";
|
||||||
|
|
||||||
/** Set Name Font */
|
/** Set Print Font for Name */
|
||||||
public void setName_PrintFont_ID (int Name_PrintFont_ID);
|
public void setName_PrintFont_ID (int Name_PrintFont_ID);
|
||||||
|
|
||||||
/** Get Name Font */
|
/** Get Print Font for Name */
|
||||||
public int getName_PrintFont_ID();
|
public int getName_PrintFont_ID();
|
||||||
|
|
||||||
public I_AD_PrintFont getName_PrintFont() throws RuntimeException;
|
public org.compiere.model.I_AD_PrintFont getName_PrintFont() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name Number_PrintColor_ID */
|
/** Column name Number_PrintColor_ID */
|
||||||
public static final String COLUMNNAME_Number_PrintColor_ID = "Number_PrintColor_ID";
|
public static final String COLUMNNAME_Number_PrintColor_ID = "Number_PrintColor_ID";
|
||||||
|
|
||||||
/** Set Number Colour */
|
/** Set Print Color for Number */
|
||||||
public void setNumber_PrintColor_ID (int Number_PrintColor_ID);
|
public void setNumber_PrintColor_ID (int Number_PrintColor_ID);
|
||||||
|
|
||||||
/** Get Number Colour */
|
/** Get Print Color for Number */
|
||||||
public int getNumber_PrintColor_ID();
|
public int getNumber_PrintColor_ID();
|
||||||
|
|
||||||
public I_AD_PrintColor getNumber_PrintColor() throws RuntimeException;
|
public org.compiere.model.I_AD_PrintColor getNumber_PrintColor() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name Number_PrintFont_ID */
|
/** Column name Number_PrintFont_ID */
|
||||||
public static final String COLUMNNAME_Number_PrintFont_ID = "Number_PrintFont_ID";
|
public static final String COLUMNNAME_Number_PrintFont_ID = "Number_PrintFont_ID";
|
||||||
|
|
||||||
/** Set Number Font */
|
/** Set Print Font for Number */
|
||||||
public void setNumber_PrintFont_ID (int Number_PrintFont_ID);
|
public void setNumber_PrintFont_ID (int Number_PrintFont_ID);
|
||||||
|
|
||||||
/** Get Number Font */
|
/** Get Print Font for Number */
|
||||||
public int getNumber_PrintFont_ID();
|
public int getNumber_PrintFont_ID();
|
||||||
|
|
||||||
public I_AD_PrintFont getNumber_PrintFont() throws RuntimeException;
|
public org.compiere.model.I_AD_PrintFont getNumber_PrintFont() throws RuntimeException;
|
||||||
|
|
||||||
|
/** Column name PA_DocumentStatus_ID */
|
||||||
|
public static final String COLUMNNAME_PA_DocumentStatus_ID = "PA_DocumentStatus_ID";
|
||||||
|
|
||||||
|
/** Set Document Status */
|
||||||
|
public void setPA_DocumentStatus_ID (int PA_DocumentStatus_ID);
|
||||||
|
|
||||||
|
/** Get Document Status */
|
||||||
|
public int getPA_DocumentStatus_ID();
|
||||||
|
|
||||||
|
/** Column name PA_DocumentStatus_UU */
|
||||||
|
public static final String COLUMNNAME_PA_DocumentStatus_UU = "PA_DocumentStatus_UU";
|
||||||
|
|
||||||
|
/** Set PA_DocumentStatus_UU */
|
||||||
|
public void setPA_DocumentStatus_UU (String PA_DocumentStatus_UU);
|
||||||
|
|
||||||
|
/** Get PA_DocumentStatus_UU */
|
||||||
|
public String getPA_DocumentStatus_UU();
|
||||||
|
|
||||||
/** Column name SeqNo */
|
/** Column name SeqNo */
|
||||||
public static final String COLUMNNAME_SeqNo = "SeqNo";
|
public static final String COLUMNNAME_SeqNo = "SeqNo";
|
||||||
|
@ -266,15 +284,6 @@ public interface I_PA_DocumentStatus
|
||||||
*/
|
*/
|
||||||
public int getSeqNo();
|
public int getSeqNo();
|
||||||
|
|
||||||
/** Column name PA_DocumentStatus_ID */
|
|
||||||
public static final String COLUMNNAME_PA_DocumentStatus_ID = "PA_DocumentStatus_ID";
|
|
||||||
|
|
||||||
/** Set Document Status Indicator */
|
|
||||||
public void setPA_DocumentStatus_ID (int PA_DocumentStatus_ID);
|
|
||||||
|
|
||||||
/** Get Document Status Indicator */
|
|
||||||
public int getPA_DocumentStatus_ID();
|
|
||||||
|
|
||||||
/** Column name Updated */
|
/** Column name Updated */
|
||||||
public static final String COLUMNNAME_Updated = "Updated";
|
public static final String COLUMNNAME_Updated = "Updated";
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
* *
|
* *
|
||||||
* Contributors: *
|
* Contributors: *
|
||||||
* - Adaxa *
|
* - Adaxa *
|
||||||
|
* - Deepak Pansheriya *
|
||||||
* - Murilo Ht *
|
* - Murilo Ht *
|
||||||
* - Carlos Ruiz *
|
* - Carlos Ruiz *
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
* Product: iDempiere ERP & CRM Smart Business Solution *
|
||||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
* Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. *
|
||||||
* This program is free software, you can redistribute it and/or modify it *
|
* 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 *
|
* 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 *
|
* by the Free Software Foundation. This program is distributed in the hope *
|
||||||
|
@ -19,18 +19,17 @@ package org.compiere.model;
|
||||||
|
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
import org.compiere.util.KeyNamePair;
|
|
||||||
|
|
||||||
/** Generated Model for PA_DocumentStatus
|
/** Generated Model for PA_DocumentStatus
|
||||||
* @author Adempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version 1.04.1rc19 - $Id$ */
|
* @version Release 4.1 - $Id$ */
|
||||||
public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Persistent
|
public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 20151116L;
|
private static final long serialVersionUID = 20170413L;
|
||||||
|
|
||||||
/** Standard Constructor */
|
/** Standard Constructor */
|
||||||
public X_PA_DocumentStatus (Properties ctx, int PA_DocumentStatus_ID, String trxName)
|
public X_PA_DocumentStatus (Properties ctx, int PA_DocumentStatus_ID, String trxName)
|
||||||
|
@ -40,12 +39,8 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
{
|
{
|
||||||
setAD_Table_ID (0);
|
setAD_Table_ID (0);
|
||||||
setName (null);
|
setName (null);
|
||||||
setName_PrintColor_ID (0);
|
|
||||||
setName_PrintFont_ID (0);
|
|
||||||
setNumber_PrintColor_ID (0);
|
|
||||||
setNumber_PrintFont_ID (0);
|
|
||||||
setSeqNo (0);
|
|
||||||
setPA_DocumentStatus_ID (0);
|
setPA_DocumentStatus_ID (0);
|
||||||
|
setSeqNo (0);
|
||||||
} */
|
} */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,9 +72,9 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_AD_Form getAD_Form() throws RuntimeException
|
public org.compiere.model.I_AD_Form getAD_Form() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_AD_Form)MTable.get(getCtx(), I_AD_Form.Table_Name)
|
return (org.compiere.model.I_AD_Form)MTable.get(getCtx(), org.compiere.model.I_AD_Form.Table_Name)
|
||||||
.getPO(getAD_Form_ID(), get_TrxName()); }
|
.getPO(getAD_Form_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set Special Form.
|
/** Set Special Form.
|
||||||
|
@ -105,9 +100,9 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_AD_Role getAD_Role() throws RuntimeException
|
public org.compiere.model.I_AD_Role getAD_Role() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_AD_Role)MTable.get(getCtx(), I_AD_Role.Table_Name)
|
return (org.compiere.model.I_AD_Role)MTable.get(getCtx(), org.compiere.model.I_AD_Role.Table_Name)
|
||||||
.getPO(getAD_Role_ID(), get_TrxName()); }
|
.getPO(getAD_Role_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set Role.
|
/** Set Role.
|
||||||
|
@ -117,9 +112,9 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
public void setAD_Role_ID (int AD_Role_ID)
|
public void setAD_Role_ID (int AD_Role_ID)
|
||||||
{
|
{
|
||||||
if (AD_Role_ID < 0)
|
if (AD_Role_ID < 0)
|
||||||
set_Value (COLUMNNAME_AD_Role_ID, null);
|
set_ValueNoCheck (COLUMNNAME_AD_Role_ID, null);
|
||||||
else
|
else
|
||||||
set_Value (COLUMNNAME_AD_Role_ID, Integer.valueOf(AD_Role_ID));
|
set_ValueNoCheck (COLUMNNAME_AD_Role_ID, Integer.valueOf(AD_Role_ID));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Role.
|
/** Get Role.
|
||||||
|
@ -133,9 +128,9 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_AD_Table getAD_Table() throws RuntimeException
|
public org.compiere.model.I_AD_Table getAD_Table() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_AD_Table)MTable.get(getCtx(), I_AD_Table.Table_Name)
|
return (org.compiere.model.I_AD_Table)MTable.get(getCtx(), org.compiere.model.I_AD_Table.Table_Name)
|
||||||
.getPO(getAD_Table_ID(), get_TrxName()); }
|
.getPO(getAD_Table_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set Table.
|
/** Set Table.
|
||||||
|
@ -161,9 +156,9 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_AD_User getAD_User() throws RuntimeException
|
public org.compiere.model.I_AD_User getAD_User() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
|
return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name)
|
||||||
.getPO(getAD_User_ID(), get_TrxName()); }
|
.getPO(getAD_User_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set User/Contact.
|
/** Set User/Contact.
|
||||||
|
@ -173,9 +168,9 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
public void setAD_User_ID (int AD_User_ID)
|
public void setAD_User_ID (int AD_User_ID)
|
||||||
{
|
{
|
||||||
if (AD_User_ID < 1)
|
if (AD_User_ID < 1)
|
||||||
set_Value (COLUMNNAME_AD_User_ID, null);
|
set_ValueNoCheck (COLUMNNAME_AD_User_ID, null);
|
||||||
else
|
else
|
||||||
set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID));
|
set_ValueNoCheck (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get User/Contact.
|
/** Get User/Contact.
|
||||||
|
@ -189,9 +184,9 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_AD_Window getAD_Window() throws RuntimeException
|
public org.compiere.model.I_AD_Window getAD_Window() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_AD_Window)MTable.get(getCtx(), I_AD_Window.Table_Name)
|
return (org.compiere.model.I_AD_Window)MTable.get(getCtx(), org.compiere.model.I_AD_Window.Table_Name)
|
||||||
.getPO(getAD_Window_ID(), get_TrxName()); }
|
.getPO(getAD_Window_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set Window.
|
/** Set Window.
|
||||||
|
@ -217,9 +212,9 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_C_Project getC_Project() throws RuntimeException
|
public org.compiere.model.I_C_Project getC_Project() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name)
|
return (org.compiere.model.I_C_Project)MTable.get(getCtx(), org.compiere.model.I_C_Project.Table_Name)
|
||||||
.getPO(getC_Project_ID(), get_TrxName()); }
|
.getPO(getC_Project_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set Project.
|
/** Set Project.
|
||||||
|
@ -229,9 +224,9 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
public void setC_Project_ID (int C_Project_ID)
|
public void setC_Project_ID (int C_Project_ID)
|
||||||
{
|
{
|
||||||
if (C_Project_ID < 1)
|
if (C_Project_ID < 1)
|
||||||
set_Value (COLUMNNAME_C_Project_ID, null);
|
set_ValueNoCheck (COLUMNNAME_C_Project_ID, null);
|
||||||
else
|
else
|
||||||
set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID));
|
set_ValueNoCheck (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Project.
|
/** Get Project.
|
||||||
|
@ -279,21 +274,13 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return (String)get_Value(COLUMNNAME_Name);
|
return (String)get_Value(COLUMNNAME_Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Record ID/ColumnName
|
public org.compiere.model.I_AD_PrintColor getName_PrintColor() throws RuntimeException
|
||||||
@return ID/ColumnName pair
|
|
||||||
*/
|
|
||||||
public KeyNamePair getKeyNamePair()
|
|
||||||
{
|
{
|
||||||
return new KeyNamePair(get_ID(), getName());
|
return (org.compiere.model.I_AD_PrintColor)MTable.get(getCtx(), org.compiere.model.I_AD_PrintColor.Table_Name)
|
||||||
}
|
|
||||||
|
|
||||||
public I_AD_PrintColor getName_PrintColor() throws RuntimeException
|
|
||||||
{
|
|
||||||
return (I_AD_PrintColor)MTable.get(getCtx(), I_AD_PrintColor.Table_Name)
|
|
||||||
.getPO(getName_PrintColor_ID(), get_TrxName()); }
|
.getPO(getName_PrintColor_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set Name Colour.
|
/** Set Print Color for Name.
|
||||||
@param Name_PrintColor_ID Name Colour */
|
@param Name_PrintColor_ID Print Color for Name */
|
||||||
public void setName_PrintColor_ID (int Name_PrintColor_ID)
|
public void setName_PrintColor_ID (int Name_PrintColor_ID)
|
||||||
{
|
{
|
||||||
if (Name_PrintColor_ID < 1)
|
if (Name_PrintColor_ID < 1)
|
||||||
|
@ -302,8 +289,8 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
set_Value (COLUMNNAME_Name_PrintColor_ID, Integer.valueOf(Name_PrintColor_ID));
|
set_Value (COLUMNNAME_Name_PrintColor_ID, Integer.valueOf(Name_PrintColor_ID));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Name Colour.
|
/** Get Print Color for Name.
|
||||||
@return Name Colour */
|
@return Print Color for Name */
|
||||||
public int getName_PrintColor_ID ()
|
public int getName_PrintColor_ID ()
|
||||||
{
|
{
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_Name_PrintColor_ID);
|
Integer ii = (Integer)get_Value(COLUMNNAME_Name_PrintColor_ID);
|
||||||
|
@ -312,13 +299,13 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_AD_PrintFont getName_PrintFont() throws RuntimeException
|
public org.compiere.model.I_AD_PrintFont getName_PrintFont() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_AD_PrintFont)MTable.get(getCtx(), I_AD_PrintFont.Table_Name)
|
return (org.compiere.model.I_AD_PrintFont)MTable.get(getCtx(), org.compiere.model.I_AD_PrintFont.Table_Name)
|
||||||
.getPO(getName_PrintFont_ID(), get_TrxName()); }
|
.getPO(getName_PrintFont_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set Name Font.
|
/** Set Print Font for Name.
|
||||||
@param Name_PrintFont_ID Name Font */
|
@param Name_PrintFont_ID Print Font for Name */
|
||||||
public void setName_PrintFont_ID (int Name_PrintFont_ID)
|
public void setName_PrintFont_ID (int Name_PrintFont_ID)
|
||||||
{
|
{
|
||||||
if (Name_PrintFont_ID < 1)
|
if (Name_PrintFont_ID < 1)
|
||||||
|
@ -327,8 +314,8 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
set_Value (COLUMNNAME_Name_PrintFont_ID, Integer.valueOf(Name_PrintFont_ID));
|
set_Value (COLUMNNAME_Name_PrintFont_ID, Integer.valueOf(Name_PrintFont_ID));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Name Font.
|
/** Get Print Font for Name.
|
||||||
@return Name Font */
|
@return Print Font for Name */
|
||||||
public int getName_PrintFont_ID ()
|
public int getName_PrintFont_ID ()
|
||||||
{
|
{
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_Name_PrintFont_ID);
|
Integer ii = (Integer)get_Value(COLUMNNAME_Name_PrintFont_ID);
|
||||||
|
@ -337,13 +324,13 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_AD_PrintColor getNumber_PrintColor() throws RuntimeException
|
public org.compiere.model.I_AD_PrintColor getNumber_PrintColor() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_AD_PrintColor)MTable.get(getCtx(), I_AD_PrintColor.Table_Name)
|
return (org.compiere.model.I_AD_PrintColor)MTable.get(getCtx(), org.compiere.model.I_AD_PrintColor.Table_Name)
|
||||||
.getPO(getNumber_PrintColor_ID(), get_TrxName()); }
|
.getPO(getNumber_PrintColor_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set Number Colour.
|
/** Set Print Color for Number.
|
||||||
@param Number_PrintColor_ID Number Colour */
|
@param Number_PrintColor_ID Print Color for Number */
|
||||||
public void setNumber_PrintColor_ID (int Number_PrintColor_ID)
|
public void setNumber_PrintColor_ID (int Number_PrintColor_ID)
|
||||||
{
|
{
|
||||||
if (Number_PrintColor_ID < 1)
|
if (Number_PrintColor_ID < 1)
|
||||||
|
@ -352,8 +339,8 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
set_Value (COLUMNNAME_Number_PrintColor_ID, Integer.valueOf(Number_PrintColor_ID));
|
set_Value (COLUMNNAME_Number_PrintColor_ID, Integer.valueOf(Number_PrintColor_ID));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Number Colour.
|
/** Get Print Color for Number.
|
||||||
@return Number Colour */
|
@return Print Color for Number */
|
||||||
public int getNumber_PrintColor_ID ()
|
public int getNumber_PrintColor_ID ()
|
||||||
{
|
{
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_Number_PrintColor_ID);
|
Integer ii = (Integer)get_Value(COLUMNNAME_Number_PrintColor_ID);
|
||||||
|
@ -362,13 +349,13 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_AD_PrintFont getNumber_PrintFont() throws RuntimeException
|
public org.compiere.model.I_AD_PrintFont getNumber_PrintFont() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_AD_PrintFont)MTable.get(getCtx(), I_AD_PrintFont.Table_Name)
|
return (org.compiere.model.I_AD_PrintFont)MTable.get(getCtx(), org.compiere.model.I_AD_PrintFont.Table_Name)
|
||||||
.getPO(getNumber_PrintFont_ID(), get_TrxName()); }
|
.getPO(getNumber_PrintFont_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set Number Font.
|
/** Set Print Font for Number.
|
||||||
@param Number_PrintFont_ID Number Font */
|
@param Number_PrintFont_ID Print Font for Number */
|
||||||
public void setNumber_PrintFont_ID (int Number_PrintFont_ID)
|
public void setNumber_PrintFont_ID (int Number_PrintFont_ID)
|
||||||
{
|
{
|
||||||
if (Number_PrintFont_ID < 1)
|
if (Number_PrintFont_ID < 1)
|
||||||
|
@ -377,8 +364,8 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
set_Value (COLUMNNAME_Number_PrintFont_ID, Integer.valueOf(Number_PrintFont_ID));
|
set_Value (COLUMNNAME_Number_PrintFont_ID, Integer.valueOf(Number_PrintFont_ID));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Number Font.
|
/** Get Print Font for Number.
|
||||||
@return Number Font */
|
@return Print Font for Number */
|
||||||
public int getNumber_PrintFont_ID ()
|
public int getNumber_PrintFont_ID ()
|
||||||
{
|
{
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_Number_PrintFont_ID);
|
Integer ii = (Integer)get_Value(COLUMNNAME_Number_PrintFont_ID);
|
||||||
|
@ -387,6 +374,40 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Document Status.
|
||||||
|
@param PA_DocumentStatus_ID Document Status */
|
||||||
|
public void setPA_DocumentStatus_ID (int PA_DocumentStatus_ID)
|
||||||
|
{
|
||||||
|
if (PA_DocumentStatus_ID < 1)
|
||||||
|
set_ValueNoCheck (COLUMNNAME_PA_DocumentStatus_ID, null);
|
||||||
|
else
|
||||||
|
set_ValueNoCheck (COLUMNNAME_PA_DocumentStatus_ID, Integer.valueOf(PA_DocumentStatus_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Document Status.
|
||||||
|
@return Document Status */
|
||||||
|
public int getPA_DocumentStatus_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_PA_DocumentStatus_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set PA_DocumentStatus_UU.
|
||||||
|
@param PA_DocumentStatus_UU PA_DocumentStatus_UU */
|
||||||
|
public void setPA_DocumentStatus_UU (String PA_DocumentStatus_UU)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_PA_DocumentStatus_UU, PA_DocumentStatus_UU);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get PA_DocumentStatus_UU.
|
||||||
|
@return PA_DocumentStatus_UU */
|
||||||
|
public String getPA_DocumentStatus_UU ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_PA_DocumentStatus_UU);
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Sequence.
|
/** Set Sequence.
|
||||||
@param SeqNo
|
@param SeqNo
|
||||||
Method of ordering records; lowest number comes first
|
Method of ordering records; lowest number comes first
|
||||||
|
@ -407,26 +428,6 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Document Status Indicator.
|
|
||||||
@param PA_DocumentStatus_ID Document Status Indicator */
|
|
||||||
public void setPA_DocumentStatus_ID (int PA_DocumentStatus_ID)
|
|
||||||
{
|
|
||||||
if (PA_DocumentStatus_ID < 1)
|
|
||||||
set_ValueNoCheck (COLUMNNAME_PA_DocumentStatus_ID, null);
|
|
||||||
else
|
|
||||||
set_ValueNoCheck (COLUMNNAME_PA_DocumentStatus_ID, Integer.valueOf(PA_DocumentStatus_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Document Status Indicator.
|
|
||||||
@return Document Status Indicator */
|
|
||||||
public int getPA_DocumentStatus_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_PA_DocumentStatus_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Sql WHERE.
|
/** Set Sql WHERE.
|
||||||
@param WhereClause
|
@param WhereClause
|
||||||
Fully qualified SQL WHERE clause
|
Fully qualified SQL WHERE clause
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
* *
|
* *
|
||||||
* Contributors: *
|
* Contributors: *
|
||||||
* - Adaxa *
|
* - Adaxa *
|
||||||
|
* - Deepak Pansheriya *
|
||||||
* - Murilo Ht *
|
* - Murilo Ht *
|
||||||
* - Carlos Ruiz *
|
* - Carlos Ruiz *
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
@ -92,33 +93,47 @@ public class WDocumentStatusIndicator extends Panel implements EventListener<Eve
|
||||||
appendChild(div);
|
appendChild(div);
|
||||||
Label nameLabel = new Label();
|
Label nameLabel = new Label();
|
||||||
nameLabel.setText(m_documentStatus.get_Translation(MDocumentStatus.COLUMNNAME_Name) + ": ");
|
nameLabel.setText(m_documentStatus.get_Translation(MDocumentStatus.COLUMNNAME_Name) + ": ");
|
||||||
int AD_PrintColor_ID = m_documentStatus.getName_PrintColor_ID();
|
String nameColorStyle = "";
|
||||||
MPrintColor printColor = MPrintColor.get(Env.getCtx(), AD_PrintColor_ID);
|
int Name_PrintColor_ID = m_documentStatus.getName_PrintColor_ID();
|
||||||
String color = ZkCssHelper.createHexColorString(printColor.getColor());
|
if (Name_PrintColor_ID > 0) {
|
||||||
|
MPrintColor printColor = MPrintColor.get(Env.getCtx(), Name_PrintColor_ID);
|
||||||
|
String color = ZkCssHelper.createHexColorString(printColor.getColor());
|
||||||
|
nameColorStyle = "color:#"+color+";";
|
||||||
|
}
|
||||||
int AD_PrintFont_ID = m_documentStatus.getName_PrintFont_ID();
|
int AD_PrintFont_ID = m_documentStatus.getName_PrintFont_ID();
|
||||||
MPrintFont printFont = MPrintFont.get(AD_PrintFont_ID);
|
String nameFontStyle = "";
|
||||||
String family = printFont.getFont().getFamily();
|
if (AD_PrintFont_ID > 0) {
|
||||||
boolean bold = printFont.getFont().isBold();
|
MPrintFont printFont = MPrintFont.get(AD_PrintFont_ID);
|
||||||
boolean italic = printFont.getFont().isItalic();
|
String family = printFont.getFont().getFamily();
|
||||||
int pointSize = printFont.getFont().getSize();
|
boolean bold = printFont.getFont().isBold();
|
||||||
String fontStyle = "font-family:'"+family+"';font-weight:"+(bold ? "bold" : "normal")+";font-style:"+(italic ? "italic" : "normal")+";font-size:"+pointSize+"pt";
|
boolean italic = printFont.getFont().isItalic();
|
||||||
nameLabel.setStyle("color:#"+color+";"+fontStyle);
|
int pointSize = printFont.getFont().getSize();
|
||||||
|
nameFontStyle = "font-family:'"+family+"';font-weight:"+(bold ? "bold" : "normal")+";font-style:"+(italic ? "italic" : "normal")+";font-size:"+pointSize+"pt";
|
||||||
|
}
|
||||||
|
nameLabel.setStyle(nameColorStyle+nameFontStyle);
|
||||||
div.appendChild(nameLabel);
|
div.appendChild(nameLabel);
|
||||||
|
|
||||||
statusLabel = new Label();
|
statusLabel = new Label();
|
||||||
AD_PrintColor_ID = m_documentStatus.getNumber_PrintColor_ID();
|
String numberColorStyle = "";
|
||||||
printColor = MPrintColor.get(Env.getCtx(), AD_PrintColor_ID);
|
int Number_PrintColor_ID = m_documentStatus.getNumber_PrintColor_ID();
|
||||||
color = ZkCssHelper.createHexColorString(printColor.getColor());
|
if (Number_PrintColor_ID > 0) {
|
||||||
AD_PrintFont_ID = m_documentStatus.getNumber_PrintFont_ID();
|
MPrintColor printColor = MPrintColor.get(Env.getCtx(), Number_PrintColor_ID);
|
||||||
printFont = MPrintFont.get(AD_PrintFont_ID);
|
String color = ZkCssHelper.createHexColorString(printColor.getColor());
|
||||||
family = printFont.getFont().getFamily();
|
numberColorStyle = "color:#"+color+";";
|
||||||
bold = printFont.getFont().isBold();
|
}
|
||||||
italic = printFont.getFont().isItalic();
|
String numberFontStyle = "";
|
||||||
pointSize = printFont.getFont().getSize();
|
int Number_PrintFont_ID = m_documentStatus.getNumber_PrintFont_ID();
|
||||||
fontStyle = "font-family:'"+family+"';font-weight:"+(bold ? "bold" : "normal")+";font-style:"+(italic ? "italic" : "normal")+";font-size:"+pointSize+"pt";
|
if (Number_PrintFont_ID > 0) {
|
||||||
int margin = pointSize;
|
MPrintFont printFont = MPrintFont.get(Number_PrintFont_ID);
|
||||||
String marginStyle = "margin-top:"+margin+"pt;"+"margin-bottom:"+margin+"pt;";
|
String family = printFont.getFont().getFamily();
|
||||||
statusLabel.setStyle("color:#"+color+";"+fontStyle+";"+marginStyle);
|
boolean bold = printFont.getFont().isBold();
|
||||||
|
boolean italic = printFont.getFont().isItalic();
|
||||||
|
int pointSize = printFont.getFont().getSize();
|
||||||
|
numberFontStyle = "font-family:'"+family+"';font-weight:"+(bold ? "bold" : "normal")+";font-style:"+(italic ? "italic" : "normal")+";font-size:"+pointSize+"pt;";
|
||||||
|
int margin = pointSize;
|
||||||
|
numberFontStyle += "margin-top:"+margin+"pt;"+"margin-bottom:"+margin+"pt;";
|
||||||
|
}
|
||||||
|
statusLabel.setStyle(numberColorStyle+numberFontStyle);
|
||||||
div.appendChild(statusLabel);
|
div.appendChild(statusLabel);
|
||||||
|
|
||||||
this.addEventListener(Events.ON_CLICK, this);
|
this.addEventListener(Events.ON_CLICK, this);
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
* *
|
* *
|
||||||
* Contributors: *
|
* Contributors: *
|
||||||
* - Adaxa *
|
* - Adaxa *
|
||||||
|
* - Deepak Pansheriya *
|
||||||
* - Murilo Ht *
|
* - Murilo Ht *
|
||||||
* - Carlos Ruiz *
|
* - Carlos Ruiz *
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
* *
|
* *
|
||||||
* Contributors: *
|
* Contributors: *
|
||||||
* - Adaxa *
|
* - Adaxa *
|
||||||
|
* - Deepak Pansheriya *
|
||||||
* - Murilo Ht *
|
* - Murilo Ht *
|
||||||
* - Carlos Ruiz *
|
* - Carlos Ruiz *
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
|
@ -136,7 +136,7 @@
|
||||||
.activities-box {
|
.activities-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding: 1px 0px 1px 0px;
|
padding: 0px 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activities-box .z-vbox {
|
.activities-box .z-vbox {
|
||||||
|
|
Loading…
Reference in New Issue