DBB_PRE_PACK

You can execute the DBB_PRE_PACK exit point to provide a custom routine that performs calculations and transformations on the Data Backbone content before each document in a Document Pack Template is produced.

DBB_PRE_PACK PROC transform_data
DO
  ...
OD

The DBB_PRE_PACK exit point can use the _data variable to manipulate the Data Backbone content.

The following example command fills a Field with the current date next year.

DBB_PRE_PACK PROC transform
DO
  (* Valid for one year -- do not use on the 29th of february! *)
  ASSIGN _data.Notice.ExpirationDate := date (today + 10000)
OD