FR [ 2994115 ] Add C_DocType.IsPrepareSplitDoc flag
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2994115
This commit is contained in:
parent
7efd8b5c40
commit
c1146128a7
|
@ -77,6 +77,19 @@ public interface I_C_DocType
|
||||||
|
|
||||||
public I_AD_PrintFormat getAD_PrintFormat() throws RuntimeException;
|
public I_AD_PrintFormat getAD_PrintFormat() throws RuntimeException;
|
||||||
|
|
||||||
|
/** Column name C_DocType_ID */
|
||||||
|
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
||||||
|
|
||||||
|
/** Set Document Type.
|
||||||
|
* Document type or rules
|
||||||
|
*/
|
||||||
|
public void setC_DocType_ID (int C_DocType_ID);
|
||||||
|
|
||||||
|
/** Get Document Type.
|
||||||
|
* Document type or rules
|
||||||
|
*/
|
||||||
|
public int getC_DocType_ID();
|
||||||
|
|
||||||
/** Column name C_DocTypeDifference_ID */
|
/** Column name C_DocTypeDifference_ID */
|
||||||
public static final String COLUMNNAME_C_DocTypeDifference_ID = "C_DocTypeDifference_ID";
|
public static final String COLUMNNAME_C_DocTypeDifference_ID = "C_DocTypeDifference_ID";
|
||||||
|
|
||||||
|
@ -92,19 +105,6 @@ public interface I_C_DocType
|
||||||
|
|
||||||
public I_C_DocType getC_DocTypeDifference() throws RuntimeException;
|
public I_C_DocType getC_DocTypeDifference() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name C_DocType_ID */
|
|
||||||
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
|
||||||
|
|
||||||
/** Set Document Type.
|
|
||||||
* Document type or rules
|
|
||||||
*/
|
|
||||||
public void setC_DocType_ID (int C_DocType_ID);
|
|
||||||
|
|
||||||
/** Get Document Type.
|
|
||||||
* Document type or rules
|
|
||||||
*/
|
|
||||||
public int getC_DocType_ID();
|
|
||||||
|
|
||||||
/** Column name C_DocTypeInvoice_ID */
|
/** Column name C_DocTypeInvoice_ID */
|
||||||
public static final String COLUMNNAME_C_DocTypeInvoice_ID = "C_DocTypeInvoice_ID";
|
public static final String COLUMNNAME_C_DocTypeInvoice_ID = "C_DocTypeInvoice_ID";
|
||||||
|
|
||||||
|
@ -420,6 +420,19 @@ public interface I_C_DocType
|
||||||
*/
|
*/
|
||||||
public boolean isPickQAConfirm();
|
public boolean isPickQAConfirm();
|
||||||
|
|
||||||
|
/** Column name IsPrepareSplitDocument */
|
||||||
|
public static final String COLUMNNAME_IsPrepareSplitDocument = "IsPrepareSplitDocument";
|
||||||
|
|
||||||
|
/** Set Prepare Split Document.
|
||||||
|
* Prepare generated split shipment/receipt document
|
||||||
|
*/
|
||||||
|
public void setIsPrepareSplitDocument (boolean IsPrepareSplitDocument);
|
||||||
|
|
||||||
|
/** Get Prepare Split Document.
|
||||||
|
* Prepare generated split shipment/receipt document
|
||||||
|
*/
|
||||||
|
public boolean isPrepareSplitDocument();
|
||||||
|
|
||||||
/** Column name IsShipConfirm */
|
/** Column name IsShipConfirm */
|
||||||
public static final String COLUMNNAME_IsShipConfirm = "IsShipConfirm";
|
public static final String COLUMNNAME_IsShipConfirm = "IsShipConfirm";
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,8 @@ import org.compiere.util.Msg;
|
||||||
* @author Teo Sarca, teo.sarca@gmail.com
|
* @author Teo Sarca, teo.sarca@gmail.com
|
||||||
* <li>BF [ 2993853 ] Voiding/Reversing Receipt should void confirmations
|
* <li>BF [ 2993853 ] Voiding/Reversing Receipt should void confirmations
|
||||||
* https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2993853&group_id=176962
|
* https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2993853&group_id=176962
|
||||||
|
* <li>FR [ 2994115 ] Add C_DocType.IsPrepareSplitDoc flag
|
||||||
|
* https://sourceforge.net/tracker/?func=detail&aid=2994115&group_id=176962&atid=879335
|
||||||
*/
|
*/
|
||||||
public class MInOutConfirm extends X_M_InOutConfirm implements DocAction
|
public class MInOutConfirm extends X_M_InOutConfirm implements DocAction
|
||||||
{
|
{
|
||||||
|
@ -529,6 +531,12 @@ public class MInOutConfirm extends X_M_InOutConfirm implements DocAction
|
||||||
m_processMsg = "Split @M_InOut_ID@=" + split.getDocumentNo()
|
m_processMsg = "Split @M_InOut_ID@=" + split.getDocumentNo()
|
||||||
+ " - @M_InOutConfirm_ID@=";
|
+ " - @M_InOutConfirm_ID@=";
|
||||||
|
|
||||||
|
MDocType dt = MDocType.get(getCtx(), original.getC_DocType_ID());
|
||||||
|
if (!dt.isPrepareSplitDocument())
|
||||||
|
{
|
||||||
|
return ;
|
||||||
|
}
|
||||||
|
|
||||||
// Create Dispute Confirmation
|
// Create Dispute Confirmation
|
||||||
if (!split.processIt(DocAction.ACTION_Prepare))
|
if (!split.processIt(DocAction.ACTION_Prepare))
|
||||||
throw new AdempiereException(split.getProcessMsg());
|
throw new AdempiereException(split.getProcessMsg());
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 20090915L;
|
private static final long serialVersionUID = 20100429L;
|
||||||
|
|
||||||
/** Standard Constructor */
|
/** Standard Constructor */
|
||||||
public X_C_DocType (Properties ctx, int C_DocType_ID, String trxName)
|
public X_C_DocType (Properties ctx, int C_DocType_ID, String trxName)
|
||||||
|
@ -53,6 +53,8 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
setIsIndexed (false);
|
setIsIndexed (false);
|
||||||
setIsInTransit (false);
|
setIsInTransit (false);
|
||||||
setIsPickQAConfirm (false);
|
setIsPickQAConfirm (false);
|
||||||
|
setIsPrepareSplitDocument (true);
|
||||||
|
// Y
|
||||||
setIsShipConfirm (false);
|
setIsShipConfirm (false);
|
||||||
setIsSOTrx (false);
|
setIsSOTrx (false);
|
||||||
setIsSplitWhenDifference (false);
|
setIsSplitWhenDifference (false);
|
||||||
|
@ -118,6 +120,29 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Document Type.
|
||||||
|
@param C_DocType_ID
|
||||||
|
Document type or rules
|
||||||
|
*/
|
||||||
|
public void setC_DocType_ID (int C_DocType_ID)
|
||||||
|
{
|
||||||
|
if (C_DocType_ID < 0)
|
||||||
|
set_ValueNoCheck (COLUMNNAME_C_DocType_ID, null);
|
||||||
|
else
|
||||||
|
set_ValueNoCheck (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Document Type.
|
||||||
|
@return Document type or rules
|
||||||
|
*/
|
||||||
|
public int getC_DocType_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
public I_C_DocType getC_DocTypeDifference() throws RuntimeException
|
public I_C_DocType getC_DocTypeDifference() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
|
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
|
||||||
|
@ -146,29 +171,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Document Type.
|
|
||||||
@param C_DocType_ID
|
|
||||||
Document type or rules
|
|
||||||
*/
|
|
||||||
public void setC_DocType_ID (int C_DocType_ID)
|
|
||||||
{
|
|
||||||
if (C_DocType_ID < 0)
|
|
||||||
set_ValueNoCheck (COLUMNNAME_C_DocType_ID, null);
|
|
||||||
else
|
|
||||||
set_ValueNoCheck (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Document Type.
|
|
||||||
@return Document type or rules
|
|
||||||
*/
|
|
||||||
public int getC_DocType_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
public I_C_DocType getC_DocTypeInvoice() throws RuntimeException
|
public I_C_DocType getC_DocTypeInvoice() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
|
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
|
||||||
|
@ -760,6 +762,30 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Prepare Split Document.
|
||||||
|
@param IsPrepareSplitDocument
|
||||||
|
Prepare generated split shipment/receipt document
|
||||||
|
*/
|
||||||
|
public void setIsPrepareSplitDocument (boolean IsPrepareSplitDocument)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_IsPrepareSplitDocument, Boolean.valueOf(IsPrepareSplitDocument));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Prepare Split Document.
|
||||||
|
@return Prepare generated split shipment/receipt document
|
||||||
|
*/
|
||||||
|
public boolean isPrepareSplitDocument ()
|
||||||
|
{
|
||||||
|
Object oo = get_Value(COLUMNNAME_IsPrepareSplitDocument);
|
||||||
|
if (oo != null)
|
||||||
|
{
|
||||||
|
if (oo instanceof Boolean)
|
||||||
|
return ((Boolean)oo).booleanValue();
|
||||||
|
return "Y".equals(oo);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Ship/Receipt Confirmation.
|
/** Set Ship/Receipt Confirmation.
|
||||||
@param IsShipConfirm
|
@param IsShipConfirm
|
||||||
Require Ship or Receipt Confirmation before processing
|
Require Ship or Receipt Confirmation before processing
|
||||||
|
|
|
@ -0,0 +1,90 @@
|
||||||
|
-- Apr 29, 2010 1:04:06 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54150,0,'IsPrepareSplitDocument',TO_DATE('2010-04-29 13:04:02','YYYY-MM-DD HH24:MI:SS'),0,'Prepare generated split shipment/receipt document','D','Y','Prepare Split Document','Prepare Split Doc',TO_DATE('2010-04-29 13:04:02','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:04:06 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54150 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:04:50 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59148,54150,0,20,217,'IsPrepareSplitDocument',TO_DATE('2010-04-29 13:04:46','YYYY-MM-DD HH24:MI:SS'),0,'Y','Prepare generated split shipment/receipt document','D',1,'Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Prepare Split Document',0,TO_DATE('2010-04-29 13:04:46','YYYY-MM-DD HH24:MI:SS'),0,1)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:04:50 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
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=59148 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:34 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,15806,58858,0,167,TO_DATE('2010-04-29 13:05:29','YYYY-MM-DD HH24:MI:SS'),0,'Index the document for the internal search engine',1,'D','For cross document search, the document can be indexed for faster search (Container, Document Type, Request Type)','Y','Y','Y','N','N','N','N','N','Indexed',TO_DATE('2010-04-29 13:05:29','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:34 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
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=58858 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:37 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59148,58859,0,167,TO_DATE('2010-04-29 13:05:34','YYYY-MM-DD HH24:MI:SS'),0,'Prepare generated split shipment/receipt document',1,'D','Y','Y','Y','N','N','N','N','N','Prepare Split Document',TO_DATE('2010-04-29 13:05:34','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:37 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
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=58859 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:56 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=58858
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:57 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
DELETE FROM AD_Field WHERE AD_Field_ID=58858
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=58859
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=10371
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=10528
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=10340
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=6567
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=3125
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:56 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsSplitWhenDifference@=Y',Updated=TO_DATE('2010-04-29 13:06:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58859
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:37:06 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
ALTER TABLE C_DocType ADD IsPrepareSplitDocument CHAR(1) DEFAULT 'Y' CHECK (IsPrepareSplitDocument IN ('Y','N')) NOT NULL
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,90 @@
|
||||||
|
-- Apr 29, 2010 1:04:06 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54150,0,'IsPrepareSplitDocument',TO_TIMESTAMP('2010-04-29 13:04:02','YYYY-MM-DD HH24:MI:SS'),0,'Prepare generated split shipment/receipt document','D','Y','Prepare Split Document','Prepare Split Doc',TO_TIMESTAMP('2010-04-29 13:04:02','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:04:06 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54150 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:04:50 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59148,54150,0,20,217,'IsPrepareSplitDocument',TO_TIMESTAMP('2010-04-29 13:04:46','YYYY-MM-DD HH24:MI:SS'),0,'Y','Prepare generated split shipment/receipt document','D',1,'Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Prepare Split Document',0,TO_TIMESTAMP('2010-04-29 13:04:46','YYYY-MM-DD HH24:MI:SS'),0,1)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:04:50 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
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=59148 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:34 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,15806,58858,0,167,TO_TIMESTAMP('2010-04-29 13:05:29','YYYY-MM-DD HH24:MI:SS'),0,'Index the document for the internal search engine',1,'D','For cross document search, the document can be indexed for faster search (Container, Document Type, Request Type)','Y','Y','Y','N','N','N','N','N','Indexed',TO_TIMESTAMP('2010-04-29 13:05:29','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:34 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
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=58858 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:37 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59148,58859,0,167,TO_TIMESTAMP('2010-04-29 13:05:34','YYYY-MM-DD HH24:MI:SS'),0,'Prepare generated split shipment/receipt document',1,'D','Y','Y','Y','N','N','N','N','N','Prepare Split Document',TO_TIMESTAMP('2010-04-29 13:05:34','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:37 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
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=58859 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:56 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=58858
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:05:57 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
DELETE FROM AD_Field WHERE AD_Field_ID=58858
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=58859
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=10371
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=10528
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=10340
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=6567
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:16 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=3125
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:06:56 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsSplitWhenDifference@=Y',Updated=TO_TIMESTAMP('2010-04-29 13:06:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58859
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Apr 29, 2010 1:37:06 PM EEST
|
||||||
|
-- Autogenerated confirmations for InDispute Rec
|
||||||
|
ALTER TABLE C_DocType ADD COLUMN IsPrepareSplitDocument CHAR(1) DEFAULT 'Y' CHECK (IsPrepareSplitDocument IN ('Y','N')) NOT NULL
|
||||||
|
;
|
||||||
|
|
Loading…
Reference in New Issue