× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

How to use CHARGE.MOD.RTN in IC.CHARGE.PRODUCT?

  • gm.saran
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
12 years 9 months ago - 12 years 9 months ago #12598 by gm.saran
Hi,

we are on R09. trying to set up charges for inactive accounts using IC.CHARGE & IC.CHARGE.PRODUCT modules (picked up the idea from one of the discussions here; very helpful). While the charge being fixed in FT.COMM.TYPE, is it possible to use the CHARGE.MOD.RTN field available in IC.CHARGE.PRODUCT to change the charge based on the available balance on the account? say the balance on the account is less than the amount, we don't the account to go debit; instead we would like to charge only for the avail bal in the account. if the account balance is zero, then no charges.

can this be achieved through the CHARGE.MOD.RTN field in the IC.CHARGE.PRODUCT, as the name suggests? What are the input and output PARAMETER for this CHARGE.MOD.RTN. Help text for this field wasnt avail

Appreaciate any resp/advices
Last edit: 12 years 9 months ago by gm.saran.

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
12 years 9 months ago - 12 years 9 months ago #12604 by jpb
The routine has 4 parameters :

ACCOUNT.ID - input - account number
R.ACCOUNT - input - the account record from F.READ --> help says LOWER, seems to be wrong
CHARGE.CODE - input - GEN.CHARGE.KEY from IC.CHARGE.PRODUCT
R.INFO.GEN.CHG - in/out - the actual record in INFO.GEN.CHG --> LOWER !

In R.INFO.GEN.CHG you can only change CHARGE.AMOUNT and TAX.AMOUNT.

Helptext :
CHARGE.MOD.RTN
Defines a routine that can be used to modify the calculated charge and tax amounts. This can be used for example when closing an account before a manitenance charge is due.
The routine will accept 4 arguemnts
ACCOUNT number
Lowered ACCOUNT record
FT.COMMISION.TYPE key
Lowered INFO.GEN.CHG record
The routine can modify the CHARGE.AMOUNT and TAX.AMOUNT fields on the INFO.GEN.CHG record only.

Validation rules
Must be prefixed by @
Must be defined on PMG.FILE with TYPE set to S
Last edit: 12 years 9 months ago by jpb.
The following user(s) said Thank You: gm.saran

Please Log in or Create an account to join the conversation.

  • gm.saran
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
12 years 9 months ago #12605 by gm.saran
Tnx for the quick relpy. is thr a way to test the charging functionality w/o running a COB?

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
12 years 9 months ago #12606 by jpb
Try using the enquiry ACCOUNT.CHG.ENQ.
It's not booking but pre-calculating.
The following user(s) said Thank You: gm.saran

Please Log in or Create an account to join the conversation.

  • gm.saran
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
12 years 9 months ago - 12 years 9 months ago #12608 by gm.saran

File Attachment:

File Name: DORM.CHG.AMT.txt
File Size:1 KB

created a rtn to chk the bal of the ac and modiy the CHARGE.AMT if its less than the charged amt; but while trying with the enq, it is still displaying the default charge for accounts with balances less than the charge defined.

i'm replacing the 3rd field R.INFO<INFO.GEN.CHARGE.AMOUNT> with the new charge amt if the ac balance is less than the def charge amt specified in FT.COM.TYPE

enabled debug and looked at the R.INFO before and after changing the charged amt. but the 3rd field remains unchanged. the 3rd field which am trying to replace is getting appended at the end of the array. is thr some specific way to overwrite the R.INFO record? wat am i missing here?

tnx n adv
Attachments:
Last edit: 12 years 9 months ago by gm.saran. Reason: RTN atchd

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
12 years 9 months ago #12616 by jpb
As mentioned the R.INFO record is LOWER-ed, you have to set R.INFO<1,INFO.GEN.CHARGE.AMOUNT>.
The following user(s) said Thank You: gm.saran

Please Log in or Create an account to join the conversation.

  • gm.saran
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
12 years 9 months ago #12621 by gm.saran
got it. tnx again

but this LOWERED is a new stuff to me. any more info on that generally?

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
12 years 9 months ago #12622 by jpb
The following user(s) said Thank You: gm.saran

Please Log in or Create an account to join the conversation.

  • gm.saran
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
12 years 9 months ago #12633 by gm.saran
Gr8; with the suggested LOWER changes, it worked in the enquiry.

tnx jpb

Please Log in or Create an account to join the conversation.

  • gm.saran
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
12 years 9 months ago #12636 by gm.saran
it worked nicely in the COB too. tnx for all the help

Please Log in or Create an account to join the conversation.

  • yngwuver
  • Visitor
  • Visitor
12 years 9 months ago #12731 by yngwuver
hi GM.SARAN,

Please can you share the solution to that problem i need to implement the same solution at my bank

This email address is being protected from spambots. You need JavaScript enabled to view it.

Thanks in advance

Please Log in or Create an account to join the conversation.

  • gm.saran
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
12 years 9 months ago #12765 by gm.saran
what is your requirement?

Please Log in or Create an account to join the conversation.

  • yngwuver
  • Visitor
  • Visitor
12 years 9 months ago #12774 by yngwuver
To avoid charging dormant accounts and charging accounts to debit.

Please Log in or Create an account to join the conversation.

  • gm.saran
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
12 years 9 months ago #12782 by gm.saran
our reqmt was diff. T24 doesnt hv a charging func for Dormant accounts. so we've used the IC.CHARGE func to charge the Dorm accounts in COB. i got this idea from one of the thread here. i dont hv the id of that thread. attaching the content of that thread if you want to setup a new charge in COB.

you cant stop the accounts from going to debit - the one which T24 charges. if you want, you have to stop T24 from charging and u've to bring that inside IC.CHARGE.

You can add a routine to check the work.bal and change the charge accordingly. chk the attach for that rtn . . .
Attachments:

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #16217 by eyesark
How can we achieve a group level as well as account-specific charges regime with IC.CHARGE?

Say you have group charges for all current accounts, but we'd like to apply some account-specific charges, without doing away with group level charges for the accounts.

How can we achieve this?

Please Log in or Create an account to join the conversation.

  • gm.saran
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
10 years 11 months ago #16222 by gm.saran
Dear, Reqmt not clear. You would like to have "Group Level Charges" with exceptions for some accounts in the group, with a different charging calculation or additional charges?

This IC.CHARGE setup works based on CONDITION.GROUP grouping. If for few of the accounts, you require a diff calculation or additional charges, you should be able to incorporate that in the routine (you've write one on your own)

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #21907 by drjekoyemi
Replied by drjekoyemi on topic How to use CHARGE.MOD.RTN in IC.CHARGE.PRODUCT?
Please, do you have a sample charge modification routine,? especially any one that covers the lower part for INFO.GEN.CHG.

KINDLY SHARE

Thank you

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds