Composite Primary key & Primary key questions

Background:
1.5 TB data warehouse. All tables use at least a 3 column composite Primary key. Most use 3. col1||col2||col3 to achieve uniqueness.
col1= very low cardinality. 99% of the values are '0'
col2 = high cardinality. (SSN's, loaded monthly)
col3 = low cardinality. (monthly sequence number used for partitioning)
From what I've read, the first column used in a composite primary key also receives its own index. If that is correct, then the primary key being used is losing its effectiveness by putting a very low cardinality column as the first column of the Primary key. By moving col2 to the first position of the composite key, I would be obtaining an index on SSN which would be much more useful. (Please correct me if I'm wrong) Or since the index would be so large anyway, the CBO would just do full table scans which is what I'm trying to get away from.
This Primary key is used to ensure uniqueness during loads. Other than that, it really has no purpose and is never queried by the user. (WHERE col1||col2||col3 = xxxxxxxxx)
As a DBA, I see this massive tablespace for holding the primary keys now reaching in excess of 157 GB and it seems like such a waste of space. The problem I'm running across is how to ensure uniqueness during the loads w/o having to store the unique values. (the 157 GB) If I drop the PK's, then create unique indexes just for the loads, then the unique index would be generated against the entire table, which would take forever.
If you create a local index (what I want in the end) it still has to create the index for all previous partitions (250+ partitions). You can't create a specific 'local' index on a partition. You create a local index on the table and when a new partition is added, the index is then added as well. That's what I want to do with some of my fields like SSN but for loading purposes, this isn't going to help me.
I need a way to ensure uniqueness during a monthly load of a new partition (col1||col2||col3) but w/o having to store these values for eternity. Right now it's the primary key, so it has to be stored. I hope I'm making sense here. Any ideas?

I think you need some clarification about the index supporting the primary key.
The primary key is unique - the database will enforce this for you.
All of the columns in the primary key are in the index that enforces the key (not just the first column).
Usually this index is a unique index, but you can have a non-unique index supporting a primary key.
I'm a little confused with some of your other statements
how to ensure uniqueness during the loads w/o having to store the unique valuesIf you don't store the value how do you know it is unique?
Did you mean that you don't want to store the key values in both the table and the index?
You may want to consider making col3 (the partition key) the leading column of the index, so you can create a local (instead of global) PK index.
I wouldn't worry too much about col1 (the column full of mostly zeros) - numbers are stored variable length. A NUMBER(38) that holds a zero takes no more space than a NUMBER(1) that holds a zero.

Similar Messages

  • Lack of Primary and Foreign Keys and Efficiency

    I am reverse engineering a Maximo database. I am shock that it does not have Primary or foreign keys define for 590 out of 620 tables.
    My question is does the lack of Primary and Foreign key relationships adversely impact the efficiency of an Oracle database? I think it does IBM techs do not think it does.
    Anyone has the answer?

    does the lack of Primary and Foreign key relationships adversely impact the efficiency of an Oracle database? Not necessarily. There are many large OLTP databases that do not define PKs and FKs.
    It is true that the presence of constraint defintions is used by the optimizer. However,
    what matters is how the application is written and how the optimizer handles it.
    Remember that Oracle Databases have been in production since before constraint definitions were introduced.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jun 9, 2010 10:05 AM

  • Basic doubt about Primary Key/Foreign Key in Oracle Tables

    Hi,
    I have a doubt whether Primary Keys/Foreign Keys are allowed in Oracle. Some of the people I know are telling me that Oracle does not encourage having Primary Keys/Foreign keys in its database tables.
    However if I go to the ETRM and look for information about some of the Oracle Tables, I am informed that Primary Keys do exist. However I am being told that ETRM is not a reliable way of having correct information about table structure.
    It would be great if any one of you provides me with some insight in this. Any pointers to a document would be great.
    Thanks

    It is not that PK/FKs are disallowed in Oracle Apps (there are some on the standard Oracle Apps tables), but they are typically not used. I am not positive what the logic behind this is, but my guess is that it was party due to the earlier versions of Oracle Apps pre-dating declarative database referential integrity in Oracle DB and also on performance issues with the standard referential integrity with the earlier versions of declarative database referential integrity.
    As far as eTRM is concerned - I understood that the data is based on a design repository rather than a physical Oracle Apps DB. So all of the information in there is logically correct, but not necessarily enforced via the standard Oracle DB declarative referential integrity (rather by the application code or APIs).

  • Ms sql - {"The referenced table must have a primary or candidate key. [ FK Name = ForeignKeyB_Details ]"}

    I have a txt file which has all the sqltext in it separated by semi colon .Then I try to run a query one by one like this-
                var conn = new SqlCeConnection(ConnectionString);
                conn.Open();
                var cmdArray = Regex.Split(sqlText, ";");
                var cmd = new SqlCeCommand(null, conn);
                foreach (var text in cmdArray)
                    cmd.CommandText = text;
                    if (!text.Equals(string.Empty))
                        cmd.ExecuteNonQuery();
                    else
                        break;
                conn.Close();
    I get the error {"The referenced table must have a primary or candidate key. [ FK Name = ForeignKeyB_Details  ]"}
    here is part of my txt file-
    CREATE TABLE A
           PrimaryId nvarchar(10) NOT NULL REFERENCES C(PrimaryId),
           UserId nvarchar(20) NOT NULL,
           FirstName nvarchar(30) NOT NULL,
           MiddleInitial nvarchar(1) NULL,
           LastName nvarchar(30) NOT NULL,
           MobileNumber nvarchar(20) NULL,
           PhoneNumber nvarchar(10) NOT NULL,
           PhoneExtension nvarchar(6) NULL,
           FaxNumber nvarchar(20) NULL,
           EmailAddress nvarchar(50) NOT NULL,
      CONSTRAINT PrimaryKeyA PRIMARY KEY(PrimaryId, UserId)
    CREATE TABLE B(
       MarketId int NOT NULL references E(MarketId),
       UserId nvarchar(20) NOT NULL,
       UserFirstName nvarchar(30) NOT NULL,
       UserMiddleInitial nvarchar(1) NOT NULL,
       UserLastName nvarchar(30) NOT NULL,
       PhoneNbr nvarchar(10) NOT NULL,
       Extension nvarchar(6) NOT NULL,
       FaxNbr nvarchar(20) NOT NULL,
       Email nvarchar(50) NOT NULL,
       ShortName nvarchar(10) NOT NULL,
    PublicIdFlag nvarchar(6) NOT NULL references D(publicId),
            CONSTRAINT PrimaryKeyB PRIMARY KEY( MarketId, UserId)
    ALTER TABLE B ADD CONSTRAINT ForeignKeyB_Details FOREIGN KEY(UserId, UserFirstName, UserMiddleInitial, UserLastName, PhoneNbr, Extension, FaxNbr, Email) REFERENCES A(UserId, FirstName, MiddleInitial, LastName, PhoneNumber, PhoneExtension, FaxNumber, EmailAddress);

    Hi,
    Foreign key columns are frequently used in join criteria when the data from related tables is combined in queries by matching the column or columns in the FOREIGN KEY constraint of one table with the primary or unique key column or columns in the other table.
    For more information about the foreign key constraint, please refer to this link:
    http://msdn.microsoft.com/en-us/library/ms175464.aspx
    Here is a similar thread for your reference:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/5a71948b-dfb1-46a5-8688-ccab9317e959/error-message-the-referenced-table-must-have-a-primary-or-candidate-key-fk-name-fktblatblb-?forum=sqlce
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Basic doubt about Primary Keys/Foreign Keys in Oracle Tables

    Hi,
    I have a doubt whether Primary Keys/Foreign Keys are allowed in Oracle or not. I have been informed that Oracle does not encourage having Primary Keys/Foreign keys in its database tables. Instead it urges users to have unique constraints on the requisite columns.
    However if I go to the ETRM and look for information about some of the Oracle Tables, I am informed that Primary Keys do exist. At the same time, I am being told that ETRM is not a reliable way of having correct information about table structure (at least the Primary Key information).
    It would be nice if any one of you provides me with some insight in this. Any pointers to a document would be welcome.
    Thanks

    FYI,
    There is seprate forum for Core Sql quieries
    PL/SQL
    Thanks

  • Can I create constraints "Primary key - Foreign key" on materialized views?

    Hello!
    Can I create constraints "Primary key - Foreign key" on materialized views like on tables?
    My purpose - is to make DB schema "COPY" with set of materialized views or tables, which take data from time to time from other tables situated.into another schema "ORIGINAL".
    Also - I want to use reporting tool, like Crystal Reports, to make nice reports from schema "COPY". To make nice reports, I need primary-foreign relationships between materialized views or tables in schema "COPY".
    Is it possible to use materialized views?
    Or I should use only tables to get such result?
    Thank you in advance.
    Edited by: kogotok1 on Dec 3, 2010 5:01 PM

    What happens when you try it? Or search the manuals.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_6002.htm#i2105365
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10706/repmview.htm#REPLN360

  • PRIMARY KEY-FOREIGN KEY 관계 찾기(MASTER TABLE CONSTRAINT 정보 찾는 SQL)

    제품 : ORACLE SERVER
    작성날짜 : 2003-06-19
    PRIMARY KEY-FOREIGN KEY 관계 찾기
    =================================
    PURPOSE
    이 자료는 MASTER TABLE CONSTRAINT 정보를 찾는 SQL이다.
    Explanation
    SCOTT의 EMP table의 Foreign Key와 부모 제약 조건을 찾으려면
    다음의 질의문을 사용하여 찾을 수 있다.
    SQL> alter table dept add constraint dept_pk primary key (deptno);
    Table altered.
    SQL> alter table emp add constraint emp_dept_fk foreign key(deptno)
    references dept(deptno);
    Table altered.
    SQL> select c.constraint_name as "foreign key",
    p.constraint_name as "referenced key",
    p.constraint_type,
    p.owner,
    p.table_name
    from dba_constraints c, dba_constraints p
    where c.owner = 'SCOTT'
    and c.table_name = 'EMP'
    and c.constraint_type = 'R'
    and c.r_owner = p.owner
    and c.r_constraint_name = p.constraint_name;
    foreign key referenced key C OWNER TABLE_NAME
    EMP_DEPT_FK DEPT_PK P SCOTT DEPT
    Example
    none
    Reference Documents
    <Note:1010844.6>

    I don't have intimate knowledge of SQL Server, but to me, your code seems reasonable. I guess there is some "fine point" (a bug?) to using self referenceing foreign keys in SQL Server. It doesn't seem plausible that the error originates with the driver, unless it's a very intelligent kind of driver.
    A "Gordian Knot" kind of solution to your problem is to ask whether you really need the foreign key constraint in the db schema. Is the table used by something other than your EJB? Anyway, putting logic responsible for the correct functioning of your EJB into the db schema is often a bad practice, as it makes the code harder to understand, maintain, port etc.

  • Lost about 60-75% of my primary and foreign keys when Migrating from SQL Server 7

    Hi All,
    I did an almost successful migration between SQL Server 7.0 and Oracle9i.
    What happened:
    I seem to have lost my primary and foreign keys in the migration. The funny thing is when I viewed the constraints and indexes in Toad, they were there. However when I tried to enabled those constraints nothing happened.
    I really don't know how I can fixed this, but I don't understand why I didn't get a warning or an error message in the Migration Workbench (latest version).
    I did ignore the following errors, could that have anything to do with the keys being lost.
    Failed to create User:omwb_emulation; ORA-1920: user name "OMWB_EMULATION" conflicts with another user or role name
    Failed to create User:guest;ORA-01920: user name "GUEST" conflicts with another user or role name
    These users do not own any objects therefore I ignored them.
    Please advise
    Thanks

    Hi Joe,
    Not sure why you are able to see these objects and yet not able to enable them. Did you encounter any errors during the create Oracle Model phase?? Did you encounter any errors during the final Migrate phase?
    Also, it is really important to have a tablespace created before an attempt is made to create tables and indexes in the destination Oracle database.
    Regards
    John

  • Primary and Foreign Keys

    I've attempted to identify a primary and foreign key in these two tables, but I am getting a bunch of errors re duplicate keys and column names needing to be unique. Can someone explain to me what I am doing wrong? I have watched numerous tutorials. Perhaps
    the primary and foreign key I have identified don't meet the criteria?
    CREATE TABLE StockNames
    -- Added Primary key to [stock_symbol]
    [stock_symbol] VARCHAR(5) NOT NULL CONSTRAINT PK_stock_symbol PRIMARY KEY,
    [stock_name] VARCHAR(150) NOT NULL,
    [stock_exchange] VARCHAR(50) NOT NULL,
    GO
    stock_symbol stock_name stock_exchange
    AEA American External Accessories NYSE
    ASP All Sports Portal NYSE
    AIT Anthony Interest Technology NYSE
    ATV American Technology Vehicles NYSE
    ACM Anderson Charles and Mitchell NYSE
    ACH American Career Helpers NYSE
    AVA Alleviate America NYSE
    and the second table
    CREATE TABLE DailyPricesA (
    [stock_symbol] VARCHAR (5) NOT NULL CONSTRAINT FK_stocksymbol REFERENCES [StockNames]([stock_symbol]),
    [date] VARCHAR (15) NOT NULL,
    [stock_price_open] FLOAT (53) NOT NULL,
    [stock_price_high] FLOAT (53) NOT NULL,
    [stock_price_low] FLOAT (53) NOT NULL,
    [stock_price_close] FLOAT (53) NOT NULL,
    [stock_volume] INT NOT NULL,
    [stock_price_adj_close] FLOAT (53) NOT NULL,
    stock_exchange stock_symbol date stock_price_open stock_price_high stock_price_low stock_price_close stock_volume stock_price_adj_close
    NYSE AEA 8/02/2010 4.42 4.42 4.21 4.24 205500 4.24
    NYSE AEA 5/02/2010 4.42 4.54 4.22 4.41 194300 4.41
    NYSE AEA 4/02/2010 4.55 4.69 4.39 4.42 233800 4.42

    Hi Stan,
    I have removed "stock_exchange" - that removed that error. These are the other errors I am experiencing:Msg
    2714, Level 16, State 6, Line 8
    There is already an object named 'DailyPricesA' in the database.
    Msg 2714, Level 16, State 6, Line 36
    There is already an object named 'StockNames' in the database.
    Msg 2627, Level 14, State 1, Line 47
    Violation of PRIMARY KEY constraint 'PK__StockNam__117C59C768B2BB7F'. Cannot insert duplicate key in object 'dbo.StockNames'. The duplicate key value is (AA).
    The statement has been terminated.
    Msg 1913, Level 16, State 1, Line 54
    The operation failed because an index or statistics with name 'SNIndex' already exists on table 'DailyPricesA'.
    And the code:
    USE NYSEDatabaseProject
    -- Drop the table to clean up database.
    --DROP TABLE DailyPricesA
    --GO
    -- Create the table.
    CREATE TABLE DailyPricesA (
    [stock_symbol] VARCHAR (5) NOT NULL CONSTRAINT FK_stocksymbol REFERENCES [StockNames]([stock_symbol]),
    [date] VARCHAR (15) NOT NULL,
    [stock_price_open] FLOAT (53) NOT NULL,
    [stock_price_high] FLOAT (53) NOT NULL,
    [stock_price_low] FLOAT (53) NOT NULL,
    [stock_price_close] FLOAT (53) NOT NULL,
    [stock_volume] INT NOT NULL,
    [stock_price_adj_close] FLOAT (53) NOT NULL,
    -- Add a foreign key.
    -- [stock_symbol] VARCHAR (5) NOT NULL CONSTRAINT FK_stocksymbol REFERENCES [StockNames]([stock_symbol]),
    BULK INSERT DailyPricesA
    from 'C:\Users\fenwky\NYSE_daily_prices_A.csv'
    -- firstrow = 2 skips the header row, field terminator =',' deterines the separator, and rowterminator defines where the row ends
    with (firstrow = 2, fieldterminator = ',', rowterminator = '\n')
    GO
    -- Create an index named DPAIndex, for the columns stock_symbol//'DPAIndex' already exists on table 'DailyPricesA'
    --CREATE INDEX DPAIndex
    --ON DailyPricesA (stock_symbol);
    -- Drop the table to clean up database.
    -- DROP TABLE StockNames
    -- GO
    CREATE TABLE StockNames
    -- Added Primary key to [stock_symbol]
    [stock_symbol] VARCHAR(5) NOT NULL CONSTRAINT PK_stock_symbol PRIMARY KEY,
    [stock_name] VARCHAR(150) NOT NULL,
    [stock_exchange] VARCHAR(50) NOT NULL,
    GO
    -- Insert the CSV into the table named Stocknames
    BULK INSERT StockNames
    from 'C:\Users\fenwky\NYSE_stock_names.csv'
    -- firstrow = 2 skips the header row, field terminator =',' deterines the separator, and rowterminator defines where the row ends
    with (firstrow = 2, fieldterminator = ',', rowterminator = '\n')
    GO
    -- Create an index named SNIndex, for the columns stock_symbol and stock_exchange.
    CREATE INDEX SNIndex
    ON DailyPricesA (stock_symbol);
    -- Select all from DailyPricesA
    select * from StockNames

  • How to use Key Board Key In oracle forms to perform a specific task

    Hello Experts,               I am new In Oracle forms.I am using weblogic server 10.3.5 with oracle forms 11g at windows 7.I have a procedure(say check) under program unit.I have a data block.Now I have need to access Check procedure when I press The 'Ctrl+C'(control +'C' key board key). I have to set this functionality for a single form(module) not for all modules.Please suggest me how to do this by using pl/sql in oracle forms if possible. thank You regards aaditya.

    Hi,
    Its a documentary question, please google for hotkey mapping in forms.
    I hope this is helpful to you Enabling Key Mappings

  • If(Key.isDown(Key.UP)) .. how do you get movment?

    I get this part, if(Key.isDown(Key.UP)), If the UP key is pressed it will do ...
    But what is the line of code for the actual moving?
    And on another note I am also making it where an object will fall out of the sky at random positions, what might this code be?
    I cant seem to find a easy way to sift through the code to find out how to do these things so I've just come here to ask.

    Both of your questions involve manipulating the position properties of objects, _x and/or _y.
    I won't try to read further into what you offered, so if pressing down on the UP key will make something move, then you take that something and adjust its _x and/or _y properties.
    // the following would be preceded by some listening code...
    if(Key.isDown(Key.UP)){
         instanceName._y -= 5; // move it 5 up from where it is
    To have a value be determined randomly, yoou use the Math.random() function.  You can look that up to see what it does, but what you usually do is multiply it by some range of a value to get a random number in that range.  So if you want to place an object at some random point across the stage and the stage is 600 pixels wide...
    instanceName._x = Math.random()*600;

  • Surprising behaviour ..key pressed key event

    Hello,
    I am experiencing a supprising event key press issue. I have written below code in which my code getting called even though I didnt press any of the key,
    _entryPane.getTextArea().addKeyListener(new KeyAdapter() {
                 public void keyPressed(KeyEvent e) {             
                           doSendTypeStatus();
                     if(e.getKeyChar()==KeyEvent.VK_ENTER) {
                        if(e.isControlDown()) {As shown above , doSendTypeStatus() function getting called automatically ,i.e. with out being pressed any of the key on key board .
    Thread [AWT-EventQueue-0] (Suspended (breakpoint at line 82 in LivehelpTextEntryPanel$1))     
         LivehelpTextEntryPanel$1.keyPressed(KeyEvent) line: 82     
         TextAreaPane$MyTextArea(Component).processKeyEvent(KeyEvent) line: 5058     
         TextAreaPane$MyTextArea(JComponent).processKeyEvent(KeyEvent) line: 2388     
         TextAreaPane$MyTextArea(Component).processEvent(AWTEvent) line: 4909     
         TextAreaPane$MyTextArea(Container).processEvent(AWTEvent) line: 1569     
         TextAreaPane$MyTextArea(Component).dispatchEventImpl(AWTEvent) line: 3615     
         TextAreaPane$MyTextArea(Container).dispatchEventImpl(AWTEvent) line: 1627     
         TextAreaPane$MyTextArea(Component).dispatchEvent(AWTEvent) line: 3477     
         DefaultKeyboardFocusManager(KeyboardFocusManager).redispatchEvent(Component, AWTEvent) line: 1713     
         DefaultKeyboardFocusManager.dispatchKeyEvent(KeyEvent) line: 627     
         DefaultKeyboardFocusManager.preDispatchKeyEvent(KeyEvent) line: 831     
         DefaultKeyboardFocusManager.typeAheadAssertions(Component, AWTEvent) line: 741     
         DefaultKeyboardFocusManager.dispatchEvent(AWTEvent) line: 592     
         AgentFrame(Component).dispatchEventImpl(AWTEvent) line: 3506     
         AgentFrame(Container).dispatchEventImpl(AWTEvent) line: 1627     
         AgentFrame(Window).dispatchEventImpl(AWTEvent) line: 1606     
         AgentFrame(Component).dispatchEvent(AWTEvent) line: 3477     
         EventQueue.dispatchEvent(AWTEvent) line: 456     
         EventDispatchThread.pumpOneEventForHierarchy(int, Component) line: 201     
         EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: 151     
         EventDispatchThread.pumpEvents(int, Conditional) line: 145     
         EventDispatchThread.pumpEvents(Conditional) line: 137     
         EventDispatchThread.run() line: 100     can any one please help me in resolving this issue. I am implementing typing status feature in my chat application. but due to this key event behavior , my implementation is failing completely.
    Looking for reply.
    thanks in advance
    Ani

    What is the question?
    doSendTypeStatus() function getting called automatically ,i.e. with out being pressed any of the key on key board .No, it is getting called whenever a key is pressed in the text area. It can be any key, but a key must be pressed. If you claim not to be pressing any keys, please print out the event.
    // wrong:
    if(e.getKeyChar()==KeyEvent.VK_ENTER) {
    // right:
    if(e.getKeyCode()==KeyEvent.VK_ENTER) {You should compare codes with codes, not chars
    Lastly you might want to use a document listener instead, so you also get notified when the user pastes something in the text area.

  • Developer key, Access key, OSS key

    Hi Experts
    When i am trying to create a z programs it is asking Access key.
    Can anybody please tell what  is Developer key, Access key and OSS key and difference among them.
    Thanks in advance
    Sekar

    The developer key is a combination of you installation number, your license key (that you get from http://service.sap.com/licensekey) and the user name
    Object Access key - This key will be available in service.sap.com and is for modifying the standard SAP Objects
    OSS Are Sap Notes
    you can check this links to obtain more info.
    what is the exact use of OSS notes?
    http://www.sap-img.com/basis/interview-questions-for-sap-basis.htm
    Diff b/w developer's key & access key

  • Differnce Between MAK key & KMS key

    I need the difference between MAK key & KMS key under volume licensing/

    Hi
    MAK allows you to activate multiple machines over the Internet with that one key, the total is dependant on the licensing program with which you acquired the product key.
    KMS activation allows you to activate your machine internally against a KMS host which you set up on your internal network.
    Ref: http://louwrentius.com/understanding-windows-kms-and-mak-volume-license-activation.html
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/a74c0e24-d97b-41ce-897c-18afa2284b6f/kms-vs-mac-activation
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Accounting Key & Accruals Key in Calculation Schema (Pricing Procedure)

    Hi Freinds,
                   I have a query regarding use of Accounting Key & accruals key in the Calculation Schema (Pricing Procedure).
    What is the significance of Accounting key & accruals key in the calcuation schema?  Which Accounting  & Accruals keys have to be used for Gross price,Discount,Freight, tax etc in the Calculation schema? Please post your precious threads.
    Thanks & Regards
    Saeed Arif

    hi
    AcyKy - Account Key/ Accrls - Accruals:
    for SD module
    u2022     The values of the Sales Revenues, Sales Deductions, Freight Revenues, Tax Revenues, and Rebate Accruals etc. are going to be posted in the respective G/L accounts in Fi Module.
    u2022     In order to do this we assign account keys/ accruals to the different condition types based on their classification. The classification shown below.
    o     ERB Rebate sales deduct.
    o     ERF Freight revenue
    o     ERL Revenue
    o     ERS Sales deductions
    o     ERU Rebate accruals
    u2022     For Ex.,
    o     For all Price condition types like PR00 etc. we assign ERL - Revenue.
    o     For all Discount condition types like K004, K005 etc. we assign ERS - Sales Deductions.
    o     For all Freight condition types KF00 etc. we assign ERF - Freight Revenues.
    o     For all Rebates condition types BO01 to BO05 we assign in Account key ERB - Rebates Sales deductions and for Accruals ERU - Rebate Accruals.
    u2022     This account keys and accruals are in turn assigned to respective G/L accounts. So the system posts respective values in respective G/L accounts in Fi-Co Module.
    u2022     This also one of the areas of SD - Fi Integration. SD consultants assign the account keys and Fi Consultants assign the respective G/L accounts in T.Code:VKOA.
    Similarly for MM Module
    Account keys are EIN, FR1, FR2, FR3, FRE, etc...
    And in OBYC, we do necessary account determination for the same.
    For e.g. Freight Posting in GR
    Condition type FRA1, Accrual FR1 and in OBYC, assign Freight Clearing A/c to FR1
    During GR;
    Stock Account - Dr - 110 INR
    GR/IR Clearing A/c - Cr - 100 INR
    Freight Clearing A/c - Cr - 10 INR
    transaction event key is the Key that identifies different types of G/L account.
    The account key enables the system to post amounts to certain types of
    revenue account. For example, the system can post freight charges
    (generated by the freight pricing condition) to the relevant freight
    revenue account.
    use
    To enable the system to find the relevant account for provisions (for
    accrued delivery costs or miscellaneous provisions, for example), you
    must assign a transaction/event (internal processing) key to each
    condition type that is relevant to provisions in the step Define
    Calculation Schema.
    if u search on SDN or GOOGLE u will get many threads for this
    hope it helps
    regards
    kunal

  • Is there a possibility to switch off in Firefox the functionality of quick launch key (additional key in laptop) that cause to run the homepage

    Dear Support,
    Is there a possibility to switch off in Firefox the functionality of quick launch key (additional key in laptop) that cause to run the homepage. I would like to switch this functionality off, because the key is malfunctioned and always pressed. I was able to switch off the functionality of this key in Windows system by deleting entries in registry Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey. After this change, when somebody works in system the Firefox is not running is not launching all the time. But when I open the Firefox the setting in system is overwritten and when I am using it Firefox returns to the homepage instantly. I think because of this quick launch button. I tried to change settings in about:config like browser.startup.homepage, browser.startup.homepage_override, startup.homepage_override_url,… this is for Firefox version is 10.0.2
    Thank you
    Best Regards

    Hi,
    Thank you for your interesst.
    This internet button key is one of buttons located above the keyboard near the power button. What I have achieved to this moment was to stop it functionality in the system by clearing the entries in the fields Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\17\ShellExecute and entry
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\7\Association that was http
    After these changes in registry the behavior of the button was suppressed, the Firefox stopped to start unexpectedly all the time – so in system it works. But the problem is still when I have opened Firefox. Every time when you want to surf in internet – the homepage is activated also unexpectedly. I wrote this post with intention to ask if there is a possibility to switch off the functionality of this quick launch button in Firefox. Because I assume Firefox overrides the system setup – this I have made in registry. I tried with some option changes in about:config but without success. And I know that for older versions of firefox was some option in about:config do disable_quick launch button. But in 10.0.2 I couldn't locate it.
    Thank you
    Regards
    Lukasz

Maybe you are looking for

  • How to select default key in Custom Catalag

    I have created a custom message catalog and it's running well. I have just recently discovered that the default language selection does not work for me. For example, I have a key KEY123 with value MSG123 for Italian. If I select Italian, it shows MSG

  • Documentation about ccna sp

    Hello , please i'm looking for documents about ccna sp , especially MPLS,IS-IS courses. It will be helpfull , i found it on the web but no good results please help me ! Posted by WebUser Venice L'italien from Cisco Support Community App

  • Major Problems, Looking for Solutions

    Let me start at the beginning, which would be this past Monday (I think that's when it started). Went to bed the night before, computer was working fine, left it on (It's a Mac Mini G4 btw). Woke up, and the screen was white. Thought that something m

  • Using TC to extend network

    Good afternoon. I have a Cisco Valet Plus. I'm trying to set up my TC to extend my network by having it upstairs. I have ethernet cable connected to it, however, I can't seem to get it to work. Everytime I try to set it up to extend, it instead switc

  • Importing site from CS5 to CS6

    I have been moving my sites from CS5 to CS6.  At the same time I am making the switch to FTPS for all the sites. On one specific site, I exported, imported into CS6, then made the FTPS changes needed for Yahoo hosted sites.  However, I failed to reme