× Discuss about Archiving, Close of Business, Delivery Setup, Security Management System, Global Processing etc…

CURR.NO in templates

  • amal.s
  • Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0

amal.s created the topic: CURR.NO in templates

Hi,
In .OVERRIDES routine, Can anyone help me out where the CURR.NO is defined actually?
#16813

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

  • Posts: 2845
  • Karma: 512
  • Thank you received: 647

jpb replied the topic: CURR.NO in templates

Do you mean

CALL STORE.OVERRIDE(curr.no) ?
This curr.no has no connection to the CURR.NO within the application (current number of the record) but the number of used overrides.

When curr.no = 0 all previous overrides will be overwritten (removed),
to append a new line use
curr.no = DCOUNT(R.NEW(V-9),VM)+1
CALL STORE.OVERRIDE(curr.no)
V-9 is always the position of the OVERRIDE field in any table (if it exists).
#16814
The following user(s) said Thank You: Taquad, gm.saran, amal.s

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

  • amal.s
  • Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0

amal.s replied the topic: CURR.NO in templates

Thank you...
#16832

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

  • amal.s
  • Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0

amal.s replied the topic: CURR.NO in templates

Where CURR.NO is defined?
#16859

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

  • Posts: 2845
  • Karma: 512
  • Thank you received: 647

jpb replied the topic: CURR.NO in templates

The last 9 system fields are not explicitly defined but added to each template except for Type T and L.
Thats why you set V+9 (in the old templates) after defining the last field, Table.setAuditPosition does the same in the new templates.
When generating the I_F.xxx the fields are also automatically appended.

CURR.NO has always the position V-7
#16861

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

Time to create page: 0.128 seconds