Thursday, January 12, 2012

create first Configurator Extension in Oracle Configurator

hi below is the code to create your first configurator extension in Oracle Configurator.


import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import oracle.apps.cz.cio.*;
import oracle.apps.cz.common.*;
import oracle.apps.fnd.common.Context;


public class CIOtest
{
    public static void main(String args[])
    {
       
        try
        {
        System.out.println("inside the class");
        java.sql.Connection conn = null;
        System.out.println("inside the class 1 ");
        Class.forName("oracle.jdbc.driver.OracleDriver");
        System.out.println("inside the class 2 ");
        // Context cfg_context = new CZWebAppsContext("10.13.20.56","8001","dev");
        // Context cfg_context = new CZWebAppsContext("10.13.20.56","8005","test");
        Context cfg_context = new CZWebAppsContext("test");
        System.out.println("inside the class 3 ");
        CIO cioobject = new CIO();
    System.out.println("inside the class 4 ");
        }
        catch (Exception e)
        {
            System.out.println("inside the exception");
            System.out.println(e);
        }
        //conn = DriverManager.getConnection("jdbc:oracle:thin:@10.13.20.55:1526:TST1", "apps", "apps");

    }

};

http://www.indylogix.com

CZ_tables

OBJECT_NAME


CZ_ADDRESSES
CZ_ADDRESS_USES
CZ_ARCHIVES
CZ_ARCHIVE_REFS
CZ_ATP_REQUESTS
CZ_COMBO_FEATURES
CZ_CONFIG_ATTRIBUTES
CZ_CONFIG_EXT_ATTRIBUTES
CZ_CONFIG_HDRS
CZ_CONFIG_INPUTS
CZ_CONFIG_ITEMS
CZ_CONFIG_MESSAGES
CZ_CONFIG_USAGES
CZ_CONTACTS
CZ_CUSTOMERS
CZ_CUSTOMER_END_USERS
CZ_DB_LOGS
CZ_DB_SETTINGS
CZ_DB_SIZES
CZ_DES_CHART_CELLS
CZ_DES_CHART_COLUMNS
CZ_DES_CHART_FEATURES
CZ_DEVL_PRJ_USER_GROUPS
CZ_DEVL_PROJECTS
CZ_DRILL_DOWN_ITEMS
CZ_EFFECTIVITY_SETS
CZ_END_USERS
CZ_END_USER_GROUPS
CZ_EXPRESSIONS
CZ_EXPRESSION_NODES
CZ_EXP_TMP_LINES
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_PROPERTIES
CZ_PROPOSAL_HDRS
CZ_PROP_QUOTE_HDRS
CZ_PSNODE_PROPCOMPAT_GENS
CZ_PS_NODES
CZ_PS_PROP_VALS
CZ_PUBLICATION_USAGES
CZ_QUOTE_HDRS
CZ_QUOTE_MAIN_ITEMS
CZ_QUOTE_ORDERS
CZ_QUOTE_SPARES
CZ_QUOTE_SPECIAL_ITEMS
CZ_REL_TYPES
CZ_RP_ENTRIES
CZ_RULES
CZ_RULE_FOLDERS
CZ_SERVERS
CZ_SIGNATURES
CZ_SIGNATURE_ARGUMENTS
CZ_SPARES_SPECIALS
CZ_SUB_CON_SETS
CZ_TERMINATE_MSGS
CZ_TYPE_RELATIONSHIPS
CZ_UI_ACTIONS
CZ_UI_CONT_TYPE_TEMPLS
CZ_UI_DEFS
CZ_UI_IMAGES
CZ_UI_NODES
CZ_UI_NODE_PROPS
CZ_UI_PAGES
CZ_UI_PAGE_ELEMENTS
CZ_UI_PAGE_REFS
CZ_UI_PAGE_SETS
CZ_UI_PROPERTIES
CZ_UI_REFS
CZ_UI_REF_TEMPLATES
CZ_UI_TEMPLATES
CZ_UI_TEMPLATE_ELEMENTS
CZ_UI_XMLS
CZ_USER_GROUPS
CZ_XFR_FIELDS
CZ_XFR_FIELD_REQUIRES
CZ_XFR_PRICE_LISTS
CZ_XFR_PROJECT_BILLS
CZ_XFR_RUN_INFOS
CZ_XFR_RUN_RESULTS
CZ_XFR_STATUS_CODES
CZ_XFR_TABLES

Enable CZ log in Server for Configurator Developement

to enable the log of CZ log on the server you have to modify the Jserv.properties on the server as below

 #CONFIGURATOR DEBUG

 wrapper.bin.parameters=-DAFLOG_ENABLED=Yes
wrapper.bin.parameters=-DAFLOG_LEVEL=Statement
wrapper.bin.parameters=-DAFLOG_MODULE=cz%
wrapper.bin.parameters=-DAFLOG_FILENAME=server path to log file CZ_apps.log

 restart the Apache after the changes in Jserv.properties.


in R12,it will be



OC4J Java System Properties

To enable logging for OC4J, add the following to the oc4j.properties file corresponding to your OC4J Container. This is the "oacore" container (typically located in $ORACLE_CONFIG_HOME/j2ee/oacore/config/):
AFLOG_ENABLED=TRUE 
AFLOG_LEVEL=STATEMENT 
AFLOG_MODULE=% 
AFLOG_FILENAME=/path/to/apps.log

Sunday, December 25, 2011

Oracle Configurator Basics

Oracle configurator can be thought of as a selling machine if there is a model bill against which to configure by selecting options. Oracle configurator can also be thought of as an engineering machine if there is no model bill. An engineering machine could generate a bill. Configurations created with Oracle Configurator are standard bills based on an already existing model bill. Oracle Configurator does not have to be based on bills of material, although that is currently necessary for ordering and downstream ERP. To pass orders to Order Management, Telesales and Sales for Comms use Order Capture.Order Capture, iStore, and HTML Quoting use Order Capture APIs. Sales Online uses HTML Quoting. Oracle configurator is an application or part of an application that lets a user configure products and services. The configuration model, which is typically based on a BOM model, consists of structure, rules, and UI definition. A configuration of selections can be ordered and built because it represents a BOM. Pricing in Oracle Configurator is handled by the hosting application. If list prices are imported with the BOM, Configurator can display item prices and totals.

How does Oracle Configurator Implemented in Oracle Applications?

 the process is as below

1.first,cretae the inverntory with each items.
2.create the Bills of Material of Items.and also define the BOM type and other attributes.
3.After that Run concurrent Program to make it avaible at the Configruator developer UI for creating structure,UI and Rules.

4.Create Non BOM Items and Properties for the Items.
5. Create Struture as per your project requirment.
6.Create UI as per your project requirment.
7. Create Rules as per your business logic.

8.Publish the Configurator CZ schema to target instance.

 9.Your Changes will be available to Sales Order Configurator Screen for Configuration.