- Forum
- T24 Technical Discussions
- T24 Development & Customization
- How to use CHARGE.MOD.RTN in IC.CHARGE.PRODUCT?
How to use CHARGE.MOD.RTN in IC.CHARGE.PRODUCT?
- gm.saran
- Topic Author
- Offline
- Elite Member
-
- Posts: 203
- Thank you received: 29
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
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
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
Please Log in or Create an account to join the conversation.
- gm.saran
- Topic Author
- Offline
- Elite Member
-
- Posts: 203
- Thank you received: 29
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
It's not booking but pre-calculating.
Please Log in or Create an account to join the conversation.
- gm.saran
- Topic Author
- Offline
- Elite Member
-
- Posts: 203
- Thank you received: 29
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
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Please Log in or Create an account to join the conversation.
- gm.saran
- Topic Author
- Offline
- Elite Member
-
- Posts: 203
- Thank you received: 29
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
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
www.jbase.com/r5/knowledgebase/manuals/3...s/man/jbc2_LOWER.htm
www.jbase.com/r5/knowledgebase/manuals/3...s/man/jbc2_RAISE.htm
Please Log in or Create an account to join the conversation.
- gm.saran
- Topic Author
- Offline
- Elite Member
-
- Posts: 203
- Thank you received: 29
tnx jpb
Please Log in or Create an account to join the conversation.
- gm.saran
- Topic Author
- Offline
- Elite Member
-
- Posts: 203
- Thank you received: 29
Please Log in or Create an account to join the conversation.
- yngwuver
- Visitor
-
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
-
- Posts: 203
- Thank you received: 29
Please Log in or Create an account to join the conversation.
- yngwuver
- Visitor
-
Please Log in or Create an account to join the conversation.
- gm.saran
- Topic Author
- Offline
- Elite Member
-
- Posts: 203
- Thank you received: 29
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 . . .
Please Log in or Create an account to join the conversation.
- eyesark
- Offline
- Junior Member
-
- Posts: 33
- Thank you received: 1
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
-
- Posts: 203
- Thank you received: 29
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.
- drjekoyemi
- Offline
- New Member
-
- Posts: 12
- Thank you received: 0
KINDLY SHARE
Thank you
Please Log in or Create an account to join the conversation.
- Forum
- T24 Technical Discussions
- T24 Development & Customization
- How to use CHARGE.MOD.RTN in IC.CHARGE.PRODUCT?