1.19 Sequence Generation

This screen is used to capture Sequence Generation specific to Trade Finance.

Every contract in OBTF is identified by a unique Contract Reference Number that is generated internally by the system. User is not allowed to modify this number. In addition, a contract is also identified by a unique User Reference Number. By default, the Contract Reference Number will be taken as the User Reference Number. But user has the option to change the User Ref Number.

OBTF also provides the facility to generate the user reference number in a specific format. To maintain a specific format, identify the various components that would be part of the user reference number including details such as the length, order, value etc. of each component.

User can maintain a unique format through the Trade Finance Sequence Generation Input screen.

Specify User ID and Password, and login to Homescreen.
  1. From Homescreen, specify CSDTFSQG in the text box, and click next arrow.
    Trade Finance Sequence Generation Input screen is displayed.

    Figure 1-20 Trade Finance Sequence Generation Input

    Description of Figure 1-20 follows
    Description of "Figure 1-20 Trade Finance Sequence Generation Input "
  2. On Trade Finance Sequence Generation Input screen, specify the fields. For more information on fields, refer the Field Description table below:

    Table 1-21 Trade Finance Bank Preference Maintenance - Field Description

    Field Description
    Sequence Code Specify the sequence code.

    Each sequence format is identified by a unique sequence code. User can devise a code comprising a maximum of 20 alphanumeric characters.

    Module Code and Branch Code User can maintain the format for a specific branch and module combination.

    Select the branch code and the module code from the option-list. All authorized and active records will be displayed in the list. Alternatively, user can maintain a sequence format that will be applicable to all the branches (ALL) and all the modules (AL) available in bank.

    Reset Frequency Specify the frequency at which the system will drop and recreate the sequence numbers once again.
    At the reset frequency, all sequence numbers of the sequence format will be dropped and recreated again during the End of Day processing. The options available are:
    1. None
    2. Daily
    3. Monthly
    4. Yearly
    For example, let us assume that the running number in the sequence format is 4 characters long (starting from 0001) and the reset frequency is Monthly. Further, let us assume that the sequence number of the last contract processed on the last day of the month is 0199. At EOD of the last day of the month, the sequence numbers generated till date will be dropped and the system will begin regeneration starting from 0001 once again for all subsequent contracts.
    Range Specify a range of sequential reference numbers. If range is specified, then no additional details need be specified. If not, user can specify additional details specific to each component of the sequence format.
    Sequence Detail
    Component Order Each component is assigned an order number based on which they would appear in the user reference number.

    The component order is automatically generated by the system and is non-editable.

    Component Each component in the sequence format is identified as one of the following:
    1. An Oracle FLEXCUBE Component – If sequence format uses an OBTF column directly, user can specify it as an Oracle FLEXCUBE Component. For instance, user may want to include the product group associated with the product code involved in a contract, as a component in sequence number generation. To achieve this, user will use the Oracle FLEXCUBE column PRODUCT_GROUP (available in the table CSTM_TF_PRODUCT) as an Oracle FLEXCUBE Component.
    2. A User Component – User may want the first two characters of bank’s name to be part of all the user reference numbers generated at bank. It can be defined as a user component. In addition, if user wants to use the manipulated value of an Oracle FLEXCUBE Column in the sequence format, they can specify it as a User Component. For eg, if they want to include ONLY the first four characters of the product group in the sequence number. In this case, the component would be defined as a User Component.
    3. A Separator – To separate the various components from one another, component known as the separator can be used. Eg: a back slash, a hyphen etc.
    4. A Running Number – Each contract is identified by a unique sequence number. It is mandatory to maintain a running number as a component in the sequence format. If not included, user will not be allowed to save the details of the format. A running number is internally generated by the system.
    Component Type User needs to identify the type of each component in the sequence format. A component can be constant through out or change for every contract processed at your bank. User can associate a component with one of the following types:
    1. Static – To include any hard coded component in the sequence format, specify the type to be static. For instance, user may want the first two characters of bank’s name to be part of all the user reference numbers generated at bank. The component type would be static in this case.
    2. Dynamic – Specify the component to be of the dynamic type if its value is picked up from the OBTF table. Eg: Product Group. A running number would always be dynamic in nature.
    Use in Sequence Generation User needs to indicate whether the component being defined should be used in sequence generation or not. Specify ‘YES’ or ‘NO’ as per choice. One can also choose to display the reference number in the advices that are generated for a contract.
    Component Length Specify ththe length of each component in the sequence format.

    The component value is dependent on the component length maintained. For instance, if you specify 2 as the component length, the value should comprise of only two characters.

    Component Value As stated earlier, the component value is dependent on the component length. Based on the length, user can specify a value comprising of as many characters as specified in the Component Length field. However, this field is used only if the value of the component is required to be constant (static type) in all the user reference numbers generated at customer's bank. If the component value is changing constantly (Dynamic type) for every contract, the system will automatically pick up the value from the OBTF table based on the SQL query that you maintain for the purpose.
    Component Column and Component Table If the component is of the dynamic type, mention the name of the OBTF column from where the system will pick up the component value. Further, if one wishes to include a manipulated column value in sequence generation, include ‘SUBSTR’ as well in the column name. For eg, to include only the first four characters of the product group associated with the product code involved in a contract, specify the following in the Component Column field: SUBSTR (PRODUCT_GROUP, 1, 4) You need to mention the table name also, if the component type is dynamic. The following table names are available in the option-list provided.
    1. DUAL
    2. STTM_CORE_BANK
    3. STTM_CORE_BRANCH
    4. STTM_DATES
    5. CSTM_TF_PRODUCT
    Component Where Clause The condition or the ‘where clause’ of the SQL code is specified here. In the example discussed above, the system will pick up the appropriate product group depending on the product code involved in the contract being processed. User can specify the following where clause as an extension of the SQL statement specified earlier: WHERE PRODUCT_CODE = SUBSTR (P_CRN, 3, 4); Click add icon to define each subsequent component in the format. Use the navigating icons to move between the various components of a sequence format.