How does one create LOV Map between 2 fields for custom lookup mapping

Hi there
In Internet Expenses, Expense Report Line Detail we have two unrelated fields; namely Expense Location & Tax Code.
The requirement is to map a default tax code to locations; basically when a user enters Expense Location then the mapped tax code value should default into field Tax Code.
The location-tax code mapping is stored in a custom lookup (FND_LOOKUP_VALUES).
My question is how does one go about implementing this?  For example is it possbile to create a new (hidden) LOV based on the lookup mapping & then create a Personalization LOV Mapping between the 3 LOV...  Or is it necessary to modify the Tax Code drop down Message Choice in JDeveloper?  Of course details are appreciated!
FYI below is the relevant Personalization Structure from "Personalize Stack Layout: (NormalDetails)".
Message Lov Input: Expense Location
- Lov Mappings
-- Lov Map: (lovMap1)
-- Lov Map: (lovMap2)
-- Lov Map: (lovMap3)
- Message Text Input: Expense Location
- Message Styled Text: Transaction Location
- Message Text Input: Merchant Name Yes
- Message Styled Text: Description
- Message Check Box: Original Receipt Missing Yes
- Message Choice: Tax Code
- Message Check Box: Amount Includes Tax
- Message Choice: Tax Code
Many thanks
G

Hello all
The correct & supported method is this:
Extend the location LOV in JDeveloper & add a "default tax" attribute, this could be derived from a new location DFF storing the default tax code for each location. Now simply create a location Personalization LOV Map which takes this new location lov tax attribute & target it to the tax message choice field.
That's my 2c worth anyway, so please give comment if you feel there is a better way.
There is just one more little problem however... The requirement has changed! Now we require the tax code to default according to not one location field, but other fields too. For example if the user selects Expense Type of Beverage & Location of Netherlands then Tax Code should be NL19%, for Expense Type of Hotel then it should be NL6%; if the user ticks "Missing Receipt" field then it should over ride all others & set the code to NL0%.
Any ideas?
Many thanks
G
Edited by: user13363208 on 11-Aug-2010 06:51

Similar Messages

  • HT5429 So how does one get apple maps to give directions between two stored bookmark locations?

    So how does one get apple maps to give directions between two stored bookmark locations?

    Does anyone know if this is possible to do?

  • How does one create their own interpolation

    I am currently working on a tile-based environment in which the user controls a tank. I have been attempting to use interpolators to smooth out the movement between tiles, but I have had a lot of trouble acheiving the desired effects. From what I have gathered from various posts is that the interpolator classes are only useful for repeating animations (please correct me if this statement is wrong).
    My question then is:
    How does one create their own or methods which simulates the interpolation behavior; I am particularly interested in the PositionInterpolator for translating the missles fired by the tank.
    I attempted to do this several times, but I have failed. Here is one of my attempts:
    public void fire()
         show(); //show the missle geometry
         int TRANSLATION_TIME = 1000; //blast alive for 5 seconds
         float DISTANCE = 20.0f; //missle travels a distance of 20 units
         //interpolate path
         long startTime = System.currentTimeMillis();
         long endTime = startTime +TRANSLATION_TIME;
         long interval = endTime - startTime;
         float translationPercent;
         float lastTransPercent = 0;
         float dist;
         Transform3D translate = new Transform3D();
         while(System.currentTimeMillis() < endTime && !collision)
         interval = System.currentTimeMillis() - startTime;
         translationPercent = (float)interval/TRANSLATION_TIME;
         dist = DISTANCE*(translationPercent - lastTransPercent);
         lastTransPercent = translationPercent;
         translate.setTranslation(new Vector3f(0.0f, 0.0f, -dist));
         interpolate(translate);
    public void interpolate(Transform3D translate)
         Transform3D t3d = new Transform3D();
         missleTG.getTransform(t3d);
         t3d.mul(translate);
         missleTG.setTransform(t3d);     
    What happens using this code is that the missle just waits at its initial location until the TRANSLATION_TIME has passed, and then jumps to the final position -- the missle does not smoothly translate to the final location. Are there any explainations out there for this behaviors.
    -Thanks in advance

    Hi,
    I'm also working on a game environment where the user can move around in a spaceship and fire missiles etc...
    I haven't looked much at interpolators, but I use Behaviors for everything I need to move/rotate/scale...
    You can for example create your own behavior (by extending the Behavior class) and set it up to move the missile when you press a specific key, or when any other kind of event takes place...
    You should check the documentation for the Behavior class.
    Hope this helps...

  • In Photo 1.0, how does one access the map showing where all photos were taken, as could be done previously in iPhoto?

    In Photo 1.0, how does one access the map showing where all photos were taken, as could be done previously in iPhoto?

    Hi JohnDory,
    The information side-bar from iPhoto has been removed in Photos App, and so it's been converted into a pop-up window showing both the exposure, aperture and so technical photo parameters, as well as the comments, faces and LOCATION for that photo.
    This small floating window is shown whenever you click the button in the app title bar, right clicking a specific photo or pressing ⌘i
    If you open the albums view (clicking in the name of the album list, NOT an album name, you can see in your left sidebar - which can be shown or hidden) and press ⌘i without selecting a specific photo the Info pop-up will show the map for your whole library (as well as the total amount of photos, videos, GB used, etc)
    So, I'm afraid the "Locations" view (which I really loved) from iPhoto has been ripped off... and we can only get "some sort of locations view" by this method.
    As for locations... there is no option for manual geotagging (so, setting location to a specific photography which doesn't have it yet)... that really ****** me off 
    Regards,
    braincasualties.

  • How does one create a "check box" in a cell?

    How does one create a "check box" in a cell?

    select the cell then open the cell formatter:
    process should be similar in the iOS version.  I do not have any iOS devices with Numbers so I cannot check.  I did find this link that may help:
    http://support.apple.com/kb/PH3374?viewlocale=en_US

  • How does one create folders?

    How does one create folders?

    Select Documents at the left. Click the Edit button (upper right). Click the New Folder icon at the top.

  • Latest version of Lightroom will not download RAW files from my D750. How does one get around this? Bought Lightroom for it's ability to manage RAW files and now very disappointed.

    Latest version of Lightroom will not download RAW files from my D750. How does one get around this? Bought Lightroom for it's ability to manage RAW files and now very disappointed.

    Here is the contents of a batch file which will convert whatever raws you drop on it:
    "C:\Program Files (x86)\Adobe\Adobe DNG Converter" -cr7.1 -dng1.4 -p0 %*
    Once you download the latest converter (release candidate from adobe labs, if necessary), and save the appropriate contents of the batch file (change path to match your system, and parameters to match your druthers, if applicable), the procedure is:
    1. Drop raw files on bat file.
    2. Import as usual (the DNGs).
    Not too bad once you're set up (if DNG converter supports your raws).
    Documentation:
    http://wwwimages.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/dng_commandline.pd f
    Note: on Mac, you may need to use "$@" (with the double-quotes) instead of %* (which is dos batch syntax), and you will need to use the full path to the converter executable file, e.g.
    “/Applications/Adobe DNG Converter.app/Contents/MacOS/Adobe DNG Converter”
    If too much, just use the GUI instead of the bat file.
    Rob

  • How does one create a GROUP mailing list from an e-mail message ? ?

    I am having no end of frustration trying to figure out - using the latest versions of Apple Mail and Apple Address book in side-by-side windows, t he following:
    How to select; then 'drag & drop' a list of email addresses from an incoming email message I am reading, so that I can create in my own address book a duplicate "Group" list bearing all the addresses that got the message.
    I am sure I have been able in the past to use simple drag-n-drop technique between the mail window and the newly created "Group" window in Address Book, but it won't work this time .
    Is there a script or a third party app somewhere that will lift addresses out of the "TO" and "c.c." fields in an Apple Mail message and import them into a designated (new) 'Group' list in Address Book.
    Or is there a way to create a CSV file from an email message - if that will do the trick ?

    Mailscript's Add Addresses script should open a window with all the addresses in the email listed. You can select the ones you want to import, you can choose the group or create a new one, and you can pick the label for the email address. It will stay open so that you can add different emails to different groups.
    Your description doesn't sound anything like Mail Scripts.

  • How does one create a LabView-native object for interfacing to custom H/W?

    I have created an API to some custom hardware.
    I've created both C-dll and .NET Assembly, and I can create VIs using either.
    However, for programmer simplicity, I'd much prefer to offer LabView support in the form of a LabView-native object.
    I've considered doing it via a sub-VI, but I'd really prefer a native object.
    Questions:
    1) What is the correct/proper name for a such a native LabView object that wraps the API to my custom hardware device?
    2) What language is this thing written in?
    3) Can I write this thing, or can NI only create such a thing?
    4) If i can write it, where can I obtain the SDK for creating it?
    Many thanks,
    -Dave
    Solved!
    Go to Solution.

    Yes, removing the block diagram obscures the code so much that not even newer versions of LabVIEW can make sense of it.
    I think under the hood it must be converting it to Perl.
    Spoiler (Highlight to read)
    If you believe this and have lots of money please contact me with your credit card info 
    If you believe this and have lots of money please contact me with your credit card info 
    =====================
    LabVIEW 2012

  • Step 1 - how does one create a video track in FCP X?

    Just purchased FCP X & wow ... sparing all the rants I've been hearing, I'm sure it can do what I'm looking for, just that all the features are now hidden from view.
    Step 1 - anyone know how to create additional video tracks?

    Tried that & a Pandora's box of other questions opened up. Doing some research, watching videos, etc... just need to scrap most/all knowledge of previous FCP versions & start from scratch with this new interface philosophy it would seem.
    One other symptom that seems disturbing: sometimes activiating a feature does not activate a feature.
    Example, I wanted to silence the audio while skimming, so unchecked "audio skimming" in the view menu.
    Audio still plays while skimming.
    Decided to try unchecking all four options at the bottom of the view menu (skimming, clip skimming, audio skimming, snapping).
    Nothing changed.
    I can still skim clips, and audio still plays.
    Why would this happen?

  • How does one create a user with a null password in iManager?

    I'm setting up LDAP authentication and need to create a user with a null password.
    If you do not put a password in the password field when creating the user in iManager, a message pops up stating, No password has been defined for this user.
    You are given a choice of:
    Allow user to log in without a password
    - or -
    Do not allow user to log in without a password
    If you choose Do not allow user to log in without a password, there are no complaints.
    When I look at the properties of the newly-created user, however, I note that the "Require a password" checkbox is not filled in.
    That would imply that the answer to the question posed during the user's creation is moot; either answer produces a user that can log in without a password.
    I can then assign the Common Proxy password policy to the user, which does not dictate a minimum length for a password.
    From that point forward, any attempts to leave the password field blank in iManager results in another pop-up message stating:
    "Failure to enter a password will allow the user to login without a password."
    That implies that no password exists for the user, as opposed to a null password.
    Is that correct or are the public and private key for the user object still generated?

    If you do not specify a password, which is what happens when you select
    the 'Do not allow user to log in without a password' option initially, the
    user cannot login. A user with no password (meaning no password exists at
    all, similar to a 'null' in programming) cannot login with a password
    because, of course, they do not have a password.
    If you specify a zero-length string as the password you are effectively
    (and usually) creating a proxy user, for example to be used for the LDAP
    service in eDirectory, and this user can login typing in a password (since
    typing would imply one or more characters) but nevertheless there IS a
    password, but it happens that it is zero-length, so typing nothing for the
    password IS submitting the correct password. This is the option carried
    out by eDirectory when you choose, 'Allow user to log in without a
    password' (the prompt is a little misleading with its "without a password"
    phrase).
    Once you assign a UP policy you are telling the system that there SHOULD
    be a password on the user (and with common proxy there definitely should
    be, probably a strong one at that) so the only option now is whether or
    not the password is zero-length or longer. Obviously longer is the
    correct option for security reasons.
    Good luck.
    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  • How does one create navigation in a pdf?

    Hello
    I'm editing a very long Word document with hundreds of bookmarks leading to Glossary definitions, which I've turned into a pdf. I now want to create something for the reader, once they've read the Glossary item, to click on which will automatically take them back to their original page.
    I know there is a way to do in Acrobat Professional 9. It's something to do with Bookmark Properties and Execute a Menu Item. I can find that dialogue box, but I don't know what to do when I get there.
    Is there anyone who could kindly either give me a step by step guide to how to achieve this .....or even point me in the direction to some sort of tutorial on it?
    Many thanks!

    I'm sorry, this doesn't help me. You're assuming more knowledge on my part than I actually have. I'm afraid when you say 'look at' Acrobat Javascript Reference, it means nothing to me. I could look at it. But how would I know how to find this particular function within it? It's like saying to someone who knows nothing about car mechanics, 'look at the engine'. Giving me a page load of Google links is similar to that ...which one do I go to, and where do I look when I get there? Also, these links only go to sites referencing Acrobat 7 and 8, while I'm using Acrobat 9.
    I'm a writer/editor who is editing an e-book in Word and then turning it into a pdf. I'm not a techie person at all.
    But I know whereabouts on Acrobat Pro 9 to find this function: You
    1. Click on Bookmark Properties
    2. Execute a Menu Item
    3. Edit and from that drop down menu you can
    4. Select View>Go To>Previous View.
    It's just that when I do it, nothing happens. So there is a step missing or even several steps missing, that I don't know about. I need someone to give me those steps - 1, 2 and 3 and so on.
    There must be a tutorial on this somewhere....

  • How does one create hierarchical origanization in iPhoto

    OK, I'm stumped. I can create albums. That's about all.
    My photos are hierarchically organized on disc because they have to be in order to manage the volume. Yes, I can appreciate relational organization instead of hierarchical but in order to easily import the raw files first I need a place to put the photos and throwing them all in a single library makes it very hard to organize those photos afterwards. Relationships are created on the fly so I cannot predict what all possible relationships will be before I import the photos.
    Placing the photos initially in hierarchical order is at least space efficient because the flat album organization approach of iPhoto runs out of album listing space very fast and is totally unwieldy.
    It appears to me iPhoto goes directly from a flat file structure to a relational structure with nothing in between. Someone please tell me if there is some way for me to define hierarchical folders in iPhoto where I can dump my photos and then easily locate them later to define relational retrieval criteria (Events).
    Thanks.
    Michael

    Guys, I appreciate your comments.
    I got confused by the way iPhoto displays the small folder and album icons. They both looked the same to me. Well, the folders do behave like folders so I am OK now.
    Maybe Apple can use a different colour for albums and folders.
    I do understand relational databases and can see how Events behave similarly. Thanks very much - problem solved!
    Michael

  • How does one Create Bootable DVD from downloaded iso image in Windows?

    I have a completely empty system I want to load Solaris Express on. I have access to web on a Windows XP machine and have downloaded the Solaris iso image. Using WindowsXP facilities simply copies the iso image as an intact iso image file and resulting disc is not bootable. Windows knowledge base very conveniently says that what happened to me is what happens. No obvious referral to how to do it....
    A) So for a non-Windows savy person who does not want to become Windows savy (That is why I downloaded Solaris!) Where is a set of instructions on how to (inside Windows XP) "extract" an iso image to a CD / DVD disk so it will be bootable?
    B) It sure would be nice if Solaris were able to be loaded onto a USB Flash drive and booted at will from any USB computer. Just plug it in and boot. Has this been done?
    C) Getting a physical disk by snail mail from Sun is very slow for me.... (3 weeks and still watching the mail box...)

    A) So for a non-Windows savy person who does not want to become Windows savy (That is why I downloaded Solaris!) Where is a set > of instructions on how to (inside Windows XP) "extract" an iso image to a CD / DVD disk so it will be bootable?http://www.sun.com/software/solaris/download_instruction.xml
    You probably copied the .iso file as one single very large file onto media. Instead, you can use a utility such as Roxio DVD Creator or Nero (or freeware like cdrecord) , and select the option to burn an image that already exists. No special boot options are needed, because the ISO image already contains the boot information needed.
    B) It sure would be nice if Solaris were able to be loaded onto a USB Flash drive and booted at will from any USB computer. Just plug > it in and boot. Has this been done?With the Newboot project introduced into Solaris Express, I believe it is now possible. I'm not a USB expert, though, so cannot say for sure.
    C) Getting a physical disk by snail mail from Sun is very slow for me.... (3 weeks and still watching the mail box...)I can't comment on that.
    -- Alan

  • How does one create age restricted articles inside DPS?

    Hello all,
    I need to know how to create an article that is age restricted.
    Are there any setting within InDesign etc. that can do this, or shall I use HTML in a web overlay?
    Thoughts or example etc., greatly received and much appreciated.
    Cheers,
    Billy.

    I think the best that you can do is set a warning message covering the page inside a MSO with 2 buttons, one for above the age limits and continue to the article , the other is for under age and has navto action to the next article.

Maybe you are looking for

  • How to set up or change recipient email for MRRL Tcodes

    Hi, 1. After running the Tcode MRRL with specific a CC, a Vendor, a PO and a PO item 2. Go to tcode sost, I found out that the recipient email is what maintained in General data for the CC and vendor in tcode xk03 3. I want to change the recipient em

  • Is there a note app that syncs with the native iphone notes app

    Looking for a feature rich app to pull notes from the native iPhone app.   I Like holding down the home button to tell Siri to take a note but want to do more with the note after she has taken it.  Is there a note app that pulls from the basic iPhone

  • Regarding drop down list,  any body help me plz.. very very urgent

    i have to create a drop down list and in that if i select a value it should go to select query and display hte result in the output for example if i select open in the inout list. that should go to a partiucular query which i write and after that whe

  • Lion 10.7.4 to a previous Lion update

    How do I go from the latest Lion 10.7.4 to the previous Lion update?  This new upgrade makes my computer sluggish.  Every video I watch is extremely slow and makes my computer slow and I work with video.  Thanks, Juan

  • Time capsule and IP config problems = no internet... please help!!

    Dear all, No wireless internet for a month, Apple won't help without £35 from me and my ISP is stumped. This forum saved me from myself before... I'm keeping the faith! The problem is a D-link DSL-300 T configured to provide DHCP into a Time Capsule