AA charge routine

  • relmedyer
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 weeks ago #17218 by relmedyer
AA charge routine was created by relmedyer
hi,
does someone has an example of charge routine?(my requirement is to get a value from a local ref field in term amount an calculate the charge amount based on totcommittment)

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

More
8 years 11 months ago #17400 by Valleyman1
Replied by Valleyman1 on topic AA charge routine
Good day,

Where do you want to attach the charge routine i.e Commision, CHARGE.MOD.RTN, etc?The signature of the routines will differ from where you need to put it. The general sytax of the charge routines is something like:
*-----------------------------------------------------------------------------
* <Rating>-20</Rating>
*-----------------------------------------------------------------------------
      SUBROUTINE CHARGE.ROUTINE.NAME(PARAM1, PARAM2, PARAM3...,PARAMN)
*
**  routine to calculate charge
*
$INSERT I_COMMON
$INSERT I_EQUATE
*
      GOSUB INITIALISE
      GOSUB  CHARGE.RECORD
*
      RETURN
*
*-----------------------------------------------------------------------------
INITIALISE:
*  initislaise yr file, variables etc here
*
      RETURN
*
*-----------------------------------------------------------------------------
CHARGE.RECORD:
*
*  Logic for calculating charge here
      RETURN
*

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

  • relmedyer
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #17412 by relmedyer
Replied by relmedyer on topic AA charge routine
thank you Valleyman1
i found an example of charge routine and it's working fine!!

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

More
5 years 6 months ago #21986 by drjekoyemi
Replied by drjekoyemi on topic AA charge routine
Please, share with us sample working routine. Thanks

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

  • bemonica58@gmail.com
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #22546 by bemonica58@gmail.com
Replied by bemonica58@gmail.com on topic AA charge routine
Hi relmedyer,

I realized this might be a very old post. Kindly share the example of CHARGE ROUTINE.

Thanks in advance.

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 2 months ago #22557 by silvergem
Replied by silvergem on topic AA charge routine
there is post here that has sample charge routine attached on ic charge and ic charge product

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

Time to create page: 0.104 seconds