Skip to main content
Answer

Journal Transaction get the RefNbr Data Depends on Module

  • October 9, 2024
  • 9 replies
  • 77 views

Forum|alt.badge.img

Hi

I need help because i want to view my RefNbr on my GLTran base on my module 
 

 

but when i click this
 

it is not getting the record of the refnbr

Best answer by nhatnghetinh

Hi @jhoncandare04 

Because when you click on RefNbr on the report it will call the screen of that RefNbr. And [GLTran.RefNbr] cannot call the correct screen of RefNbr.

You need to join with APPayment & ARPayment to call the correct screen of that RefNbr
Please refer to the screenshots below.

 

 

 

 

Best Regards,

NNT

9 replies

Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • October 9, 2024

 


nhatnghetinh
Captain II
Forum|alt.badge.img+11
  • Captain II
  • October 9, 2024

Hi @jhoncandare04 

Please share the .rpx file

 

Best Regards,

NNT


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • October 9, 2024

this one


nhatnghetinh
Captain II
Forum|alt.badge.img+11
  • Captain II
  • Answer
  • October 9, 2024

Hi @jhoncandare04 

Because when you click on RefNbr on the report it will call the screen of that RefNbr. And [GLTran.RefNbr] cannot call the correct screen of RefNbr.

You need to join with APPayment & ARPayment to call the correct screen of that RefNbr
Please refer to the screenshots below.

 

 

 

 

Best Regards,

NNT


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • October 9, 2024

@nhatnghetinh i cant use this one as Ref. No?
 

 


nhatnghetinh
Captain II
Forum|alt.badge.img+11
  • Captain II
  • October 9, 2024

Hi @jhoncandare04 

I tried using the if function to use only 1 column for Ref. No but without success.

= IIf( [APPayment.RefNbr] <> NULL, [APPayment.RefNbr]
    , IIf( [ARPayment.RefNbr] <> NULL, [ARPayment.RefNbr]
    , '' ) )

 

Best Regards,

NNT


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • October 9, 2024

=Switch([GLTran.Module]='AP',[APPayment.RefNbr],
[GLTran.Module]='AR',[APPayment.RefNbr], 
)

i tried this i think its okay. Thank you 


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • October 10, 2024

@nhatnghetinh i thought its working but it is not switching the condition 😭


nhatnghetinh
Captain II
Forum|alt.badge.img+11
  • Captain II
  • October 10, 2024

Hi @jhoncandare04 

I realized this problem as I told you above. It seems that RefNbr link on the report is not calling different screens according to conditional functions.

 

Best Regards,

NNT