Documente Academic
Documente Profesional
Documente Cultură
NOS
Mohankumar Balasubramaniam Fri, 14 May 2010 04:21:23 -0700
Please find below code for sample of EB.ACCOUNTING. The Mail Archive home
jbase - all messages
jbase - about the list
Expand
Previous message
Next message
RAISE.ENTRY:
*-----------*
* Form the stmt entry array
LOCKER.ENTRY<AC.STE.ACCOUNT.NUMBER> = ACCOUNT.ID
LOCKER.ENTRY<AC.STE.CUSTOMER.ID> = CUSTOMER.ID
LOCKER.ENTRY<AC.STE.PRODUCT.CATEGORY> = ACCT.CATEGORY
LOCKER.ENTRY<AC.STE.CURRENCY.MARKET> = CCY.MKT
LOCKER.ENTRY<AC.STE.COMPANY.CODE> = ID.COMPANY
LOCKER.ENTRY<AC.STE.SYSTEM.ID> = 'FT'
LOCKER.ENTRY<AC.STE.TRANS.REFERENCE> = TRANS.REF
LOCKER.ENTRY<AC.STE.BOOKING.DATE> = BOOK.DATE
LOCKER.ENTRY<AC.STE.REVERSAL.MARKER> = ''
LOCKER.ENTRY<AC.STE.POSITION.TYPE> = ACCT.POSITION.TYPE
LOCKER.ENTRY<AC.STE.PL.CATEGORY> = ''
LOCKER.ENTRY<AC.STE.DEPARTMENT.CODE> = DEPT.CODE
LOCKER.ENTRY<AC.STE.OUR.REFERENCE> = TRANS.REF
LOCKER.ENTRY<AC.STE.THEIR.REFERENCE> = TRANS.REF
LOCKER.ENTRY<AC.STE.VALUE.DATE> = BOOK.DATE
LOCKER.ENTRY<AC.STE.EXPOSURE.DATE> = BOOK.DATE
LOCKER.ENTRY<AC.STE.CURRENCY> = ACCT.CURR
LOCKER.ENTRY<AC.STE.AMOUNT.LCY> = -1 * AMOUNT.LCY
IF AMOUNT.FCY THEN
LOCKER.ENTRY<AC.STE.AMOUNT.FCY> = -1 * AMOUNT.FCY
END
LOCKER.ENTRY<AC.STE.ACCOUNT.OFFICER> = ACCT.OFFICER
LOCKER.ENTRY<AC.STE.TRANSACTION.CODE> = DR.TRANS.CODE
LOCKER.ENTRY = LOWER(LOCKER.ENTRY)
TEMP.ENTRY<-1> = LOCKER.ENTRY
* Form the Categ entry array
LOCKER.ENTRY = ''
LOCKER.ENTRY<AC.STE.CURRENCY.MARKET> = CCY.MKT
LOCKER.ENTRY<AC.STE.COMPANY.CODE> = ID.COMPANY
LOCKER.ENTRY<AC.STE.SYSTEM.ID> = 'FT'
LOCKER.ENTRY<AC.STE.TRANS.REFERENCE> = TRANS.REF
LOCKER.ENTRY<AC.STE.BOOKING.DATE> = BOOK.DATE
LOCKER.ENTRY<AC.STE.REVERSAL.MARKER> = ''
LOCKER.ENTRY<AC.STE.POSITION.TYPE> = ACCT.POSITION.TYPE
LOCKER.ENTRY<AC.STE.CUSTOMER.ID> = CUSTOMER.ID
LOCKER.ENTRY<AC.STE.PL.CATEGORY> = PL.CATEG
LOCKER.ENTRY<AC.STE.ACCOUNT.OFFICER> = ACCT.OFFICER
LOCKER.ENTRY<AC.STE.PRODUCT.CATEGORY> = ACCT.CATEGORY
LOCKER.ENTRY<AC.STE.DEPARTMENT.CODE> = DEPT.CODE
LOCKER.ENTRY<AC.STE.OUR.REFERENCE> = TRANS.REF
LOCKER.ENTRY<AC.STE.THEIR.REFERENCE> = TRANS.REF
LOCKER.ENTRY<AC.STE.VALUE.DATE> = BOOK.DATE
LOCKER.ENTRY<AC.STE.EXPOSURE.DATE> = BOOK.DATE
LOCKER.ENTRY<AC.STE.CURRENCY> = LCCY
LOCKER.ENTRY<AC.STE.AMOUNT.LCY> = AMOUNT.LCY
IF AMOUNT.FCY THEN
LOCKER.ENTRY<AC.STE.AMOUNT.FCY> = AMOUNT.FCY
END
LOCKER.ENTRY<AC.STE.TRANSACTION.CODE> = CR.TRANS.CODE
LOCKER.ENTRY = LOWER(LOCKER.ENTRY)
TEMP.ENTRY<-1> = LOCKER.ENTRY
LOCKER.ENTRY = ''
LOCKER.ENTRY = TEMP.ENTRY
CALL EB.ACCOUNTING('EB',"SAO",LOCKER.ENTRY,'0')
RETURN
REVERSE.ORIGINAL.ENTRIES:
*-----------------------*
FT.TAPES.STMT.NO = R.TELLER<TT.TE.STMT.NO>
V = FT.AUDIT.DATE.TIME
APPLICATION = "FUNDS.TRANSFER"
R.NEW(FT.STMT.NOS) = FT.TAPES.STMT.NO
CALL EB.ACCOUNTING('FT','REV',"",'')
CALL EB.ACCOUNTING('FT','AUT',"",'')
RETURN
The argument descriptions for EB.ACCOUNTING is been given below for your
feature reference, in case if you want to use it for any other developments.
Regards,
Mohan
>
> Can you please send me an example of using EB.ACCOUNTING?
> (for creating - input and reversing entries?)
>
> Thanks a lot Mohan
>
> ------------------------------
> Date: Thu, 13 May 2010 10:46:18 +0530
> Subject: Re: T24: FUNDS.TRANSFER with no STMT.NOS
> From: mohankumarm...@gmail.com
> To: jbase@googlegroups.com
>
>
> Hi,
>
> The best way is to use EB.ACCOUNTING to raise entries instead of using FT.
> FT have lot of validations, so it will also consume execution time when
> teller processing also increases storage spaces.
> You can use the types "VAL"( For Input entries in INAU), "AUT"(For
> Authorising entries),
> and "REV" for reversing already raised entries for EB.ACCOUNTING. Please
> note set ID.NEW as different when raising entries.
> If you need example code to raise entries using EB.ACCOUNTING plz reply, so
> that i will send to you.
>
> or still if you want to use FT, reverse already raised FT, set HIS.REVERSAL
> field in FT.TXN.TYPE.CONDITION to Y and reverse already raised FT using OFS.
>
> Regards,
> Mohankumar B
>
> On Thu, May 13, 2010 at 12:16 AM, Srinivas <srinivasyada...@gmail.com>wrote:
>
> Hi,
>
> Instead of creating the new funds transfer record , reverse the already
> created FT .
>
> On 12 May 2010 18:06, Despina <despinahape...@hotmail.com> wrote:
>
> Hi all,
>
> I'm having the problem below:
>
> 1. On a TELLER 0 authorisation version, at AUTHORISATION level,
> I have a VAR routine that creates FUNDS.TRANSFER that debits customer
> a/c and credits PL category.
>
> 2. On reversal of TELLER record through same version, at AUTHORISATION
> level again,
> I want the FUNDS.TRANSFER created during Input function to be
> 'undone'.
> So I have another VAR routine that creates FUNDS.TRANSFER with exactly
> the 'reverse' entry i.e. debit
> PL category and credit customer a/c. What goes wrong is that the
> FUNDS.TRANSFER is created,
> I can read it when listing FT table, but it is without STMT.NOS.
>
> Has anyone else encountered the same problem?
>
> Thanks a lot,
> Despina
>
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
>
>
>
> --
> Regards,
>
> SrinivasYadav. G
> Mobile No: 00966 - 540625165
>
>
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
>
>
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ------------------------------
> Hotmail: Powerful Free email with security by Microsoft. Get it
> now.<https://signup.live.com/signup.aspx?id=60969>
>
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
--
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines
IMPORTANT: Type T24: at the start of the subject line for questions specific to
Globus/T24
The Mail Archive home Add your mailing list FAQ Support Privacy AANLkTilDtfE6vRtPEwSByy43Fp23OZpIkKkMqXnK13_m@mail.gmail.com