[ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2609604&group_id=176962
This commit is contained in:
parent
6f4b34a061
commit
3bdadc091c
|
@ -20,6 +20,7 @@
|
|||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for M_RequisitionLine
|
||||
|
@ -37,12 +38,20 @@ public interface I_M_RequisitionLine
|
|||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 3 - Client - Org
|
||||
/** AccessLevel = 1 - Org
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(3);
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(1);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AD_Client_ID */
|
||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||
|
||||
/** Get Client.
|
||||
* Client/Tenant for this installation.
|
||||
*/
|
||||
public int getAD_Client_ID();
|
||||
|
||||
/** Column name AD_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||
|
||||
|
@ -56,6 +65,21 @@ public interface I_M_RequisitionLine
|
|||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name C_BPartner_ID */
|
||||
public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
|
||||
|
||||
/** Set Business Partner .
|
||||
* Identifies a Business Partner
|
||||
*/
|
||||
public void setC_BPartner_ID (int C_BPartner_ID);
|
||||
|
||||
/** Get Business Partner .
|
||||
* Identifies a Business Partner
|
||||
*/
|
||||
public int getC_BPartner_ID();
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws RuntimeException;
|
||||
|
||||
/** Column name C_Charge_ID */
|
||||
public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID";
|
||||
|
||||
|
@ -86,6 +110,22 @@ public interface I_M_RequisitionLine
|
|||
|
||||
public I_C_OrderLine getC_OrderLine() throws RuntimeException;
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
||||
/** Get Created.
|
||||
* Date this record was created
|
||||
*/
|
||||
public Timestamp getCreated();
|
||||
|
||||
/** Column name CreatedBy */
|
||||
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
|
||||
|
||||
/** Get Created By.
|
||||
* User who created this records
|
||||
*/
|
||||
public int getCreatedBy();
|
||||
|
||||
/** Column name Description */
|
||||
public static final String COLUMNNAME_Description = "Description";
|
||||
|
||||
|
@ -99,6 +139,19 @@ public interface I_M_RequisitionLine
|
|||
*/
|
||||
public String getDescription();
|
||||
|
||||
/** Column name IsActive */
|
||||
public static final String COLUMNNAME_IsActive = "IsActive";
|
||||
|
||||
/** Set Active.
|
||||
* The record is active in the system
|
||||
*/
|
||||
public void setIsActive (boolean IsActive);
|
||||
|
||||
/** Get Active.
|
||||
* The record is active in the system
|
||||
*/
|
||||
public boolean isActive();
|
||||
|
||||
/** Column name Line */
|
||||
public static final String COLUMNNAME_Line = "Line";
|
||||
|
||||
|
@ -153,6 +206,19 @@ public interface I_M_RequisitionLine
|
|||
|
||||
public I_M_Product getM_Product() throws RuntimeException;
|
||||
|
||||
/** Column name M_RequisitionLine_ID */
|
||||
public static final String COLUMNNAME_M_RequisitionLine_ID = "M_RequisitionLine_ID";
|
||||
|
||||
/** Set Requisition Line.
|
||||
* Material Requisition Line
|
||||
*/
|
||||
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID);
|
||||
|
||||
/** Get Requisition Line.
|
||||
* Material Requisition Line
|
||||
*/
|
||||
public int getM_RequisitionLine_ID();
|
||||
|
||||
/** Column name M_Requisition_ID */
|
||||
public static final String COLUMNNAME_M_Requisition_ID = "M_Requisition_ID";
|
||||
|
||||
|
@ -168,19 +234,6 @@ public interface I_M_RequisitionLine
|
|||
|
||||
public I_M_Requisition getM_Requisition() throws RuntimeException;
|
||||
|
||||
/** Column name M_RequisitionLine_ID */
|
||||
public static final String COLUMNNAME_M_RequisitionLine_ID = "M_RequisitionLine_ID";
|
||||
|
||||
/** Set Requisition Line.
|
||||
* Material Requisition Line
|
||||
*/
|
||||
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID);
|
||||
|
||||
/** Get Requisition Line.
|
||||
* Material Requisition Line
|
||||
*/
|
||||
public int getM_RequisitionLine_ID();
|
||||
|
||||
/** Column name PriceActual */
|
||||
public static final String COLUMNNAME_PriceActual = "PriceActual";
|
||||
|
||||
|
@ -206,4 +259,20 @@ public interface I_M_RequisitionLine
|
|||
* Quantity
|
||||
*/
|
||||
public BigDecimal getQty();
|
||||
|
||||
/** Column name Updated */
|
||||
public static final String COLUMNNAME_Updated = "Updated";
|
||||
|
||||
/** Get Updated.
|
||||
* Date this record was updated
|
||||
*/
|
||||
public Timestamp getUpdated();
|
||||
|
||||
/** Column name UpdatedBy */
|
||||
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
|
||||
|
||||
/** Get Updated By.
|
||||
* User who updated this records
|
||||
*/
|
||||
public int getUpdatedBy();
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 20081221L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_M_RequisitionLine (Properties ctx, int M_RequisitionLine_ID, String trxName)
|
||||
|
@ -45,8 +45,8 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe
|
|||
setLine (0);
|
||||
// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM M_RequisitionLine WHERE M_Requisition_ID=@M_Requisition_ID@
|
||||
setLineNetAmt (Env.ZERO);
|
||||
setM_Requisition_ID (0);
|
||||
setM_RequisitionLine_ID (0);
|
||||
setM_Requisition_ID (0);
|
||||
setPriceActual (Env.ZERO);
|
||||
setQty (Env.ZERO);
|
||||
// 1
|
||||
|
@ -60,7 +60,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe
|
|||
}
|
||||
|
||||
/** AccessLevel
|
||||
* @return 3 - Client - Org
|
||||
* @return 1 - Org
|
||||
*/
|
||||
protected int get_AccessLevel()
|
||||
{
|
||||
|
@ -81,6 +81,45 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe
|
|||
return sb.toString();
|
||||
}
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_C_BPartner.Table_Name);
|
||||
I_C_BPartner result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_C_BPartner)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BPartner_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Business Partner .
|
||||
@param C_BPartner_ID
|
||||
Identifies a Business Partner
|
||||
*/
|
||||
public void setC_BPartner_ID (int C_BPartner_ID)
|
||||
{
|
||||
if (C_BPartner_ID < 1)
|
||||
set_Value (COLUMNNAME_C_BPartner_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID));
|
||||
}
|
||||
|
||||
/** Get Business Partner .
|
||||
@return Identifies a Business Partner
|
||||
*/
|
||||
public int getC_BPartner_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Charge getC_Charge() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_C_Charge.Table_Name);
|
||||
|
@ -288,6 +327,28 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Requisition Line.
|
||||
@param M_RequisitionLine_ID
|
||||
Material Requisition Line
|
||||
*/
|
||||
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID)
|
||||
{
|
||||
if (M_RequisitionLine_ID < 1)
|
||||
throw new IllegalArgumentException ("M_RequisitionLine_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_M_RequisitionLine_ID, Integer.valueOf(M_RequisitionLine_ID));
|
||||
}
|
||||
|
||||
/** Get Requisition Line.
|
||||
@return Material Requisition Line
|
||||
*/
|
||||
public int getM_RequisitionLine_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_RequisitionLine_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_Requisition getM_Requisition() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_M_Requisition.Table_Name);
|
||||
|
@ -326,28 +387,6 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Requisition Line.
|
||||
@param M_RequisitionLine_ID
|
||||
Material Requisition Line
|
||||
*/
|
||||
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID)
|
||||
{
|
||||
if (M_RequisitionLine_ID < 1)
|
||||
throw new IllegalArgumentException ("M_RequisitionLine_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_M_RequisitionLine_ID, Integer.valueOf(M_RequisitionLine_ID));
|
||||
}
|
||||
|
||||
/** Get Requisition Line.
|
||||
@return Material Requisition Line
|
||||
*/
|
||||
public int getM_RequisitionLine_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_RequisitionLine_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Unit Price.
|
||||
@param PriceActual
|
||||
Actual Price
|
||||
|
|
|
@ -0,0 +1,75 @@
|
|||
-- Feb 18, 2009 2:47:26 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Column (Help,Created,CreatedBy,Updated,Version,IsActive,AD_Reference_ID,IsMandatory,IsIdentifier,SeqNo,IsAutocomplete,ColumnName,AD_Column_ID,IsParent,AD_Table_ID,FieldLength,Description,IsKey,IsTranslated,AD_Client_ID,AD_Org_ID,AD_Element_ID,IsSelectionColumn,IsUpdateable,IsSyncDatabase,Name,EntityType,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,IsAllowLogging) VALUES ('A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson',TO_DATE('2009-02-18 14:47:24','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2009-02-18 14:47:24','YYYY-MM-DD HH24:MI:SS'),0,'Y',30,'N','N',0,'N','C_BPartner_ID',56816,'N',703,10,'Identifies a Business Partner','N','N',0,0,187,'N','Y','N','Business Partner ','U',0,'N','N','Y')
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:26 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56816 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:27 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Field (UpdatedBy,IsSameLine,IsHeading,CreatedBy,Updated,Description,DisplayLength,Help,IsFieldOnly,AD_Field_ID,AD_Tab_ID,AD_Column_ID,IsActive,Created,IsDisplayed,AD_Client_ID,AD_Org_ID,IsEncrypted,Name,IsReadOnly,IsCentrallyMaintained,EntityType) VALUES (0,'N','N',0,TO_DATE('2009-02-18 14:47:26','YYYY-MM-DD HH24:MI:SS'),'Identifies a Business Partner',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','N',56715,642,56816,'Y',TO_DATE('2009-02-18 14:47:26','YYYY-MM-DD HH24:MI:SS'),'N',0,0,'N','Business Partner ','N','Y','U')
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:27 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56715 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:27 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Field (UpdatedBy,IsSameLine,IsHeading,CreatedBy,Updated,Description,DisplayLength,Help,IsFieldOnly,AD_Field_ID,AD_Tab_ID,AD_Column_ID,IsActive,Created,IsDisplayed,AD_Client_ID,AD_Org_ID,IsEncrypted,Name,IsReadOnly,IsCentrallyMaintained,EntityType) VALUES (0,'N','N',0,TO_DATE('2009-02-18 14:47:27','YYYY-MM-DD HH24:MI:SS'),'Identifies a Business Partner',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','N',56716,768,56816,'Y',TO_DATE('2009-02-18 14:47:27','YYYY-MM-DD HH24:MI:SS'),'N',0,0,'N','Business Partner ','N','Y','U')
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:28 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56716 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:30 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
ALTER TABLE M_RequisitionLine ADD C_BPartner_ID NUMBER(10) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56715
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=10043
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=13014
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=10037
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=10034
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=10036
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=10035
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=10196
|
||||
;
|
||||
|
|
@ -0,0 +1,75 @@
|
|||
-- Feb 18, 2009 2:47:26 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Column (Help,Created,CreatedBy,Updated,Version,IsActive,AD_Reference_ID,IsMandatory,IsIdentifier,SeqNo,IsAutocomplete,ColumnName,AD_Column_ID,IsParent,AD_Table_ID,FieldLength,Description,IsKey,IsTranslated,AD_Client_ID,AD_Org_ID,AD_Element_ID,IsSelectionColumn,IsUpdateable,IsSyncDatabase,Name,EntityType,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,IsAllowLogging) VALUES ('A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson',TO_TIMESTAMP('2009-02-18 14:47:24','YYYY-MM-DD HH24:MI:SS'),0,TO_TIMESTAMP('2009-02-18 14:47:24','YYYY-MM-DD HH24:MI:SS'),0,'Y',30,'N','N',0,'N','C_BPartner_ID',56816,'N',703,10,'Identifies a Business Partner','N','N',0,0,187,'N','Y','N','Business Partner ','U',0,'N','N','Y')
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:26 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56816 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:27 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Field (UpdatedBy,IsSameLine,IsHeading,CreatedBy,Updated,Description,DisplayLength,Help,IsFieldOnly,AD_Field_ID,AD_Tab_ID,AD_Column_ID,IsActive,Created,IsDisplayed,AD_Client_ID,AD_Org_ID,IsEncrypted,Name,IsReadOnly,IsCentrallyMaintained,EntityType) VALUES (0,'N','N',0,TO_TIMESTAMP('2009-02-18 14:47:26','YYYY-MM-DD HH24:MI:SS'),'Identifies a Business Partner',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','N',56715,642,56816,'Y',TO_TIMESTAMP('2009-02-18 14:47:26','YYYY-MM-DD HH24:MI:SS'),'N',0,0,'N','Business Partner ','N','Y','U')
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:27 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56715 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:27 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Field (UpdatedBy,IsSameLine,IsHeading,CreatedBy,Updated,Description,DisplayLength,Help,IsFieldOnly,AD_Field_ID,AD_Tab_ID,AD_Column_ID,IsActive,Created,IsDisplayed,AD_Client_ID,AD_Org_ID,IsEncrypted,Name,IsReadOnly,IsCentrallyMaintained,EntityType) VALUES (0,'N','N',0,TO_TIMESTAMP('2009-02-18 14:47:27','YYYY-MM-DD HH24:MI:SS'),'Identifies a Business Partner',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','N',56716,768,56816,'Y',TO_TIMESTAMP('2009-02-18 14:47:27','YYYY-MM-DD HH24:MI:SS'),'N',0,0,'N','Business Partner ','N','Y','U')
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:28 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56716 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 2:47:30 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
ALTER TABLE M_RequisitionLine ADD COLUMN C_BPartner_ID NUMERIC(10) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56715
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=10043
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=13014
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=10037
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=10034
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=10036
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=10035
|
||||
;
|
||||
|
||||
-- Feb 18, 2009 3:10:50 PM EET
|
||||
-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID
|
||||
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=10196
|
||||
;
|
||||
|
Loading…
Reference in New Issue