Can a field validation point to fields of another record type?

Field Validation based on another Record Type Field
I am trying to build validation into a custom object that sums fields under the Account record type.
The names of the fields from OBI (the table location and field name):
"- Account Custom Metrics".S_INT_13+"- Account Custom Metrics".S_INT_14+"- Account Custom Metrics".S_INT_11
My questions: can a field validation point to fields of another record type? My thought was that if OBI can look across record types than all of CRM should be able to, including field validations.
Thank you,
David

Hi !
I'm afraid this is not possible for the moment. You'll have to wait for the Release 16 I think to have such possibilities.
The R16 will allow you to create workflow rules accross different record types (e.g. Create a task on the Account linked to the service request when a new service request is created). I hope there will be the same possibilities with the validation rules...
Hope this will help, feel free to ask more.
Max

Similar Messages

  • How to create a LookUp field, selecting a value from another record type ??

    Hello all,
    I am looking to create a new field in Opportunity in CRM On Demand where we can give the user an option to select one of the records. Data in this search applet should come from another Record Type in CRM On Demand. I am not able to find any similar literature in the Help books.
    I would appreciate if somebody could give me real life steps please.
    Thanks a lot

    Okay. I found the solution to this.
    Now, along with this single reference, we also wish to bring the values of some more joined fields from the other record type in the Opportunities screen.
    We were hoping that the Default value, and using fx, we should be able to achieve this using "joinedfieldvalue". However, it's not bringing back any value. Our expression is -
    JoinFieldValue('<CustomObject3>',[<CustomObject3Id>],'<stState_ITAG>')
    Please help if you have done this before.
    Thanks & Regards

  • Numeric field validation in Report Field

    How we can have the validation check for numeric field in report ?
    please help me on this

    Hi,
    Try creating a function that returns either 0 or 1 depending on whether or not the value is numeric and then handle the result accordingly.
    Something like:
    CREATE OR REPLACE FUNCTION IS_NUMBER(p_string IN VARCHAR2) RETURN NUMBER
    AS
    vNUMBER NUMBER;
    BEGIN
    SELECT TO_NUMBER(p_string) INTO vNUMBER FROM DUAL;
    RETURN 1;
    EXCEPTION WHEN OTHERS THEN
    RETURN 0;
    END;Then create a PL/SQL process that loops through your data. Something like:
    BEGIN
    FOR x IN 1..APEX_APPLICATION.G_F01.COUNT
    LOOP
      IF IS_NUMBER(APEX_APPLICATION.G_F01(x)) = 0 THEN
       ... do something if the value is not numeric ...
      END IF;
    END LOOP;
    END;Andy

  • Plant field validation and mandatory field in CC master

    Can we have a validation of a field e.g. Plant in WBS level and substitution at the same time.
    In projects Plant gets substituted during saving project from Cost center master data. At the same time can I maintain a validation that if this field is not updated it would would not allow save project.
    Which one Validation or Substition is prioritized first during project saving?

    Hi,
    I think it is possible to have substitution and validation at the same time. SAP document says " If you have defined a substitution that contradicts a validation condition, the system informs you of this by displaying a message. We can therefore say that validation has priority, or is u201Cstrongeru201D than substitution."
    Warm regards,
    Srinivas Potluri
    Edited by: Potluri Srinivas on Aug 2, 2011 7:07 PM

  • Auto-populate fields in Custom Object Based on Another Record

    Hello,
    I am hoping to auto-populate a few default values in a new Custom Object record based on an associated Lead record. The layout is this:
    I use the Lead record to take care of most of the information in the sales stages until the product is sold. The Lead record has fields to record information for a one product sale. The sales person can then use the Custom Object (called 'GX Additional Product') (which shows up in the Related Information section of the Lead record) to add additional items to a sales order request. Many of the fields in the GX Additional Product (custom object) record are identical to fields already filled out in the Lead record.
    What I would like to do, is when a new GX Additional Product (custom object) is added to the Lead record, those identical fields already filled out in the Lead record, by default, populate the corresponding fields in the new GX Additional Product (custom object) record.
    Is this possible? Is this something that can be done with JoinFieldValues? If so, I've had a bit of confusion trying to set up a JoinFieldValues expression.
    If you have any information to share that would be helpful, that would be greatly appreciated! THANKS!

    Hi,
    You can use JoinFieldValue to Custom Objects from other entities, cause you will have other objects' ID recorded inside the CO's, when you open a new detail record associated with the parent. Make sure your custom object is showing as a detail section (N:1) into lead´s main page. Try with one field first, using the exact syntax provided at samples listed at product documentation.
    regards,
    Flavio Amorim
    Brazil
    www.triscal.com.br

  • Reg Missing Field Validation Message

    Hello All,
    I am trying to use field validation for making a field required when a specific value from a pick list is chosen, i am using this with a custom object.
    i have written the Field Validation:
    IIf(([<plStatus_of_Search_ITAG>] = 'Completed' AND [<stTechnology_ITAG>] IS NULL),N,[<stTechnology_ITAG>])
    and typed some error message and saved the field, signed off and signed in
    after that the validation is not getting triggered and when i checked the fiels validation textbox, i found the "Field Validation" condition and "Field Validation Error Message" missing. why is this happening?
    as i have saved them.. what might be the problem.
    regards,
    Uday

    Hi Arvindh,
    The issue was solved after i cleared cookies and offline client, i was a browser issue.
    Thanks.

  • Auto-populating fields based on another field (must access dif record type)

    This is a long one. I basically want to know if it's possible to have several fields auto-populated based on the data in another. It gets a little tricky here, because the information I want to auto-populate will have to be searched for in another record type. An example will hopefully make my request clear:
    I have 10's of thousands of records of the "Product" record type that each have a product number. Well, let's say I have several fields to enter into an "Opportunity" record type, based on the information for this product number in the "Products" record type. I want to know if I can enter the product number on the "Opportunity" record, and have OnDemand go look up this product number in the "Product" record type, pull information from that record, and auto-populate that additional information in certain fields back on the "Opportunity" record that I am entering information for.
    I know a workflow can do this on simple things where you have a few different part numbers and can create a workflow for each, but I literally have 40k part numbers, and I can't very well create that many workflows. If there was a way to dynamically script the workflow to use the part number in the field on the "Opportunity" record and go fetch the data to auto-populate, that would be nice.
    I also can't use a cascading picklist because, again, there are around 40k products records and picklists have a limit to how many choices you can have.
    My think tank has run empty, and I am out of ideas. I was wondering if there is any other way to get this done, or if it's even possible?
    Thanks,
    B
    Edited by: user10885599 on Feb 5, 2009 11:54 AM

    As I read this, I am wondering if you would be able to use the new JoinFieldValue() function to update the fields. The problem is that the Opportunity record does not have a direct link to products. The Revenue table does however, so you should be able to do this from Revenue, if that is how you are using the application.
    The process would be to create a workflow that watches for new Revenue records, and updates the new fields in the Revenue object using the JoinFieldValue function to pull the data.

  • How can I do field validation on the last two characters of a text field?

    I have a text field. The user is required to enter the last two characters as numbers. I want to apply validation on this field. How can i achieve the same?
    EX: If the user enter ABCDE, an error messgae stating the last two digit should be numeric.
    I tried using the below in the field validation which did not work.
    (0+Right([<ExternalSystemId>],2)) > 0 AND (0+Right([<ExternalSystemId>],2)) < 99.
    Any ideas would help?

    Try this-
    FindOneOf(Right([<Field1>],"2"),"abcdefghijklmnopqrstuvwxyz")=0
    rgds,
    Amit

  • Name of the table where can get the two fields Valid-From and Valid-to for

    Hi gurus
    I want name of the table where I can get the two fields Valid-From and Valid-To and their relation ship with the header table in BOM
    Regards
    Kaisar

    You can only get the Valid from date from the table STKO.
    To get the valid to date, you have to take one day less than the valid-from date of the next record for the same BOM.
    Alternatively use the Function module:
    CSAP_MAT_BOM_READ
    It will give both valid from and valid to dates in the tables parameter: T_STKO
    Regards,
    Ravi
    Edited by: Ravi Kanth Talagana on Jul 2, 2008 4:37 PM

  • How can I delay validation of Field?

    There's validation issue that we need help on right away, and I've tried to described it below:
    There's a drop down on a page, and it's configured for Auto Submit on Change, and there's a text field which is set as 'Required', and there's a submit button on the page. What is happening right now is that the validation gets triggered on the change of the drop down item. This is even though I've set the immediate property of the 'Drop Down' to true.
    I don't want the text field validation to be triggered till I hit the 'submit' button. Is there anyway, I can achieve that?
    Regards
    Haroon

    Hi Haroon,
    Required is a property of the textField. Hence one option that could be tried is to set textField1.setRequired(true) in the process value change method of the dropdown. I havent tried this myself though.
    Consequently this situation is well taken care of by the virtual forms in Creaotr 2 EA 2. The tutorial that would be useful is Using Virtual Forms at:
    http://developers.sun.com/prodtech/javatools/jscreator/ea/jsc2/learning/tutorials/index.html
    Hope this helps
    Cheers
    Giri

  • "File Browse" type item: at what point the fields mime_type, file_name, last_update_date get their values?

    Hi there,
    I have an issue with "File Browse" type item, my question is: at what point the fields mime_type, file_name, last_update_date get their values? I want to add them to the collection but if I try to do it in Process "On Submit - After Computations and Validations" the values in those fields are still null (that's for the insert, and for the update they have old values). Also I don't seem to be able to add blob to the collection ("File Browse" type item (which has the source as blob database column) can't be assigned as parameter p_blob001 of APEX_COLLECTION.ADD_MEMBER, error is: PLS-00306: wrong number or types of arguments in call to 'ADD_MEMBER').
    What I am trying to do is this: I have parent table (TABLE1), and child table (TABLE2).  In TABLE2 I store documents. I have a main page that is form on TABLE1, and on it I have button "Add documents" that opens popup window with form on TABLE2. On submit of popup page I want to avoid inserting document into TABLE2, instead I want to send data to the main page (using collection) and insert in only once the main page is submitted.
    I would appreciate any advice on this...
    Thanks,
    Tanya

    Hello Tanya,
    Can you post your PL/SQL code which you are trying?
    Regards,
    Hari

  • Additional field validation

    Hi,
    for example - I have a table element and one of its coloums is of type TIME. The automatic field validation (only valid times allowed) is working fine, but now i need to check that only full and half hours are entered. So if the user enteres "11:11" in a row I want this input-cell to be displayed with a red border and a message to be displayed.
    I can check and show a message, but how to highlight that special cell?
    Can I assign additional value checks to a context node and how to do this?
    Whats the best approach?
    Thanks for any help,
    Stefan.

    Hi Stefan,
    As how pointed out by Karri you can make use of the report_attribute_error_message to throw an error message and highlight a particular cell of the table as well. Try going through this [link|editable ALV - how to throw an error message for a specific line & field; in which Andreas was trying to validate & highlight an ALV's cell with the same report_attribute_error_message.
    Regards,
    Uday
    CALL METHOD lo_message_manager->report_attribute_error_message
              EXPORTING
                message_text   = 'Sample message text'
                element        = lr_element " Reference of type if_wd_context_element to the cell u want to highlight
                attribute_name = ls_modified_cells-attribute. " The context attribute name to which the column of this cell is bound to

  • Validation fo Reference Field

    Dear Expet's,
    i  have created validation for Reference field(f-43) for one company and activated it, but its not checking it.
    Prerequisite:
    BKPF-BUKRS = '6560' AND BKPF-BLART = 'KR'
    Check:
    BKPF-XBLNR = ''
    Message:
    Please check reference field!
    can someone help in this!

    You can use the standard validation instead of the code you are programming. You activate it where you define the class type. The path under the IMG is: Financial Accounting (New) >> Financial Accounting Global Settings (New) >> Document Document Types >> Define Document Types for Entry View. Then, find the document type, double click on it and check the box “Reference number”. Save.
    Assign points if the information was useful.

  • Need field validation help

    I have read the all documentation, but still cannot get what I believe is a simple field validation to work properly. Can somebody assist?
    Here is the situation. I have two fields: one is a checkbox and the other an integer field. ( If the integer field is 0 or null ) AND (the checkbox is not checked or null) then we need to show the user an error message. Seems simple. I’m trying to take baby steps to get this to work so I understand it, but have not been successful.
    I know the message only triggers if the validation equates to False. I believe that field validations trigger whenever a record is save no matter if the field that has the validation was changed. If this is not correct, please advise.
    Starting out simple: I added the follow validation to the checkbox field: [<integerField>] <> 0 The data in the UI clearly shows a 0 in this field, but when I update the record, the error message is not display. Can somebody explain why? Is my syntax wrong?
    I need to understand how to correctly compose the field validations and also how to account for ‘null values’.
    Any help would be greatly appreciated.
    I also tried this on the checkbox field: ( [<checkboxfield>] LTGT 'Y' AND [<Integerfield>] = 0 ) but again it does not display message. LTGT = < >
    I wish Oracle had a webnair on how to write field validations. :)
    Thanks.

    Validation can be a trial and error exercise. There are a couple of key points to remember.<ul><li>First, always check the sytax before saving. This will only catch some very basic issues, but it can helpful.</li><li>Second, always click save for the Field Edit before testing. I know I forget to do this half the time, and it can be frustrating to find out that the validation would have worked if you had saved the change to the field.</li><li>Another key is to allow for the validation to be skipped during integration or by administrators. This can be managed with the ExcludeChannel() and UserValue() functions.</li><li>Finally, there are a couple of key points to be understood about when field validation rules will fire. The following circumstances prevent a field validation expression from being evaluated:<ul><li>A field is left blank when the record is created. Field validation does not force a value to be required.</li><li>A field has a pre-existing invalid value, and it is not changed when it is updated.</li></ul></li></ul>
    With all of that said, let's discuss your problem. I think you want the validation to work as follows: <ul><li>If the number is greater than zero, do nothing</li><li>If the number is less than or equal to zero or null, then check to see if the flag is checked. If the flag is checked, do nothing, otherwise give a message.</li></ul>
    If that is true, you have a nested IIf statement. The statement would be similar to the one below. This would be for the number field, and you would repeat the same for the checkbox field. Note that in this expression, I am returning the value for the field being validated.
    IIf([<IndexedNumber0>] > 0,[<IndexedNumber0>],IIf([<IndexedBoolean0>]='Y',[<IndexedNumber0>],"Invalid"))
    Good Luck,
    Thom

  • Validation of CUF field ? :-(

    Hi guys,
    I have an easy question for SRM experts
    I add 2 new fields in my SC and PO.   Now I want to put a validation of that fields, but I dont know how to accomplish this =(
    Somebody knows where should I put the code for CUF validation ?
    Thank you guys !
    REgards,
    Diego

    Hi,
      For the SC fields all validations can be put in the BADI BBP_DOC_CHANGE_BADI to check the values of the fields in the SC screen as well as the BADI BBP_DOC_CHECK_BADI can be used to throw the relevant mesage on the Screen...
      Hope this helps...
    BR,
    Disha.
    Pls reward points for helpful answers

Maybe you are looking for

  • Lost cd rom after upgrading to windows 8.1

    System information: Satellite C55-A5300 Windows 8 Problem: This computer worked fine until last month when my son let it update to windows 8.1.  The cd rom then disappeared and he has to have the cd rom for his games.  I've tried everything I could f

  • Questions on SortedMap & regards on implementing compareTo.

    the problem: im trying to run search algorithms on TreeMaps which contain string keys and values. these algorithms generally require the known first and last key. the interface Sorted Map, implemented by TreeMap, gives the methods firstKey() and last

  • JDBC-ODBC and PreparedStatement.addBatch?

    Hi I am using the driver "sun.jdbc.odbc.JdbcOdbcDriver". I want to use preparedStatement and addBatch, but I get the error message: java.sql.SQLException: Driver does not support this function      at sun.jdbc.odbc.JdbcOdbcPreparedStatement.addBatch(

  • Mount a USB flash drive from a shell

    I am about six months new to Linux; I have installed my first arch system but not yet installed a desktop environment.  I am trying to mount a USB flash drive from the shell but I am not having much luck.  I have tried following the instructions in t

  • Last Digit Deleted

    Hello, I am trying to fill out a form and the last digit keeps on being deleted when I move to a new section.  It does not matter is the last digit is a letter or a number.  It also does not matter how long the text string is. Any advice?