Skip to content

Instantly share code, notes, and snippets.

@jonbartlett
Created June 12, 2012 05:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonbartlett/2915245 to your computer and use it in GitHub Desktop.
Save jonbartlett/2915245 to your computer and use it in GitHub Desktop.
Download Oracle Apps Custom Objects
#!/usr/bin/ksh
#*******************************************************************************
#*
#* $HeadURL: http://adlap802:8080/subversion/FinanceTransformation/Standards/Templates/Code/xxcust_fndload_download.sh $
#*
#* Purpose : Install all components for XXXXXXXXXXX.
#*
#* $Author:
#*
#* $Date: 2010-10-22 11:35:19 +1100 (Fri, 22 Oct 2010) $
#*
#* $Revision: 2881 $
#*
#* History : Refer to Source Control
#*
#* Notes : exceute with ./xxcust_projectcode_install.sh <appspwd>
#* for example ./xxcust_projectcode_install.sh apps
#*
#********************************************************************************
#* $Id: xxcust_fndload_download.sh 2881 2010-10-22 00:35:19Z PIPELINETRUST\johbar $
USAGE="usage: $0 $1" # filename.sh appspwd
if [ "$1" == "" ]
then
echo "Usage xxcust_projectcode_install.sh <apps password>"
exit 1
fi
#---------------------------------------
# Arguments:
# 1 - Apps Password
#---------------------------------------
#---------------------------------------
# WebADI Custom Integrator
#---------------------------------------
FNDLOAD apps/$1 0 Y DOWNLOAD \
$BNE_TOP/patch/115/import/bneintegrator.lct \
$XXCUST_TOP/import/xxcust_cmnmap_int_mapping_integrator.ldt \
BNE_INTEGRATORS \
INTEGRATOR_ASN="XXCUST" \
INTEGRATOR_CODE="XXCUST_INT_MAPPING_XINTG"
#---------------------------------------
# Concurrent Programs
#---------------------------------------
FNDLOAD apps/$1 O Y DOWNLOAD \
$FND_TOP/patch/115/import/afcpprog.lct \
$XXCUST_TOP/import/xxcust_cmnmap_int_mapping_purge_cp.ldt \
PROGRAM \
CONCURRENT_PROGRAM_NAME="XXCUST_INT_MAPPING_PURGE" \
APPLICATION_SHORT_NAME="XXCUST"
#---------------------------------------
# Form Functions
#---------------------------------------
FNDLOAD apps/$1 O Y DOWNLOAD \
$FND_TOP/patch/115/import/afsload.lct \
$XXCUST_TOP/import/xxcust_cmnmap_int_mapping_webadi_layout_func.ldt \
FUNCTION \
FUNCTION_NAME="XXCUST_MAPPING_WEBADI_LAYOUT1"
#---------------------------------------
# Menus
#---------------------------------------
FNDLOAD apps/$1 O Y DOWNLOAD \
$FND_TOP/patch/115/import/afsload.lct \
$XXCUST_TOP/import/xxcust_data_conv_menu.ldt \
MENU MENU_NAME="XXCUST_DATA_CONVERSION"
#---------------------------------------
# Request Groups
#---------------------------------------
FNDLOAD apps/$1 O Y DOWNLOAD \
$FND_TOP/patch/115/import/afcpreqg.lct \
$XXCUST_TOP/import/xxcust_data_conv_req_grp.ldt \
REQUEST_GROUP \
REQUEST_GROUP_NAME="Data Conversion (Custom)" \
APPLICATION_SHORT_NAME="XXCUST"
#---------------------------------------
# Responsibility
#---------------------------------------
FNDLOAD apps/$1 O Y DOWNLOAD \
$FND_TOP/patch/115/import/afscursp.lct \
$XXCUST_TOP/import/xxcust_data_conv_resp.ldt \
FND_RESPONSIBILITY RESP_KEY="XXCUST_DATA_CONVERSION"
#---------------------------------------
# Profile Options
#---------------------------------------
FNDLOAD apps/$1 O Y DOWNLOAD \
$FND_TOP/patch/115/import/afscprof.lct CPER_EMP_TERM_NOTIF_FINANCE_FLAG_PO.ldt \
PROFILE \
PROFILE_NAME=CPER_EMP_TERM_NOTIF_FINANCE_FLAG \
APPLICATION_SHORT_NAME=CPER
#---------------------------------------
# BIP Templates and Data Definitions
#---------------------------------------
FNDLOAD apps/$1 O Y DOWNLOAD \
$XDO_TOP/patch/115/import/xdotmpl.lct \
$ARC_TOP/import/arcinvbip_sel_bip_def.ldt XDO_DS_DEFINITIONS \
APPLICATION_SHORT_NAME="ARC" \
DATA_SOURCE_CODE="ARCINVBIP_SEL"
#---------------------------------------
# Business Event
#---------------------------------------
java oracle.apps.fnd.wf.WFXLoad -d \
apps $1 \
$2:$3:$4 thin US \
$CPER_TOP/admin/import/cper_emp_term_event.wfx EVENTS custom.oracle.apps.cper.emp.termination
#---------------------------------------
# Business Event Subscription
#---------------------------------------
java oracle.apps.fnd.wf.WFXLoad -d \
apps $1 \
$2:$3:$4 thin US \
$CPER_TOP/admin/import/cper_emp_term_event_sub.wfx SUBSCRIPTIONS custom.oracle.apps.cper.emp.termination
#---------------------------------------
# Forms Personalisations
#---------------------------------------
FNDLOAD apps/$1 0 Y DOWNLOAD \
$FND_TOP/patch/115/import/affrmcus.lct file_name.ldt \
FND_FORM_CUSTOM_RULES function_name=FUNCTION_NAME
FNDLOAD apps/$1 0 Y DOWNLOAD \
$FND_TOP/patch/115/import/affrmcus.lct file_name.ldt \
FND_FORM_CUSTOM_RULES form_name=<form name>
#---------------------------------------
# DFF's
#---------------------------------------
$FND_TOP/bin/FNDLOAD apps/$1 0 Y DOWNLOAD \
$FND_TOP/patch/115/import/afffload.lct \
XX_PO_REQ_HEADERS_DFF.ldt \
DESC_FLEX APPLICATION_SHORT_NAME=PO \
DESCRIPTIVE_FLEXFIELD_NAME='PO_REQUISITION_HEADERS'
#---------------------------------------
# Value Set
#---------------------------------------
FNDLOAD apps/$DBPASS O Y DOWNLOAD \
$FND_TOP/patch/115/import/afffload.lct \
file_name.ldt \
VALUE_SET \
FLEX_VALUE_SET_NAME="value set name"
#---------------------------------------
# Messages
#---------------------------------------
FNDLOAD apps/$1 0 Y DOWNLOAD \
$FND_TOP/patch/115/import/afmdmsg.lct poc_poreqcha_notif_msg.ldt \
FND_NEW_MESSAGES \
APPLICATION_SHORT_NAME=ICXC MESSAGE_NAME=POC_POREQCHA_NOTIF_TEXT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment