Monday, May 02, 2016

Creating Global Temporary Table

DROP TABLE xxx.xxx_fg_lot_det_gt CASCADE CONSTRAINTS;

CREATE GLOBAL TEMPORARY TABLE xxx.xxx_fg_lot_det_gt
(
  ORGANIZATION_CODE                  VARCHAR2(10 BYTE),
  ITEM_NUMBER                        VARCHAR2(50 BYTE),
  DESCRIPTION                        VARCHAR2(240 BYTE),
  GTIN                               VARCHAR2(50 BYTE),
  LOT_NUMBER                         VARCHAR2(50 BYTE),
  INVENTORY_ITEM_STATUS_CODE         VARCHAR2(80 BYTE),
  DOM                                VARCHAR2(50 BYTE),
  SHELF_LIFE_DAYS                    NUMBER,
  EXPIRATION_DATE                    DATE,
  CONFIGURATION                      VARCHAR2(10 BYTE),
  COUNTRY_OF_ORIGIN                  VARCHAR2(50 BYTE),
  MANUFACTURIN_FACILITY              VARCHAR2(10 BYTE),
  LOT_STATUS                         VARCHAR2(50 BYTE),
  ONHAND_QTY                         NUMBER,
  LOCATION                           VARCHAR2(80 BYTE),
  RECEIPT_QTY                        NUMBER
)
ON COMMIT PRESERVE ROWS
NOCACHE;


DROP SYNONYM APPS.xxx_fg_lot_det_gt;

CREATE SYNONYM APPS.xxx_fg_lot_det_gt FOR xxx.xxx_fg_lot_det_gt;

No comments:

Post a Comment

Clear BNE Cache for WebADI Changes

It Sometime happens that WebAdi Changes doesn't reflect once migrated in controlled instances. Here are the quick steps(Generally perfor...