REP 1316 at wrong frequency

Hi all,
I have a report and i want to create a Before_Report trigger which is like this :
function BeforeReport return boolean is
no_print exception;
begin
          dbms_application_info.set_client_info(:P_ORG_ID);
          if :CF_cust_trx_type in (1080,1002,1005,1018,1022) then
               raise no_print;
          end if;
          exception when no_print then
               fnd_file.put_line(1,'You cannot print this invoice!');
  return (TRUE);
end;It's compiling without errors, but after triyng to generate XML it throws me REP-1316:Before Report Trigger references column 'CUST_TRX_TYPE' at wrong frequency.
Any ideas what to do?
Report Builder 10.1.2.2.0
Thanks in advance,
Bahchevanov.

Solved!
modified:
function BeforeReport return boolean is
no_print exception;
lv_cust_trx_id number;
begin
     dbms_application_info.set_client_info(:P_ORG_ID);
     begin
          select distinct ra.cust_trx_type_id
          into lv_cust_trx_id
          from ra_customer_trx_all ra
          where ra.customer_trx_id = :p_customer_trx_id;
     exception when no_data_found or too_many_rows then return(false);
     end;
          if lv_cust_trx_id in (1080,1002,1005,1018,1022) then
               raise no_print;
          else return(true);
          end if;
          exception when no_print then fnd_file.put_line(1,'You cannot print this invoice!') ;
               return(FALSE);
  return (TRUE);
end;But the problem is that in the log file of the concurrent program the message: You cannot print this invoice! is not there....
It's just : REP-1825: Before Report trigger returned FALSE.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-1825: Before Report trigger returned FALSEAny ideas?
Thanks in advance,
Bahchevanov.

Similar Messages

  • REP-1314: Format Trigger columnname references at wrong frequency

    Hi,
    I have the following trigger.
    When I launch the report I get the error:
    REP-1314 error Format Trigger :color references at wrong frequency
    Trigger is as follows:
    function CT_1FormatTrigger return boolean is
    begin
      -- Automatically Generated from Reports Builder.
      if (:color = 'CR')
      then
        srw.set_foreground_fill_color('red');
        srw.set_fill_pattern('solid');
      end if;
      -- Automatically Generated from Reports Builder.
      if (:color = 'MJ')
      then
        srw.set_foreground_border_color('r100g88b0');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('r100g88b0');
        srw.set_fill_pattern('solid');
      end if;
      -- Automatically Generated from Reports Builder.
      if (:color = 'MN')
      then
        srw.set_foreground_border_color('yellow');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('yellow');
        srw.set_fill_pattern('solid');
      end if;
      return (TRUE);
    end;I have one group named G_COLOR to which there are 2 columns cnum and color
    Any ideas to resolve this issue?
    Thanks

    The field CT_1 should be either in the G_COLOR group, or in a group below that. Otherewise, multiple values for the color column may exist for the CT_1 column.

  • FORMAT TRIGER 'B_5' REFERENCES COLUMN 'DT' AT WRONG FREQUENCY

    I have a field B_5 as page footer & I have written the following code
    function B_5FormatTrigger return boolean is
    begin
    -- Automatically Generated from Report Builder.
    if :dt >= '02-oct-2007'
    then
    return (FALSE);
    end if;
    return (TRUE);
    end;
    when I execute the report it returns an error that
    FORMAT TRIGER 'B_5' REFERENCES COLUMN 'DT' AT WRONG FREQUENCY
    How can I get rid of this error ?

    Hi
    Check if DT belong to the correct frame or repeating-frame.

  • NI9411 wrong frequency measurement of flow sensors / 24 impulse signals

    Hello Ni Forum,
    I already searched for similar problems, but haven't found anything helpful. So I'm posting our problem here. I'm apologizing in advance for bad english, it's not my mother tongue
    We're encountering some strange behaviour of our NI9411 Module. We're using it in a Compact Rio with some other modules (2x Analog In).
    Our goal is to measure the frequency of three flow sensors (impulse high = 24V, 0-22kHz) among with a torque sensor (TTL 5V, 30-60kHz) and a speed sensor (TTL 5V, 0-51,2kHz).
    They are wired as follows:
    DI0a = torque sensor
    DI1a = flow sensor 1
    DI2a = speed sensor channel A
    DI3a = speed sensor channel B
    DI4a = flow sensor 2
    DI5a = flow sensor 3
    Correspondig ports b are left unconnected, as it is said in the data sheet. All ground ports of sensors are connected to COM port of 9411. The module was connected to a 24V power supply.
    Now the torque and speed sensor measurement works fine. But measuring the signals of the flow sensors seems to be difficult.
    If an external frequency generator (impulse high about 9V, f=1,000kHz) is connected to port DI1a instead of the sensor signal, LabView shows exactly 1,000kHz. DI5a showed an avarage of 10 Hz, with a range from 10 to 60 Hz. DI4a equaled constant zero. The flickering up to 60Hz of DI5a was gone after disconnecting the 24V supply of the module. This changed nothing on the phenomenon described below.
    If the signal high impulse voltage is raised, the measured signal frequency goes up to 1300 Hz @ 24V signal high impulse voltage. The signal additionally raises, if an oscilloscope is connected to DI1a, to 2180 Hz (range 2110 to 2240Hz). However, there is no change of frequency if the osci is connected to DI5a. With the 24V supply connected, DI5a showed a frequency up to 600Hz @ 24V signal high impulse voltage on DI1a, also rising when connecting the osci on DI1a. As mentioned, there was no frequency measured on DI5a after disconnecting the 24V power supply.
    The signals of the generator showed some peaks on each edge (rising and falling) with values for example of 11V above high impuls voltage of 9V (20V together). That may causes that wrong frequency measurement.
    The signals of the flow sensors do not have such peaks, the LabView-frequency nevertheless does not match the real frequency, as shown below (all values in Hz):
    LabView
    ideal values
    Flow Sensor 1
    Flow Sensor 2
    Flow Sensor 1
    Flow Sensor 2
    4600
    12200
    740,6
    6760,0
    6400
    13500
    1481,3
    7500,7
    9700
    16400
    2962,6
    8982,0
    12900
    19500
    4443,8
    10463,2
    We're kind of helpless now. How can we get the signals of the flow sensors measured the right way? Are we doing something essentially wrong? Thanks in advance for offered help. I hope, I've given any necessary information. Any missing details will of course be delivered.
    Puls-Measure-VI is attached beneath.
    Regards,
    Johannes Rost
    Attachments:
    vi.png ‏20 KB

    Dear Lynn,
    thank you for your reply. The impedance was an issue that our local technical distributor already suggested to check. According to the datasheet of the flow sensor (see attachement) it can drive a current of 25mA. The signal generator we used is a test generator that can be used instead of the flow sensors to check the any evaluation unit the sensor is connected with. So it should generate signals that are equal to those the sensor would have generated. And even with this the frequencies measured with LabVIEW are not as expected.
    We are in contact with the sensor manufacturer to exclude mistakes in connection on the sensor side. But the behavior with the signal generator makes us think that is has to do something with the characteristics of the NI9411 that we don't know yet.
    Attachments:
    block diagram signal amplifier and signal description.png ‏151 KB
    technical data.png ‏124 KB

  • REP - 1213 Reference column frequency below its group

    Hi,
    In a report (6i) it is showing Error like "REP - 1213 field F_SUM_COLLECTIONS_RATIO
    Reference column CS_COLLECTION_RATIO at a frequency below its group"
    As I know this is a problem of repeating frame problem:-
    1. How can I check this error ? And How can resolve this problem?
    Note:-
    In this sales_ratio,collection_ratio,sales?coll._ratio I added Corr. formula columns and create summary
    columns corr. to each.
    This summary columns having problem.

    Good morning,
    What I have found is that every time I have this problem, it is because during the manipulation of report items, I have inadvertently moved an item outside of its parent block.
    If you expand the size of your report layout editor (control-key and PLUS key [ ctrl+]), you can usually see where the item has strayed outside of its parent report block.
    I hope this helps,
    Don.
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :)

  • My front panel is causing my vi to run at the wrong frequency.

    My vi worked fine before I made my front panel into a useful GUI. The code was not changed only decorations, colors and position was changed. Now my vi will not operate at the correct frequency. I know this because I should be sending out a bit pattern at 25Hz and the oscope shows a change with the new vi. If I reduce this vi to 1/2 screen and the view the top of the front panel the vi runs fine as soon as I view the lower part of the front panel or go to full screen the frequency is wrong. I also found that by deleting two large decorative boxes the vi ran fine. I have played with the graphics settings and the only thing that helps is setting the resolution to 848x480 then the vi runs fine but looks funny.
    Any suggestions? Windows 2000 with LabView 6.1.

    Sounds like you are low on memory or CPU.
    Make sure you display is set for 16-bit color.
    Make sure none of the indicators are over-lapping.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Two customer service reps cannot be wrong? or can they!!!

    I ordered triple play last year as i was getting a better price if I included the TV, I never connected the DVR or TV service as I like my DirecTV NFL package.
    After one year, I noticed that Verizon was charging me 20 dollars for the DVR so I called the customer service and asked If I can just downgrade my service to double play, I was told yes and that price will go down by 25 dollars to around 63 dollars a month.
    I returned my equipment to the local Verizon store, after a week I started getting voice mail messages during day time to my home number that my TV service will get cancelled if I do not call them back, no extension number was provided.
    I called the general customer service number and they said they understand I want to cancel my TV service due to cost of DVR.
    I asked to confirm what my cost will be for double play from now, I was clearly told 63 dollars and some cents.
    One week later I get a bill for more than 100 dollars????
    I have put an order with comcast to provide me services starting next billing cycle, should not be hard to port my number.
    I do not beleive I am upset just because I was charged more but more importantly about being lied to by two of your customer service reps. Is this a coincidence or is it a culture in your company ???

    It looks like your issue may require a Verizon representative to review your account details. Please contact our customer service team via live chat or email at: http://www.verizon.com/contactus
    Choose “Live Chat.”
    If a chat agent is available to assist you, the chat link will become live after the page is fully loaded.

  • Wrong frequency is simulated

    Hello,
    I've circuit based on 555 timer which should generate 40kHz (50% DC) square wave.
    But Multisim simulate 26.367 Khz only.
    Circuit calculated by "Tools/Circuit Wizard/555 Timer Wizard/" and verified with datasheet.
    This circuit assemblied on real maket board and works fine.
    Multisim version is 10.1.1
    So, what's wrong here?
    Thanks,
    Sergey
    Solved!
    Go to Solution.

    Hi,
    I built the circuit using the shown component values and I was able to get the circuit to produce the right reading by changing the time step(TMAX) from 1e-5sec to 1e-8 sec, this setting is under Simulate>>Interactive Simulation settings.  By reducing the time step you are telling the simulator to take more samples and gave and more accurate reading.
    Tien P.
    National Instruments
    Attachments:
    Timer.ms10 ‏92 KB

  • Problem having the cloumn fields in the heading(REP:1317)

    Hi
    I am having a problem having a column field in the Header.I followed the instructions in the help i.e creating a field and then referencing it with a boiler text(&<field name>).But When I run the report I get the error message
    "REP-1317: Boilerplate '<boilerplate name>' references field with source '<column name>' at wrong frequency."
    How do I set these two field in the same frequency.
    Can anybody help.
    Thanks

    Hi
    See my answer at YOUR topic "Unable to have the column fields in the header".
    Once more: the only way to solve the problem is to create in the Header the Repeating Frame linking with the group of "<field name>". Then it's possible to place Field to be referenced by "database_col" or boiler text such as "&<field name>".
    Andrew.

  • REP-1367 Error

    I'm getting the following error when trying to run a report through a dist.xml file:
    REP-1367: The XML Settings of object 'B_OR$BODY_SECTION' reference field or column 'CF_3' at wrong frequency.
    The dist.xml file looks like this:
    <destinations>
    <foreach>
    <file id="a1" name="c:\_&amp;&lt;CF_3&gt;.pdf" format="pdf" instance="this">
    <include src="Report" />
    </file>
    </foreach>
    </destinations>
    'CF_3' is a formula column:
    function CF_3Formula return Char is
    begin
    return ('QM_Station_'||(to_char(:A_2))||'_'||(to_char(:A_4, 'YYYYMMDD_HH24MI')));
    end;
    I have CF_3 in the same group as A_2 and A_4. It doesn't appear anywhere in the layout because it's just a dummy field to produce a dynamic file name.
    The frustrating thing is that this worked--once, then of course I tinkered with a few things (I don't even remember what at this point). I haven't been able to get it to run correctly since.
    Any suggestions?
    Thanks, Kathy

    Sorry, I should add that I'm using Reports 9.0.4.0.
    Kathy

  • How do I generate a sinusoidal waveform for frequency 0,05Hz?

    Hi everyone,
    I  generate a sinusoidal waveform for different amplitude and frequencies. However, I can not obtain a waveform for frequency<0,05 Hz. For the frequency values under freq=0,05 Hz, the vi gives an error as can be seen from the attachment picture. I have changed the "buffer size", "scan rate", "total scan to acquire" and "count", but it failed again and gave the same error. Is there anyone who can deal with or experienced with something like this problem? Also, could you please the exact meaning of
    scan rate=
    total scan to acquire=
    buffer size=
    In order to prevent the aliasing, what should be these values? What kind of relations are there between them? Because, for different selected frequencies, I have to change these values, otherwise I detect wrong frequency value using "Tone Measurements.vi" that is located at the LabView library.
    Also, could you please make a comment on filtering? I want to filter very small vibrations from the signal using express vi of "Filter.vi". Should I have to use lowpass filter, or highpass filter, or bandpass or, smoothing etc. and what value of "cuttoff frequency" should I use? Thanks a lot...
    Attachments:
    front.jpg ‏333 KB
    Unsteady Pipe Flow Analysis.zip ‏126 KB

    Hi,
    I have also attached two files. One is related with f=1 Hz. When I adjust the frequency to 1 Hz, I can obtain and detect the true frequency response. However, as can be seen the waveform graph in the 1 Hz.jpg, I do not want to save or analyse the data which I circled in green colour. Because, the hotwire begins from the zero value and there is a peak at the top.After the first period, the waveform comes through the periodic one. Start of period from zero and make a bit peak at the top will change my statistic analysisi of signal. So I want to omit the first period.
    In the second attachement, (f=10Hz.jpg), ı changed the frequency of the signal from 1 Hz to 10 Hz. Now, the vi detected the wrong frequency as can be seen from the picture "Detected Frequency=0,1". Also, the waveform graph does not show the right periodic signal.
    So, what is the wrong? The filtering? or the scan rate? , total scan to acquire?, buffer size????? or what?? I have tried many different combinations of these control values, but the vi always detected the wrong frequency and the waveform graph was always like that.
    Attachments:
    f=1 Hz.jpg ‏307 KB
    f=10Hz.jpg ‏311 KB

  • RAM frequency question on CQ50 series

    I have a fairly good understanding of memory speeds when it comes to computers, but even I have a question about a specific memory topic. Perhaps someone out there knows the answer.
    My question is what is causing my laptops main ram to run at DDR2-667mhz. I know for a fact it is PC2-6400 and is able to operate at an external speed of 800mhz DDR2, but it won't. The ram defaults to 667mhz no matter what I do.
    The BIOS was my first choice to change that setting but as usual BIOS is locked out.  Note to HP, you guys need to stop locking out the advanced features setions of the BIOS. It's a real deal killer for any future plans I had for buying anymore HP/Compaq computers. Not to mention the limitations it places on the system in general, in other words, its a **bleep** move on your part.
    The system in question is the HP Compaq CQ50 and I've modified it with some part upgrades. Primarily changed the processor from a single core celeron 575 to a Core2Duo T7500. The processor runs at a rated FSB speed of 800mhz and the GL40 chipset says it supports up to 800mhz DDR2 memory modules.
    As for the memory, the system had 2gb (2x1gb) sticks at 667mhz and I swapped those out for newer DDR2 800mhz sticks (2x2gb) for a total of 4gb. I was disappointed when upon booting the system up and checking cpu-id to find the ram speed was the same, there was just more of it.
    They are matching sticks purchased at the same time and both are inscribed as PC2-6400 (400mhz) manufactured by Ramaxel Technology with part number RMN1740EF48D8W-800. Pulled from a different HP computer.
    What component on the system board is causing the ram to down clock like that? I am beginning to suspect the BIOS is the culprit as there are no advanced options or really anything of use in there. I just want the memory to work at its intended speed, is there anything that can be done about it?
    System Information:
    Name: Compaq Presario CQ50 103WM (its been upgraded from the factory installed hardware)
    Processor: Intel Core2Duo T7500 2.2Ghz 6mb cache 800mhz FSB (original was Intel Celeron 575 single core)
    Memory: 4gb of DD2 at 800mhz (running at 667 for unknown reason) (had 2GB of ddr2 667 orginially)
    Graphics: Onboard Intel Mobile 4 Series  (GL40 Chipset) (Also a serious bottleneck and probably why the ram is operating at the wrong frequency)
    Operating System: Windows 7 Ultimate x64 sp1
    That seems to be all the revelant information future readers will need. If more information is necessary I will post it upon request. I have a feeling there will be little to no help here but I have to try. Otherwise no one would even know the issue is out there.
    This question was solved.
    View Solution.

    Yes, I have a dv6810us that someone sold me second hand for cheap.
    Once I got it, I started reading all of the problems the dv6000 and dv9000 models had with the motherboards.
    So, I am well versed in those problems...one of the most unusual ones being how the motherboard simply cuts the power to the mini-PCIe slot the wireless card is plugged into, and kills the wireless.
    I imagine the GL40 chipset is a low budget board made specifically for the Celeron processors which allows the OEM's to sell notebooks at bargain prices.
    Fortunately it has enough wiggle-room in it to accomodate some of the Pentiums too.  Apparently it must be closely related to the previous chipset - the Mobile Intel 965, which runs memory at 667 MHz but can run a processor at 800 MHz.
    Then as you stated, the upscale GM45 or PM45 (with discrete graphics), can run processors at 1066 MHz, and memory at 800 Mhz (unless you have a board with DDR3 memory slots).
    I have the HP Elitebook 6930p business notebook with the PM45 chipset (Radeon 3450 graphics) and it has the P8700 and I run 8 GB of PC2-6400 memory (at 800 MHz).  I was unpleasantly surprised that HP included DDR2 memory slots instead of DDR3 in $1,400 notebook (which I got new old stock for $400 a few years ago).
    Fortunately, I bought the memory when you could still get 2 x 4 GB chips for less than $65 bucks.  Now they are over $200 for a pair.
    It would be a very interesting experiment to see if a T9300 would work in your notebook.
    In addition to the other specifications you listed, you also have to hope that the BIOS in your notebook has the microcode for the processor you wish to add.  If not, it won't work, or will report a microcode error on boot.
    If you ever decide to take a chance on that, please let us know if it worked or not.

  • Need to compare data of field of a report

    Hi All ,
    I need to make a report in report builder 6i , i need ti make two things but unable to do it
    1) update a column in the database after runing of the report so i did the following in after Report Trigger
    function AfterReport return boolean is
    begin
    update AP_CHECKS_all set attribute5 = 'yes'
    where CHECKRUN_ID = :batch_id ;
    commit;
    return (TRUE);
    end;
    it's compiling successfully but when i run i get error "REP-1316:After report trigger references column 'batch_id' at wrong frequency " .
    NOte : even when i put static value to get sure update statement is working it doesn't update database

    Number of datasets have no relation with print and layout. The number of datasets depends on how many data sources you want to get the data from and in how many different wasys.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Hiding a Particular Field in Report Builder 6.0

    Hi Folks,
    In one of my reports which consists of several linked tables, I want a particular field to be omitted in the report output when there are no values for a record. Even the heading/prompt for that field/column should not be printed. I tried using the conditional formatting option but it does not work for the column heading and gives the following error:
    REP-1314: Format Trigger M_1 refernces column 'COMM' at wrong frequency.
    It only helps if we have the trigger at the field not at the heading.
    Any ideas???
    TIA
    Hassan

    One of the solutions is:
    make a summurized field (that will count the numbers of records - you'ld use a COUNT function) in the group above the target item and then in formating trigger of the frame you will test the number of the newest field (0 means zero records fetched).

  • I want to hide a column in report 6i

    hi
    I want to hide a column in report 6i,
    I used this code
    function F_col_qty3FormatTrigger return boolean is
    begin
    if :color3 is null then
         return (false);
         else
    return (TRUE);
    end if;
    end;
    plz note that COL_QTY3 and COLOR3 both are from different table
    and resulting gave this error
    REP-1314 Format trigger 'F_col_qty3' reference column 'color3' at wrong frequency.

    You can format fields from a lower level group using fields from an upper level field, but not vice versa. This is because for the same upper level field there may exist several values of the lower level field. If this can not happen in your situation, there is no reason to place the fields in different groups.

Maybe you are looking for

  • Not going to sleep after battery depletion, just crashing

    My Blackbook had some intermittent battery issues last week, so I got a new battery. The new battery allowed the battery meter to start functioning properly again, but it still doesn't go to sleep when the battery is completely depleted, it just cras

  • Report for internal order - year/period comparison

    I want to create a report for internal orders with year/period (from/to) comparison. For the present year/period i'm using CCA variables  1YRPERF (Fiscal Year/Period From) and 1YRPERT (Fiscal Year/Period To), created from field FISCPER, table RWCOOM.

  • Windows 7; Printers Have Disappeared; Printer Spooler won't stay running.

    I'm using Windows 7 Home Premium and an Epson Stylus Photo R220 printer. I also had a few virtual printers (ie: Snagit) installed before the problems started. All of the printers (from my Devices and Printers) have disappeared, except for a generic "

  • How to test if remote R/3 system (Receiver) is down in case of Async RFC ?

    Hi Experts,    How to test if remote R/3 system (Receiver) is down in case of Async RFC call? There is no BPM as well. I have configured an alert category and created a rule in runtime workbench's Alert Configuration for the specific inbound interfac

  • Disable HR authorizations

    Hi, in a specific FM i do a CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE' but the system do a check authority and sometimes i don't get all datas, so i would like to disable HR authorizations infotypes, so i did a call function 'HR_READ_INFOTYPE_AUTHC_DI