Between condition in rtf
hi all,
can i have between condition in RTF. i'm trying to use <?if:+ExpirationDate+ between StartDate and EndDate ?> but doesn't work.
any idea about this?
please share your experience.thx
rgrds,
dityo
No,
There is no syntax called Between.
But you can use, > and < , if the dates are in canonical format.
Similar Messages
-
Using OR condition in RTF Template
Hi,
How to use OR condition in RTF?
say for example,consider the EMP table.
I want to show the employees of department 10 and 20 in my XML Publisher report.
How can i write --
if deptno = 10 or deptno =20 in RTF templateyou can add the condition in RTF template
<?if:XMLfield=30 or XMLfield=10 ?> to display <?end if?> -
What is the difference between Condition Type PB00 and PBXX
Hallow all,
Can anybody please explain, What is the Difference between Condition type PB00 and PBXX in Materials Management Pricing?
And also please explain control or Application of both on Price determination ??
Thanks in Advance !!!!!Hi,
PB00 condition type is used for automatic pricing in PO
PBXX condition type is used for manual pricing in PO
In Pricing access sequence play a vital role . If you need pricing automatic in the PO, you have use of Access Sequences and Schema Group of Vendor.You can see the difference in both standard condition type PB00 and PBXX, where as PB00 is assigned to Access sequence(0002)but in case of PBXX no access sequense assigned.
Regards,
Biju K -
Hi All,
there is a big problem in Inconsistency between Condition Base Value in Rebate Monitor / Semi Automatic Bypass / MIS.
We have discovered issues with inconsistent figures.
Condition Base Value Rebate Monitor until Feb 29th is not equal with value from Semi Automatic Bypass with Settle to date Feb 29th
- first analysis indicates, that Semi Automatic Bypass is taking 3 Billing documents into account which have Service Rendered Date March 3rd , but Billing Date Feb 29th:
THE Rebates Monitor and Semi Automatic Bypass figures are always provided based on Requested Delivery Date/Service Rendered Date (and not based on Billing Date) and to ensure, that figures are always consistent.
How to fix it?
Thanks in advance and regards
WilliamHi,
USE FMs SD_BONUS_READ and SD_BONUS_STAT_TARGET to fetch the values.
Babul. -
(+) operator for a between condition
When i write this query in the sql prompt, getting an error "Invalid relational operator".
But when i write the same query in the report bulider , there is no error.
(but data is not selected as required)
Is this query correct? Can we write (+) operator for between conditions
select tab1.col1,
tab2.col1
tab1.col2,
tab2.col2
from emp tab1,emp tab2,table3
where tab2.col1(+) = tab1.col1
and tab2.col2(+) = tab1.col2
and tab1.col2(+) between TO_DATE('11/10/20060601','DD/MM/YYYYHH24MI')
AND TO_DATE('11/10/20061400','DD/MM/YYYYHH24MI')
Thanks in advance
ChettarjeeGet rid of the (+) before the between.. Only use (+) when outer joining tables.
This statement below is not outer joining a table with a table..
and tab1.col2(+) between TO_DATE('11/10/20060601','DD/MM/YYYYHH24MI')
AND TO_DATE('11/10/20061400','DD/MM/YYYYHH24MI')If you are trying to say tab1.col2 must be between two dates or it can be null then do this..
"(and tab1.col2 between TO_DATE('11/10/20060601','DD/MM/YYYYHH24MI')
AND TO_DATE('11/10/20061400','DD/MM/YYYYHH24MI') or tab1.col2 is null)"
The above where clause is just a guess of what you may be trying to do with the (+) before the between.
Message was edited by:
Mark Reichman -
Hi,
I have RTF template which contains the field to display the column name. Below are my help text.
COLUMN1 is my XML tag and displaying AQUA color in my excel output.
<?COLUMN1?><xsl:attribute xdofo:ctx="block" name="background-color">Aqua</xsl:attribute>From above scenario, i need to add one more condition if there is no value in my XML tag then don't display the field in my excel output. For example. I have COLUMN1 and COLUMN2 XML Tag. Only COLUMN1 contains the value but COLUMN2 not. In my excel output the COLUMN2 value should not display.
ThanksPlease see if (How to make condition using XML tags to check NULL values in XML Publisher templates? [ID 414022.1]) helps.
Also, see XML Publisher Guide which can be accessed via http://www.oracle.com/technetwork/documentation/applications-167706.html
Thanks,
Hussein -
"Or" condition in RTF Template
Hello,
In my RTF template, I try to test a statement for two values. I tried
<?xdofx:if :A!='0' or B!= '0'?>
<?if:A!='0' or B != '0'?>
It doesn't work : there isn't any error but the result is wrong.
Is there another syntax I've got to use ?
Thanks
Version : BI Publisher 10g
Edited by: jbg on 4 oct. 2011 23:49Condition usage looks fine.
Do these conditions individually work? Whats is your requirement?
If possible paste a sample xml here -
If like condition in rtf (template for oracle report)
i'm begineer developer in oracle ebs i'm using report builder and rtf (xml) template to build report
can anyone help my i want to make 2 layout in 1 template (1 rtf file) and give condition with if, lower and like (in sql i'm use like) but is error
i give this query in my rft template:
<?if: lower(WORK_ORDER_TYPE) like 'breakdown'?>
<?start:body?>
my_template
<?end:body?>
<?end if?>please help my for this problem
thank you very muchYou can use choose too,
note: the conditions are same
<?choose:?>
<?when: SHIP_COUNTRY_CODE=’IT’?>
<?concat(‘Iscrizione Registro AEE n.’,WEEE_REG_NUM)?>
<?end when?>
<?when: SHIP_COUNTRY_CODE=’IT’?>
<?concat(‘WEEE Registration No.’,WEEE_REG_NUM)?>
<?end when?>
<?end choose?> -
Color format upon condition in RTF
Hi
will anyone help me in this issue i've a column i want when it be a negative value to display its font in red . how can i apply that in rtf template ???See this related thread - BI Publisher conditional formatting
Srini -
Menu parameter and condition in rtf template
Hello Guys,
I have a problem with the .rtf xml condition for my
menu parameter.
<?sum(COUNT
(../P_TIME_2 =2011)
)?>
the above does not work. I was wondering if a "IN" clause
or something is needed but I dont know the syntax well.Hello AlexAnd,
Thanks for your reply. Unfortunately I cant post the XML here (I dont even know how to see the xml).
Let me explain what I did so far:
I just added a field using the BI publisher Word Plugin (.rtf).
BI Publisher Tab - > ab¦Field - > select fied and "sum" as caluclation method in window and that popped up- > double click on field and look
at the code.
Now this code says
<?sum(mySalaryCount)?>
I want to sum up mySalaryCount from the database but only when the column for a specific row
has the right year value.
lets say the one that has the value 2011. So I extend to code.
<?sum(mySalaryCount)
(../menuParamter_selected_year =2011)
?>
the problem is, the above does not work. it works for "normal" parameters but does not seem to work for
menu parameters (as set in the bi publisher data model)
I guess the menuparameter is a list/array and hence the = is not the right operator.
*in my case a menu parameter -
SUM function with condition in RTF template
Hi All,
I have a problem in calculating the SUM in RTF template with condition,
Here is the XML
- <LIST_G_LINE_NOTES>
- <G_LINE_NOTES>
<LINE_TRX_ID>1567856</LINE_TRX_ID>
<LINE_ID />
- <LIST_G_TRX_LINE>
- <G_TRX_LINE>
<CF_ITEM_NO>SDCN1144B</CF_ITEM_NO>
</G_TRX_LINE>
</LIST_G_TRX_LINE>
- <LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
- <G_LINE_EQUIVALENT_UNIT_PRICE>
<LINE_EQUIVALENT_UNIT_PRICE>-15.99</LINE_EQUIVALENT_UNIT_PRICE>
<LINE_EXCHANGE_EXTENDED_AMOUNT>-223.86</LINE_EXCHANGE_EXTENDED_AMOUNT>
<CUSTOMER_TRX_LINE_ID>1567856</CUSTOMER_TRX_LINE_ID>
</G_LINE_EQUIVALENT_UNIT_PRICE>
</LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
- <LIST_G_TRX_LINE>
- <G_TRX_LINE>
<CF_ITEM_NO></CF_ITEM_NO>
</G_TRX_LINE>
</LIST_G_TRX_LINE>
I need the summation of field LINE_EXCHANGE_EXTENDED_AMOUNT with the condition CF_ITEM_NO!=''
can anybody help me with the solution.
Thanks in AdvanceKavipriya,
Here is the XML
<LIST_G_LINE_NOTES>
<G_LINE_NOTES>
<LINE_TRX_ID>1567856</LINE_TRX_ID>
<LINE_ID />
<LIST_G_TRX_LINE>
<G_TRX_LINE>
<LINE_DELIVERY_ID />
<DISCOUNT>0</DISCOUNT>
<CP_LN_TAX_AMT />
<CF_ITEM_NO>SDCN1144B</CF_ITEM_NO>
</G_TRX_LINE>
</LIST_G_TRX_LINE>
<LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
<G_LINE_EQUIVALENT_UNIT_PRICE>
<LINE_EXCHANGE_EXTENDED_AMOUNT>-223.86</LINE_EXCHANGE_EXTENDED_AMOUNT>
</G_LINE_EQUIVALENT_UNIT_PRICE>
</LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
</G_LINE_NOTES>
Edited by: user13012317 on Mar 10, 2011 11:00 PM -
I have to use count function in "if-else" condition in rtf tempelate
I have a nedd to use count fucntion in my rtf fucntion in IF-ELSE condition like this :
if
(count INVOICE_LEVEL from xml where (INVOICE_LEVEL=SM_SUMMARY_LEVEL)) = (count coloumn_A from xml ) --- if the count matches
THEN print "NO DATA FOUND"
else --- if not
end if ;
--------XML------
<COMP123>
<SM_SUMMARY_LEVEL>2</SM_SUMMARY_LEVEL>
<SM_CHARGE_HEAD>2</SM_CHARGE_HEAD>
<INVOICE_LEVEL>2</INVOICE_LEVEL>
<RCVR_ADDRS3_PART1>SG</RCVR_ADDRS3_PART1>
<RCVR_ADDRS3_PART2>ASIA ,</RCVR_ADDRS3_PART2>
<TXN_CSTMR_REF>ABC-DEF</TXN_CSTMR_REF>
<TAX_ID>PCT-ID</TAX_ID>
</COMP123>
<COMP123>
<SM_SUMMARY_LEVEL>2</SM_SUMMARY_LEVEL>
<SM_CHARGE_HEAD>2</SM_CHARGE_HEAD>
<INVOICE_LEVEL>2</INVOICE_LEVEL>
<RCVR_ADDRS3_PART1>SG</RCVR_ADDRS3_PART1>
<RCVR_ADDRS3_PART2>ASIA ,</RCVR_ADDRS3_PART2>
<TXN_CSTMR_REF>ABC-DEF</TXN_CSTMR_REF>
<TAX_ID>PCT-ID</TAX_ID>
</COMP123>
can any one help me to write the correct syntax and logic for this .
THANKS!I am using the below way but it is not working as desired it is always printing the derived value.
<?xdofx:if (xdofx:round((to_number(to_char(SYSDATE,'JSSSSS'))-to_number(to_char(to_date(DOB_DATE, 'YYYY-MM-DD'),'JSSSSS'))) div 100000)) <= 30 then '(1-30)' else '(1-100)' end if?>
Let me know if i missed anything..
Thanks,
Jana -
Relationship between condition type and payment term
Hi,
I created a purchase order (only 1 item) with with payment term "Within 14 days 2 % cash discount" So a condition type SKTO auto added for the item with discount is 2%.
can anybody show me the relationship between payment term with the condition type and the IMG T.code to make this relationship?
Thanks
LongIf you go to IMG - MM- Purchasing - conditions- Define price determination process - Define Condition types
For SKTO the condition category is E- Cash discount
For this condition type which is defined in the calculation procedure , the system internally derives a percentage from the terms of payment and inserts it in the condition type with the category E -
Differences IRF between Condition SD and Tax code FI
Hello friends.
In a specific process, we have two distinct processes (example):
1) SD Document originary from TM
Condition YR01 -> +100.00 - Gross marge for calculation of IRF
Condition YR02 -> -15.00 - Tax 2
Condition YR03 -> -5.00 - Tax 3
Condition YR04 -> +80.00 - net for calculation of IRF
Tax calculation: 8.00
2) Invoice Entry (by MM-MIRO)
Ex.: accounting documents is generated with:
In Suplly Master Data: IRF Tax Category: IC. IRF Tax Code: C0
Gross marge for calculation of IRF: +100.00
Tax calculation: 10.00
Due to the client's process, we need to compensate the SD document with the accounting documents of FI, but the process cannot be completed because there is a difference in the calculation of the IRF Tax between the two processes.
According to the client, the source of the document in TM is right, i.e. tax is really 8.00.
The question is: How to adjust this on FI to consider both tax (YR02 e YR03)?
I appreciate your attention.
GLippmannI did with depending IRF codes:
Financial Accounting New -> Financial Account. GL Settings New -> Witholding Tax -> Extended Witholding Tax -> Witholding Tax Base Amounting -> Portray Dependencies between Witholding Tax Type.
GLippmann -
Differences between condition FRB1 and FRB2
Hi,
I am confused with condition type FRB1 and FRB2. It seems that these 2 condition types have the same setting except that FRB1's AccKey is FR1 while FRB2's is FR2. If I put the same account to both FR1 and FR2 in OBYC, the posted accounts when MIGO are the same.
So is there any differences between FRB1 and FRB2? Or is there any differences between FR1 and FR2? Or maybe they are only used to post freight to different account?
Thanks!
WesleyHi, Manohar
I checked the thread, and Nikhil indicated that the difference is that for conditions FRB1, we can enter vendor for delivery costs at the time of GR.
But it's only a field control in condition type. Is there any differences between account key FR1 and FR2?
Wesley
Maybe you are looking for
-
Boot Camp: Windows installation never begins -- Error message: No boot disk
Ran Boot Camp: -Partitioned HD for Windows -Put my Windows XP Professional disk in (yes, it is an original, genuine, and completely separate [not bundled] disk...is it SP2? I dunno...it says 2002? Anyway, I don't know if that's the problem) -The Mac
-
Hi expert i need change the parameter of ICM. this error is in the portal. when i call a service with rfc. Error: -5 Version 7010 Component: ICM Connection to partner timed out after 60s http://www.mialbumdefotos.com/fotos/32190/vista/icm.jpg.jpg I
-
Virtual Tables in a universe?
We have a large structured database that we would like to make available through a universe. We were considering using a universe that references tables that we make up so that when the report occurs, BO would request the data based on "virtual" tab
-
Hi Guys This is a new implementation in ECC 6.0. I have to creat new company code with New GL functionality. The country is USA. In the Node Localize Sample Organizational Units, Documentation says, "In this IMG activity, you localize the sample org
-
Viewstack inside viewstack?
hello! I'm just creating a simple website. A canvas in the left has inside an Accordion and inside of each segment of it I have a ToggledButtontBar. So now when I click in a segment of the Accordion I access to this Bar on which I have a not visible