FR [2970674] - Import Order: Import Delivery Rule
https://sourceforge.net/tracker/?func=detail&aid=2970674&group_id=176962&atid=883808
This commit is contained in:
parent
7919d14636
commit
4b73c696ba
|
@ -348,6 +348,26 @@ public interface I_I_Order
|
|||
|
||||
public I_C_OrderLine getC_OrderLine() throws RuntimeException;
|
||||
|
||||
/** Column name C_OrderSource_ID */
|
||||
public static final String COLUMNNAME_C_OrderSource_ID = "C_OrderSource_ID";
|
||||
|
||||
/** Set Order Source */
|
||||
public void setC_OrderSource_ID (int C_OrderSource_ID);
|
||||
|
||||
/** Get Order Source */
|
||||
public int getC_OrderSource_ID();
|
||||
|
||||
public I_C_OrderSource getC_OrderSource() throws RuntimeException;
|
||||
|
||||
/** Column name C_OrderSourceValue */
|
||||
public static final String COLUMNNAME_C_OrderSourceValue = "C_OrderSourceValue";
|
||||
|
||||
/** Set Order Source Key */
|
||||
public void setC_OrderSourceValue (String C_OrderSourceValue);
|
||||
|
||||
/** Get Order Source Key */
|
||||
public String getC_OrderSourceValue();
|
||||
|
||||
/** Column name CountryCode */
|
||||
public static final String COLUMNNAME_CountryCode = "CountryCode";
|
||||
|
||||
|
@ -478,6 +498,19 @@ public interface I_I_Order
|
|||
*/
|
||||
public Timestamp getDateOrdered();
|
||||
|
||||
/** Column name DeliveryRule */
|
||||
public static final String COLUMNNAME_DeliveryRule = "DeliveryRule";
|
||||
|
||||
/** Set Delivery Rule.
|
||||
* Defines the timing of Delivery
|
||||
*/
|
||||
public void setDeliveryRule (String DeliveryRule);
|
||||
|
||||
/** Get Delivery Rule.
|
||||
* Defines the timing of Delivery
|
||||
*/
|
||||
public String getDeliveryRule();
|
||||
|
||||
/** Column name Description */
|
||||
public static final String COLUMNNAME_Description = "Description";
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20090915L;
|
||||
private static final long serialVersionUID = 20100315L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_I_Order (Properties ctx, int I_Order_ID, String trxName)
|
||||
|
@ -562,6 +562,45 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_OrderSource getC_OrderSource() throws RuntimeException
|
||||
{
|
||||
return (I_C_OrderSource)MTable.get(getCtx(), I_C_OrderSource.Table_Name)
|
||||
.getPO(getC_OrderSource_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Order Source.
|
||||
@param C_OrderSource_ID Order Source */
|
||||
public void setC_OrderSource_ID (int C_OrderSource_ID)
|
||||
{
|
||||
if (C_OrderSource_ID < 1)
|
||||
set_Value (COLUMNNAME_C_OrderSource_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_OrderSource_ID, Integer.valueOf(C_OrderSource_ID));
|
||||
}
|
||||
|
||||
/** Get Order Source.
|
||||
@return Order Source */
|
||||
public int getC_OrderSource_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_OrderSource_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Order Source Key.
|
||||
@param C_OrderSourceValue Order Source Key */
|
||||
public void setC_OrderSourceValue (String C_OrderSourceValue)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_OrderSourceValue, C_OrderSourceValue);
|
||||
}
|
||||
|
||||
/** Get Order Source Key.
|
||||
@return Order Source Key */
|
||||
public String getC_OrderSourceValue ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_OrderSourceValue);
|
||||
}
|
||||
|
||||
/** Set ISO Country Code.
|
||||
@param CountryCode
|
||||
Upper-case two-letter alphanumeric ISO Country code according to ISO 3166-1 - http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html
|
||||
|
@ -753,6 +792,38 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent
|
|||
return (Timestamp)get_Value(COLUMNNAME_DateOrdered);
|
||||
}
|
||||
|
||||
/** DeliveryRule AD_Reference_ID=151 */
|
||||
public static final int DELIVERYRULE_AD_Reference_ID=151;
|
||||
/** After Receipt = R */
|
||||
public static final String DELIVERYRULE_AfterReceipt = "R";
|
||||
/** Availability = A */
|
||||
public static final String DELIVERYRULE_Availability = "A";
|
||||
/** Complete Line = L */
|
||||
public static final String DELIVERYRULE_CompleteLine = "L";
|
||||
/** Complete Order = O */
|
||||
public static final String DELIVERYRULE_CompleteOrder = "O";
|
||||
/** Force = F */
|
||||
public static final String DELIVERYRULE_Force = "F";
|
||||
/** Manual = M */
|
||||
public static final String DELIVERYRULE_Manual = "M";
|
||||
/** Set Delivery Rule.
|
||||
@param DeliveryRule
|
||||
Defines the timing of Delivery
|
||||
*/
|
||||
public void setDeliveryRule (String DeliveryRule)
|
||||
{
|
||||
|
||||
set_Value (COLUMNNAME_DeliveryRule, DeliveryRule);
|
||||
}
|
||||
|
||||
/** Get Delivery Rule.
|
||||
@return Defines the timing of Delivery
|
||||
*/
|
||||
public String getDeliveryRule ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_DeliveryRule);
|
||||
}
|
||||
|
||||
/** Set Description.
|
||||
@param Description
|
||||
Optional short description of the record
|
||||
|
|
|
@ -681,6 +681,9 @@ public class ImportOrder extends SvrProcess
|
|||
order.setClientOrg (imp.getAD_Client_ID(), imp.getAD_Org_ID());
|
||||
order.setC_DocTypeTarget_ID(imp.getC_DocType_ID());
|
||||
order.setIsSOTrx(imp.isSOTrx());
|
||||
if (imp.getDeliveryRule() != null ) {
|
||||
order.setDeliveryRule(imp.getDeliveryRule());
|
||||
}
|
||||
if (imp.getDocumentNo() != null)
|
||||
order.setDocumentNo(imp.getDocumentNo());
|
||||
// Ship Partner
|
||||
|
|
|
@ -0,0 +1,270 @@
|
|||
-- Mar 15, 2010 2:26:39 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
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,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59074,555,0,17,151,591,'DeliveryRule',TO_DATE('2010-03-15 14:26:38','YYYY-MM-DD HH24:MI:SS'),100,'Defines the timing of Delivery','D',1,'The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Delivery Rule',0,TO_DATE('2010-03-15 14:26:38','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:26:39 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
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=59074 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)
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:26:47 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
ALTER TABLE I_Order ADD DeliveryRule CHAR(1) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:29:10 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
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,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59074,58786,0,512,TO_DATE('2010-03-15 14:29:09','YYYY-MM-DD HH24:MI:SS'),100,'Defines the timing of Delivery',0,'D','The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.','Y','Y','Y','N','N','N','N','N','Delivery Rule',610,0,TO_DATE('2010-03-15 14:29:09','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:29:10 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
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=58786 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)
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=58786
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=7330
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=7339
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=7325
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=7341
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=7346
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=7345
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=7331
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=7317
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=7360
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=7354
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=7340
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=7645
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=7332
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=7353
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=7361
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=7358
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=7350
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=7640
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=7644
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=7641
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=7326
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=7642
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=7643
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=7343
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=8262
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=8263
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=7329
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=7357
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=56402
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=56403
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=7351
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=7316
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=7321
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=7348
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=7320
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=7349
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=7314
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=520,IsDisplayed='Y' WHERE AD_Field_ID=7344
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=530,IsDisplayed='Y' WHERE AD_Field_ID=7342
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=540,IsDisplayed='Y' WHERE AD_Field_ID=7333
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=550,IsDisplayed='Y' WHERE AD_Field_ID=7693
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=560,IsDisplayed='Y' WHERE AD_Field_ID=7313
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=570,IsDisplayed='Y' WHERE AD_Field_ID=7352
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=580,IsDisplayed='Y' WHERE AD_Field_ID=58779
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=590,IsDisplayed='Y' WHERE AD_Field_ID=58780
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=600,IsDisplayed='Y' WHERE AD_Field_ID=7327
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=610,IsDisplayed='Y' WHERE AD_Field_ID=7335
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:32:18 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-03-15 14:32:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58786
|
||||
;
|
||||
|
|
@ -0,0 +1,270 @@
|
|||
-- Mar 15, 2010 2:26:39 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
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,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59074,555,0,17,151,591,'DeliveryRule',TO_TIMESTAMP('2010-03-15 14:26:38','YYYY-MM-DD HH24:MI:SS'),100,'Defines the timing of Delivery','D',1,'The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Delivery Rule',0,TO_TIMESTAMP('2010-03-15 14:26:38','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:26:39 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
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=59074 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)
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:26:47 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
ALTER TABLE I_Order ADD COLUMN DeliveryRule CHAR(1) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:29:10 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
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,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59074,58786,0,512,TO_TIMESTAMP('2010-03-15 14:29:09','YYYY-MM-DD HH24:MI:SS'),100,'Defines the timing of Delivery',0,'D','The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.','Y','Y','Y','N','N','N','N','N','Delivery Rule',610,0,TO_TIMESTAMP('2010-03-15 14:29:09','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:29:10 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
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=58786 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)
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=58786
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=7330
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=7339
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=7325
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=7341
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=7346
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=7345
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=7331
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=7317
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=7360
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=7354
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=7340
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=7645
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=7332
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=7353
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=7361
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=7358
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=7350
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=7640
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=7644
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=7641
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=7326
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=7642
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=7643
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=7343
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=8262
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=8263
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=7329
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=7357
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=56402
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=56403
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=7351
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=7316
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=7321
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=7348
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=7320
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=7349
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=7314
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=520,IsDisplayed='Y' WHERE AD_Field_ID=7344
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=530,IsDisplayed='Y' WHERE AD_Field_ID=7342
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=540,IsDisplayed='Y' WHERE AD_Field_ID=7333
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:44 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=550,IsDisplayed='Y' WHERE AD_Field_ID=7693
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=560,IsDisplayed='Y' WHERE AD_Field_ID=7313
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=570,IsDisplayed='Y' WHERE AD_Field_ID=7352
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=580,IsDisplayed='Y' WHERE AD_Field_ID=58779
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=590,IsDisplayed='Y' WHERE AD_Field_ID=58780
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=600,IsDisplayed='Y' WHERE AD_Field_ID=7327
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:31:45 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET SeqNo=610,IsDisplayed='Y' WHERE AD_Field_ID=7335
|
||||
;
|
||||
|
||||
-- Mar 15, 2010 2:32:18 PM CET
|
||||
-- Import Order: Import Delivery Rule
|
||||
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-03-15 14:32:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58786
|
||||
;
|
||||
|
Loading…
Reference in New Issue