Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3671240
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:27:47+00:00 2026-05-19T02:27:47+00:00

basically my query was, SELECT SEC_ORGANIZATION.description as sec_desc, FIN_COA.name as coa_name, FIN_COST_CENTRE.name as cctr_name,

  • 0

basically my query was,

SELECT SEC_ORGANIZATION.description as sec_desc, FIN_COA.name as coa_name, FIN_COST_CENTRE.name as cctr_name, FIN_ANALYSIS.name as analysis_name, FIN_SUBANALYSIS.name as sub_analysis_name, FIN_COA.description as coa_desc, SEC_USER_UPDATE.login_name as update_name, CURRENCY.description as currency_desc, SEC_USER_CREATE.login_name create_name, DOCUMENT_TYPE.description as doc_desc, DOCUMENT_TYPE.name as doc_name, FIN_TRADER.description as trader_desc, AP_REC_POSTED_HDR.trans_no, AP_REC_POSTED_DTL.trans_mode, AP_REC_POSTED_DTL.document_amt as dtl_doc_amt, AP_REC_POSTED_HDR.post_frequency, AP_REC_POSTED_HDR.trans_date as hdr_trans_date, AP_REC_POSTED_HDR.rec_start_date, AP_REC_POSTED_HDR.rec_end_date, AP_REC_POSTED_HDR.document_no hdr_doc_no, AP_REC_POSTED_HDR.rec_lastgen_date, AP_REC_POSTED_HDR.rec_nextgen_date, AP_REC_POSTED_HDR.exchange_rate, AP_REC_POSTED_HDR.document_amt hdr_doc_amt, AP_REC_POSTED_HDR.base_amt hdr_base_amt, AP_REC_POSTED_DTL.base_amt as dtl_base_amt, AP_REC_POSTED_DTL.line_no, AP_REC_POSTED_HDR.organization_id, FIN_YEAR_PERIOD.fin_year, FIN_YEAR_PERIOD.acct_period, AP_REC_POSTED_HDR.remarks hdr_remarks, AP_REC_POSTED_DTL.remarks as dtl_remarks
 FROM   (((((((((((AP_REC_POSTED_HDR AP_REC_POSTED_HDR LEFT OUTER JOIN SEC_ORGANIZATION SEC_ORGANIZATION ON AP_REC_POSTED_HDR.ORGANIZATION_ID=SEC_ORGANIZATION.OBJECT_ID) 
 LEFT OUTER JOIN DOCUMENT_TYPE DOCUMENT_TYPE ON AP_REC_POSTED_HDR.DOC_TYPE_ID=DOCUMENT_TYPE.OBJECT_ID) 
 LEFT OUTER JOIN FIN_YEAR_PERIOD FIN_YEAR_PERIOD ON AP_REC_POSTED_HDR.YEAR_PERIOD_ID=FIN_YEAR_PERIOD.OBJECT_ID) 
 LEFT OUTER JOIN CURRENCY CURRENCY ON AP_REC_POSTED_HDR.CURRENCY_ID=CURRENCY.OBJECT_ID) 
 LEFT OUTER JOIN FIN_TRADER FIN_TRADER ON AP_REC_POSTED_HDR.TRADER_ID=FIN_TRADER.OBJECT_ID) 
 LEFT OUTER JOIN SEC_USER SEC_USER_CREATE ON AP_REC_POSTED_HDR.CREATED_BY=SEC_USER_CREATE.OBJECT_ID) 
 LEFT OUTER JOIN SEC_USER SEC_USER_UPDATE ON AP_REC_POSTED_HDR.UPDATED_BY=SEC_USER_UPDATE.OBJECT_ID) 
 LEFT OUTER JOIN AP_REC_POSTED_DTL AP_REC_POSTED_DTL ON AP_REC_POSTED_HDR.OBJECT_ID=AP_REC_POSTED_DTL.AP_REC_POSTED_HDR_ID) 
 LEFT OUTER JOIN FIN_COA FIN_COA ON AP_REC_POSTED_DTL.ACCT_ID=FIN_COA.OBJECT_ID) 
 LEFT OUTER JOIN FIN_COST_CENTRE FIN_COST_CENTRE ON AP_REC_POSTED_DTL.COST_CTR_ID=FIN_COST_CENTRE.OBJECT_ID) 
 LEFT OUTER JOIN FIN_ANALYSIS FIN_ANALYSIS ON AP_REC_POSTED_DTL.ANALYSIS_ID=FIN_ANALYSIS.OBJECT_ID) 
 LEFT OUTER JOIN FIN_SUBANALYSIS FIN_SUBANALYSIS ON AP_REC_POSTED_DTL.SUBANALYSIS_ID=FIN_SUBANALYSIS.OBJECT_ID
 WHERE  DOCUMENT_TYPE.NAME='PE'

Everything goes right, but when i put,

and ap_rec_posted_hdr.trans_no >= $P{tnoFrom}
and ap_rec_posted_hdr.trans_no <= $P{tnoTo}
and ap_rec_posted_hdr.trans_date >= to_date($P{dtTFrom},'dd-mm-yyyy')
and ap_rec_posted_hdr.trans_date <= to_date($P{dtTTo},'dd-mm-yyyy')
and ap_rec_posted_hdr.posting_date >= to_date($P{finFrom},'dd-mm-yyyy')
and ap_rec_posted_hdr.posting_date <= to_date($P{finTo},'dd-mm-yyyy')
and fin_trader.name >=$P{venFrom}
and fin_trader.name <=$P{venTo}
and sec_user_create.login_name >= $P{cFrom}
and sec_user_create.login_name <= $P{cTo}
  ORDER BY AP_REC_POSTED_HDR.TRANS_NO

It returns the null value when displayed on the web page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T02:27:47+00:00Added an answer on May 19, 2026 at 2:27 am

    Chi: Run the same query directly against the database. Use the same values you used in the report.

    If you get null, then the query is correct.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, I have the following query: SELECT sr.name AS salesrepname, ct.name AS customertypename, c.name
I have this query: SELECT p.text,se.name,s.sub_name,SUM((p.volume / (SELECT SUM(p.volume) FROM phrase p WHERE p.volume
I'm having trouble with the following query: SELECT costingjobtimes.TimeStamp, costingdepartment.DeptDesc, costingemployee.Name, costingjobtimes.TimeElapsed FROM costingemployee
Quite new to EF, basically i want to convert this SQL query: SELECT PSKU.ProductSKUID,
I have this query select ts.name as my_name, ss.step_number, p.specs, p.price, ssp.class_id from optional_system_step
I have two queries that are basically the same: OLD TRANSACTIONS QUERY SELECT t.payment_method,
I have the following query: SELECT rt.ID, rt.Name, rt.Rate, rt.Colour, vtb.ID AS 'vtbID', vtb.Value,
I have a problem in PL/PGSQL with functions. Basically, I have a query: SELECT
Basically I have a mysql query something like the following: mysql_query(SELECT n.title, v.value FROM
I have following MySQL query: (SELECT c.Channel as name, count(*) as total_episode FROM (

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.