[ 2027432 ] Distribution Order print format as Special Format

http://sourceforge.net/tracker/index.php?func=detail&aid=2027432&group_id=176962&atid=879332
This commit is contained in:
vpj-cd 2008-07-25 07:37:47 +00:00
parent 537621f245
commit a3239d014b
6 changed files with 1499 additions and 7 deletions

View File

@ -82,6 +82,32 @@ public interface I_AD_PrintForm
*/ */
public String getDescription(); public String getDescription();
/** Column name DistributionOrder_MailText_ID */
public static final String COLUMNNAME_DistributionOrder_MailText_ID = "DistributionOrder_MailText_ID";
/** Set Distribution Order Mail Text.
* Email text used for sending Distribution Order
*/
public void setDistributionOrder_MailText_ID (int DistributionOrder_MailText_ID);
/** Get Distribution Order Mail Text.
* Email text used for sending Distribution Order
*/
public int getDistributionOrder_MailText_ID();
/** Column name DistributionOrder_PrintFormat_ID */
public static final String COLUMNNAME_DistributionOrder_PrintFormat_ID = "DistributionOrder_PrintFormat_ID";
/** Set Distribution Order Print Format.
* Print Format for printing Distribution Order
*/
public void setDistributionOrder_PrintFormat_ID (int DistributionOrder_PrintFormat_ID);
/** Get Distribution Order Print Format.
* Print Format for printing Distribution Order
*/
public int getDistributionOrder_PrintFormat_ID();
/** Column name Invoice_MailText_ID */ /** Column name Invoice_MailText_ID */
public static final String COLUMNNAME_Invoice_MailText_ID = "Invoice_MailText_ID"; public static final String COLUMNNAME_Invoice_MailText_ID = "Invoice_MailText_ID";
@ -108,6 +134,32 @@ public interface I_AD_PrintForm
*/ */
public int getInvoice_PrintFormat_ID(); public int getInvoice_PrintFormat_ID();
/** Column name ManufacturingOrder_MailText_ID */
public static final String COLUMNNAME_ManufacturingOrder_MailText_ID = "ManufacturingOrder_MailText_ID";
/** Set Manufacturing Order Mail Text.
* Email text used for sending Manufacturing Order
*/
public void setManufacturingOrder_MailText_ID (int ManufacturingOrder_MailText_ID);
/** Get Manufacturing Order Mail Text.
* Email text used for sending Manufacturing Order
*/
public int getManufacturingOrder_MailText_ID();
/** Column name ManufacturingOrder_PrintFormat_ID */
public static final String COLUMNNAME_ManufacturingOrder_PrintFormat_ID = "ManufacturingOrder_PrintFormat_ID";
/** Set Manufacturing Order Print Format.
* Print Format for printing Manufacturing Order
*/
public void setManufacturingOrder_PrintFormat_ID (int ManufacturingOrder_PrintFormat_ID);
/** Get Manufacturing Order Print Format.
* Print Format for printing Manufacturing Order
*/
public int getManufacturingOrder_PrintFormat_ID();
/** Column name Name */ /** Column name Name */
public static final String COLUMNNAME_Name = "Name"; public static final String COLUMNNAME_Name = "Name";

View File

@ -116,6 +116,56 @@ public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent
return (String)get_Value(COLUMNNAME_Description); return (String)get_Value(COLUMNNAME_Description);
} }
/** DistributionOrder_MailText_ID AD_Reference_ID=274 */
public static final int DISTRIBUTIONORDER_MAILTEXT_ID_AD_Reference_ID=274;
/** Set Distribution Order Mail Text.
@param DistributionOrder_MailText_ID
Email text used for sending Distribution Order
*/
public void setDistributionOrder_MailText_ID (int DistributionOrder_MailText_ID)
{
if (DistributionOrder_MailText_ID < 1)
set_Value (COLUMNNAME_DistributionOrder_MailText_ID, null);
else
set_Value (COLUMNNAME_DistributionOrder_MailText_ID, Integer.valueOf(DistributionOrder_MailText_ID));
}
/** Get Distribution Order Mail Text.
@return Email text used for sending Distribution Order
*/
public int getDistributionOrder_MailText_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DistributionOrder_MailText_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** DistributionOrder_PrintFormat_ID AD_Reference_ID=53282 */
public static final int DISTRIBUTIONORDER_PRINTFORMAT_ID_AD_Reference_ID=53282;
/** Set Distribution Order Print Format.
@param DistributionOrder_PrintFormat_ID
Print Format for printing Distribution Order
*/
public void setDistributionOrder_PrintFormat_ID (int DistributionOrder_PrintFormat_ID)
{
if (DistributionOrder_PrintFormat_ID < 1)
set_Value (COLUMNNAME_DistributionOrder_PrintFormat_ID, null);
else
set_Value (COLUMNNAME_DistributionOrder_PrintFormat_ID, Integer.valueOf(DistributionOrder_PrintFormat_ID));
}
/** Get Distribution Order Print Format.
@return Print Format for printing Distribution Order
*/
public int getDistributionOrder_PrintFormat_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DistributionOrder_PrintFormat_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Invoice_MailText_ID AD_Reference_ID=274 */ /** Invoice_MailText_ID AD_Reference_ID=274 */
public static final int INVOICE_MAILTEXT_ID_AD_Reference_ID=274; public static final int INVOICE_MAILTEXT_ID_AD_Reference_ID=274;
/** Set Invoice Mail Text. /** Set Invoice Mail Text.
@ -166,6 +216,56 @@ public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** ManufacturingOrder_MailText_ID AD_Reference_ID=274 */
public static final int MANUFACTURINGORDER_MAILTEXT_ID_AD_Reference_ID=274;
/** Set Manufacturing Order Mail Text.
@param ManufacturingOrder_MailText_ID
Email text used for sending Manufacturing Order
*/
public void setManufacturingOrder_MailText_ID (int ManufacturingOrder_MailText_ID)
{
if (ManufacturingOrder_MailText_ID < 1)
set_Value (COLUMNNAME_ManufacturingOrder_MailText_ID, null);
else
set_Value (COLUMNNAME_ManufacturingOrder_MailText_ID, Integer.valueOf(ManufacturingOrder_MailText_ID));
}
/** Get Manufacturing Order Mail Text.
@return Email text used for sending Manufacturing Order
*/
public int getManufacturingOrder_MailText_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_ManufacturingOrder_MailText_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** ManufacturingOrder_PrintFormat_ID AD_Reference_ID=53281 */
public static final int MANUFACTURINGORDER_PRINTFORMAT_ID_AD_Reference_ID=53281;
/** Set Manufacturing Order Print Format.
@param ManufacturingOrder_PrintFormat_ID
Print Format for printing Manufacturing Order
*/
public void setManufacturingOrder_PrintFormat_ID (int ManufacturingOrder_PrintFormat_ID)
{
if (ManufacturingOrder_PrintFormat_ID < 1)
set_Value (COLUMNNAME_ManufacturingOrder_PrintFormat_ID, null);
else
set_Value (COLUMNNAME_ManufacturingOrder_PrintFormat_ID, Integer.valueOf(ManufacturingOrder_PrintFormat_ID));
}
/** Get Manufacturing Order Print Format.
@return Print Format for printing Manufacturing Order
*/
public int getManufacturingOrder_PrintFormat_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_ManufacturingOrder_PrintFormat_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Name. /** Set Name.
@param Name @param Name
Alphanumeric identifier of the entity Alphanumeric identifier of the entity

View File

@ -71,6 +71,8 @@ import org.compiere.util.Env;
import org.compiere.util.Ini; import org.compiere.util.Ini;
import org.compiere.util.Language; import org.compiere.util.Language;
import org.compiere.util.Util; import org.compiere.util.Util;
import org.eevolution.model.X_DD_Order;
import org.eevolution.model.X_PP_Order;
/** /**
* Report Engine. * Report Engine.
@ -1066,27 +1068,32 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
public static final int CHECK = 6; public static final int CHECK = 6;
/** Dunning = 7 */ /** Dunning = 7 */
public static final int DUNNING = 7; public static final int DUNNING = 7;
/** Manufacturing Order = 8 */
public static final int MANUFACTURING_ORDER = 8;
/** Distribution Order = 9 */
public static final int DISTRIBUTION_ORDER = 9;
private static final String[] DOC_TABLES = new String[] { private static final String[] DOC_TABLES = new String[] {
"C_Order_Header_v", "M_InOut_Header_v", "C_Invoice_Header_v", "C_Project_Header_v", "C_Order_Header_v", "M_InOut_Header_v", "C_Invoice_Header_v", "C_Project_Header_v",
"C_RfQResponse_v", "C_RfQResponse_v",
"C_PaySelection_Check_v", "C_PaySelection_Check_v", "C_PaySelection_Check_v", "C_PaySelection_Check_v",
"C_DunningRunEntry_v" }; "C_DunningRunEntry_v","PP_Order_Header_v","DD_Order_Header_v" };
private static final String[] DOC_BASETABLES = new String[] { private static final String[] DOC_BASETABLES = new String[] {
"C_Order", "M_InOut", "C_Invoice", "C_Project", "C_Order", "M_InOut", "C_Invoice", "C_Project",
"C_RfQResponse", "C_RfQResponse",
"C_PaySelectionCheck", "C_PaySelectionCheck", "C_PaySelectionCheck", "C_PaySelectionCheck",
"C_DunningRunEntry" }; "C_DunningRunEntry","PP_Order", "DD_Order"};
private static final String[] DOC_IDS = new String[] { private static final String[] DOC_IDS = new String[] {
"C_Order_ID", "M_InOut_ID", "C_Invoice_ID", "C_Project_ID", "C_Order_ID", "M_InOut_ID", "C_Invoice_ID", "C_Project_ID",
"C_RfQResponse_ID", "C_RfQResponse_ID",
"C_PaySelectionCheck_ID", "C_PaySelectionCheck_ID", "C_PaySelectionCheck_ID", "C_PaySelectionCheck_ID",
"C_DunningRunEntry_ID" }; "C_DunningRunEntry_ID" , "PP_Order_ID" , "DD_Order_ID" };
private static final int[] DOC_TABLE_ID = new int[] { private static final int[] DOC_TABLE_ID = new int[] {
X_C_Order.Table_ID, X_M_InOut.Table_ID, X_C_Invoice.Table_ID, X_C_Project.Table_ID, X_C_Order.Table_ID, X_M_InOut.Table_ID, X_C_Invoice.Table_ID, X_C_Project.Table_ID,
X_C_RfQResponse.Table_ID, X_C_RfQResponse.Table_ID,
X_C_PaySelectionCheck.Table_ID, X_C_PaySelectionCheck.Table_ID, X_C_PaySelectionCheck.Table_ID, X_C_PaySelectionCheck.Table_ID,
X_C_DunningRunEntry.Table_ID }; X_C_DunningRunEntry.Table_ID , X_PP_Order.Table_ID ,X_DD_Order.Table_ID };
/************************************************************************** /**************************************************************************
* Get Document Print Engine for Document Type. * Get Document Print Engine for Document Type.
@ -1126,7 +1133,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
Record_ID = what[1]; Record_ID = what[1];
} }
} // Order } // Order
//
String JobName = DOC_BASETABLES[type] + "_Print"; String JobName = DOC_BASETABLES[type] + "_Print";
int AD_PrintFormat_ID = 0; int AD_PrintFormat_ID = 0;
int C_BPartner_ID = 0; int C_BPartner_ID = 0;
@ -1174,6 +1181,23 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
+ " LEFT OUTER JOIN C_BPartner bp ON (d.C_BPartner_ID=bp.C_BPartner_ID) " + " LEFT OUTER JOIN C_BPartner bp ON (d.C_BPartner_ID=bp.C_BPartner_ID) "
+ "WHERE d.C_Project_ID=?" // info from PrintForm + "WHERE d.C_Project_ID=?" // info from PrintForm
+ " AND pf.AD_Org_ID IN (0,d.AD_Org_ID) ORDER BY pf.AD_Org_ID DESC"; + " AND pf.AD_Org_ID IN (0,d.AD_Org_ID) ORDER BY pf.AD_Org_ID DESC";
else if (type == MANUFACTURING_ORDER)
sql = "SELECT ManufacturingOrder_PrintFormat_ID,"
+ " c.IsMultiLingualDocument,bp.AD_Language, 0 , d.DocumentNo "
+ "FROM PP_Order d"
+ " INNER JOIN AD_Client c ON (d.AD_Client_ID=c.AD_Client_ID)"
+ " INNER JOIN AD_PrintForm pf ON (c.AD_Client_ID=pf.AD_Client_ID)"
+ "WHERE d.PP_Order_ID=?" // info from PrintForm
+ " AND pf.AD_Org_ID IN (0,d.AD_Org_ID) ORDER BY pf.AD_Org_ID DESC";
else if (type == DISTRIBUTION_ORDER)
sql = "SELECT DistributionOrder_PrintFormat_ID,"
+ " c.IsMultiLingualDocument,bp.AD_Language, bp.C_BPartner_ID , d.DocumentNo "
+ "FROM DD_Order d"
+ " INNER JOIN AD_Client c ON (d.AD_Client_ID=c.AD_Client_ID)"
+ " INNER JOIN AD_PrintForm pf ON (c.AD_Client_ID=pf.AD_Client_ID)"
+ " LEFT OUTER JOIN C_BPartner bp ON (d.C_BPartner_ID=bp.C_BPartner_ID) "
+ "WHERE d.DD_Order_ID=?" // info from PrintForm
+ " AND pf.AD_Org_ID IN (0,d.AD_Org_ID) ORDER BY pf.AD_Org_ID DESC";
else if (type == RFQ) else if (type == RFQ)
sql = "SELECT COALESCE(t.AD_PrintFormat_ID, pf.AD_PrintFormat_ID)," sql = "SELECT COALESCE(t.AD_PrintFormat_ID, pf.AD_PrintFormat_ID),"
+ " c.IsMultiLingualDocument,bp.AD_Language,bp.C_BPartner_ID,rr.Name " + " c.IsMultiLingualDocument,bp.AD_Language,bp.C_BPartner_ID,rr.Name "
@ -1194,7 +1218,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
+ " pf.Project_PrintFormat_ID, pf.Remittance_PrintFormat_ID," // 4..5 + " pf.Project_PrintFormat_ID, pf.Remittance_PrintFormat_ID," // 4..5
+ " c.IsMultiLingualDocument, bp.AD_Language," // 6..7 + " c.IsMultiLingualDocument, bp.AD_Language," // 6..7
+ " COALESCE(dt.DocumentCopies,0)+COALESCE(bp.DocumentCopies,1), " // 8 + " COALESCE(dt.DocumentCopies,0)+COALESCE(bp.DocumentCopies,1), " // 8
+ " dt.AD_PrintFormat_ID,bp.C_BPartner_ID,d.DocumentNo " // 9..11 + " dt.AD_PrintFormat_ID,bp.C_BPartner_ID,d.DocumentNo , ManufacturingOrder_PrintFormat_ID , pf.DistributionOrder_PrintFormat_ID " // 9..11 , 12 ,13
+ "FROM " + DOC_BASETABLES[type] + " d" + "FROM " + DOC_BASETABLES[type] + " d"
+ " INNER JOIN AD_Client c ON (d.AD_Client_ID=c.AD_Client_ID)" + " INNER JOIN AD_Client c ON (d.AD_Client_ID=c.AD_Client_ID)"
+ " INNER JOIN AD_PrintForm pf ON (c.AD_Client_ID=pf.AD_Client_ID)" + " INNER JOIN AD_PrintForm pf ON (c.AD_Client_ID=pf.AD_Client_ID)"
@ -1214,7 +1238,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
if (rs.next()) // first record only if (rs.next()) // first record only
{ {
if (type == CHECK || type == DUNNING || type == REMITTANCE if (type == CHECK || type == DUNNING || type == REMITTANCE
|| type == PROJECT || type == RFQ) || type == PROJECT || type == RFQ || type == MANUFACTURING_ORDER || type == DISTRIBUTION_ORDER)
{ {
AD_PrintFormat_ID = rs.getInt(1); AD_PrintFormat_ID = rs.getInt(1);
copies = 1; copies = 1;

View File

@ -22,6 +22,7 @@ import java.util.logging.Level;
import org.compiere.apps.ADialog; import org.compiere.apps.ADialog;
import org.compiere.apps.ProcessCtl; import org.compiere.apps.ProcessCtl;
import org.compiere.model.MPaySelectionCheck; import org.compiere.model.MPaySelectionCheck;
import org.compiere.model.MProcess;
import org.compiere.model.MQuery; import org.compiere.model.MQuery;
import org.compiere.model.MTable; import org.compiere.model.MTable;
import org.compiere.model.PrintInfo; import org.compiere.model.PrintInfo;
@ -104,6 +105,10 @@ public class ReportCtl
*/ */
if (pi.getAD_Process_ID() == 110) // C_Order if (pi.getAD_Process_ID() == 110) // C_Order
return startDocumentPrint(ReportEngine.ORDER, pi.getRecord_ID(), parent, WindowNo, !pi.isPrintPreview()); return startDocumentPrint(ReportEngine.ORDER, pi.getRecord_ID(), parent, WindowNo, !pi.isPrintPreview());
if (pi.getAD_Process_ID() == MProcess.getProcess_ID("Rpt PP_Order", null)) // C_Order
return startDocumentPrint(ReportEngine.MANUFACTURING_ORDER, pi.getRecord_ID(), parent, WindowNo, !pi.isPrintPreview());
if (pi.getAD_Process_ID() == MProcess.getProcess_ID("Rpt DD_Order", null)) // C_Order
return startDocumentPrint(ReportEngine.DISTRIBUTION_ORDER, pi.getRecord_ID(), parent, WindowNo, !pi.isPrintPreview());
else if (pi.getAD_Process_ID() == 116) // C_Invoice else if (pi.getAD_Process_ID() == 116) // C_Invoice
return startDocumentPrint(ReportEngine.INVOICE, pi.getRecord_ID(), parent, WindowNo, !pi.isPrintPreview()); return startDocumentPrint(ReportEngine.INVOICE, pi.getRecord_ID(), parent, WindowNo, !pi.isPrintPreview());
else if (pi.getAD_Process_ID() == 117) // M_InOut else if (pi.getAD_Process_ID() == 117) // M_InOut

View File

@ -1110,3 +1110,659 @@ UPDATE AD_Column SET FieldLength=22,Updated=TO_DATE('2008-07-24 22:19:35','YYYY-
UPDATE AD_Column SET FieldLength=22,Updated=TO_DATE('2008-07-24 22:20:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56190 UPDATE AD_Column SET FieldLength=22,Updated=TO_DATE('2008-07-24 22:20:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56190
; ;
-- Jul 25, 2008 12:41:32 AM CDT
-- Order Distribution
UPDATE AD_Process SET AD_PrintFormat_ID=NULL,Updated=TO_DATE('2008-07-25 00:41:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53028
;
-- Jul 25, 2008 12:42:06 AM CDT
-- Order Distribution
UPDATE AD_Process SET AD_PrintFormat_ID=NULL,Updated=TO_DATE('2008-07-25 00:42:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53044
;
-- Jul 25, 2008 1:09:20 AM CDT
-- Order Distribution
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53670,0,'ManufacturingOrder_MailText_ID',TO_DATE('2008-07-25 01:09:09','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Manufacturing Order','EE01','Standard email template used to send Manufacturing Order as attachments.','Y','Manufacturing Order Mail Text','Manufacturing Order Text',TO_DATE('2008-07-25 01:09:09','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:09:21 AM CDT
-- Order Distribution
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=53670 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Jul 25, 2008 1:11:42 AM CDT
-- Order Distribution
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53671,0,'ManufacturingOrder_PrintFormat_ID',TO_DATE('2008-07-25 01:11:38','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Manufacturing Order','EE01','You need to define a Print Format to print the document.','Y','Manufacturing Order Print Format','Manufacturing Order Print Format',TO_DATE('2008-07-25 01:11:38','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:11:42 AM CDT
-- Order Distribution
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=53671 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Jul 25, 2008 1:12:15 AM CDT
-- Order Distribution
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53672,0,'DistributionOrder_PrintFormat_ID',TO_DATE('2008-07-25 01:12:13','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Distribution Order','EE01','You need to define a Print Format to print the document.','Y','Distribution Order Print Format','Distribution Order Print Format',TO_DATE('2008-07-25 01:12:13','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:12:15 AM CDT
-- Order Distribution
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=53672 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Jul 25, 2008 1:12:52 AM CDT
-- Order Distribution
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53673,0,'DistributionOrder_MailText_ID',TO_DATE('2008-07-25 01:12:52','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Distribution Order','EE01','Standard email template used to send Manufacturing Order as attachments.','Y','Distribution Order Mail Text','Distribution Order Text',TO_DATE('2008-07-25 01:12:52','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:12:52 AM CDT
-- Order Distribution
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=53673 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Jul 25, 2008 1:18:14 AM CDT
-- Order Distribution
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53281,TO_DATE('2008-07-25 01:18:14','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','AD_PrintFormat Order Manufacturing',TO_DATE('2008-07-25 01:18:14','YYYY-MM-DD HH24:MI:SS'),0,'T')
;
-- Jul 25, 2008 1:18:14 AM CDT
-- Order Distribution
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53281 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Jul 25, 2008 1:26:47 AM CDT
-- Order Distribution
INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy,WhereClause) VALUES (0,7019,7026,0,53281,493,TO_DATE('2008-07-25 01:26:45','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N',TO_DATE('2008-07-25 01:26:45','YYYY-MM-DD HH24:MI:SS'),0,'AD_PrintFormat.AD_Table_ID=53027')
;
-- Jul 25, 2008 1:29:25 AM CDT
-- Order Distribution
UPDATE AD_Reference SET Name='AD_PrintFormat Manufacturing Order',Updated=TO_DATE('2008-07-25 01:29:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53281
;
-- Jul 25, 2008 1:29:25 AM CDT
-- Order Distribution
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53281
;
-- Jul 25, 2008 1:29:45 AM CDT
-- Order Distribution
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53282,TO_DATE('2008-07-25 01:29:44','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','AD_PrintFormat Distribution Order',TO_DATE('2008-07-25 01:29:44','YYYY-MM-DD HH24:MI:SS'),0,'T')
;
-- Jul 25, 2008 1:29:45 AM CDT
-- Order Distribution
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53282 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Jul 25, 2008 1:32:17 AM CDT
-- Order Distribution
INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy,WhereClause) VALUES (0,7019,7026,0,53282,493,TO_DATE('2008-07-25 01:32:17','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N',TO_DATE('2008-07-25 01:32:17','YYYY-MM-DD HH24:MI:SS'),0,'AD_PrintFormat.AD_Table_ID=53037')
;
-- Jul 25, 2008 1:33:47 AM CDT
-- Order Distribution
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56242,53670,0,18,274,454,'ManufacturingOrder_MailText_ID',TO_DATE('2008-07-25 01:33:46','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Manufacturing Order','EE01',22,'Standard email template used to send Manufacturing Order as attachments.','Y','N','N','N','N','N','N','N','N','N','Y','Manufacturing Order Mail Text',0,TO_DATE('2008-07-25 01:33:46','YYYY-MM-DD HH24:MI:SS'),0,1)
;
-- Jul 25, 2008 1:33:47 AM CDT
-- Order Distribution
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=56242 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Jul 25, 2008 1:33:53 AM CDT
-- Order Distribution
ALTER TABLE AD_PrintForm ADD ManufacturingOrder_MailText_ID NUMBER(10)
;
-- Jul 25, 2008 1:34:57 AM CDT
-- Order Distribution
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56243,53671,0,18,53281,454,'ManufacturingOrder_PrintFormat_ID',TO_DATE('2008-07-25 01:34:56','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Manufacturing Order','EE01',22,'You need to define a Print Format to print the document.','Y','N','N','N','N','N','N','N','N','N','Y','Manufacturing Order Print Format',0,TO_DATE('2008-07-25 01:34:56','YYYY-MM-DD HH24:MI:SS'),0,1)
;
-- Jul 25, 2008 1:34:57 AM CDT
-- Order Distribution
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=56243 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Jul 25, 2008 1:35:02 AM CDT
-- Order Distribution
ALTER TABLE AD_PrintForm ADD ManufacturingOrder_PrintFormat_ID NUMBER(10)
;
-- Jul 25, 2008 1:35:47 AM CDT
-- Order Distribution
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56244,53673,0,18,274,454,'DistributionOrder_MailText_ID',TO_DATE('2008-07-25 01:35:47','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Distribution Order','EE01',22,'Standard email template used to send Manufacturing Order as attachments.','Y','N','N','N','N','N','N','N','N','N','Y','Distribution Order Mail Text',0,TO_DATE('2008-07-25 01:35:47','YYYY-MM-DD HH24:MI:SS'),0,1)
;
-- Jul 25, 2008 1:35:47 AM CDT
-- Order Distribution
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=56244 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Jul 25, 2008 1:35:51 AM CDT
-- Order Distribution
ALTER TABLE AD_PrintForm ADD DistributionOrder_MailText_ID NUMBER(10)
;
-- Jul 25, 2008 1:36:23 AM CDT
-- Order Distribution
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56245,53672,0,18,53282,454,'DistributionOrder_PrintFormat_ID',TO_DATE('2008-07-25 01:36:22','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Distribution Order','EE01',22,'You need to define a Print Format to print the document.','Y','N','N','N','N','N','N','N','N','N','Y','Distribution Order Print Format',0,TO_DATE('2008-07-25 01:36:22','YYYY-MM-DD HH24:MI:SS'),0,1)
;
-- Jul 25, 2008 1:36:23 AM CDT
-- Order Distribution
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=56245 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Jul 25, 2008 1:36:25 AM CDT
-- Order Distribution
ALTER TABLE AD_PrintForm ADD DistributionOrder_PrintFormat_ID NUMBER(10)
;
-- Jul 25, 2008 1:36:42 AM CDT
-- Order Distribution
ALTER TABLE AD_PrintForm MODIFY DistributionOrder_MailText_ID NUMBER(10) DEFAULT NULL
;
-- Jul 25, 2008 1:38:11 AM CDT
-- Order Distribution
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,56244,56319,0,385,TO_DATE('2008-07-25 01:38:10','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Distribution Order',22,'EE01','Standard email template used to send Manufacturing Order as attachments.','Y','Y','Y','N','N','N','N','N','Distribution Order Mail Text',TO_DATE('2008-07-25 01:38:10','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:38:11 AM CDT
-- Order Distribution
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=56319 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Jul 25, 2008 1:38:12 AM CDT
-- Order Distribution
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,56245,56320,0,385,TO_DATE('2008-07-25 01:38:12','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Distribution Order',22,'EE01','You need to define a Print Format to print the document.','Y','Y','Y','N','N','N','N','N','Distribution Order Print Format',TO_DATE('2008-07-25 01:38:12','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:38:12 AM CDT
-- Order Distribution
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=56320 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Jul 25, 2008 1:38:13 AM CDT
-- Order Distribution
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,56242,56321,0,385,TO_DATE('2008-07-25 01:38:12','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Manufacturing Order',22,'EE01','Standard email template used to send Manufacturing Order as attachments.','Y','Y','Y','N','N','N','N','N','Manufacturing Order Mail Text',TO_DATE('2008-07-25 01:38:12','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:38:13 AM CDT
-- Order Distribution
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=56321 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Jul 25, 2008 1:38:13 AM CDT
-- Order Distribution
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,56243,56322,0,385,TO_DATE('2008-07-25 01:38:13','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Manufacturing Order',22,'EE01','You need to define a Print Format to print the document.','Y','Y','Y','N','N','N','N','N','Manufacturing Order Print Format',TO_DATE('2008-07-25 01:38:13','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:38:13 AM CDT
-- Order Distribution
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=56322 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=4918
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=4919
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=4920
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=4922
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=4923
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=4921
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=5740
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=6222
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=5739
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=6224
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=5741
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=6223
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=5742
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=6225
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=6510
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=6509
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56320
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56319
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56322
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56321
;
-- Jul 25, 2008 1:38:43 AM CDT
-- Order Distribution
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-07-25 01:38:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56319
;
-- Jul 25, 2008 1:38:47 AM CDT
-- Order Distribution
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-07-25 01:38:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56321
;
-- Jul 25, 2008 1:59:58 AM CDT
-- Order Distribution
UPDATE AD_Ref_Table SET WhereClause='AD_PrintFormat.AD_Table_ID=53039',Updated=TO_DATE('2008-07-25 01:59:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53282
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=100,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50360
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=110,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50369
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=120,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50370
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=130,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50371
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=140,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50358
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=150,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50372
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=160,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50359
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=170,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50378
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=180,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50373
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=190,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50374
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=200,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50375
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=210,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50376
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=220,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50377
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=230,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50379
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=240,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50380
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=250,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50381
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=260,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50357
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=270,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50383
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=280,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50384
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=290,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50385
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=300,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50386
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=310,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50387
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=320,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50388
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=330,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50389
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=340,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50390
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=350,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50391
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=360,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50392
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=370,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50393
;
-- Jul 25, 2008 2:17:02 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53926, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:17:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50361
;
-- Jul 25, 2008 2:17:09 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53940, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50362
;
-- Jul 25, 2008 2:17:15 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53929, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50363
;
-- Jul 25, 2008 2:17:27 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53928, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:17:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50364
;
-- Jul 25, 2008 2:17:35 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53951, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:17:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50382
;
-- Jul 25, 2008 2:17:47 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53950, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:17:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50365
;
-- Jul 25, 2008 2:17:57 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53949, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:17:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50366
;
-- Jul 25, 2008 2:18:05 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53948, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:18:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50367
;
-- Jul 25, 2008 2:18:10 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53947, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:18:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50368
;
-- Jul 25, 2008 2:18:16 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53943, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:18:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50360
;
-- Jul 25, 2008 2:18:22 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53965, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:18:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50369
;
-- Jul 25, 2008 2:18:28 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53966, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:18:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50370
;
-- Jul 25, 2008 2:18:33 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53931, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50371
;
-- Jul 25, 2008 2:18:37 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53961, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:18:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50358
;
-- Jul 25, 2008 2:18:51 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53927, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:18:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50372
;
-- Jul 25, 2008 2:18:56 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53937, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50359
;
-- Jul 25, 2008 2:19:01 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53930, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50378
;
-- Jul 25, 2008 2:19:06 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53938, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:19:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50373
;
-- Jul 25, 2008 2:19:11 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53939, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:19:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50374
;
-- Jul 25, 2008 2:19:21 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53953, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50375
;
-- Jul 25, 2008 2:19:26 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53941, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:19:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50376
;
-- Jul 25, 2008 2:19:37 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53944, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:19:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50377
;
-- Jul 25, 2008 2:19:41 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53942, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:19:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50379
;
-- Jul 25, 2008 2:19:47 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53945, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:19:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50380
;
-- Jul 25, 2008 2:20:17 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53946, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:20:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50381
;
-- Jul 25, 2008 2:20:23 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53964, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:20:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50357
;
-- Jul 25, 2008 2:20:35 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53952, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:20:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50383
;
-- Jul 25, 2008 2:20:40 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53932, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:20:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50384
;
-- Jul 25, 2008 2:20:48 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53927, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50385
;
-- Jul 25, 2008 2:21:03 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53928, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:21:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50386
;
-- Jul 25, 2008 2:21:14 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53955, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50387
;
-- Jul 25, 2008 2:21:19 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53956, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50388
;
-- Jul 25, 2008 2:21:26 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53957, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:21:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50389
;
-- Jul 25, 2008 2:21:32 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53963, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50390
;
-- Jul 25, 2008 2:21:43 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53933, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:21:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50391
;
-- Jul 25, 2008 2:21:50 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53960, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50392
;
-- Jul 25, 2008 2:21:56 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53962, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-07-25 02:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50393
;
-- Jul 25, 2008 2:23:13 AM CDT
-- Order Distribution
DELETE FROM AD_PrintFormatItem_Trl WHERE AD_PrintFormatItem_ID=50372
;
-- Jul 25, 2008 2:23:14 AM CDT
-- Order Distribution
DELETE FROM AD_PrintFormatItem WHERE AD_PrintFormatItem_ID=50372
;
-- Jul 25, 2008 2:23:28 AM CDT
-- Order Distribution
DELETE FROM AD_PrintFormatItem_Trl WHERE AD_PrintFormatItem_ID=50386
;
-- Jul 25, 2008 2:23:28 AM CDT
-- Order Distribution
DELETE FROM AD_PrintFormatItem WHERE AD_PrintFormatItem_ID=50386
;

View File

@ -1108,3 +1108,658 @@ UPDATE AD_Column SET FieldLength=22,Updated=TO_TIMESTAMP('2008-07-24 22:19:35','
UPDATE AD_Column SET FieldLength=22,Updated=TO_TIMESTAMP('2008-07-24 22:20:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56190 UPDATE AD_Column SET FieldLength=22,Updated=TO_TIMESTAMP('2008-07-24 22:20:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56190
; ;
-- Jul 25, 2008 12:41:32 AM CDT
-- Order Distribution
UPDATE AD_Process SET AD_PrintFormat_ID=NULL,Updated=TO_TIMESTAMP('2008-07-25 00:41:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53028
;
-- Jul 25, 2008 12:42:06 AM CDT
-- Order Distribution
UPDATE AD_Process SET AD_PrintFormat_ID=NULL,Updated=TO_TIMESTAMP('2008-07-25 00:42:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53044
;
-- Jul 25, 2008 1:09:20 AM CDT
-- Order Distribution
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53670,0,'ManufacturingOrder_MailText_ID',TO_TIMESTAMP('2008-07-25 01:09:09','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Manufacturing Order','EE01','Standard email template used to send Manufacturing Order as attachments.','Y','Manufacturing Order Mail Text','Manufacturing Order Text',TO_TIMESTAMP('2008-07-25 01:09:09','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:09:21 AM CDT
-- Order Distribution
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=53670 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Jul 25, 2008 1:11:42 AM CDT
-- Order Distribution
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53671,0,'ManufacturingOrder_PrintFormat_ID',TO_TIMESTAMP('2008-07-25 01:11:38','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Manufacturing Order','EE01','You need to define a Print Format to print the document.','Y','Manufacturing Order Print Format','Manufacturing Order Print Format',TO_TIMESTAMP('2008-07-25 01:11:38','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:11:42 AM CDT
-- Order Distribution
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=53671 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Jul 25, 2008 1:12:15 AM CDT
-- Order Distribution
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53672,0,'DistributionOrder_PrintFormat_ID',TO_TIMESTAMP('2008-07-25 01:12:13','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Distribution Order','EE01','You need to define a Print Format to print the document.','Y','Distribution Order Print Format','Distribution Order Print Format',TO_TIMESTAMP('2008-07-25 01:12:13','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:12:15 AM CDT
-- Order Distribution
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=53672 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Jul 25, 2008 1:12:52 AM CDT
-- Order Distribution
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53673,0,'DistributionOrder_MailText_ID',TO_TIMESTAMP('2008-07-25 01:12:52','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Distribution Order','EE01','Standard email template used to send Manufacturing Order as attachments.','Y','Distribution Order Mail Text','Distribution Order Text',TO_TIMESTAMP('2008-07-25 01:12:52','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:12:52 AM CDT
-- Order Distribution
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=53673 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Jul 25, 2008 1:18:14 AM CDT
-- Order Distribution
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53281,TO_TIMESTAMP('2008-07-25 01:18:14','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','AD_PrintFormat Order Manufacturing',TO_TIMESTAMP('2008-07-25 01:18:14','YYYY-MM-DD HH24:MI:SS'),0,'T')
;
-- Jul 25, 2008 1:18:14 AM CDT
-- Order Distribution
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53281 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Jul 25, 2008 1:26:47 AM CDT
-- Order Distribution
INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy,WhereClause) VALUES (0,7019,7026,0,53281,493,TO_TIMESTAMP('2008-07-25 01:26:45','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N',TO_TIMESTAMP('2008-07-25 01:26:45','YYYY-MM-DD HH24:MI:SS'),0,'AD_PrintFormat.AD_Table_ID=53027')
;
-- Jul 25, 2008 1:29:25 AM CDT
-- Order Distribution
UPDATE AD_Reference SET Name='AD_PrintFormat Manufacturing Order',Updated=TO_TIMESTAMP('2008-07-25 01:29:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53281
;
-- Jul 25, 2008 1:29:25 AM CDT
-- Order Distribution
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53281
;
-- Jul 25, 2008 1:29:45 AM CDT
-- Order Distribution
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53282,TO_TIMESTAMP('2008-07-25 01:29:44','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','AD_PrintFormat Distribution Order',TO_TIMESTAMP('2008-07-25 01:29:44','YYYY-MM-DD HH24:MI:SS'),0,'T')
;
-- Jul 25, 2008 1:29:45 AM CDT
-- Order Distribution
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53282 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Jul 25, 2008 1:32:17 AM CDT
-- Order Distribution
INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy,WhereClause) VALUES (0,7019,7026,0,53282,493,TO_TIMESTAMP('2008-07-25 01:32:17','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N',TO_TIMESTAMP('2008-07-25 01:32:17','YYYY-MM-DD HH24:MI:SS'),0,'AD_PrintFormat.AD_Table_ID=53037')
;
-- Jul 25, 2008 1:33:47 AM CDT
-- Order Distribution
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56242,53670,0,18,274,454,'ManufacturingOrder_MailText_ID',TO_TIMESTAMP('2008-07-25 01:33:46','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Manufacturing Order','EE01',22,'Standard email template used to send Manufacturing Order as attachments.','Y','N','N','N','N','N','N','N','N','N','Y','Manufacturing Order Mail Text',0,TO_TIMESTAMP('2008-07-25 01:33:46','YYYY-MM-DD HH24:MI:SS'),0,1)
;
-- Jul 25, 2008 1:33:47 AM CDT
-- Order Distribution
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=56242 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Jul 25, 2008 1:33:53 AM CDT
-- Order Distribution
ALTER TABLE AD_PrintForm ADD COLUMN ManufacturingOrder_MailText_ID NUMERIC(10)
;
-- Jul 25, 2008 1:34:57 AM CDT
-- Order Distribution
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56243,53671,0,18,53281,454,'ManufacturingOrder_PrintFormat_ID',TO_TIMESTAMP('2008-07-25 01:34:56','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Manufacturing Order','EE01',22,'You need to define a Print Format to print the document.','Y','N','N','N','N','N','N','N','N','N','Y','Manufacturing Order Print Format',0,TO_TIMESTAMP('2008-07-25 01:34:56','YYYY-MM-DD HH24:MI:SS'),0,1)
;
-- Jul 25, 2008 1:34:57 AM CDT
-- Order Distribution
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=56243 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Jul 25, 2008 1:35:02 AM CDT
-- Order Distribution
ALTER TABLE AD_PrintForm ADD COLUMN ManufacturingOrder_PrintFormat_ID NUMERIC(10)
;
-- Jul 25, 2008 1:35:47 AM CDT
-- Order Distribution
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56244,53673,0,18,274,454,'DistributionOrder_MailText_ID',TO_TIMESTAMP('2008-07-25 01:35:47','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Distribution Order','EE01',22,'Standard email template used to send Manufacturing Order as attachments.','Y','N','N','N','N','N','N','N','N','N','Y','Distribution Order Mail Text',0,TO_TIMESTAMP('2008-07-25 01:35:47','YYYY-MM-DD HH24:MI:SS'),0,1)
;
-- Jul 25, 2008 1:35:47 AM CDT
-- Order Distribution
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=56244 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Jul 25, 2008 1:35:51 AM CDT
-- Order Distribution
ALTER TABLE AD_PrintForm ADD COLUMN DistributionOrder_MailText_ID NUMERIC(10)
;
-- Jul 25, 2008 1:36:23 AM CDT
-- Order Distribution
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56245,53672,0,18,53282,454,'DistributionOrder_PrintFormat_ID',TO_TIMESTAMP('2008-07-25 01:36:22','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Distribution Order','EE01',22,'You need to define a Print Format to print the document.','Y','N','N','N','N','N','N','N','N','N','Y','Distribution Order Print Format',0,TO_TIMESTAMP('2008-07-25 01:36:22','YYYY-MM-DD HH24:MI:SS'),0,1)
;
-- Jul 25, 2008 1:36:23 AM CDT
-- Order Distribution
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=56245 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Jul 25, 2008 1:36:25 AM CDT
-- Order Distribution
ALTER TABLE AD_PrintForm ADD COLUMN DistributionOrder_PrintFormat_ID NUMERIC(10)
;
-- Jul 25, 2008 1:36:42 AM CDT
-- Order Distribution
insert into t_alter_column values('ad_printform','DistributionOrder_MailText_ID','NUMERIC(10)',null,'NULL')
;
-- Jul 25, 2008 1:38:11 AM CDT
-- Order Distribution
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,56244,56319,0,385,TO_TIMESTAMP('2008-07-25 01:38:10','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Distribution Order',22,'EE01','Standard email template used to send Manufacturing Order as attachments.','Y','Y','Y','N','N','N','N','N','Distribution Order Mail Text',TO_TIMESTAMP('2008-07-25 01:38:10','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:38:11 AM CDT
-- Order Distribution
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=56319 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Jul 25, 2008 1:38:12 AM CDT
-- Order Distribution
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,56245,56320,0,385,TO_TIMESTAMP('2008-07-25 01:38:12','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Distribution Order',22,'EE01','You need to define a Print Format to print the document.','Y','Y','Y','N','N','N','N','N','Distribution Order Print Format',TO_TIMESTAMP('2008-07-25 01:38:12','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:38:12 AM CDT
-- Order Distribution
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=56320 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Jul 25, 2008 1:38:13 AM CDT
-- Order Distribution
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,56242,56321,0,385,TO_TIMESTAMP('2008-07-25 01:38:12','YYYY-MM-DD HH24:MI:SS'),0,'Email text used for sending Manufacturing Order',22,'EE01','Standard email template used to send Manufacturing Order as attachments.','Y','Y','Y','N','N','N','N','N','Manufacturing Order Mail Text',TO_TIMESTAMP('2008-07-25 01:38:12','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:38:13 AM CDT
-- Order Distribution
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=56321 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Jul 25, 2008 1:38:13 AM CDT
-- Order Distribution
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,56243,56322,0,385,TO_TIMESTAMP('2008-07-25 01:38:13','YYYY-MM-DD HH24:MI:SS'),0,'Print Format for printing Manufacturing Order',22,'EE01','You need to define a Print Format to print the document.','Y','Y','Y','N','N','N','N','N','Manufacturing Order Print Format',TO_TIMESTAMP('2008-07-25 01:38:13','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 25, 2008 1:38:13 AM CDT
-- Order Distribution
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=56322 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=4918
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=4919
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=4920
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=4922
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=4923
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=4921
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=5740
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=6222
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=5739
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=6224
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=5741
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=6223
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=5742
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=6225
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=6510
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=6509
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56320
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56319
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56322
;
-- Jul 25, 2008 1:38:33 AM CDT
-- Order Distribution
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56321
;
-- Jul 25, 2008 1:38:43 AM CDT
-- Order Distribution
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-07-25 01:38:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56319
;
-- Jul 25, 2008 1:38:47 AM CDT
-- Order Distribution
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-07-25 01:38:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56321
;
-- Jul 25, 2008 1:59:58 AM CDT
-- Order Distribution
UPDATE AD_Ref_Table SET WhereClause='AD_PrintFormat.AD_Table_ID=53039',Updated=TO_TIMESTAMP('2008-07-25 01:59:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53282
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=100,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50360
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=110,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50369
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=120,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50370
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=130,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50371
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=140,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50358
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=150,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50372
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=160,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50359
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=170,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50378
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=180,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50373
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=190,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50374
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=200,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50375
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=210,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50376
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=220,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50377
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=230,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50379
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=240,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50380
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=250,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50381
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=260,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50357
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=270,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50383
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=280,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50384
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=290,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50385
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=300,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50386
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=310,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50387
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=320,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50388
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=330,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50389
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=340,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50390
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=350,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50391
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=360,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50392
;
-- Jul 25, 2008 2:16:49 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET SeqNo=370,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50393
;
-- Jul 25, 2008 2:17:02 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53926, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:17:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50361
;
-- Jul 25, 2008 2:17:09 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53940, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50362
;
-- Jul 25, 2008 2:17:15 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53929, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50363
;
-- Jul 25, 2008 2:17:27 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53928, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:17:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50364
;
-- Jul 25, 2008 2:17:35 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53951, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:17:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50382
;
-- Jul 25, 2008 2:17:47 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53950, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:17:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50365
;
-- Jul 25, 2008 2:17:57 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53949, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:17:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50366
;
-- Jul 25, 2008 2:18:05 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53948, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:18:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50367
;
-- Jul 25, 2008 2:18:10 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53947, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:18:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50368
;
-- Jul 25, 2008 2:18:16 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53943, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:18:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50360
;
-- Jul 25, 2008 2:18:22 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53965, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:18:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50369
;
-- Jul 25, 2008 2:18:28 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53966, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:18:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50370
;
-- Jul 25, 2008 2:18:33 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53931, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50371
;
-- Jul 25, 2008 2:18:37 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53961, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:18:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50358
;
-- Jul 25, 2008 2:18:51 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53927, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:18:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50372
;
-- Jul 25, 2008 2:18:56 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53937, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50359
;
-- Jul 25, 2008 2:19:01 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53930, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50378
;
-- Jul 25, 2008 2:19:06 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53938, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:19:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50373
;
-- Jul 25, 2008 2:19:11 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53939, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:19:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50374
;
-- Jul 25, 2008 2:19:21 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53953, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50375
;
-- Jul 25, 2008 2:19:26 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53941, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:19:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50376
;
-- Jul 25, 2008 2:19:37 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53944, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:19:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50377
;
-- Jul 25, 2008 2:19:41 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53942, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:19:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50379
;
-- Jul 25, 2008 2:19:47 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53945, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:19:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50380
;
-- Jul 25, 2008 2:20:17 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53946, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:20:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50381
;
-- Jul 25, 2008 2:20:23 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53964, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:20:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50357
;
-- Jul 25, 2008 2:20:35 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53952, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:20:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50383
;
-- Jul 25, 2008 2:20:40 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53932, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:20:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50384
;
-- Jul 25, 2008 2:20:48 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53927, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50385
;
-- Jul 25, 2008 2:21:03 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53928, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:21:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50386
;
-- Jul 25, 2008 2:21:14 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53955, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50387
;
-- Jul 25, 2008 2:21:19 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53956, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50388
;
-- Jul 25, 2008 2:21:26 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53957, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:21:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50389
;
-- Jul 25, 2008 2:21:32 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53963, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50390
;
-- Jul 25, 2008 2:21:43 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53933, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:21:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50391
;
-- Jul 25, 2008 2:21:50 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53960, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50392
;
-- Jul 25, 2008 2:21:56 AM CDT
-- Order Distribution
UPDATE AD_PrintFormatItem SET AD_Column_ID=53962, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-07-25 02:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50393
;
-- Jul 25, 2008 2:23:13 AM CDT
-- Order Distribution
DELETE FROM AD_PrintFormatItem_Trl WHERE AD_PrintFormatItem_ID=50372
;
-- Jul 25, 2008 2:23:14 AM CDT
-- Order Distribution
DELETE FROM AD_PrintFormatItem WHERE AD_PrintFormatItem_ID=50372
;
-- Jul 25, 2008 2:23:28 AM CDT
-- Order Distribution
DELETE FROM AD_PrintFormatItem_Trl WHERE AD_PrintFormatItem_ID=50386
;
-- Jul 25, 2008 2:23:28 AM CDT
-- Order Distribution
DELETE FROM AD_PrintFormatItem WHERE AD_PrintFormatItem_ID=50386
;