Skip to content

Commit

Permalink
Window Distribution Order enhancements
Browse files Browse the repository at this point in the history
refs: #6713
  • Loading branch information
pvpurcarcosmin committed May 28, 2020
1 parent 40859de commit 649bcdc
Show file tree
Hide file tree
Showing 10 changed files with 656 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,27 @@ public interface I_DD_Order
/** Column name M_Shipper_ID */
public static final String COLUMNNAME_M_Shipper_ID = "M_Shipper_ID";

/**
* Set Warehouse from.
*
* <br>Type: Search
* <br>Mandatory: true
* <br>Virtual Column: false
*/
public void setM_Warehouse_From_ID (int M_Warehouse_From_ID);

/**
* Get Warehouse from.
*
* <br>Type: Search
* <br>Mandatory: true
* <br>Virtual Column: false
*/
public int getM_Warehouse_From_ID();

/** Column name M_Warehouse_From_ID */
public static final String COLUMNNAME_M_Warehouse_From_ID = "M_Warehouse_From_ID";

/**
* Set Lager.
* Storage Warehouse and Service Point
Expand Down Expand Up @@ -1113,6 +1134,27 @@ public interface I_DD_Order
/** Column name M_Warehouse_ID */
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";

/**
* Set Warehouse to.
*
* <br>Type: Search
* <br>Mandatory: true
* <br>Virtual Column: false
*/
public void setM_Warehouse_To_ID (int M_Warehouse_To_ID);

/**
* Get Warehouse to.
*
* <br>Type: Search
* <br>Mandatory: true
* <br>Virtual Column: false
*/
public int getM_Warehouse_To_ID();

/** Column name M_Warehouse_To_ID */
public static final String COLUMNNAME_M_Warehouse_To_ID = "M_Warehouse_To_ID";

/**
* Set MRP Allow Cleanup.
* MRP is allowed to remove this document
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;

import static org.eevolution.model.I_DD_Order.COLUMNNAME_IsApproved;

import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
Expand All @@ -17,7 +15,7 @@ public class X_DD_Order extends org.compiere.model.PO implements I_DD_Order, org
/**
*
*/
private static final long serialVersionUID = -1609246920L;
private static final long serialVersionUID = -936086873L;

/** Standard Constructor */
public X_DD_Order (Properties ctx, int DD_Order_ID, String trxName)
Expand All @@ -42,7 +40,9 @@ public X_DD_Order (Properties ctx, int DD_Order_ID, String trxName)
setIsInTransit (false); // N
setIsPrinted (false); // N
setIsSOTrx (false); // @IsSOTrx@
setM_Warehouse_From_ID (0); // 540008
setM_Warehouse_ID (0);
setM_Warehouse_To_ID (0); // 540005
setMRP_AllowCleanup (false); // N
setMRP_Generated (false); // N
setMRP_ToDelete (false); // N
Expand Down Expand Up @@ -627,7 +627,7 @@ public int getDD_Order_ID ()
return ii.intValue();
}

// /**
// /**
// * DeliveryRule AD_Reference_ID=151
// * Reference name: C_Order DeliveryRule
// */
Expand Down Expand Up @@ -988,7 +988,7 @@ public boolean isDropShip ()
}

/** Set In Dispute.
@param IsInDispute
@param IsInDispute
Document is in dispute
*/
@Override
Expand Down Expand Up @@ -1187,6 +1187,50 @@ public int getM_Warehouse_ID ()
return 0;
return ii.intValue();
}
/** Set Warehouse from.
@param M_Warehouse_From_ID Warehouse from */
@Override
public void setM_Warehouse_From_ID (int M_Warehouse_From_ID)
{
if (M_Warehouse_From_ID < 1)
set_Value (COLUMNNAME_M_Warehouse_From_ID, null);
else
set_Value (COLUMNNAME_M_Warehouse_From_ID, Integer.valueOf(M_Warehouse_From_ID));
}

/** Get Warehouse from.
@return Warehouse from */
@Override
public int getM_Warehouse_From_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_Warehouse_From_ID);
if (ii == null)
return 0;
return ii.intValue();
}


/** Set Warehouse to.
@param M_Warehouse_To_ID Warehouse to */
@Override
public void setM_Warehouse_To_ID (int M_Warehouse_To_ID)
{
if (M_Warehouse_To_ID < 1)
set_Value (COLUMNNAME_M_Warehouse_To_ID, null);
else
set_Value (COLUMNNAME_M_Warehouse_To_ID, Integer.valueOf(M_Warehouse_To_ID));
}

/** Get Warehouse to.
@return Warehouse to */
@Override
public int getM_Warehouse_To_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_Warehouse_To_ID);
if (ii == null)
return 0;
return ii.intValue();
}

/** Set MRP Allow Cleanup.
@param MRP_AllowCleanup
Expand Down Expand Up @@ -1435,7 +1479,7 @@ public java.lang.String getPriorityRule ()

/** Set Verarbeitet.
@param Processed
Checkbox sagt aus, ob der Beleg verarbeitet wurde.
Checkbox sagt aus, ob der Beleg verarbeitet wurde.
*/
@Override
public void setProcessed (boolean Processed)
Expand All @@ -1444,7 +1488,7 @@ public void setProcessed (boolean Processed)
}

/** Get Verarbeitet.
@return Checkbox sagt aus, ob der Beleg verarbeitet wurde.
@return Checkbox sagt aus, ob der Beleg verarbeitet wurde.
*/
@Override
public boolean isProcessed ()
Expand Down Expand Up @@ -1696,4 +1740,4 @@ public java.math.BigDecimal getWeight ()
return BigDecimal.ZERO;
return bd;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,7 @@
* #L%
*/

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.adempiere.ad.trx.api.ITrxManager;
import org.adempiere.model.InterfaceWrapperHelper;
import org.compiere.model.I_M_MovementLine;
import org.eevolution.api.IDDOrderBL;
import org.eevolution.api.IDDOrderDAO;
import org.eevolution.api.IDDOrderMovementBuilder;
import org.eevolution.model.I_DD_Order;
import org.eevolution.model.I_DD_OrderLine;
import org.eevolution.model.I_DD_OrderLine_Alternative;
import org.eevolution.model.I_DD_OrderLine_Or_Alternative;
import org.slf4j.Logger;

import com.google.common.collect.ImmutableList;

import de.metas.handlingunits.IHUContextFactory;
import de.metas.handlingunits.ddorder.api.IHUDDOrderBL;
import de.metas.handlingunits.exceptions.HUException;
Expand All @@ -61,6 +37,28 @@
import de.metas.util.Services;
import de.metas.util.time.SystemTime;
import lombok.NonNull;
import org.adempiere.ad.trx.api.ITrxManager;
import org.adempiere.model.InterfaceWrapperHelper;
import org.compiere.model.I_M_MovementLine;
import org.eevolution.api.IDDOrderBL;
import org.eevolution.api.IDDOrderDAO;
import org.eevolution.api.IDDOrderMovementBuilder;
import org.eevolution.model.I_DD_Order;
import org.eevolution.model.I_DD_OrderLine;
import org.eevolution.model.I_DD_OrderLine_Alternative;
import org.eevolution.model.I_DD_OrderLine_Or_Alternative;
import org.slf4j.Logger;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
* Allocate {@link IHUProductStorage}s to a set of given {@link I_DD_OrderLine_Alternative}s and generate material movements.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
-- 2020-05-25T08:07:21.440Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,577736,0,'M_Warehouse_From_ID',TO_TIMESTAMP('2020-05-25 11:07:21','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Warehouse from','Warehouse from',TO_TIMESTAMP('2020-05-25 11:07:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- 2020-05-25T08:07:21.459Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, CommitWarning,Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName,WEBUI_NameBrowse,WEBUI_NameNew,WEBUI_NameNewBreadcrumb, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Element_ID, t.CommitWarning,t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName,t.WEBUI_NameBrowse,t.WEBUI_NameNew,t.WEBUI_NameNewBreadcrumb, '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' OR l.IsBaseLanguage='Y') AND t.AD_Element_ID=577736 AND NOT EXISTS (SELECT 1 FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;

-- 2020-05-25T08:09:58.846Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,577737,0,'M_Warehouse_To_ID',TO_TIMESTAMP('2020-05-25 11:09:58','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Warehouse to','Warehouse to',TO_TIMESTAMP('2020-05-25 11:09:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- 2020-05-25T08:09:58.847Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, CommitWarning,Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName,WEBUI_NameBrowse,WEBUI_NameNew,WEBUI_NameNewBreadcrumb, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Element_ID, t.CommitWarning,t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName,t.WEBUI_NameBrowse,t.WEBUI_NameNew,t.WEBUI_NameNewBreadcrumb, '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' OR l.IsBaseLanguage='Y') AND t.AD_Element_ID=577737 AND NOT EXISTS (SELECT 1 FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;

-- 2020-05-25T08:11:45.967Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
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,DDL_NoForeignKey,DefaultValue,EntityType,FacetFilterSeqNo,FieldLength,IsActive,IsAdvancedText,IsAllowLogging,IsAlwaysUpdateable,IsAutoApplyValidationRule,IsAutocomplete,IsCalculated,IsDimension,IsDLMPartitionBoundary,IsEncrypted,IsFacetFilter,IsForceIncludeInGeneratedModel,IsGenericZoomKeyColumn,IsGenericZoomOrigin,IsIdentifier,IsKey,IsLazyLoading,IsMandatory,IsParent,IsRangeFilter,IsSelectionColumn,IsShowFilterIncrementButtons,IsStaleable,IsSyncDatabase,IsTranslated,IsUpdateable,IsUseDocSequence,MaxFacetsToFetch,Name,SelectionColumnSeqNo,SeqNo,Updated,UpdatedBy,Version) VALUES (0,570819,577736,0,30,540420,53037,'M_Warehouse_From_ID',TO_TIMESTAMP('2020-05-25 11:11:45','YYYY-MM-DD HH24:MI:SS'),100,'N','540008','EE01',0,10,'Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','N','N','Y','N',0,'Warehouse from',0,0,TO_TIMESTAMP('2020-05-25 11:11:45','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- 2020-05-25T08:11:45.979Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
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=570819 AND NOT EXISTS (SELECT 1 FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
;

-- 2020-05-25T08:11:46.128Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_Column_Translation_From_AD_Element(577736)
;

-- 2020-05-25T08:11:58.930Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ SELECT public.db_alter_table('DD_Order','ALTER TABLE public.DD_Order ADD COLUMN M_Warehouse_From_ID NUMERIC(10) DEFAULT 540008 NOT NULL')
;

-- 2020-05-25T08:11:59.850Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
ALTER TABLE DD_Order ADD CONSTRAINT MWarehouseFrom_DDOrder FOREIGN KEY (M_Warehouse_From_ID) REFERENCES public.M_Warehouse DEFERRABLE INITIALLY DEFERRED
;

-- 2020-05-25T08:13:04.894Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
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,DDL_NoForeignKey,DefaultValue,EntityType,FacetFilterSeqNo,FieldLength,IsActive,IsAdvancedText,IsAllowLogging,IsAlwaysUpdateable,IsAutoApplyValidationRule,IsAutocomplete,IsCalculated,IsDimension,IsDLMPartitionBoundary,IsEncrypted,IsFacetFilter,IsForceIncludeInGeneratedModel,IsGenericZoomKeyColumn,IsGenericZoomOrigin,IsIdentifier,IsKey,IsLazyLoading,IsMandatory,IsParent,IsRangeFilter,IsSelectionColumn,IsShowFilterIncrementButtons,IsStaleable,IsSyncDatabase,IsTranslated,IsUpdateable,IsUseDocSequence,MaxFacetsToFetch,Name,ReadOnlyLogic,SelectionColumnSeqNo,SeqNo,Updated,UpdatedBy,Version) VALUES (0,570820,577737,0,30,540420,53037,'M_Warehouse_To_ID',TO_TIMESTAMP('2020-05-25 11:13:04','YYYY-MM-DD HH24:MI:SS'),100,'N','540005','EE01',0,10,'Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','N','N','Y','N',0,'Warehouse to','',0,0,TO_TIMESTAMP('2020-05-25 11:13:04','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- 2020-05-25T08:13:04.897Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
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=570820 AND NOT EXISTS (SELECT 1 FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
;

-- 2020-05-25T08:13:04.899Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_Column_Translation_From_AD_Element(577737)
;

-- 2020-05-25T08:13:29.659Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ SELECT public.db_alter_table('DD_Order','ALTER TABLE public.DD_Order ADD COLUMN M_Warehouse_To_ID NUMERIC(10) DEFAULT 540005 NOT NULL')
;

-- 2020-05-25T08:13:30.175Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
ALTER TABLE DD_Order ADD CONSTRAINT MWarehouseTo_DDOrder FOREIGN KEY (M_Warehouse_To_ID) REFERENCES public.M_Warehouse DEFERRABLE INITIALLY DEFERRED
;

-- 2020-05-26T21:29:17.677Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,ColumnDisplayLength,Created,CreatedBy,DisplayLength,EntityType,IncludedTabHeight,IsActive,IsDisplayed,IsDisplayedGrid,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SeqNoGrid,SortNo,SpanX,SpanY,Updated,UpdatedBy) VALUES (0,570819,613898,0,53055,0,TO_TIMESTAMP('2020-05-27 00:29:15','YYYY-MM-DD HH24:MI:SS'),100,0,'EE01',0,'Y','Y','Y','N','N','N','N','N','Warehouse from',450,440,0,1,1,TO_TIMESTAMP('2020-05-27 00:29:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- 2020-05-26T21:29:18.309Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
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=613898 AND NOT EXISTS (SELECT 1 FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;

-- 2020-05-26T21:29:18.409Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_FieldTranslation_From_AD_Name_Element(577736)
;

-- 2020-05-26T21:29:18.484Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_Element_Link WHERE AD_Field_ID=613898
;

-- 2020-05-26T21:29:18.533Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select AD_Element_Link_Create_Missing_Field(613898)
;

-- 2020-05-26T21:29:59.153Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,ColumnDisplayLength,Created,CreatedBy,DisplayLength,EntityType,IncludedTabHeight,IsActive,IsDisplayed,IsDisplayedGrid,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SeqNoGrid,SortNo,SpanX,SpanY,Updated,UpdatedBy) VALUES (0,570820,613899,0,53055,0,TO_TIMESTAMP('2020-05-27 00:29:58','YYYY-MM-DD HH24:MI:SS'),100,0,'EE01',0,'Y','Y','Y','N','N','N','N','N','Warehouse to',460,450,0,1,1,TO_TIMESTAMP('2020-05-27 00:29:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- 2020-05-26T21:29:59.296Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
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=613899 AND NOT EXISTS (SELECT 1 FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;

-- 2020-05-26T21:29:59.343Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_FieldTranslation_From_AD_Name_Element(577737)
;

-- 2020-05-26T21:29:59.393Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_Element_Link WHERE AD_Field_ID=613899
;

-- 2020-05-26T21:29:59.442Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select AD_Element_Link_Create_Missing_Field(613899)
;

-- 2020-05-26T21:31:01.644Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,IsMultiLine,MultiLine_LinesCount,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,613898,0,53055,540423,569848,'F',TO_TIMESTAMP('2020-05-27 00:31:01','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','N','Y','N','N','N',0,'Warehouse from',420,0,0,TO_TIMESTAMP('2020-05-27 00:31:01','YYYY-MM-DD HH24:MI:SS'),100)
;

-- 2020-05-26T21:31:24.090Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,IsMultiLine,MultiLine_LinesCount,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,613899,0,53055,540423,569849,'F',TO_TIMESTAMP('2020-05-27 00:31:23','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','N','Y','N','N','N',0,'Warehouse to',430,0,0,TO_TIMESTAMP('2020-05-27 00:31:23','YYYY-MM-DD HH24:MI:SS'),100)
;

0 comments on commit 649bcdc

Please sign in to comment.