Logo GenPRES

BST001T Module

Reads the G-Standaard file BST001T, which describes the fixed-length fields of every file, and returns the field lengths and the F# record and create function code per file.

Types

Type Description

BST001T

Tabel: BST001T: Bestand 001 Rubrieken --------------- 0. BSTNUM: Bestand-nummer 1. MUTKOD: Mutatiecode 2. MDBST: Naam van het Bestand 3. MDVNR: Volgnummer 4. MDRNAM: Naam van de rubriek 5. MDROMS: Omschrijving van de rubriek 6. MDRCOD: RubrieksCode 7. MDRSLE: Sleutelkode van de rubriek 8. MDRTYP: Type van de rubriek 9. MDRLEN: Lengte van de rubriek 10. MDRDEC: Aantal decimalen 11. MDROPM: Opmaak

Functions and values

Function or value Description

columnCount n

Full Usage: columnCount n

Parameters:
    n : string

Returns: int

Get the column count for a file

n : string
Returns: int

columns n

Full Usage: columns n

Parameters:
    n : string

Returns: BST001T seq

Get the all colums for a file

n : string
Returns: BST001T seq

create mk tb vn nm bs ke tp ln dc fm

Full Usage: create mk tb vn nm bs ke tp ln dc fm

Parameters:
    mk : string
    tb : string
    vn : int
    nm : string
    bs : string
    ke : string
    tp : string
    ln : int
    dc : int
    fm : string

Returns: BST001T

Create a BST001T record

mk : string
tb : string
vn : int
nm : string
bs : string
ke : string
tp : string
ln : int
dc : int
fm : string
Returns: BST001T

createString n pl

Full Usage: createString n pl

Parameters:
    n : string - The name of the file
    pl : int list - The picklist of fields to use

Returns: string

Get the column names for a file as a single F# create function string.

n : string

The name of the file

pl : int list

The picklist of fields to use

Returns: string

data

Full Usage: data

Returns: unit -> string array array
Returns: unit -> string array array

getPosl name

Full Usage: getPosl name

Parameters:
    name : string - The name of the file

Returns: int list

Get the position of the fields in the record

name : string

The name of the file

Returns: int list

name

Full Usage: name

Returns: string
Returns: string

pickList

Full Usage: pickList

Returns: int list

Picklist of fields to use

Returns: int list

posl

Full Usage: posl

Returns: int list

Position of the fields in the record

Returns: int list

recordLength n

Full Usage: recordLength n

Parameters:
    n : string - The name of the file

Returns: int

Get the length of the record

n : string

The name of the file

Returns: int

recordString n pl

Full Usage: recordString n pl

Parameters:
    n : string - The name of the file
    pl : int list - The picklist of fields to use

Returns: string

Get the column names for a file as a single F# record string.

n : string

The name of the file

pl : int list

The picklist of fields to use

Returns: string

records

Full Usage: records

Returns: unit -> BST001T[]
Returns: unit -> BST001T[]

Type something to start searching.