What is derivation in atg

Hi Guys,
we code like this is customCatalog.xml file
<property name="parentCategory" item-type="category"
              category-resource="categoryCategoryRelated" display-name-resource="categoryParentCategory">
      <derivation method="firstNonNull">
        <expression>parentCategoryForCatalog</expression>
        <expression>defaultParentCategory</expression>
      </derivation>
      <attribute name="propertySortPriority" value="-1"/>
    </property>
what is this derivation
Please give me clear explanation on this.

Hi,
the derived properties functionality is described in the docs at:
Oracle ATG Web Commerce - Derived Properties
you should find the answer there.

Similar Messages

  • What derives creation of PR and what for planned order???

    experts i have a situation-pls help
    I created a PM work order (IW31 ) with the
    start date 01/31/2011
    fin date 01/31/2011
    then i offset it for -14 days (order start/ requirement date -> 01/17/2011)
    i added 3 components in it with the following
    RLT - 8 days
    MRP type- PD
    lot size- EX
    after the MRP run- it created PR for all of them with creation date 12/17/2010 and release date 01/09/2011-> which is ok!
    now the user added other component in the same WO with the same details on 12/22/2010-> but this time it created the planned order!!!!!
    my quesiton is what is deriving it to create PR and what to create planned order???? (my requirement is to hav the planned order for the material so that i can convert the PO -> PR by nxt month close to the release date of the PR of the components- i _unnecessary dnt wants to have the PR created now!!!!!)_

    Dear
    A merial with Procurement Type F and having requirement  (PIR , Sales Order ) , will generate PR in MRP run if you choose Create PR indicator as 1/2.But priorty should be Procurement Type in MPR2 view .Even you keep Creat Purchase Req indicator as 3 (Planned Order ) -It will generate Planned order and u can convert them to PR  from MD04.
    Where as a Material with Procurement Type-E will create Planned Order  based on the requirement in MD02 .Here you should keep the Create PR indicator as 3.Even , if you choose Create PR indicator as 1 or 2 ,  you will recieve Planned Order Only which can be converted to Production Order , PR, Sub-Contracted PR  etc .
    Basically Procurement Type drives the Planned order  and PR but Create PR indicator in MD02/MD03  gives th result based on the selection .
    Test  the same with a sample material  with Procurement Type-E /F and play around with MD02/MD02
    Regards
    JH

  • Flex/AS3 Best way to construct a derived class instance from an existing base class instance?

    What is the best way to handle the instantiation of a derived class from an existing base class.
    I have a base class which is being created via remote_object [RemoteClass alias] from the server.   I have other specialized classes that are derived from this baseclass, but serialization with the server always happens with the base class.     The base class has meta data that defines what the derived class is, for example
    [RemoteClass (alias="com.myco...')]
    public Class Base
         public var derivedType:String;
         public function Base()
    public Class Derived extends Base
         public "some other data"
         public function Derived()
    In my Cairgorm command which retrieves this object from ther server I want to do this:
    public function result (event: Object):void
        var baseInstance:Base = event.result;
         if (baseInstance.derivedType = "derived")
              var derivedInstance:Derived = new Derived( baseInstance );
    What is the most efficient way of doing this?   It appears to me that doing a deep-copy/clone and instantiation of the derived class is pretty inefficient as far as memory allocation and data movement via the copy.

    Thanks for the assistance.  Let me try to clarify.
    MY UI requires a number of composite classes.    The individual components of the composite classes are being transfered to/from the server at different times depending upone which component has changed state.    The construction of the composite classes from the base class happens in my clients business logic.
    Composition happens in a derived class; but server syncronization happens using the base class.    When I recieve the object from Blazeds through the remote object event, it is in the form of the base class.  I then need to instantiate the derived class and copy the elements of the base class into it (for later composite construction).   And likewise when sending the base class back to the server, I need to upcast the derived class to its base class.   But in this case just a mere upcast does not work.  I actually need to create a new base class and copy the attrbutes into it.  I believe this is limitation of how remoting works on Flex/AS3.
    My question is, what is the best way to turn my base class into it's derived class so further composite construction can take place.   The way I am currently doing it is to create a  load method on the base class, that takes the base class as on argument.  The load function, copies all of the instance attribute references from the base class to the target class.
    public Class Base
         public function Base()
         public function load(fromClass:Base)
        {  //  copy the references for all of the instance attributes from the fromClass to this class }
    Then,  after I recieve the base class from the server.   I create a new derived class and pass the base class into the load function like this:
                for (var i:int=0; i < event.result.length; i++) {
                    var derived:Derived = new Derived();
                    derived.load(event.result[i]);
    The drawbacks of this approach is that it now requires 2 extra instance creations per object serialization.   One on recieving the object from the server and one sending it to the server.    I assume copying references are pretty efficient.  But, there is probably some GC issues.     The worst of it is in code maintenance.   The load function now has to be manually maintained and kept in sync with the server class.
    It would be interesting to hear how others have solved this problem.      The server side is an existing application with around 2M LOC, so changing the code on the server is a non-starter.
    Thanks for your help.

  • Derived table in univ's

    Hello,
    Plz Ans me-
    What is Derived table, where it is using derived table? advantages& Di- advantages derived table?

    Hi,
    Derived tables are nothing else but InLine views (with the one additional benefit of being able to use @prompt syntax in a derived table) and as such do not contain any data, everything is calculated on the fly during query execution, meaning: whenever you refresh a report.
    Derived tables are tables that you define in the universe schema. You create objects on them as you do with any other table. A derived table is defined by an SQL query at the universe level that can be used as a logical table in Designer.
    Derived tables have the following advantages:
    u2022 Reduced amount of data returned to the document for analysis. You can include complex calculations and functions in a derived table. These operations are performed before the result set is returned to a document, which saves time and reduces the need for complex analysis of large amounts of data at the report level.
    u2022 Reduced maintenance of database summary tables. Derived tables can, in some cases, replace statistical tables that hold results for complex calculations that are incorporated into the universe using aggregate awareness. These aggregrate tables are costly to maintain and refresh frequently. Derived tables can return the same data and provide real time data analysis.
    Derived tables are similar to database views, with the advantage that the SQL for a derived table can include BusinessObjects prompts.
    Thanks,
    Amit

  • Are inner classes used the same way as derived classes?

    Hi,
    I got myself a bit confused when I came across inner and derived classes.
    However, I know that the syntax for both are different.
    For inner classes:
    class OuterClass {
    class NestedClass {
    For inheritance:
    class ClassA {
    class ClassB extends ClassA {
    But I justed wanted to clarify if there's differences in the usage of either one?
    Thanks.

    Nat7 wrote:
    Hi,
    I got myself a bit confused when I came across inner and derived classes.
    However, I know that the syntax for both are different.That should be a clue. They are entirely different things.
    What this question suggests to me is that you don't understand what a derived class is or you don't understand what an inner class is.
    Perhaps if you gave us your definitions of them we could fix this.

  • Derivation rules in copa

    what is derivation rule? what is the function of derivation rule in copa

    Hi AMK,
    As a protocol that is followed on this site, please do provide points in case the replies helped, this helps in motivating the people to keep posting for the queries and also helps in keeping the spirits of the team high.
    Regards
    Ashish

  • [ATG] CAS doesn't index new properties

    Hi,
    I have added new properties to product-sku-output-config.xml. Unfortunately, they are not visible in the Endeca. Interestingly, these fields are visible while sending records to CAS, I checked this by changing my document submitter to send records to file (as described in https://endecaworld.wordpress.com/2013/12/15/indexing-what-goes-out-from-atg-to-endeca/). Few weaks ago I also have added some properties and they are visible. Do you have any idea what happens? How to force Endeca to manage with new properties?
    Best Regards

    Hi,
    You can see these properties at endeca_jspref?
    Can you paste the xml code to index these properties?
    Also, are you getting some errors/warnings at these properties at baseline_update?
    Bye.

  • Transaction in atg

    HI
    what is transaction in atg why we need to keep some block of code in transaction block
    what will happen if any error occured in between transaction block
    what will happens if there is no error in between transaction block
    give me one small example

    Hi,
    Transaction block is required to avoid concurrent update or phantom read.
    Lets see this example:
    You login to your profile and add item A to your order. At the same time suppose your friend logins with your credentials and add item B. Now when you move to say shipping page or billing page you see two items A and B, but you had ordered only for one. Since there was no transaction control this happens.
    Please go through below links for more details:
    http://docs.oracle.com/cd/E23507_01/Platform.20073/RepositoryGuide/html/s0502repositoriesandtransactions01.html
    http://docs.oracle.com/cd/E23095_01/Platform.93/ATGCommProgGuide/html/s1014managingtransactionsintheatgcomm01.html
    Regards,
    RahulV

  • Derivation Rules in Posting Control and Account Deternination

    Dear Friends,
    Can any one please explain me the derivation rules. I started the chapter with the Posting Control and Account Determination in that:
    Posting Control define:
    Company Code
    Acrl Type
    Accounting Principle
    Account determination:
    Target account
    Source account
    document type
    but if you see in the configuration in Derivation Rules:
    It gives a different configuration like
    Posting Control
    Acct Princpl.
    Accrl Type
    COA
    Process in accrul Engine
    Own Parameter
    Acct Determination
    Doc. Type
    Start Account
    Target Account
    Own Parameter
    in this I am really get confused what is derivation rule in the accrul engine.
    Can anyone please summarize for the same.
    Thanks in advance
    Mahendra Dev

    Hi
    Derivation Rule - is nothing but the deriving the values based on some criteria mentioned in the configuration.
    Derivation rules you can see in the PCA (Profit Center Accounting) , CO-PA (Profitability Analysis).
    This contains the different steps based on the requirement.
    VVR

  • Adobe creative cloud photoshop cc download

    when downloading adobe creative cloud photoshop cc ... you are asked to open with an application? What application?

    Adobe atg what is the exact error message you are receiving?  Also which operating system are you using?  Finally I would recommend reviewing Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html for information on how to install the Creative applications included with your Creative Cloud Membership.

  • Some clarification needed on PKCS #5 PBE

    Hi all,
    This is my first time posting on SUN Forums. Hope to be able to get your assistance in the programming field.
    I have questions about PKCS #5, as I couldn't understand how it can help improve security when using salt and iteration count.
    PKCS #5 states that salt and iteration count does not need to be kept secret as it is normally appended with the encrypted data.
    To my understanding,
    On encryption side, user will input a password and salt will be appended to the password, followed by a hashing algorithm.
    key[1] = SHA-1(password+salt)
    Iteration count addeds to key strengthening by:
    Key [1] = SHA-1(password+salt)
    key[2] = SHA-1(Key[1])
    Key[i] = SHA-1 (Key[i-1]
    Encrypted Data will then be obtained by:
    Ciphertext = AES(Key[i] and Plaintext)
    Hence the data payload will be as follows:
    || Encrypted Data+Salt+Iteration Count ||.
    When the receiver receives the message, the decryption is similar.
    key[1]= (password+obtained salt) from Payload
    Key[i] will then be obtained depends on the Iteration Count,
    and encrypted Data will be decrypted with Key.
    My lack of understanding here is how does using salt increases security when the salt is public?
    If a 56bit salt is used and only available to the receiver, any attacker who wants to decrypt the message might need to try 2^56 possible keys using a SINGLE password.
    But if the salt is public, the only difference from adding salt and not adding salt is the key strengthening process.
    How is password based encryption safer when comparing to AES-128 when the password the user input maybe commonly 48 bits?
    Thank you all in advance! Hope to receive replies!
    Regards,
    Brandon

    barnnod wrote:
    Hi Sabre150,
    Thank you for your suggestion. My application is enterprise based hence I think it is okay that the password is made known to employees only. (E.g one password per day, different department deploys different password each day). So each day each department has to distribute it's daily password to each department it needs to communicate with. So not just once every now and then do you have a key distribution problem you have one every day.
    >
    My actual scenario given by the school is:
    "An organisation's daily operations involve frequent data messaging among mobile devices. The data transmitted are confidential and recently it has been observed that there is an increased number of incidents involving unauthorised tapping of data signals from unknown sources. Due to the sensitivity of data, the senior management has commissioned its IT security team to propose a prototype for a secured messaging application to enhance data transmittion security. The solution must also fufil operational needs such as response time and peak traffic tranmission."
    I am very glad that you are helping me in this. What kind of encryption scheme do you think I can adopt? As I said. I would use Public Key cryptography probably using RSA.
    What I have thought about is:
    1) PBE I view PBE as suitable for personal use only. For example - if I want to encrypt data just for myself then using a password based approach makes sense since I don't have to distribute the key. I just keep it in my head.
    2) PKCSYou would need to elaborate on this since PKCS is a broad brush.
    3) Create a messaging server who can help distribute public keys. (But I left with 3 weeks upon completion and im not very confident of this because i dont know how to :( )Public Key distribution is fairly easy since you want everybody to have access to your public key. The public key could be broadcast as an SMS message or posted on a web server for people to download. I publish my public key on my web server.
    So as what I derived from your post, the key distribution problem can be solved using asymmetric key algorithm. Pretty much so but not completely. One needs to be able to verify that a particular public key belongs to who you think it does. This process is normally done by distributing a certificate that contains the Public Key. The certificate is signed by a Certification Authority who does checks to make sure the purported owner is actually the owner. Since this is for internal use, rather than paying a fortune to a third party CA, one can use one of the free ones. You might want to take a look at [http://www.devx.com/Java/Article/10185|http://www.devx.com/Java/Article/10185] but there are others out there.
    >
    Meaning the Sender A uses Receiver A's public key and using RSA(randomly generated symmetric key), and send the ciphertext over to Receiver A. Receiver A uses it's own private key to decrypt the ciphertext, and obtain the private symmetric key between Sender A and Receiver A. Sender A and Receiver A .That is the way I would do it
    then can securely do messaging from then on. The session keys would not be used more than once. Each message would use a different random session key.
    But I do not know how can I derive the Receiver A's public key. I guess the use of a messaging server can solve this.Yes. Or a simple Web server. An admin person just publishes the public keys for each user and each user just sends his public key to the admin person just once.
    >
    Please advice!
    Thank you :)You background makes doing the whole thing in 3 weeks a bit tight so you should leverage any third party software you can.
    Since this is a school/university project you might just want to use PBE for the moment and then in your report explain the key distribution problem and explain how to a more comprehensive and secure system could be achieved. That way you get to do the work and to show your examiners that you have thought about the problems associated with your naive PBE based solution and can propose a better solution. In your position I would ask my Tutor for advice on this - it could save you a load of effort.
    I don't work with Mobile devices so I don't know what libraries are available. I suspect you may need design your solution around what tools you have available.
    Edited by: sabre150 on Sep 27, 2009 12:45 PM

  • EAR and WAR

    Hi,
    i need to know about .ear and .war,what exactly do in atg. why we use.
    thanks.

    They are the standard file formats for storing and distributing JEE applications. A War file groups JSPs, servlets and all related files to create web applications, and a Ear file groups all the various War and Jar files required to create an 'enterprise' application.
    Hope this helps.

  • Friendly URLs

    Hello everyone,
    I'm working with the URLs, so it looks more friendly for the final user. I found some docs on that matter: http://docs.oracle.com/cd/E26180_01/Platform.94/ATGProgGuide/html/s1402urltemplates01.html
    For what I could understand, ATG uses the IndirectTemplate for web spiders and bots, which use the info on that URL for search indexing or something like that. And the DirectTemplate is the actual URL shown for the final user. This URL from DirectTemplate is the "dynamic" one as I could understand, wich has all the query parameters.
    For example, this is a fragment of CategoryDirectTemplate.properties:
    # Url template format
    urlTemplateFormat={item.template.url,encode=false}?categoryId\={item.id}This shows the following: /catalog/category.jsp?categoryId=cat123.
    And this is a fragment of CategoryIndirectTemplate.properties:
    # Url template format
    urlTemplateFormat=/jump/{item.displayName}/category/{item.id}This shows the following: /jump/My-Category-Name/category/cat123
    I want to change the "dynamic" url (DirectTemplate, the one shown to the final user) to something like www.mysitedomain.com/My-Category-Name. I think it would work fine if I just changed the urlTemplateFormat.
    My only question is: Does the DirectTemplate affects anything on the info collected by web spiders and bots, or only the IndirectTemplate is used for that?
    Hope I made my question clear to understand.
    Thanks,
    Lucas

    Hi,
    According to your post, my understanding is that you want to get Friendly URLs in SharePoint 2013.
    The following code snippet for your reference:
    public List<string> GetPagesUrls() {
    //list for saving the urls
    List<string> retVal = new List<string>();
    //current web
    SPWeb web = SPContext.Current.Web;
    //check if the current web is a publishing web
    if (PublishingWeb.IsPublishingWeb(web)) {
    //get the pages list id
    Guid listId = PublishingWeb.GetPagesListId(web);
    //retrieve the pages list
    SPList pagesList = web.Lists[listId];
    foreach (SPListItem item in pagesList.Items) {
    //retrieve the terms used for the navigation (this can be multiple terms)
    IList<NavigationTerm> terms = TaxonomyNavigation.GetFriendlyUrlsForListItem(item, false);
    string url = string.Empty;
    //check if the pages has terms associated with it
    if (terms.Count > 0) {
    //use the GetResolvedDisplayUrl to retrieve the page friendly urls
    url = terms[0].GetResolvedDisplayUrl(string.Empty);
    } else {
    //if the page does not have any terms get the normal url
    url = item.File.Url;
    retVal.Add(url);
    return retVal;
    More information is here:
    http://msftplayground.com/2013/01/retrieve-the-friendly-url-of-a-publishing-page/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Invalid UTF-8 middle byte 0x6f (at char #3309, byte #2895)

    Hello Oracle Support/ SOA Experts,
    Please guide me on how to resolve this issue.
    Issue Description : We are using ATG,Oracle SoA SUite 11g as the Front and Middleware applications for our current website project.The project is basically for latin america(Portuguese Language) and we are facing encoding issue while sending the request from ATG(Front End) to SOA (Middleware).We have an SOA-xsd [customer.xsd) that contains FirstName,LastName,MiddleName as elements.Front End application(ATG) sends the customer xsd in ISO-8859-1 encoding format as we understood that only encoding format for sending the portuguese names is this format.Front is able to send the request to SOA Without any issues however the only format which SOA Suite accepts in our BPEL process is UTF-8 and hence we are seeing this invalid UTF-8 error.Can anyone of you please explain us on how to resolve this issue or please guide us which encoding format can we use for passing portuguese characters from front end to SOA Suite.
    *Exception*:
                java.lang.RuntimeException: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x6f (at char #3309, byte #2895): [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x6f (at char #3309, byte #2895)
    What we tried :
    Since ATG or front end is using the ISO-8859-1 format to send the request to SOA,we tried to use the encoding format in all the SOA BPEL XSD but we are unable to deploy after changing the encoding and we see the below error :
    Exception:
    Redeploying on /Farm_soa2_domain/soa2_domain/soa_server1 ...
    Redeploying on "/Farm_soa2_domain/soa2_domain/soa_server1" failed!
    Error during deployment/undeployment: oracle.mds.transfer.TransferException:
    MDS-00001: exception in Metadata Services layer
    MDS-00521: error while reading document /deployed-composites/default/ManageCustomerOrderOrchestration_rev1.0/xsd/ManageContract.xsd from metadata repository
    IS0-8859-1
    IS0-8859-1
    MDS-00001: exception in Metadata Services layer
    MDS-00521: error while reading document /deployed-composites/default/ManageCustomerOrderOrchestration_rev1.0/xsd/ManageContract.xsd from metadata repository
    IS0-8859-1
    IS0-8859-1

    Hello Oracle Support/ SOA Experts,
    Please guide me on how to resolve this issue.
    Issue Description : We are using ATG,Oracle SoA SUite 11g as the Front and Middleware applications for our current website project.The project is basically for latin america(Portuguese Language) and we are facing encoding issue while sending the request from ATG(Front End) to SOA (Middleware).We have an SOA-xsd [customer.xsd) that contains FirstName,LastName,MiddleName as elements.Front End application(ATG) sends the customer xsd in ISO-8859-1 encoding format as we understood that only encoding format for sending the portuguese names is this format.Front is able to send the request to SOA Without any issues however the only format which SOA Suite accepts in our BPEL process is UTF-8 and hence we are seeing this invalid UTF-8 error.Can anyone of you please explain us on how to resolve this issue or please guide us which encoding format can we use for passing portuguese characters from front end to SOA Suite.
    *Exception*:
                java.lang.RuntimeException: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x6f (at char #3309, byte #2895): [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x6f (at char #3309, byte #2895)
    What we tried :
    Since ATG or front end is using the ISO-8859-1 format to send the request to SOA,we tried to use the encoding format in all the SOA BPEL XSD but we are unable to deploy after changing the encoding and we see the below error :
    Exception:
    Redeploying on /Farm_soa2_domain/soa2_domain/soa_server1 ...
    Redeploying on "/Farm_soa2_domain/soa2_domain/soa_server1" failed!
    Error during deployment/undeployment: oracle.mds.transfer.TransferException:
    MDS-00001: exception in Metadata Services layer
    MDS-00521: error while reading document /deployed-composites/default/ManageCustomerOrderOrchestration_rev1.0/xsd/ManageContract.xsd from metadata repository
    IS0-8859-1
    IS0-8859-1
    MDS-00001: exception in Metadata Services layer
    MDS-00521: error while reading document /deployed-composites/default/ManageCustomerOrderOrchestration_rev1.0/xsd/ManageContract.xsd from metadata repository
    IS0-8859-1
    IS0-8859-1

  • Shift from SD to Security

    Hi Guys,
    I need your valuable suggestion.I am presently working as SAP SD consultant for the past 5 years,i was thinking of shifting my present domain from SAP SD to SAP security as i feel SAP security would always have more job opportunities and also can fetch a stable job if one thinks in the long run as wherever there is SAP installation whether its R/3 or BW or APO..etc.. a company would be needing guys to look after their system and security.
    So could you please suggest me if it is a wise desicion, secondly what are the prerequisite to get into SAP security domain.
    Thank you,

    hi vivek,
    each and every module has got its own importance, but as u said where ever there in a SAP system u need guys to maintain it.yes absolutely right.since u have 5 years of experience with Sd module it helps.bcoz u will be able to understand the structural part of the authorizations which is very important in the what u derive for ur respective organisation level.the only prerequisite of SAP SECURITY is that u need to think logically thats it.if u can think which is going to effect where , thats it u got what u need.just like in SD module u cannot perform end to end process in BASIS also u cannot perform end to end so i suggest u to select one topic in BASIS and concentrate on it.
    regards
    pavan

Maybe you are looking for