As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I'm fairly new writing these defined fuctions in WEBFOCUS and need a little help. I want to run a report that flags duplicates that are present in two status', "cancelled" and "Settled". I attempted the below but got stumped at the DocID_Buyer portion. Can anyone help?
IF BTL.BT_LINE.PTN_FinancialStatus_Code EQ 'PS' 'CA' AND BTL.BT_LINE.DocID_Buyer EQ '99999999999999999' THEN 'DUPE' ELSE 'N'
Note: The BTL.BT_LINE.DocID_Buyer is where I want to find the Dupe's
BTL.BT_LINE.PTN_FinancialStatus_Code are the two status' each docID can be in the system with 'PS'=Settled and 'CA'=Cancelled
Happy New Year to all!This message has been edited. Last edited by: Mike321,
WEBFOCUS REPORT ASSISTANT VER 5 RELEASE 3.3 Windows XP Excel, HTML, PDF
Finding duplicate records often involves counting records based on your filter criteria and then applying a WHERE TOTAL test at the end. A second verb request (PRINT or SUM depending on the circumstances) is used to display the duplicate records. For example:
TABLE FILE <filename>
COUNT BTL.BT_LINE.DocID_Buyer NOPRINT
BY BTL.BT_LINE.DocID_Buyer
WHERE (BTL.BT_LINE.PTN_FinancialStatus_Code EQ 'PS' OR 'CA');
WHERE TOTAL COUNT GT 1 ;
PRINT BTL.BT_LINE.PTN_FinancialStatus_Code
BY BTL.BT_LINE.DocID_Buyer
END
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007