What's StyleContext worth for?

Hi all,
I learned hot to color a PlainDocument following
Timothy Prinzing's article Customizing a Text Editor
http://java.sun.com/products/jfc/tsc/articles/text/editor_kit/index.html
For the time being, I'm using just one font, but various
colors, much like the code discussed in the article.
For simplicity, I store colors in an array and that's it.
However, I still have around a class that extends
StyleContext. I'm thinking I'll have to add a dialog
to customize colors before the code goes to production.
So the question is:
Is there any advantage in defining a set of styles
and then getting colors from them, rather than directly
define Color[]?
In facts, I had to store some attributes in the doc's
elements, then in the view class I know what they mean
and I color them accordingly. I had to derive directly
from BoxView, since many functions in WrappedPlainView
miss a "protected" qualification and hence are package-
private :-( I mention that to say that it is unlikely
that I will gain anything from existing rendering
functions that use styles, since they are buried inside
other view classes and cannot be easily plugged in.
So, I'm wandering if there is a gain in terms of
coding customization dialogs, saving preferences in
a file or anything along that line.
Please help! Any idea or further comment are appreciated.
TIA
Ale

Well I'm trying to set up some kind of report writer. I'm loading a CSS-file with StyleSheet.loadRules and then tried to use StyleContext
in a stack like fashion to resolve attributes when encountering tags:
<P><I><B> ...
So it seemed to me, extending StyleContext would be a good start.
I can push attributes for 'P', 'I' and 'B' on the stack (by
copying the styles from the StyleSheet into the StyleContext,
then resolving them in that order).
But the method "getFont ( style_from_top_of_stack )"
does not work at all. It just returns some default values ?!?
Should that be the idea of StyleContext ???

Similar Messages

  • What it's worth (for what it's worth).

    Folks,
    I bought an iPhone for $600 because it was worth more than that to me. Now it's $400, but to me? I can't live without it. I use it every single day--starting when I first wake up, finishing when I go to sleep. And I can't imagine I'm alone.
    The US dollar was worth a Euro five years ago--now it's worth 3/4 that. None of us can get a refund, and the longer one waits to spend our money, the lower the value will be in Gold, Silver, and certainly Oil. But gadgets? One expects not. It's not a commodity.
    Another consideration is that Apple is in the business of selling Macs, iPhones, and iPods, and whomever wanted the newest and greatest (myself included) paid $600--and would have thought it was worth double that if Apple had distribution problems. But everyone knew even before it was launched it was expensive--but had we ever seen anything like it? No.
    But Apple sold out the first round as fast as they could without causing widespread distribution problems--something Microsoft, Nintendo, and Sony have never managed with new hardware--then, once the water cleared a little, dropped the price for the holidays. Yay! Early adopters have done their business, and now it's time for our friends and family. It's gift giving time.
    Apple's primary consideration is their shareholders, and that's where this move makes the most sense. The hardcore acted first--some waiting in long lines, even. Now that the smoke has cleared and the novelty has faded, they are discounting the price. Far from being a sign of greed, it is a sign they desire that they continue to grow. As it should be.
    Lastly: I haven't bought an Intel Mac yet, but I plan on it, and when I do, I expect it to be the same price as it is now or cheaper: not more expensive. The same goes for the iPhone G2, just as it has with my G4s, G3s, G1 Power-Macs and earlier. That's how it works folks. Competition gets more fierce, the price goes down, and ultimately all we are left with is a product. In this case, and iPhone. And is it any less awesome than it was on day 1? No.
    --Mitch

    consider and iPad or MacBook Air. 

  • For what it's worth

    Literally. A few days ago, while sitting at my iMac, the familiar start of Buffalo Sprinfields- 'for what it's worth' began thumping from my speakers. Pretty soon I noticed there was no Steven Stills. It was the music and the background. Not a problem, reload at some point in the future. I have a copy synced to my iPad. It played fine. Today while listening to a radio station via iTunes the same song came on. No lead singer. Odd. I found and inserted my old CD and imported the song to iTunes. No lead vocals. Played the CD in iTunes. No lead vocals. I took the CD out to my car and played the CD. Works fine. Everythings there. I've checked some of my other old music and this song seems to be the only affecte song. Anybody else have this problem?

    I had something similar happen to me once when I was using my computer routed through my stereo.  I had a faulty component in the wiring setup and it was just sending a single channel through both speakers.  For most music you barely notice it because the stereo channel split isn't all that great.  For this one track, however, all the vocals went through the channel that wasn't being played.  I had never heard this track before so it wasn't until somebody else heard me playing it the 5th time  and asked what had happened to the vocals I even knew there were some!

  • Thinking to buy a new 15inch macbook pro retina display. Aim to use it for video editing and compositing... Is ıt worth for it?

    Hi... I am a freelance filmmaker. Now I have 2008 model mac pro and I am thinking to buy a new macbook pro 15 inch retina display. Do you think its worth for it? I aim to use the macbook mainly for video editing, video compositing (after effects) and photo editing. My current old mac pro has 12 GB and the graphics card is ATI Radeon HD 2600 XT 256 MB (Yes I still use it). My main question is, do you think its better to move to macbook pro or upgrading the old one? Making it 32 GB of RAM and buy a new NVIDIA cuda capable graphic card? I dont have enough budget to make it together... Want to hear your suggestions...

    I'm not sure, I've seen pro animators use MBPs but usually with a large monitor. Especially doing video editing, compositing and editing it might make more sense to upgrade the Mac Pro to an SSD as the boot drive. What kind of CPU setup is in your Pro?
    Check these out:
    mac pro SSD upgrades?
    SSD as system disk while users folder + data on HDD
    Early 2008 8-Core Mac Pro GPU Upgrades
    I deal exclusively with OWC. I'd call them and walk them through your system and see what they say.
    What you do takes a lot of CPU, RAM, graphics and boot disk power.
    I've upgraded my two computers to SSDs and the first thing I noticed was that Photoshop CS6 opens in 7 seconds vrs. 50 seconds when the application was on a HDD.

  • What can Lightroom do for me that Photoshop and Bridge can't?

    I've been using Creative Suite Design Pro since CS2 (now on CS4).  Lately I've been getting more into photography and have started hearing and reading about Lightroom.  Does Lightroom have features that Photoshop Extended and Bridge in CS don't?  Can it do things for me that I can't already do in CS?  Bottom line - what makes it worth the purchase price?             Thanks, Mary

    If you are comparing Lightroom to Photoshop CS specifically, the biggest difference you are going to see is the Lightroom capabilities compared to what Camera Raw in Photoshop CS will do.  Lightroom has all the features of the latest Camera Raw.  As far as Photoshop itself is concerned, I haven't used CS4, but the big feature that I saw an improved in CS3 was the Photoemerge feature.  It works so much better, and I understand it is even better in CS4.  I'm sure there are many other improvements in the latest version of Photoshop, but I have decided to wait for the next version before I upgrade.

  • Ellipsis - exactly what is it good for?

    Seriously, I have yet to find a use for this thing.
    I can't use it as a phone. When I first activated it, I tried to call it from my smartphone for testing. "We're sorry. The number you dialed has been changed, disconnected, or is no longer in service." Yeah, no. I can't dial out either; the dialer app just goes 'dur?' when I try.
    Bluetooth doesn't work. It'll *pair* with anything, but won't actually *connect* after pairing.
    I put several of my usual notification tones on the SD card, since, you know, additional storage is what it's for. My PC sees them when it's connected via USB. The apps, however, don't. Not even ES File Explorer can find them.
    Smart Push on my work (Exchange) account goes silent without warning until I manually refresh it. What's so smart about that?
    I can't even use it as a navigator; nav apps don't see the GPS.
    OK, I got the thing for free, and I suppose it's worth exactly that, but why am I paying $10 per month for the line? What am I getting for that $10, aside from a headache?

        I'm sorry to hear you're having so mucn trouble with your tablet coinneachfitzpatrick. This tablet can not be used as a phone, which is why you received the error message when you called the number. In regards to bluetooth, what type of bluetooth connection are you attempting to add to your tablet. Due to this being a tablet and not a phone, it wont pair as your phone would. You can pair wireless keyboards and other devices. Here is a link to help http://www.verizonwireless.com/support/devices/knowledge_base.html/89045 .
    Lets discuss your files you save to the device and smart push. Are the files you saved compatible with your pc? Is your tablet updated with the latest software which could correct the email issue?  Please keep us posted.
    KinquanaH_VZw
    Follow us on Twitter @vzwsupport

  • What version is right for me?

    Dear FCP Users
    I've got 100 gbs worth of footage from a Panasonic 101, and I want to put it together into a small film.
    I am familar with Final Cut Pro 9 having used it whilst working as a logger. I'm wondering what version is right for me, I could try and find a version of a older cut pro version or I could just buy FCPx.
    I'm only looking to,
    Log footage (Convert to pro-res)
    Cut it in the timeline
    Use Liveword
    Grade it (using magicbullet filter)
    Record and edit audio
    Burn it to DVD and setup for web format
    I'm using a,
      Model Name:    iMac
      Processor Name:    Intel Core 2 Duo
      Processor Speed:    2 GHz
      Memory:    1 GB
    Is it even fast enough to run FCP?
    How different is FCPx in its usage compared to other versions of FCP?
    Cheers, lots of questions, but I'm sure you can help!

    Tell us about FCP 9.  Is it more like FCP 7 or FCP X?
    My bad, meant final cut 7. Got confused due to reading a thread about FCPx being the equiv of FCP10, so being non the wiser, when I was told I was using the latest version I assume that it would be be FCP9.

  • What the Initial value for sy-tabix & sy-index

    Hi Folks
       I have a small doubt.
    What the Initial value for sy-tabix & sy-index?
    Can anyone please clarify me?
    Regards,
    Sree

    hi sree,
    both values are initialized to 0 before processing and after processing values are changed according to used scenarios.
    if helpful reward some points.
    with regards,
    suresh babu aluri.

  • What is the Tcodes for Uploading of data using BDC & CATT

    PP members:
    I was going through the <b>cutover activities</b> ,  and what I understood is  we transfer all the legacy system data into SAP before going live
    The data upload follows certain steps (depends on the organizational design load strategies)
    First we upload all the master data ( material master, BOM, W/C's & Routings)
    Then the transaction data ( Ideally speaking, there should no open orders i.e. WIP as on the day of cutoff )
    If the WIP (Work in Process) is unavoidable then the materials consumed shall be treated as <b>materials of the previous stage</b> and necessary adjustments shall be made after cutover day
    At this point, I could not able to understand what does the author mean <b>materials of the previous stage</b>
    Now comming to the uploading of data into SAP from legacy system, we use tools like LSMW, CATT & BDC
    Is it a must to use <b>only LSMW tool</b> to upload master data or any other upload tools are fine
    Lastly,. I am not sure about the Tcode of CATT & BDC
    Summary of the questions:
    1.What does the author mean  <b>material of previous stage</b>, for WIP materials during cutover activities
    2. Is it mandatory to use only LSMW tool for uploading for master data
    3. What are the Tcodes for upload tools CATT & BDC ?
    Thanks for your time
    Suren R

    Dear,
    1.What does the author mean material of previous stage, for WIP materials during cutover activities - as i understood, what is the stage of material..like it must have gone through 2 work centers and other 2 is left. i.e. you need to create Production order with only 2 operation as other 2 is already over. - usually it is done in such a way that we will create Production order and confirm till 2 operations and WIp is calculated so thatb FI will tally the books in SAP and lagacy.
    2. Is it mandatory to use only LSMW tool for uploading for master data - no you can use any tool as required and suits yr requirement
    3. What are the Tcodes for upload tools CATT & BDC- BDC through a prog in SE38. CATT through - SCEM.

  • 1,1 running Lion with XP Boot (re-install and what should i use for recovery disk or usb stick)?

    i am trying to give my 1,1 mac pro a little love and would like to keep this machine running lion. i also have a boot camp installation of XP on it.
    1. can anyone give me instructions on how/whether i can basically do a fresh install of Lion on this machine and minimize the system so it is not cluttered up with all my previous software etc, etc while still maintaining the original XP boot camp partition which i really need to have?
    2. can anyone clarify for me what i should have on hand /if/ i need to boot into recovery mode or some other safe boot mode? i recently ran into an issue where i may have had to use the old Disk Utility format function and there was a reference to booting using the DVD install disks. however i am really confused as to what i should have on hand. ALSO the last time i had to do something on this machine i was told to boot into the Recovery Partition and it appears for some reason (perhaps because i had a "non-standard" windows 7 boot camp installation on the drive at the time??) that there was no recovery partition created when i upgraded to Lion.
    - /anyway/ i am finding that i have the two ORIGINAL install disks for the mac pro on hand, a Max OS X Leopard and a mac OS X Snow Leopard DVD on hand but i am thinking that i should be creating some kind of USB stick similar to the one i created with yosemite? actually, i am not even sure what this USB stick for yosemite is for but i guess i can use it to boot into safe mode or something?
    THANKS for any help as i'd like to get this business under control a little better in case i have an issue.
    i'd also like to install Lion so that there is a Recovery Partition if possible and i think this may be possible if i don't have the windows 7 partition in the machine when i do a fresh install. any help would be great. thanks.

    You have to go out of your way to build the Installer Disk yourself. But this tool makes it easy, and this site contains instructions:
    http://diskmakerx.com
    the bootable installer is basically to re-install the OS if i have to
    Yes.
    the recovery partition is somehow for fixing a problem
    Recovery can go and get you the software and re-download it and start the Install, and allows the use of Disk Utility and can reset passwords.
    or is there some overlap?
    Yes. Both give you access to the Utilities that used to be on the Installer DVD. Disk Utility to Repair or initialize and a few other tools that can allow you to set up to install on an otherwise-bare disk or change your password.
    is "Safe Mode" something completely different
    Safe Mode is a way to start the fully-Installed Operating System in a special way. It first does one pass of Disk Utility (Repair Disk) against the Boot Drive. [Normally this would require booting from a different drive to make repairs.] Then it loads a minimal set of Apple-only kernel extensions, and uses a one-size-fits-all screen resolution. Then it demands your Username and password to proceed.
    From there you can fix settings, use the Finder to add or delete things, and check operation with minimal extensions versus all your daily-use extensions. Very helpful for debugging extension conflicts and graphics settings problems, and fixing damaged settings. The next Restart builds a new extensions cache.

  • My ipod nano 6th gen fell out of my pockey and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed

    My ipod nano 6th gen fell out of my pocket and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed? It is pretty frustrating, it fell from about 3 feet out of my pocket and now looks like it was beaten by a hammer.

    Debbie:
    deborahfromwindsor wrote:
    he advises restarting by inserting the OSX disc and pressing down the C button to reboot from there then selecting disk utility, hard disk and repair.... Does he mean me to hold down the C key on the alpha keyboard or the ctrl key?
    Should I just ask for my money back??? If it is a simple repair do I just literally push the disc in, push the power button and hold down the C button?
    That's where I would begin, too, with
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.TStatus of HDD at the bottom of right panel, and report if it saysanything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need touse autility like TechTool Pro,Drive Geniusor DiskWarrior
    First we need to determine if the issue you are experiencing with the computer is software or hardware based. Once we have gotten things sorted out there should be time enough to make you decision about keeping or returning it.
    cornelius

  • HT1423 what memory is best for mac

    what memory is best for mac

    crucial.com and macsales.com test RAM for compatibility.  Go to that site, select your system and follow their recommendations.  Both are highly regarded as suppliers for Mac-compatible RAM.

  • All I ask is that I get what I'm PAYING for, please........

    First of all, let me start by saying I'll be very surprised if this actually gets posted.  Took about 10 mins just to get to this point.  Funny how of all sites, Verizon's load the slowest.  You'd think they'd take extra measures to make this a better experience than getting asked over & over to log in after you already did, then it takes minutes (instead of seconds) just to load a page that needs another page that needs another page...
    Here is my deal with Verizon.  I've been a many-years customer of both home phone & DSL.  Up until the last couple months I've had some issues, nothing that couldn't be resolved, but for the last couple months my internet is so slow it's like being back on dialup, ugh..  About 10 days ago I finally got fed up enough to give them a call.
    Something I need to say first, about out-sourcing.  I'm not a fan of it but I understand to an extent why it's being done.  All I ask for though is that when I do talk to someone I can at least understand what they are saying to me.  That's really important to me, I'm sure it's important to you as well.  When I say "you people" I mean Verizon people, I'm not referring to anyone's race, color, etc., etc.,...
    OK...so I call them up & 1st guy is "DJ" he said that was what to call him since after 3 tries I still couldn't pronounce his name correctly.  I could understand him for the most part & I really do believe he tried his best to help me with my problem.  I was on the phone with DJ for I dunno, an hour, maybe hour & 1/2. 
    Looking back on it, I don't think he was the best informed person, I don't think any of them were.  We talked & I let him access not only my 2 yr old desktop but my precious not even 5 month old laptop.  We tried this, this, that, that.....it was just a big run around IMO.  DJ dumped my temp internet files, cookies, blah blah blah.......same on laptop.  Finally, after all the time on the phone he did exactly what I knew would happen.  He opened up my gateway page & said "see where it says you're getting this speed, etc?  That's what you're getting."   I don't care what that page says, I'm not getting what I'm paying for! 
    Due to the crappy service I've been getting I do speed tests daily & do them several times per day.  I use speedtest.net & also internetfrog.com as well as a couple others if I need them.  What amazes me is that after running me around on the phone for well over an hour, they wind up opening my gate page & then blame me, my 2 computers, my ability to see there's a real problem here.  I was asked to subscribe to a "professional tech service" of some sorts at $14.99 a month & was then told that's all that could be done for me.  I was then transferred to the so-called supervisor who was nothing short of RUDE, I was happy to finally end my call.  The next day a woman called, I could barely understand a word she was saying so I told her I wasn't up to talking & hung up.
    Call me **bleep**  but I decided to "upgrade" my service.  It said for 6 months I'd get a $10 rate reduction (which is cheaper than my current pkg) and I figured I'd at the very least, get better than what I was getting for only a few bucks more.  WRONG!!  They kicked in my new "better" pkg last night.  I do get better speed test results but only at "non-peak" times & even then, they are sketchy. 
    I haven't done a ton of reading as of yet but so far my impression is they're over loading the hubs in my area, too bad for me.  My speed tests are no better now than what they were before I "upgraded" my service.  A good example is this...it took 25 mins to download a 20 mb file...tried on both computers & it was the same for each of them.  If I had just one computer then sure, maybe I'd blame it on that.  I have a 2 yr old desktop with XP that has never given me any problems, I do my scans & keep things running smooth.  My laptop has W7 & isn't even  5 months old.  You can't tell me that both are simply "screwed up" and need professional help when I know **bleep** well it's not on my part but is on Verizon's! 
    I am stuck with Verizon due to where I live, what options are actually available at this time.  All I am asking for is that I am given what I'm paying for, what they say they're willing to provide.  I do not appreciate all the running around, the bad accents with less than understand spoken words of what they consider to be "english"....I can't understand wtf they're saying to me!  So frustrating, it really is. *sigh*
    Sorry for the rambling but if you've read this far I think you're in the same boat I am.  They used to be a company I truly did admire, now I'm just wondering how to dump them.  I'm very sad about this, I can't count on Verizon any longer to be reliable & more important...that they care other than me paying my bill.  ~Laurie

    LauriesWorld wrote:
    First of all, let me start by saying I'll be very surprised if this actually gets posted.  Took about 10 mins just to get to this point.  Funny how of all sites, Verizon's load the slowest.  You'd think they'd take extra measures to make this a better experience than getting asked over & over to log in after you already did, then it takes minutes (instead of seconds) just to load a page that needs another page that needs another page...
    Here is my deal with Verizon.  I've been a many-years customer of both home phone & DSL.  Up until the last couple months I've had some issues, nothing that couldn't be resolved, but for the last couple months my internet is so slow it's like being back on dialup, ugh..  About 10 days ago I finally got fed up enough to give them a call.
    Something I need to say first, about out-sourcing.  I'm not a fan of it but I understand to an extent why it's being done.  All I ask for though is that when I do talk to someone I can at least understand what they are saying to me.  That's really important to me, I'm sure it's important to you as well.  When I say "you people" I mean Verizon people, I'm not referring to anyone's race, color, etc., etc.,...
    OK...so I call them up & 1st guy is "DJ" he said that was what to call him since after 3 tries I still couldn't pronounce his name correctly.  I could understand him for the most part & I really do believe he tried his best to help me with my problem.  I was on the phone with DJ for I dunno, an hour, maybe hour & 1/2. 
    Looking back on it, I don't think he was the best informed person, I don't think any of them were.  We talked & I let him access not only my 2 yr old desktop but my precious not even 5 month old laptop.  We tried this, this, that, that.....it was just a big run around IMO.  DJ dumped my temp internet files, cookies, blah blah blah.......same on laptop.  Finally, after all the time on the phone he did exactly what I knew would happen.  He opened up my gateway page & said "see where it says you're getting this speed, etc?  That's what you're getting."   I don't care what that page says, I'm not getting what I'm paying for! 
    Due to the crappy service I've been getting I do speed tests daily & do them several times per day.  I use speedtest.net & also internetfrog.com as well as a couple others if I need them.  What amazes me is that after running me around on the phone for well over an hour, they wind up opening my gate page & then blame me, my 2 computers, my ability to see there's a real problem here.  I was asked to subscribe to a "professional tech service" of some sorts at $14.99 a month & was then told that's all that could be done for me.  I was then transferred to the so-called supervisor who was nothing short of RUDE, I was happy to finally end my call.  The next day a woman called, I could barely understand a word she was saying so I told her I wasn't up to talking & hung up.
    Call me **bleep**  but I decided to "upgrade" my service.  It said for 6 months I'd get a $10 rate reduction (which is cheaper than my current pkg) and I figured I'd at the very least, get better than what I was getting for only a few bucks more.  WRONG!!  They kicked in my new "better" pkg last night.  I do get better speed test results but only at "non-peak" times & even then, they are sketchy. 
    I haven't done a ton of reading as of yet but so far my impression is they're over loading the hubs in my area, too bad for me.  My speed tests are no better now than what they were before I "upgraded" my service.  A good example is this...it took 25 mins to download a 20 mb file...tried on both computers & it was the same for each of them.  If I had just one computer then sure, maybe I'd blame it on that.  I have a 2 yr old desktop with XP that has never given me any problems, I do my scans & keep things running smooth.  My laptop has W7 & isn't even  5 months old.  You can't tell me that both are simply "screwed up" and need professional help when I know **bleep** well it's not on my part but is on Verizon's! 
    I am stuck with Verizon due to where I live, what options are actually available at this time.  All I am asking for is that I am given what I'm paying for, what they say they're willing to provide.  I do not appreciate all the running around, the bad accents with less than understand spoken words of what they consider to be "english"....I can't understand wtf they're saying to me!  So frustrating, it really is. *sigh*
    Sorry for the rambling but if you've read this far I think you're in the same boat I am.  They used to be a company I truly did admire, now I'm just wondering how to dump them.  I'm very sad about this, I can't count on Verizon any longer to be reliable & more important...that they care other than me paying my bill.  ~Laurie
    I could have written this EXACT same message - down tot he "upgrading my service" for less money than I was currently paying, I figured, it couldn't hurt, right?
    wrong
    The CS guy told me that my wirespeed modem was still "the best they had"  (which is a joke as I don't even think they offer this anymore.  
    At least now, I am paying for 1.5mbps and I'm not getting it.  They WILL refund this money every month until I get something.  I'm simply not going to pay it anymore.  

  • Centre button is not working properly in my iphone . . what can i do for that ?

    centre button is not working properly in my iphone . . what can i do for that ?

    Get it serviced.

  • What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10?

    Hi Guys,
    What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10?
    I have to write an AP Invoice Aging Report in Discoverer to show all unpaid invoices that have been transferred into GL... Business wants it to match one-to-one with the AP Trial Balance standard report...
    Business wants to run the report for any date in a past...
    The report has two parameters:
    As Of Date - the same as As of Date for the AP Trial Report
    Trial Balance Run Date - the date when Trial Balance was run...
    Conditions are:
    TRUNC(Invoice Date) <=TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    TRUNC(NVL(Payment Date,'01-JAN-5000')) > TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    TRUNC(Invoice Creation Date) <= TRUNC(NVL(TO_DATE(:Trial Balance Run Date),SYSDATE))
    Distr Accounting Date <= TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    NVL(Distr Creation Date,Invoice Creation Date) <= TRUNC(NVL(TO_DATE(:Trial Balance Run Date),SYSDATE))
    Show_Flag = 'YES', where:
    Show_Flag = CASE WHEN ( NVL(Cancelled Date,'01-JAN-1901') > NVL(:As Of Date,SYSDATE) AND NVL(Inv Amount Aud,0) = 0 ) THEN 'YES' ELSE ( CASE WHEN NVL(Inv Amount Aud,0) = 0 THEN 'NO' ELSE 'YES' END ) END
    There is a difference between the logic of my report, and the logic of AP Trial Balance...
    Could you please advise what I'm missing?
    Thanks,
    Iana

    What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10? You can get the code by opening the report in Reports Builder and get the query.
    Or, enable trace/debug as per (FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]).
    Thanks,
    Hussein

Maybe you are looking for

  • TAXINN- posting a sales entry from FI using out put tax code

    Hi This client requires TAXINN and need to post a simple sales entry from FI ie cusotmer Dr Sales Cr and Sales Tax Cr. Can any one tell whether this is possible? If so, how. thanks a lot Sridevi

  • Exception after switching weblogic 10 To oracle 10g

    Hi Folks I have switched weblogic from 10.0 to oracle 10g ( 10.3 ), I got following exception on deploying the project, while in earlier weblogic 10.0 version, it was working fine. Nov 19, 2010 4:12:07 PM com.sun.xml.ws.transport.http.servlet.WSServl

  • MacBook Pro use 380% of CPU ?

    Tom-needs_ help, from Paris France. For two weeks now my MBP early 2011 use more than 300% of CPU. First i searched and tried solution on the web, but without success. So now, i'm asking for someon(s) help. I tried the reset of the PRAM and the SMC.

  • Fix shm parameters in /etc/system

    Got this message: skgm warning: EINVAL creating segment of size 000000000202a000 fix shm parameters in /etc/system or equivalent in my ora_XXXX.trc with various sizes about a hundred times and then an out of memory error on my java stored procedure.

  • IDVD5 quits unexpectedly as soon as I choose BURN DVD...

    I have completed a project in iDVD50.1 and everything seems to work fine. The encoding is not yet complete but that should not be a problem. As soon as I press BURN to burn the dvd disc, the application quits unexpectedly before I have time to try an