2014年12月17日 星期三

廠商委外進出_id

import groovy.sql.Sql
import java.sql.Timestamp
import org.compiere.util.DB

StringBuffer sql = new StringBuffer("CREATE TABLE 廠商委外進出(")
.append("廠商委外進出_id      numeric(10,0) NOT NULL,")
.append("廠商委外進出_uu      character varying(36) DEFAULT NULL::character varying,")
.append("ad_client_id    numeric(10,0) NOT NULL,")
.append("ad_org_id       numeric(10,0) NOT NULL,")
.append("isactive        character(1) NOT NULL,")
.append("created         timestamp without time zone NOT NULL,")
.append("createdby      numeric(10,0) NOT NULL,")
.append("updated         timestamp without time zone NOT NULL,")
.append("updatedby     numeric(10,0) NOT NULL,")
.append("廠商_id         numeric(10,0),")
.append("產品_id         numeric(10,0),")
.append("訂單_id         numeric(10,0),")
.append("訂單製程_id     numeric(10,0),")
.append("委外加工單_id   numeric(10,0),")
.append("委外入貨單_id   numeric(10,0),")
.append("日期          timestamp without time zone NOT NULL,")
.append("序號            numeric(10,0),")
.append("重量kg         numeric(10,2),")
.append("單重g         numeric(10,3),")
.append("數量pcs        numeric(10,0),")
.append("桶型_id        numeric(10,0),")
.append("桶號            character varying(10),")
.append("桶數           numeric(10,0),")
.append("批號          character varying(20),")
.append("備註           character varying(40))");
   
 int no = DB.executeUpdate(sql.toString(), null);

result=""

2014年12月6日 星期六

iDempiere 抓 Oracle ERP ASCP 資料表結構 MSC_SYSTEM_ITEMS




DROP TABLE C##MSC.C##MSC_SYSTEM_ITEMS CASCADE CONSTRAINTS;

CREATE TABLE C##MSC.C##MSC_SYSTEM_ITEMS
(
  PLAN_ID                         NUMBER        NOT NULL,
  ORGANIZATION_ID                 NUMBER        NOT NULL,
  INVENTORY_ITEM_ID               NUMBER        NOT NULL,
  SR_INSTANCE_ID                  NUMBER        NOT NULL,
  SR_INVENTORY_ITEM_ID            NUMBER,
  ITEM_NAME                       VARCHAR2(250 BYTE),
  LOTS_EXPIRATION                 NUMBER,
  LOT_CONTROL_CODE                NUMBER        NOT NULL,
  SHRINKAGE_RATE                  NUMBER,
  FIXED_DAYS_SUPPLY               NUMBER,
  FIXED_ORDER_QUANTITY            NUMBER,
  FIXED_LOT_MULTIPLIER            NUMBER,
  MINIMUM_ORDER_QUANTITY          NUMBER,
  MAXIMUM_ORDER_QUANTITY          NUMBER,
  ROUNDING_CONTROL_TYPE           NUMBER        NOT NULL,
  PLANNING_TIME_FENCE_DAYS        NUMBER,
  PLANNING_TIME_FENCE_DATE        DATE,
  DEMAND_TIME_FENCE_DAYS          NUMBER,
  DEMAND_TIME_FENCE_DATE          DATE,
  DESCRIPTION                     VARCHAR2(240 BYTE),
  RELEASE_TIME_FENCE_CODE         NUMBER,
  RELEASE_TIME_FENCE_DAYS         NUMBER,
  IN_SOURCE_PLAN                  NUMBER        NOT NULL,
  REVISION                        VARCHAR2(3 BYTE),
  SR_CATEGORY_ID                  NUMBER,
  ABC_CLASS                       NUMBER,
  CATEGORY_NAME                   VARCHAR2(200 BYTE),
  MRP_PLANNING_CODE               NUMBER        NOT NULL,
  FIXED_LEAD_TIME                 NUMBER,
  VARIABLE_LEAD_TIME              NUMBER,
  PREPROCESSING_LEAD_TIME         NUMBER,
  POSTPROCESSING_LEAD_TIME        NUMBER,
  FULL_LEAD_TIME                  NUMBER,
  CUMULATIVE_TOTAL_LEAD_TIME      NUMBER,
  CUM_MANUFACTURING_LEAD_TIME     NUMBER,
  UOM_CODE                        VARCHAR2(3 BYTE) NOT NULL,
  UNIT_WEIGHT                     NUMBER,
  UNIT_VOLUME                     NUMBER,
  WEIGHT_UOM                      VARCHAR2(3 BYTE),
  VOLUME_UOM                      VARCHAR2(3 BYTE),
  PRODUCT_FAMILY_ID               NUMBER,
  ATP_RULE_ID                     NUMBER,
  ATP_COMPONENTS_FLAG             VARCHAR2(1 BYTE) NOT NULL,
  BUILD_IN_WIP_FLAG               NUMBER        NOT NULL,
  PURCHASING_ENABLED_FLAG         NUMBER        NOT NULL,
  PLANNING_MAKE_BUY_CODE          NUMBER        NOT NULL,
  REPETITIVE_TYPE                 NUMBER        NOT NULL,
  REPETITIVE_VARIANCE             NUMBER,
  STANDARD_COST                   NUMBER,
  CARRYING_COST                   NUMBER,
  ORDER_COST                      NUMBER,
  MATERIAL_COST                   NUMBER,
  DMD_LATENESS_COST               NUMBER,
  RESOURCE_COST                   NUMBER,
  SS_PENALTY_COST                 NUMBER,
  SUPPLIER_CAP_OVERUTIL_COST      NUMBER,
  LIST_PRICE                      NUMBER,
  AVERAGE_DISCOUNT                NUMBER,
  ENGINEERING_ITEM_FLAG           NUMBER        NOT NULL,
  WIP_SUPPLY_TYPE                 NUMBER,
  SAFETY_STOCK_CODE               NUMBER        NOT NULL,
  SAFETY_STOCK_PERCENT            NUMBER,
  SAFETY_STOCK_BUCKET_DAYS        NUMBER,
  INVENTORY_USE_UP_DATE           DATE,
  BUYER_NAME                      VARCHAR2(240 BYTE),
  PLANNER_CODE                    VARCHAR2(10 BYTE),
  PLANNING_EXCEPTION_SET          VARCHAR2(10 BYTE),
  EXCESS_QUANTITY                 NUMBER,
  EXCEPTION_SHORTAGE_DAYS         NUMBER,
  EXCEPTION_EXCESS_DAYS           NUMBER,
  EXCEPTION_OVERPROMISED_DAYS     NUMBER,
  EXCEPTION_CODE                  VARCHAR2(5 BYTE),
  BOM_ITEM_TYPE                   NUMBER,
  ATO_FORECAST_CONTROL            NUMBER,
  EFFECTIVITY_CONTROL             NUMBER        NOT NULL,
  ORGANIZATION_CODE               VARCHAR2(7 BYTE),
  ACCEPTABLE_RATE_INCREASE        NUMBER,
  ACCEPTABLE_RATE_DECREASE        NUMBER,
  EXCEPTION_REP_VARIANCE_DAYS     NUMBER,
  OVERRUN_PERCENTAGE              NUMBER,
  INVENTORY_PLANNING_CODE         NUMBER        NOT NULL,
  ACCEPTABLE_EARLY_DELIVERY       NUMBER,
  CALCULATE_ATP                   NUMBER        NOT NULL,
  END_ASSEMBLY_PEGGING_FLAG       VARCHAR2(1 BYTE),
  END_ASSEMBLY_PEGGING            NUMBER,
  FULL_PEGGING                    NUMBER,
  INVENTORY_ITEM_FLAG             NUMBER,
  SOURCE_ORG_ID                   NUMBER,
  BASE_ITEM_ID                    NUMBER,
  ABC_CLASS_NAME                  VARCHAR2(40 BYTE),
  FIXED_SAFETY_STOCK_QTY          NUMBER,
  PRIMARY_SUPPLIER_ID             NUMBER,
  ATP_FLAG                        VARCHAR2(1 BYTE) NOT NULL,
  LOW_LEVEL_CODE                  NUMBER,
  PLANNER_STATUS_CODE             NUMBER,
  NETTABLE_INVENTORY_QUANTITY     NUMBER,
  NONNETTABLE_INVENTORY_QUANTITY  NUMBER,
  REFRESH_NUMBER                  NUMBER,
  LAST_UPDATE_DATE                DATE          NOT NULL,
  LAST_UPDATED_BY                 NUMBER        NOT NULL,
  CREATION_DATE                   DATE          NOT NULL,
  CREATED_BY                      NUMBER        NOT NULL,
  LAST_UPDATE_LOGIN               NUMBER,
  REQUEST_ID                      NUMBER,
  PROGRAM_APPLICATION_ID          NUMBER,
  PROGRAM_ID                      NUMBER,
  PROGRAM_UPDATE_DATE             DATE,
  ATTRIBUTE_CATEGORY              VARCHAR2(30 BYTE),
  ATTRIBUTE1                      VARCHAR2(150 BYTE),
  ATTRIBUTE2                      VARCHAR2(150 BYTE),
  ATTRIBUTE3                      VARCHAR2(150 BYTE),
  ATTRIBUTE4                      VARCHAR2(150 BYTE),
  ATTRIBUTE5                      VARCHAR2(150 BYTE),
  ATTRIBUTE6                      VARCHAR2(150 BYTE),
  ATTRIBUTE7                      VARCHAR2(150 BYTE),
  ATTRIBUTE8                      VARCHAR2(150 BYTE),
  ATTRIBUTE9                      VARCHAR2(150 BYTE),
  ATTRIBUTE10                     VARCHAR2(150 BYTE),
  ATTRIBUTE11                     VARCHAR2(150 BYTE),
  ATTRIBUTE12                     VARCHAR2(150 BYTE),
  ATTRIBUTE13                     VARCHAR2(150 BYTE),
  ATTRIBUTE14                     VARCHAR2(150 BYTE),
  ATTRIBUTE15                     VARCHAR2(150 BYTE),
  REVISION_QTY_CONTROL_CODE       NUMBER,
  EXPENSE_ACCOUNT                 NUMBER,
  INVENTORY_ASSET_FLAG            VARCHAR2(1 BYTE),
  BUYER_ID                        NUMBER(9),
  REPETITIVE_PLANNING_FLAG        VARCHAR2(1 BYTE),
  PICK_COMPONENTS_FLAG            VARCHAR2(1 BYTE),
  SERVICE_LEVEL                   NUMBER,
  REPLENISH_TO_ORDER_FLAG         VARCHAR2(1 BYTE),
  PIP_FLAG                        NUMBER,
  YIELD_CONV_FACTOR               NUMBER,
  MIN_MINMAX_QUANTITY             NUMBER,
  MAX_MINMAX_QUANTITY             NUMBER,
  NEW_ATP_FLAG                    VARCHAR2(1 BYTE),
  SOURCE_TYPE                     NUMBER,
  SUBSTITUTION_WINDOW             NUMBER,
  CREATE_SUPPLY_FLAG              NUMBER,
  REORDER_POINT                   NUMBER,
  AVERAGE_ANNUAL_DEMAND           NUMBER,
  ECONOMIC_ORDER_QUANTITY         NUMBER,
  SERIAL_NUMBER_CONTROL_CODE      NUMBER,
  CONVERGENCE                     NUMBER,
  DIVERGENCE                      NUMBER,
  CONTINOUS_TRANSFER              NUMBER,
  CRITICAL_COMPONENT_FLAG         NUMBER,
  REDUCE_MPS                      NUMBER,
  CONSIGNED_FLAG                  NUMBER,
  VMI_MINIMUM_UNITS               NUMBER,
  VMI_MINIMUM_DAYS                NUMBER,
  VMI_MAXIMUM_UNITS               NUMBER,
  VMI_MAXIMUM_DAYS                NUMBER,
  AVERAGE_DAILY_DEMAND            NUMBER,
  VMI_FIXED_ORDER_QUANTITY        NUMBER,
  SO_AUTHORIZATION_FLAG           NUMBER,
  VMI_FORECAST_TYPE               NUMBER,
  FORECAST_HORIZON                NUMBER,
  ASN_AUTOEXPIRE_FLAG             NUMBER,
  VMI_REFRESH_FLAG                NUMBER,
  BUDGET_CONSTRAINED              NUMBER,
  MAX_QUANTITY                    NUMBER,
  MAX_QUANTITY_DOS                NUMBER,
  DAYS_TGT_INV_WINDOW             NUMBER,
  DAYS_MAX_INV_WINDOW             NUMBER,
  DAYS_TGT_INV_SUPPLY             NUMBER,
  DAYS_MAX_INV_SUPPLY             NUMBER,
  DRP_PLANNED                     NUMBER,
  AGGREGATE_TIME_FENCE_DATE       DATE,
  INFERRED_CRITICAL_FLAG          NUMBER,
  SS_WINDOW_SIZE                  NUMBER,
  LOWEST_LEVEL_SRC                NUMBER,
  EAM_ITEM_TYPE                   NUMBER,
  LOTS_EXIST                      NUMBER,
  LEADTIME_VARIABILITY            NUMBER,
  MIN_SHELF_LIFE_DAYS             NUMBER,
  GROUP_ID                        NUMBER,
  REPAIR_YIELD                    NUMBER,
  REPAIR_PROGRAM                  NUMBER,
  REPAIR_LEAD_TIME                NUMBER,
  PRE_POSITION_INVENTORY          NUMBER,
  PREPOSITION_POINT               NUMBER,
  REPAIR_LEADTIME                 NUMBER,
  DEMAND_FULFILLMENT_LT           NUMBER,
  ITEM_CREATION_DATE              DATE,
  SHORTAGE_TYPE                   NUMBER,
  EXCESS_TYPE                     NUMBER,
  PLANNING_TIME_FENCE_CODE        NUMBER,
  PEGGING_DEMAND_WINDOW_DAYS      NUMBER,
  PEGGING_SUPPLY_WINDOW_DAYS      NUMBER
)

COMMENT ON TABLE C##MSC.C##MSC_SYSTEM_ITEMS IS 'C##MSC_SYSTEM_ITEMS stores the organization items defined at source applications. It also stores a copy of items planned by the planning process. Most of the columns in C##MSC_SYSTEM_ITEMS correspond to columns from the Oracle Inventory Item mast ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PLAN_ID IS 'Plan identifier ';
/
COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ORGANIZATION_ID IS 'Organization identifier ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.INVENTORY_ITEM_ID IS 'Inventory item identifier ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SR_INSTANCE_ID IS 'Source application instance identifier ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SR_INVENTORY_ITEM_ID IS 'Inventory item identifier in the source application instance ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ITEM_NAME IS 'Name of the inventory item ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.LOTS_EXPIRATION IS 'Shelf_life_days from MTL_SYSTEM_ITEMS??? ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.LOT_CONTROL_CODE IS 'Flag indicating if  lots_expiration is used or not ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SHRINKAGE_RATE IS 'Percentage of shinkage for this item ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.FIXED_DAYS_SUPPLY IS 'Period of the supply days (in days) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.FIXED_ORDER_QUANTITY IS 'Fixed size for the orders ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.FIXED_LOT_MULTIPLIER IS 'Fixed size for the lot ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.MINIMUM_ORDER_QUANTITY IS 'Minimum size of an order ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.MAXIMUM_ORDER_QUANTITY IS 'Maximum size of an order ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ROUNDING_CONTROL_TYPE IS 'Flag indicating if rounding of the quantity is allowed ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PLANNING_TIME_FENCE_DAYS IS 'Planning time fences days of the item ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PLANNING_TIME_FENCE_DATE IS 'Planning time fence as computed by the planning engine ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.DEMAND_TIME_FENCE_DAYS IS 'Demand time fence days ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.DEMAND_TIME_FENCE_DATE IS 'Demanding time fence as computed by the planning engine ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.DESCRIPTION IS 'Textual description of the item for UI and reports ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.RELEASE_TIME_FENCE_CODE IS 'Release time fence code ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.RELEASE_TIME_FENCE_DAYS IS 'Release time fence time ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.IN_SOURCE_PLAN IS 'Flag indicating whether the item is in the plan (the snapshot initially gets more items than the planned items) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.REVISION IS 'Item revision code ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SR_CATEGORY_ID IS 'Source application category identifier for the planning category set; used for UI and reports ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ABC_CLASS IS 'Inventory item identifier ABC class (use for UI and reports) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.CATEGORY_NAME IS 'Category name for the planning category ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.MRP_PLANNING_CODE IS 'Type of planning required for this item: MRP(3), MPS(4), Not Planned(6), MRP and DRP(7), MPS and DRP(8), DRP(9) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.FIXED_LEAD_TIME IS 'Fixed lead time ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.VARIABLE_LEAD_TIME IS 'Variable lead time ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PREPROCESSING_LEAD_TIME IS 'Preprocessing lead time ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.POSTPROCESSING_LEAD_TIME IS 'Postprocessing lead time ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.FULL_LEAD_TIME IS 'Ful lead time ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.CUMULATIVE_TOTAL_LEAD_TIME IS 'Cumulative total lead time ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.CUM_MANUFACTURING_LEAD_TIME IS 'Cumulative manufacturing lead time ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.UOM_CODE IS 'Unit of measure ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.UNIT_WEIGHT IS 'Weight of the item ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.UNIT_VOLUME IS 'Volume of the item ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.WEIGHT_UOM IS 'Unit of measure for the weight ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.VOLUME_UOM IS 'Unit of measure for the volume ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PRODUCT_FAMILY_ID IS 'Product family identifier ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATP_RULE_ID IS 'ATP rule identifier ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATP_COMPONENTS_FLAG IS 'Flag indicating whether to calculate components ATP ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.BUILD_IN_WIP_FLAG IS 'Flag to indicate if the item can be built in WIP ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PURCHASING_ENABLED_FLAG IS 'Flag to indicate if the item can be purchased ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PLANNING_MAKE_BUY_CODE IS 'Indicate if this item should be made or bought. Make(1), Buy(2) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.REPETITIVE_TYPE IS 'Flag to indicate whether the item is built repetitive ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.REPETITIVE_VARIANCE IS 'Item repetitive variance ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.STANDARD_COST IS 'Standard cost of an item ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.CARRYING_COST IS 'Carrying cost ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ORDER_COST IS 'Order cost ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.MATERIAL_COST IS 'Item material cost ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.DMD_LATENESS_COST IS 'Demand lateness cost for item ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.RESOURCE_COST IS 'Resource cost for the item ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SS_PENALTY_COST IS 'Penalty cost for saftety stock violations ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SUPPLIER_CAP_OVERUTIL_COST IS 'Supplier cap over utilization cost ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.LIST_PRICE IS 'List price of the item ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.AVERAGE_DISCOUNT IS 'Average discount ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ENGINEERING_ITEM_FLAG IS 'Flag indicating if engineering items are used for prototypes or research.  Used for UI and reports ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.WIP_SUPPLY_TYPE IS 'Flag to indicate whether this a phantom (order modifiers are not used) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SAFETY_STOCK_CODE IS 'Safety stock code: User-defined quantity(1), User-defined percentage(2), or mean absolute deviation ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SAFETY_STOCK_PERCENT IS 'Percent of average gross requirment for dynamically calculated safety-stocks ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SAFETY_STOCK_BUCKET_DAYS IS 'Days over which to average demand for MRP Planned safety stock percent ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.INVENTORY_USE_UP_DATE IS 'Use-up date ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.BUYER_NAME IS 'Name of buyer (for reporting) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PLANNER_CODE IS 'Planner code (for reporting) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PLANNING_EXCEPTION_SET IS 'Identifier of the planning exception set ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.EXCESS_QUANTITY IS 'Excess quantity of this item ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.EXCEPTION_SHORTAGE_DAYS IS 'Exception shortage days ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.EXCEPTION_EXCESS_DAYS IS 'Exception excess days ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.EXCEPTION_OVERPROMISED_DAYS IS 'Exception over-promised days ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.EXCEPTION_CODE IS 'Internal exception message code ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.BOM_ITEM_TYPE IS 'BOM item type: Model(1), Option Class(2), Planning(3), Standard(4), Product Family(5) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATO_FORECAST_CONTROL IS 'ATO forecast control code: Consume(1), Consume and derive(2), None(3) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.EFFECTIVITY_CONTROL IS 'Effectivity control code: Date Effectivity(1), Unit Number effectivity(2) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ORGANIZATION_CODE IS 'Organization code (use for UI and report) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ACCEPTABLE_RATE_INCREASE IS 'Acceptable rate increase ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ACCEPTABLE_RATE_DECREASE IS 'Acceptable rate decrease ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.EXCEPTION_REP_VARIANCE_DAYS IS 'Exception repetitive variance days ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.OVERRUN_PERCENTAGE IS 'Repetitive overrun percentage ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.INVENTORY_PLANNING_CODE IS 'Inventory planning code ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ACCEPTABLE_EARLY_DELIVERY IS 'Acceptable early days ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.CALCULATE_ATP IS 'Flag indicating whether to calculate ATP when planning this part ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.END_ASSEMBLY_PEGGING_FLAG IS 'Peg to the end assembly on reports ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.END_ASSEMBLY_PEGGING IS 'Peg to the end assembly on reports (value is populated by the plan) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.FULL_PEGGING IS 'Full pegging flag ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.INVENTORY_ITEM_FLAG IS 'Inventory item flag ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SOURCE_ORG_ID IS 'Item level default for source organization identifier ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.BASE_ITEM_ID IS 'Base item identifier for configuration ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ABC_CLASS_NAME IS 'ABC Class Name ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.FIXED_SAFETY_STOCK_QTY IS 'Fixed safety stock quantity on a daily basis ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PRIMARY_SUPPLIER_ID IS 'Primary supplier identifier ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATP_FLAG IS 'ATP flag ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.LOW_LEVEL_CODE IS 'Inventory item identifier low level code ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PLANNER_STATUS_CODE IS 'Status of the item for the Planner ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.NETTABLE_INVENTORY_QUANTITY IS 'Nettable inventory quantity on hand ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.NONNETTABLE_INVENTORY_QUANTITY IS 'Nonnettable inventory quantity on hand ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.REFRESH_NUMBER IS 'Refresh number ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.LAST_UPDATE_DATE IS 'Standard Who column ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.LAST_UPDATED_BY IS 'Standard Who column ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.CREATION_DATE IS 'Standard Who column ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.CREATED_BY IS 'Standard Who column ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.LAST_UPDATE_LOGIN IS 'Standard Who column ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.REQUEST_ID IS 'Concurrent Who column ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PROGRAM_APPLICATION_ID IS 'Concurrent Who column ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PROGRAM_ID IS 'Concurrent Who column ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PROGRAM_UPDATE_DATE IS 'Concurrent Who column ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE_CATEGORY IS 'Descriptive flexfield structure defining column ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE1 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE2 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE3 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE4 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE5 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE6 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE7 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE8 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE9 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE10 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE11 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE12 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE13 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE14 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ATTRIBUTE15 IS 'Descriptive flexfield segment ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.REVISION_QTY_CONTROL_CODE IS 'Revision quantity control code ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.EXPENSE_ACCOUNT IS 'Expense account ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.INVENTORY_ASSET_FLAG IS 'Flag indicating item is an inventory asset ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.BUYER_ID IS 'Buyer identifier ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.REPETITIVE_PLANNING_FLAG IS 'Flag indicating item to be planned as repetitive schedule ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PICK_COMPONENTS_FLAG IS 'Flag indicating whether all shippable components should be picked ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SERVICE_LEVEL IS 'Service level ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.REPLENISH_TO_ORDER_FLAG IS 'Flag indicating item to be planned as replenish to order ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.PIP_FLAG IS 'This column describes whether the item is a PIP item or not. ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.YIELD_CONV_FACTOR IS 'Yield Conv Factor ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.MIN_MINMAX_QUANTITY IS 'Min Minmax Quantity ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.MAX_MINMAX_QUANTITY IS 'Max Minmax Quantity ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.NEW_ATP_FLAG IS 'for ATP SUmmary Calculation ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SOURCE_TYPE IS 'Source Type ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SUBSTITUTION_WINDOW IS 'Substitution Window used in Product Substitution ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.CREATE_SUPPLY_FLAG IS 'Create Supply Flag used in Product Substitution (1=Yes, 2=No) ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.REORDER_POINT IS 'Reorder Point ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.AVERAGE_ANNUAL_DEMAND IS 'Average annual demand ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.ECONOMIC_ORDER_QUANTITY IS 'Economic order quantity ';

COMMENT ON COLUMN C##MSC.C##MSC_SYSTEM_ITEMS.SERIAL_NUMBER_CONTROL_CODE IS 'Serial Number Control Code ';



CREATE INDEX C##MSC.C##MSC_SYSTEM_ITEMS_N1 ON C##MSC.C##MSC_SYSTEM_ITEMS
(PLAN_ID, PLANNER_CODE, ORGANIZATION_ID, SR_INSTANCE_ID, INVENTORY_ITEM_ID)

CREATE INDEX C##MSC.C##MSC_SYSTEM_ITEMS_N2 ON C##MSC.C##MSC_SYSTEM_ITEMS
(ITEM_NAME, PLAN_ID, SR_INSTANCE_ID, ORGANIZATION_ID)

CREATE INDEX C##MSC.C##MSC_SYSTEM_ITEMS_N3 ON C##MSC.C##MSC_SYSTEM_ITEMS
(PLAN_ID, SR_INSTANCE_ID, ORGANIZATION_ID, PRODUCT_FAMILY_ID)

CREATE INDEX C##MSC.C##MSC_SYSTEM_ITEMS_N4 ON C##MSC.C##MSC_SYSTEM_ITEMS

(PLAN_ID, INVENTORY_ITEM_ID, SR_INSTANCE_ID)
CREATE INDEX C##MSC.C##MSC_SYSTEM_ITEMS_N5 ON C##MSC.C##MSC_SYSTEM_ITEMS
(PLAN_ID, UPPER("ITEM_NAME"), SR_INSTANCE_ID)

CREATE INDEX C##MSC.C##MSC_SYSTEM_ITEMS_N9 ON C##MSC.C##MSC_SYSTEM_ITEMS
(PLAN_ID, SR_INSTANCE_ID, PLANNER_CODE)

CREATE UNIQUE INDEX C##MSC.C##MSC_SYSTEM_ITEMS_U1 ON C##MSC.C##MSC_SYSTEM_ITEMS

(PLAN_ID, SR_INSTANCE_ID, ORGANIZATION_ID, INVENTORY_ITEM_ID)
CREATE UNIQUE INDEX C##MSC.C##MSC_SYSTEM_ITEMS_U2 ON C##MSC.C##MSC_SYSTEM_ITEMS

(PLAN_ID, SR_INSTANCE_ID, ORGANIZATION_ID, ITEM_NAME)
CREATE UNIQUE INDEX C##MSC.C##MSC_SYSTEM_ITEMS_U3 ON C##MSC.C##MSC_SYSTEM_ITEMS

(PLAN_ID, SR_INSTANCE_ID, ORGANIZATION_ID, SR_INVENTORY_ITEM_ID)
CREATE OR REPLACE SYNONYM APPS.C##MSC_SYSTEM_ITEMS FOR C##MSC.C##MSC_SYSTEM_ITEMS;


GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON C##MSC.C##MSC_SYSTEM_ITEMS TO APPS WITH GRANT OPTION;

GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON C##MSC.C##MSC_SYSTEM_ITEMS TO DEMANTRA;

2014年12月2日 星期二

IDempiere 監測 HIS 醫療系統




SELECT * FROM FTH008K WHERE IDNO='E121081171'--身分別
SELECT * FROM FTH020K WHERE POSI='039'--身分別

SELECT l.REGNO,l.NAME,l.IDNO,l.BIRTH,l.TELP,CASE WHEN l.SEX='1' THEN '男' ELSE '女' END CASE,l.ADDRESS,a.CASENO,
s.NAMES,s1.NAMES,a.CASENO,A.OBDATE,A.OBTIME
FROM FOB002K a --醫令表頭
INNER JOIN FTH008K l ON a.REGNO=l.REGNO --基本
INNER JOIN FIB003K b ON b.CASENO=a.CASENO --就診身分
INNER JOIN FTH020K s ON b.POSI=s.POSI      --就診身分
INNER JOIN FTH020K s1 ON l.POSI=s1.POSI      --基本身分
WHERE l.REGNO='00132562'
order by A.OBDATE,A.OBTIME

SELECT l.REGNO,l.NAME,l.IDNO,l.BIRTH,l.TELP,CASE WHEN l.SEX='1' THEN '男' ELSE '女' END CASE,l.ADDRESS,
c.CITY_NAME,c.POST_NO,y.NAME,s.Name
FROM  FTH008K l

INNER JOIN FTH020K s ON s.POSI=l.POSI             --身分
INNER JOIN FTH012K c ON c.CITY=l.CITY_ID          --鄉鎮市
INNER JOIN ZNTY01  z ON l.REGNO=z.REGNO           --00132562
INNER JOIN FTH011K y ON z.INSNO=y.INSNO           --F0001
WHERE l.REGNO='00132562'


SELECT * FROM FOB002K WHERE REGNO='00132562'--醫令表
SELECT * FROM FOB003K --醫令表身

SELECT * FROM  FTH011K --公司團體
SELECT * FROM  FTH008K WHERE REGNO='00132562' -- 勞工資料



SELECT l.REGNO,l.NAME,l.IDNO,l.BIRTH,l.TELP,CASE WHEN l.SEX='1' THEN '男' ELSE '女' END CASE,l.ADDRESS,
c.CITY_NAME,c.POST_NO,y.NAME,s.NAMES
FROM  FTH008K l

INNER JOIN FTH020K s ON s.POSI=l.POSI             --身分
INNER JOIN FTH012K c ON c.CITY=l.CITY_ID          --鄉鎮市
INNER JOIN ZNTY01  z ON l.REGNO=z.REGNO           --00132562
INNER JOIN FTH011K y ON z.INSNO=y.INSNO           --F0001
WHERE l.REGNO='00132562'


SELECT CITY_NAME,POST_NO FROM FTH012K WHERE CITY=


CREATE TABLE IPD.ZNTY01  --公司團體勞工資料
(
  INSNO      VARCHAR2(10 BYTE),
  REGNO      VARCHAR2(20 BYTE)
)

INSERT INTO ZNTY01 VALUES('F0001','00132562')

INNER JOIN ZNTY01  z ON l.REGNO=z.REGNO         --00132562
INNER JOIN FTH011K y ON z.ISNO=t.ISNO           --F0001


SELECT * FROM ALL_TABLES t WHERE t.OWNER='IPD' AND
EXISTS (SELECT 1 FROM ALL_TAB_COLS c WHERE c.OWNER='IPD' AND c.COLUMN_NAME='CASENO' AND c.TABLE_NAME=t.TABLE_NAME)
AND
EXISTS (SELECT 1 FROM ALL_TAB_COLS c WHERE c.OWNER='IPD' AND c.COLUMN_NAME='POSI' AND c.TABLE_NAME=t.TABLE_NAME
  AND c.DATA_LENGTH=4)
 
選出 醫療身分 改變的 診療註記
 
SELECT  COUNT(1)  FROM FEX001K_SYN    333
SELECT  COUNT(1)  FROM FIB003K        7998
SELECT  COUNT(1)  FROM FIB003K_1020712
SELECT  COUNT(1)  FROM FIB003K_1030127
SELECT  COUNT(1)  FROM FIB018K    0
SELECT  COUNT(1)  FROM FPR005K    691325

SELECT * FROM FIB003K    

iDempiere 整合醫療系統




SELECT * FROM FTH008K WHERE IDNO='E121081171'--身分別
SELECT * FROM FTH020K WHERE POSI='039'--身分別
SELECT * FROM FOB002K --醫令表頭
SELECT * FROM FOB003K --醫令表身

SELECT * FROM  FTH011K --公司團體
SELECT * FROM  FTH008K WHERE REGNO='00132562' -- 勞工資料

SELECT l.REGNO,l.NAME,l.IDNO,l.BIRTH,l.TELP,CASE WHEN l.SEX='1' THEN '男' ELSE '女' END CASE,l.ADDRESS,
c.CITY_NAME,c.POST_NO,y.NAME,s.NAMES
FROM  FTH008K l
INNER JOIN FTH020K s ON s.POSI=l.POSI             --身分
INNER JOIN FTH012K c ON c.CITY=l.CITY_ID          --鄉鎮市
INNER JOIN ZNTY01  z ON l.REGNO=z.REGNO           --00132562
INNER JOIN FTH011K y ON z.INSNO=y.INSNO           --F0001
WHERE l.REGNO='00132562'


SELECT CITY_NAME,POST_NO FROM FTH012K WHERE CITY=


CREATE TABLE IPD.ZNTY01  --公司團體勞工資料
(
  INSNO      VARCHAR2(10 BYTE),
  REGNO      VARCHAR2(20 BYTE)
)

INSERT INTO ZNTY01 VALUES('F0001','00132562')

INNER JOIN ZNTY01  z ON l.REGNO=z.REGNO         --00132562
INNER JOIN FTH011K y ON z.ISNO=t.ISNO           --F0001

2014年11月10日 星期一

iDempiere Table Alise 要用 funciton 才不會抓錯


        at org.adempiere.webui.part.AbstractUIPart.createPart(AbstractUIPart.jav
a:41)

12:59:43.161-----------> AccessSqlParser.getTableInfo: More than one FROM clause
 - SELECT COUNT(*) FROM 完工入庫品檢單 WHERE (EXISTS ( SELECT 1 FROM 完工入庫品
檢單項次, 品管狀態 WHERE 品管狀態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND
  完工入庫品檢單.完工入庫品檢單_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管
狀態.名稱<>'待驗' )) [76]
12:59:43.164===========> MRole.addAccessSQL: TableName not correctly parsed - Ta
bleNameIn=完工入庫品檢單 - AccessSqlParser[完工入庫品檢單=WHERE,品管狀態|0] - #1
 完工入庫品檢單=WHERE
 = SELECT COUNT(*) FROM 完工入庫品檢單 WHERE (EXISTS ( SELECT 1 FROM 完工入庫品
檢單項次, 品管狀態 WHERE 品管狀態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND
  完工入庫品檢單.完工入庫品檢單_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管
狀態.名稱<>'待驗' )) [76]
12:59:43.181===========> FindWindow.getNoOfRecords: SELECT COUNT(*) FROM 完工入
庫品檢單 WHERE (EXISTS ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態 WHERE 品管狀
態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單
_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗' )) AND AD_Cli
ent_ID IN(0,11) AND AD_Org_ID IN(50007,0,50004,50005,50006,50000,50001,50002,11,
12) AND  (完工入庫品檢單_ID IS NULL OR 完工入庫品檢單_ID NOT IN ( SELECT Record_
ID FROM AD_Private_Access WHERE AD_Table_ID = 1000116 AND AD_User_ID <> 100 AND
IsActive = 'Y' ))  AND  (品管狀態_ID IS NULL OR 品管狀態_ID NOT IN ( SELECT Reco
rd_ID FROM AD_Private_Access WHERE AD_Table_ID = 1000086 AND AD_User_ID <> 100 A
ND IsActive = 'Y' ))  [76]
org.postgresql.util.PSQLException: 錯誤: 欄位"品管狀態_id"不存在
  Position: 436; State=42703; ErrorCode=0
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
ecutorImpl.java:2157)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
Impl.java:1886)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
va:255)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
ement.java:559)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
Jdbc2Statement.java:403)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
2Statement.java:283)
        at com.mchange.v2.c3p0.impl.NewProxyStatement.executeQuery(NewProxyState
ment.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.compiere.db.StatementProxy.invoke(StatementProxy.java:126)
        at com.sun.proxy.$Proxy30.executeQuery(Unknown Source)
        at org.adempiere.webui.window.FindWindow.getNoOfRecords(FindWindow.java:
1921)
        at org.adempiere.webui.window.FindWindow.initFind(FindWindow.java:680)
        at org.adempiere.webui.window.FindWindow.initialize(FindWindow.java:265)

        at org.adempiere.webui.adwindow.AbstractADWindowContent.doOnFind(Abstrac
tADWindowContent.java:1769)
        at org.adempiere.webui.adwindow.AbstractADWindowContent.access$12(Abstra
ctADWindowContent.java:1758)
        at org.adempiere.webui.adwindow.AbstractADWindowContent$18.onCallback(Ab
stractADWindowContent.java:1752)
        at org.adempiere.webui.adwindow.AbstractADWindowContent$18.onCallback(Ab
stractADWindowContent.java:1)
        at org.adempiere.webui.adwindow.AbstractADWindowContent.onSave0(Abstract
ADWindowContent.java:2001)

12:59:44.755-----------> AccessSqlParser.getTableInfo: More than one FROM clause
 - SELECT COUNT(*) FROM 完工入庫品檢單 WHERE (EXISTS ( SELECT 1 FROM 完工入庫品
檢單項次, 品管狀態 WHERE 品管狀態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND
  完工入庫品檢單.完工入庫品檢單_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管
狀態.名稱<>'待驗' )) AND ((EXISTS ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態 W
HERE 品管狀態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.完
工入庫品檢單_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗' )
)) [76]
12:59:44.760===========> MRole.addAccessSQL: TableName not correctly parsed - Ta
bleNameIn=完工入庫品檢單 - AccessSqlParser[完工入庫品檢單=WHERE,品管狀態=WHERE,
品管狀態|0] - #1 完工入庫品檢單=WHERE
 = SELECT COUNT(*) FROM 完工入庫品檢單 WHERE (EXISTS ( SELECT 1 FROM 完工入庫品
檢單項次, 品管狀態 WHERE 品管狀態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND
  完工入庫品檢單.完工入庫品檢單_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管
狀態.名稱<>'待驗' )) AND ((EXISTS ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態 W
HERE 品管狀態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.完
工入庫品檢單_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗' )
)) [76]
12:59:44.784===========> FindWindow.getNoOfRecords: SELECT COUNT(*) FROM 完工入
庫品檢單 WHERE (EXISTS ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態 WHERE 品管狀
態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單
_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗' )) AND ((EXIS
TS ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態 WHERE 品管狀態.品管狀態_ID=完工
入庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單_ID=完工入庫品檢單
項次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗' ))) AND AD_Client_ID IN(0,11) A
ND AD_Org_ID IN(50007,0,50004,50005,50006,50000,50001,50002,11,12) AND  (完工入
庫品檢單_ID IS NULL OR 完工入庫品檢單_ID NOT IN ( SELECT Record_ID FROM AD_Priva
te_Access WHERE AD_Table_ID = 1000116 AND AD_User_ID <> 100 AND IsActive = 'Y' )
)  AND  (品管狀態_ID IS NULL OR 品管狀態_ID NOT IN ( SELECT Record_ID FROM AD_Pr
ivate_Access WHERE AD_Table_ID = 1000086 AND AD_User_ID <> 100 AND IsActive = 'Y
' ))  AND  (品管狀態_ID IS NULL OR 品管狀態_ID NOT IN ( SELECT Record_ID FROM AD
_Private_Access WHERE AD_Table_ID = 1000086 AND AD_User_ID <> 100 AND IsActive =
 'Y' ))  [76]
org.postgresql.util.PSQLException: 錯誤: 欄位"品管狀態_id"不存在
  Position: 584; State=42703; ErrorCode=0
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
ecutorImpl.java:2157)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
Impl.java:1886)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
va:255)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
ement.java:559)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
Jdbc2Statement.java:403)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
2Statement.java:283)
        at com.mchange.v2.c3p0.impl.NewProxyStatement.executeQuery(NewProxyState
ment.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.compiere.db.StatementProxy.invoke(StatementProxy.java:126)
        at com.sun.proxy.$Proxy30.executeQuery(Unknown Source)
        at org.adempiere.webui.window.FindWindow.getNoOfRecords(FindWindow.java:
1921)
        at org.adempiere.webui.window.FindWindow.cmd_ok_Simple(FindWindow.java:1
803)
        at org.adempiere.webui.window.FindWindow.onEvent(FindWindow.java:1122)
        at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2742
)
        at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2713
)
        at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2654
)
        at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
        at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1717
)

12:59:44.819-----------> AccessSqlParser.getTableInfo: More than one FROM clause
 - SELECT AD_Client_ID,AD_Org_ID,完工入庫品檢單_ID,完工入庫品檢單_UU,品檢人員_ID
,品檢日期,客戶_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy FROM 完工入庫品檢
單 WHERE ((EXISTS ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態 WHERE 品管狀態.品
管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單_ID=
完工入庫品檢單項次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗' )) AND  (((EXISTS
 ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態 WHERE 品管狀態.品管狀態_ID=完工入
庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單_ID=完工入庫品檢單項
次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗' ))))) [76]
12:59:44.826===========> MRole.addAccessSQL: TableName not correctly parsed - Ta
bleNameIn=完工入庫品檢單 - AccessSqlParser[完工入庫品檢單=WHERE,品管狀態=WHERE,
品管狀態|0] - #1 完工入庫品檢單=WHERE
 = SELECT AD_Client_ID,AD_Org_ID,完工入庫品檢單_ID,完工入庫品檢單_UU,品檢人員_ID
,品檢日期,客戶_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy FROM 完工入庫品檢
單 WHERE ((EXISTS ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態 WHERE 品管狀態.品
管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單_ID=
完工入庫品檢單項次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗' )) AND  (((EXISTS
 ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態 WHERE 品管狀態.品管狀態_ID=完工入
庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單_ID=完工入庫品檢單項
次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗' ))))) [76]
12:59:44.846-----------> AccessSqlParser.getTableInfo: More than one FROM clause
 - SELECT COUNT(*) FROM 完工入庫品檢單 WHERE ((EXISTS ( SELECT 1 FROM 完工入庫品
檢單項次, 品管狀態 WHERE 品管狀態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND
  完工入庫品檢單.完工入庫品檢單_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管
狀態.名稱<>'待驗' )) AND  (((EXISTS ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態
 WHERE 品管狀態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.
完工入庫品檢單_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗'
 ))))) [76]
12:59:44.852===========> MRole.addAccessSQL: TableName not correctly parsed - Ta
bleNameIn=完工入庫品檢單 - AccessSqlParser[完工入庫品檢單=WHERE,品管狀態=WHERE,
品管狀態|0] - #1 完工入庫品檢單=WHERE
 = SELECT COUNT(*) FROM 完工入庫品檢單 WHERE ((EXISTS ( SELECT 1 FROM 完工入庫品
檢單項次, 品管狀態 WHERE 品管狀態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND
  完工入庫品檢單.完工入庫品檢單_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管
狀態.名稱<>'待驗' )) AND  (((EXISTS ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態
 WHERE 品管狀態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.
完工入庫品檢單_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗'
 ))))) [76]
12:59:44.874===========> GridTable.open: Count SQL=SELECT COUNT(*) FROM 完工入庫
品檢單 WHERE ((EXISTS ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態 WHERE 品管狀
態.品管狀態_ID=完工入庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單
_ID=完工入庫品檢單項次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗' )) AND  (((EX
ISTS ( SELECT 1 FROM 完工入庫品檢單項次, 品管狀態 WHERE 品管狀態.品管狀態_ID=完
工入庫品檢單項次.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單_ID=完工入庫品檢
單項次.完工入庫品檢單_ID AND 品管狀態.名稱<>'待驗' ))))) AND 完工入庫品檢單.AD_C
lient_ID IN(0,11) AND 完工入庫品檢單.AD_Org_ID IN(50007,0,50004,50005,50006,5000
0,50001,50002,11,12) AND  (WHERE.完工入庫品檢單_ID IS NULL OR WHERE.完工入庫品檢
單_ID NOT IN ( SELECT Record_ID FROM AD_Private_Access WHERE AD_Table_ID = 10001
16 AND AD_User_ID <> 100 AND IsActive = 'Y' ))  AND  (WHERE.品管狀態_ID IS NULL
OR WHERE.品管狀態_ID NOT IN ( SELECT Record_ID FROM AD_Private_Access WHERE AD_T
able_ID = 1000086 AND AD_User_ID <> 100 AND IsActive = 'Y' ))  AND  (品管狀態.品
管狀態_ID IS NULL OR 品管狀態.品管狀態_ID NOT IN ( SELECT Record_ID FROM AD_Priv
ate_Access WHERE AD_Table_ID = 1000086 AND AD_User_ID <> 100 AND IsActive = 'Y'
))  [76]
org.postgresql.util.PSQLException: 錯誤: 在"語法錯誤"附近發生 WHERE
  Position: 445; State=42601; ErrorCode=0
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
ecutorImpl.java:2157)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
Impl.java:1886)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
va:255)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
ement.java:559)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
Jdbc2Statement.java:417)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
2Statement.java:302)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewPr
oxyPreparedStatement.java:116)
        at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.compiere.db.StatementProxy.invoke(StatementProxy.java:126)
        at com.sun.proxy.$Proxy0.executeQuery(Unknown Source)
        at org.compiere.model.GridTable$Loader.open(GridTable.java:3437)
        at org.compiere.model.GridTable.open(GridTable.java:615)
        at org.compiere.model.GridTable.dataRequery(GridTable.java:2942)
        at org.compiere.model.GridTable.dataRequery(GridTable.java:2957)
        at org.compiere.model.GridTab.query(GridTab.java:745)
        at org.adempiere.webui.adwindow.ADTabpanel.query(ADTabpanel.java:916)
        at org.adempiere.webui.adwindow.AbstractADWindowContent$19.onEvent(Abstr
actADWindowContent.java:1791)
        at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2742
)
        at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2713
)

18:13:13.072-----------> AccessSqlParser.getTableInfo: More than one FROM clause
 - SELECT AD_Client_ID,AD_Org_ID,完工入庫品檢單_ID,完工入庫品檢單_UU,品檢人員_ID
,品檢日期,客戶_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy FROM 完工入庫品檢
單 WHERE ((EXISTS ( SELECT 1 FROM 完工入庫品檢單項次 a, 品管狀態 b WHERE a.品管
狀態_ID=b.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單_ID=a.完工入庫品檢單_ID
AND b.名稱<>'待驗' ))) [79]
18:13:13.077===========> MRole.addAccessSQL: TableName not correctly parsed - Ta
bleNameIn=完工入庫品檢單 - AccessSqlParser[完工入庫品檢單=WHERE,品管狀態=b|0] -
#1 完工入庫品檢單=WHERE
 = SELECT AD_Client_ID,AD_Org_ID,完工入庫品檢單_ID,完工入庫品檢單_UU,品檢人員_ID
,品檢日期,客戶_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy FROM 完工入庫品檢
單 WHERE ((EXISTS ( SELECT 1 FROM 完工入庫品檢單項次 a, 品管狀態 b WHERE a.品管
狀態_ID=b.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單_ID=a.完工入庫品檢單_ID
AND b.名稱<>'待驗' ))) [79]
18:13:13.134-----------> AccessSqlParser.getTableInfo: More than one FROM clause
 - SELECT COUNT(*) FROM 完工入庫品檢單 WHERE ((EXISTS ( SELECT 1 FROM 完工入庫品
檢單項次 a, 品管狀態 b WHERE a.品管狀態_ID=b.品管狀態_ID AND  完工入庫品檢單.完
工入庫品檢單_ID=a.完工入庫品檢單_ID AND b.名稱<>'待驗' ))) [79]
18:13:13.137===========> MRole.addAccessSQL: TableName not correctly parsed - Ta
bleNameIn=完工入庫品檢單 - AccessSqlParser[完工入庫品檢單=WHERE,品管狀態=b|0] -
#1 完工入庫品檢單=WHERE
 = SELECT COUNT(*) FROM 完工入庫品檢單 WHERE ((EXISTS ( SELECT 1 FROM 完工入庫品
檢單項次 a, 品管狀態 b WHERE a.品管狀態_ID=b.品管狀態_ID AND  完工入庫品檢單.完
工入庫品檢單_ID=a.完工入庫品檢單_ID AND b.名稱<>'待驗' ))) [79]
18:13:13.160===========> GridTable.open: Count SQL=SELECT COUNT(*) FROM 完工入庫
品檢單 WHERE ((EXISTS ( SELECT 1 FROM 完工入庫品檢單項次 a, 品管狀態 b WHERE a.
品管狀態_ID=b.品管狀態_ID AND  完工入庫品檢單.完工入庫品檢單_ID=a.完工入庫品檢單
_ID AND b.名稱<>'待驗' ))) AND 完工入庫品檢單.AD_Client_ID IN(0,11) AND 完工入庫
品檢單.AD_Org_ID IN(50007,0,50004,50005,50006,50000,50001,50002,11,12) AND  (WHE
RE.完工入庫品檢單_ID IS NULL OR WHERE.完工入庫品檢單_ID NOT IN ( SELECT Record_I
D FROM AD_Private_Access WHERE AD_Table_ID = 1000116 AND AD_User_ID <> 100 AND I
sActive = 'Y' ))  AND  (b.品管狀態_ID IS NULL OR b.品管狀態_ID NOT IN ( SELECT R
ecord_ID FROM AD_Private_Access WHERE AD_Table_ID = 1000086 AND AD_User_ID <> 10
0 AND IsActive = 'Y' ))  [79]
org.postgresql.util.PSQLException: 錯誤: 在"語法錯誤"附近發生 WHERE
  Position: 277; State=42601; ErrorCode=0
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
ecutorImpl.java:2157)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
Impl.java:1886)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
va:255)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
ement.java:559)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
Jdbc2Statement.java:417)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
2Statement.java:302)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewPr
oxyPreparedStatement.java:116)
        at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.compiere.db.StatementProxy.invoke(StatementProxy.java:126)
        at com.sun.proxy.$Proxy0.executeQuery(Unknown Source)
        at org.compiere.model.GridTable$Loader.open(GridTable.java:3437)
        at org.compiere.model.GridTable.open(GridTable.java:615)
        at org.compiere.model.GridTab.query(GridTab.java:750)
        at org.adempiere.webui.adwindow.ADTabpanel.query(ADTabpanel.java:916)
        at org.adempiere.webui.adwindow.AbstractADWindowContent.initFirstTabpane
l(AbstractADWindowContent.java:603)
        at org.adempiere.webui.adwindow.AbstractADWindowContent.initTab(Abstract
ADWindowContent.java:589)
        at org.adempiere.webui.adwindow.AbstractADWindowContent.initPanel(Abstra
ctADWindowContent.java:343)
        at org.adempiere.webui.adwindow.ADWindow.doCreatePart(ADWindow.java:150)

        at org.adempiere.webui.part.AbstractUIPart.createPart(AbstractUIPart.jav
a:41)

系統轉移用 iDempiere 去監測 SAP Oracle informix 資料庫 存放位置



import groovy.sql.Sql
import java.sql.Timestamp
import java.sql.PreparedStatement
import java.sql.ResultSet
import java.sql.Types
import org.compiere.util.Env
import org.compiere.util.DB
import java.sql.SQLException

int client=Env.getContextAsInt(A_Ctx, "AD_Client_ID");
int org=Env.getContextAsInt(A_Ctx, "AD_Org_ID");
int uid=Env.getContextAsInt(A_Ctx, "#AD_User_ID");

def t_start= System.currentTimeMillis()
String ss= DB.getSQLValueString(null,"select value from h_search where h_search_id = ?", A_Record_ID );
DB.executeUpdateEx( "delete from h_searchline where h_search_id="+A_Record_ID+ " " , A_TrxName);

def postsql = Sql.newInstance('jdbc:postgresql://127.0.0.1/taya1201','adempiere','adempiere','org.postgresql.Driver' )
def ptable= postsql.dataSet("h_searchline")   //上傳
def informix = Sql.newInstance( 'jdbc:informix-sqli://192.168.170.211:1534/hisopddb:informixserver=hisopdsrv;CLIENT_LOCALE=zh_tw.big5;','informix','db@w94u6', 'com.informix.jdbc.IfxDriver' );
def metadata = informix.connection.metaData
String[] tableTypes = ["TABLE"]
ResultSet rs = metadata.getTables(null, null, null, tableTypes );  //"userlist"
// getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)
// "TABLE", "VIEW", "SYSTEM TABLE", "GLOBAL TEMPORARY", "LOCAL TEMPORARY", "ALIAS", "SYNONYM".
String tblName = null;


while(rs.next()){
   tblName = rs.getString('TABLE_NAME');
   println ">>>>>> "+tblName
   ResultSet tblMetadata = metadata.getColumns(null, '%', tblName, null);
// ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)  throws SQLException
   while(tblMetadata.next()){
      String TABLE_SCHEM= tblMetadata.getString("TABLE_SCHEM");
      String TABLE_NAME= tblMetadata.getString("TABLE_NAME");
      String COLUMN_NAME= tblMetadata.getString("COLUMN_NAME");
      int DATA_TYPE= tblMetadata.getInt("DATA_TYPE");
      def v1 = 0
      def vline = 0

     if (DATA_TYPE==java.sql.Types.BIGINT    || DATA_TYPE==java.sql.Types.DECIMAL ||
         DATA_TYPE==java.sql.Types.DOUBLE || DATA_TYPE==java.sql.Types.FLOAT      ||
         DATA_TYPE==java.sql.Types.INTEGER || DATA_TYPE==java.sql.Types.NUMERIC)
     {
      def sqlcount = "SELECT COUNT(*)  as v1 FROM "+TABLE_SCHEM+"."+TABLE_NAME+" WHERE "+COLUMN_NAME+"="+ ss +" "
      try{
       informix .query(sqlcount )
        { ResultSet rscount ->
              while(rscount .next())
                    v1 = rscount .getInt('v1')
        }
      }catch(SQLException e){
         e.printStackTrace();
      }finally{
      }
    }
     if (DATA_TYPE==java.sql.Types.VARCHAR || DATA_TYPE==java.sql.Types.CHAR ||
         DATA_TYPE==java.sql.Types.NVARCHAR || DATA_TYPE==java.sql.Types.NCHAR  )
     {
      def sqlcount = "SELECT COUNT(*)  as v1 FROM "+TABLE_SCHEM+"."+TABLE_NAME+" WHERE "+COLUMN_NAME+" LIKE '%"+ ss +"%' "
      try{
       informix .query(sqlcount )
       { ResultSet rscount ->
              while(rscount .next())
                    v1 = rscount .getInt('v1')
        }
    }catch(SQLException e){
      e.printStackTrace();
    }finally{
   }

        if (v1 > 0){
                 String vsql =  sqlcount + "  ::  " + v1
                  vline = vline  + 10
                 int id = 0
                 String uu = null
     // select * from adempiere.ad_sequence where name like 'H_Search' --1000353
     postsql.query("select adempiere.nextid(1000353, 'N') as id , adempiere.generate_uuid() as uu ")
     { ResultSet rsuu -> if (rsuu.next()){
                 id = rsuu.getInt('id')
                 uu = rsuu.getString('uu')  }
  }

       ptable.add(
       ad_client_id:client, ad_org_id:org,  isactive: 'Y', createdby:uid,  updatedby:uid,
       h_search_id:A_Record_ID,
       h_searchline_id:id, h_searchline_uu:uu,
       line:vline,
       value:ss,
       name:ss,
       description:" [OPD] "+TABLE_SCHEM+"."+TABLE_NAME+"."+COLUMN_NAME+ "  找到:"+v1+"筆 : "
       )
                println  vsql  + "\t"
        }// if (v1 > 0){
        }// if (DATA_TYPE
   } // while(tblMetadata.next())
} // while(rs.next())
def t_end = System.currentTimeMillis()
result="執行完成: " + (t_end - t_start)

2014年11月8日 星期六

剛剛編譯最新 iDempiere 3.0 成功訊息

[start org.adempiere.base:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.base:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.server:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.server:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.replication:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.replication:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.replication.server:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.replication.server:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.ui:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.ui:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.zkoss.zk.library:osgi.bundle$7.0.3.qualifier#eclipse.build]
[end org.zkoss.zk.library:osgi.bundle$7.0.3.qualifier#eclipse.build]
[start org.adempiere.ui.zk:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.ui.zk:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.report.jasper.webapp:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.report.jasper.webapp:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.webstore:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.webstore:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.webstore.resource:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.webstore.resource:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.webstore.servlet:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.webstore.servlet:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.idempiere.felix.webconsole:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.idempiere.felix.webconsole:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.report.jasper.library:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.report.jasper.library:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.report.jasper:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.report.jasper:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.w3c.dom.fragment:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.w3c.dom.fragment:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.pipo:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.pipo:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.pipo.handlers:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.pipo.handlers:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.plugin.utils:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.plugin.utils:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.idempiere.hazelcast.service:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.idempiere.hazelcast.service:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.idempiere.hazelcast.service.config:osgi.bundle$3.0.0#eclipse.build]
[end org.idempiere.hazelcast.service.config:osgi.bundle$3.0.0#eclipse.build]
[start org.adempiere.install:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.install:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.compiere.db.oracle.provider:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.compiere.db.oracle.provider:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.compiere.db.postgresql.provider:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.compiere.db.postgresql.provider:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.payment.processor:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.payment.processor:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.base.callout:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.base.callout:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.base.process:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.base.process:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.extend:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.adempiere.extend:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.apache.ecs:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.apache.ecs:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.eclipse.equinox.http.servlet:osgi.bundle$1.1.0.v20100503#eclipse.build]
[end org.adempiere.eclipse.equinox.http.servlet:osgi.bundle$1.1.0.v20100503#eclipse.build]
[start org.adempiere.eclipse.equinox.http.servletbridge:osgi.bundle$1.0.200.v20100503#eclipse.build]
[end org.adempiere.eclipse.equinox.http.servletbridge:osgi.bundle$1.0.200.v20100503#eclipse.build]
[start org.adempiere.eclipse.equinox.servletbridge:osgi.bundle$1.2.0.v20100503#eclipse.build]
[end org.adempiere.eclipse.equinox.servletbridge:osgi.bundle$1.2.0.v20100503#eclipse.build]
[start org.idempiere.webservices:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.idempiere.webservices:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.idempiere.fitnesse.fixture:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.idempiere.fitnesse.fixture:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.idempiere.fitnesse.server:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.idempiere.fitnesse.server:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.idempiere.ui.zk.selenium:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.idempiere.ui.zk.selenium:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.idempiere.fitrecorder:osgi.bundle$3.0.0.qualifier#eclipse.build]
[end org.idempiere.fitrecorder:osgi.bundle$3.0.0.qualifier#eclipse.build]
[start org.adempiere.replication.server:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.replication.server:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.ui.zk:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.ui.zk:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.zkoss.zk.library:osgi.bundle$7.0.3.qualifier#source.bundle.jar]
[end org.zkoss.zk.library:osgi.bundle$7.0.3.qualifier#source.bundle.jar]
[start org.adempiere.webstore:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.webstore:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.webstore.resource:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.webstore.resource:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.webstore.servlet:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.webstore.servlet:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.idempiere.felix.webconsole:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.idempiere.felix.webconsole:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.report.jasper:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.report.jasper:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.w3c.dom.fragment:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.w3c.dom.fragment:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.pipo:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.pipo:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.pipo.handlers:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.pipo.handlers:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.plugin.utils:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.plugin.utils:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.idempiere.hazelcast.service:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.idempiere.hazelcast.service:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.idempiere.hazelcast.service.config:osgi.bundle$3.0.0#source.bundle.jar]
[end org.idempiere.hazelcast.service.config:osgi.bundle$3.0.0#source.bundle.jar]
[start org.compiere.db.oracle.provider:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.compiere.db.oracle.provider:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.compiere.db.postgresql.provider:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.compiere.db.postgresql.provider:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.payment.processor:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.payment.processor:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.replication:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.replication:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.base:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.base:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.base.callout:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.base.callout:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.base.process:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.base.process:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.extend:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.extend:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.ui:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.ui:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.apache.ecs:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.apache.ecs:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.install:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.install:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.report.jasper.webapp:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.report.jasper.webapp:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.server:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.adempiere.server:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.adempiere.eclipse.equinox.http.servlet:osgi.bundle$1.1.0.v20100503#source.bundle.jar]
[end org.adempiere.eclipse.equinox.http.servlet:osgi.bundle$1.1.0.v20100503#source.bundle.jar]
[start org.adempiere.eclipse.equinox.http.servletbridge:osgi.bundle$1.0.200.v20100503#source.bundle.jar]
[end org.adempiere.eclipse.equinox.http.servletbridge:osgi.bundle$1.0.200.v20100503#source.bundle.jar]
[start org.adempiere.eclipse.equinox.servletbridge:osgi.bundle$1.2.0.v20100503#source.bundle.jar]
[end org.adempiere.eclipse.equinox.servletbridge:osgi.bundle$1.2.0.v20100503#source.bundle.jar]
[start org.idempiere.webservices:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[end org.idempiere.webservices:osgi.bundle$3.0.0.qualifier#source.bundle.jar]
[start org.slf4j.jdk14:osgi.bundle$1.7.2.qualifier#source.bundle.jar]
[end org.slf4j.jdk14:osgi.bundle$1.7.2.qualifier#source.bundle.jar]
[start org.adempiere.server:eclipse.feature$3.0.0.qualifier#create.product]
[ant] C:\eclipse-standard-kepler-SR2-win32-x86_64\eclipse\plugins\org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
[ant] file:/C:/Users/Albert/buckminster.output/org.adempiere.server_3.0.0-eclipse.feature/site.p2/
[ant] C:\Users\Albert\buckminster.output\org.adempiere.server_3.0.0-eclipse.feature\idempiere.win32.win32.x86_64
[end org.adempiere.server:eclipse.feature$3.0.0.qualifier#create.product]
[start org.adempiere.server:eclipse.feature$3.0.0.qualifier#create.product.zip]
[end org.adempiere.server:eclipse.feature$3.0.0.qualifier#create.product.zip]

剛剛編譯最新 iDempiere 3.0 這些都沒在 lib 裡面要自己抓下來




commits...@bitbucket.org
10月16日
1 new commit in iDempiere:

https://bitbucket.org/idempiere/idempiere/commits/faaca50ff715/
Changeset:   faaca50ff715
Branch:      zk7
User:        hengsin
Date:        2014-10-16 03:44:36+00:00
Summary:     IDEMPIERE-2245 Platform Upgrade for r3. Increase max retries to 5 to reduce possibilities of materialization aborted with read timeout exception.
Affected #:  2 files

diff -r 2c72b16aea429b12301d7297674b6a27dfd485a3 -r faaca50ff71573f4a763dc7d76bbdf36f429beba org.zkoss.zk.library/copyjars.xml
--- a/org.zkoss.zk.library/copyjars.xml
+++ b/org.zkoss.zk.library/copyjars.xml
@@ -1,19 +1,19 @@
 <project name="zklibrary" basedir=".." default="copy"><target name="copy">
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zk/7.0.3/zk-7.0.3.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zul/7.0.3/zul-7.0.3.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zhtml/7.0.3/zhtml-7.0.3.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zkplus/7.0.3/zkplus-7.0.3.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zkbind/7.0.3/zkbind-7.0.3.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zcommon/7.0.3/zcommon-7.0.3.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zel/7.0.3/zel-7.0.3.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zweb/7.0.3/zweb-7.0.3.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/ckez/4.3.3.0/ckez-4.3.3.0.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/gmapsz/3.0.3/gmapsz-3.0.3.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/timelinez/2.3.1_50/timelinez-2.3.1_50.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/timeplotz/1.1_50/timeplotz-1.1_50.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/calendar/calendar/2.1.4/calendar-2.1.4.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://repo1.maven.org/maven2/org/python/jython/2.5.3/jython-2.5.3.jar" dest="lib" usetimestamp="true"/>
-              <get src="http://repo1.maven.org/maven2/org/jruby/jruby-complete/1.7.15/jruby-complete-1.7.15.jar" dest="lib" usetimestamp="true"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zk/7.0.3/zk-7.0.3.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zul/7.0.3/zul-7.0.3.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zhtml/7.0.3/zhtml-7.0.3.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zkplus/7.0.3/zkplus-7.0.3.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zkbind/7.0.3/zkbind-7.0.3.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zcommon/7.0.3/zcommon-7.0.3.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zel/7.0.3/zel-7.0.3.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zweb/7.0.3/zweb-7.0.3.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/ckez/4.3.3.0/ckez-4.3.3.0.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/gmapsz/3.0.3/gmapsz-3.0.3.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/timelinez/2.3.1_50/timelinez-2.3.1_50.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/timeplotz/1.1_50/timeplotz-1.1_50.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/calendar/calendar/2.1.4/calendar-2.1.4.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://repo1.maven.org/maven2/org/python/jython/2.5.3/jython-2.5.3.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://repo1.maven.org/maven2/org/jruby/jruby-complete/1.7.15/jruby-complete-1.7.15.jar" dest="lib" usetimestamp="true" verbose="true" retries="5"/></target></project>

diff -r 2c72b16aea429b12301d7297674b6a27dfd485a3 -r faaca50ff71573f4a763dc7d76bbdf36f429beba org.zkoss.zk.library/copysources.xml
--- a/org.zkoss.zk.library/copysources.xml
+++ b/org.zkoss.zk.library/copysources.xml
@@ -1,19 +1,19 @@
 <project name="zklibrary" basedir=".." default="copy"><target name="copy">
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zk/7.0.3/zk-7.0.3-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zul/7.0.3/zul-7.0.3-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zhtml/7.0.3/zhtml-7.0.3-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zkplus/7.0.3/zkplus-7.0.3-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zkbind/7.0.3/zkbind-7.0.3-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zcommon/7.0.3/zcommon-7.0.3-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zel/7.0.3/zel-7.0.3-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zweb/7.0.3/zweb-7.0.3-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/ckez/4.3.3.0/ckez-4.3.3.0-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/gmapsz/3.0.3/gmapsz-3.0.3-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/timelinez/2.3.1_50/timelinez-2.3.1_50-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/timeplotz/1.1_50/timeplotz-1.1_50-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/calendar/calendar/2.1.4/calendar-2.1.4-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://repo1.maven.org/maven2/org/python/jython/2.5.3/jython-2.5.3-sources.jar" dest="lib/src" usetimestamp="true"/>
-              <get src="http://repo1.maven.org/maven2/org/jruby/jruby-complete/1.7.15/jruby-complete-1.7.15-sources.jar" dest="lib/src" usetimestamp="true"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zk/7.0.3/zk-7.0.3-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zul/7.0.3/zul-7.0.3-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zhtml/7.0.3/zhtml-7.0.3-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zkplus/7.0.3/zkplus-7.0.3-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zk/zkbind/7.0.3/zkbind-7.0.3-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zcommon/7.0.3/zcommon-7.0.3-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zel/7.0.3/zel-7.0.3-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/common/zweb/7.0.3/zweb-7.0.3-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/ckez/4.3.3.0/ckez-4.3.3.0-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/gmapsz/3.0.3/gmapsz-3.0.3-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/timelinez/2.3.1_50/timelinez-2.3.1_50-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/zkforge/timeplotz/1.1_50/timeplotz-1.1_50-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://mavensync.zkoss.org/maven2/org/zkoss/calendar/calendar/2.1.4/calendar-2.1.4-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://repo1.maven.org/maven2/org/python/jython/2.5.3/jython-2.5.3-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/>
+              <get src="http://repo1.maven.org/maven2/org/jruby/jruby-complete/1.7.15/jruby-complete-1.7.15-sources.jar" dest="lib/src" usetimestamp="true" verbose="true" retries="5"/></target></project>

Repository URL: https://bitbucket.org/idempiere/idempiere/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.