× 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 change currency format in DEAL.SLIP.FORMAT

  • Sayavong
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 5 months ago #21605 by Sayavong
Please help me,
How to Change currency format in DEAL.SLIP.FORMAT from 1,000.00 to 1.000,00

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

More
7 years 5 months ago - 7 years 5 months ago #21606 by madhulatha
Replied by madhulatha on topic How to change currency format in DEAL.SLIP.FORMAT
attach @TEST.AMT routine in FORMAT field in deal.slip.format

SUBROUTINE TEST.AMT(DEBIT.AMOUNT)
$INSERT ../T24_BP I_COMMON
$INSERT ../T24_BP I_EQUATE
$INSERT ../T24_BP I_F.FUNDS.TRANSFER

DEBIT.AMOUNT = R.NEW(FT.DEBIT.AMOUNT)
Y.AMT = LEN(DEBIT.AMOUNT)
IF Y.AMT GE '4' THEN
DEBIT.AMOUNT = FMT(DEBIT.AMOUNT, 'R2,#18')
CONVERT ',.' TO '.,' IN DEBIT.AMOUNT
END
END
Last edit: 7 years 5 months ago by madhulatha.
The following user(s) said Thank You: Sayavong

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

Time to create page: 0.027 seconds