Table of Contents

SGD - Shipping Guarantee Contract Data

Module SGD

Description

SGD is the main data table for the Shipping Guarantee contract.
All technical important fields have to be defined here.
Large text blocks should be defined in SGT.


Datafields

Name Description Data Type Len Dec. View lines View type Inst. Visible Codetable
INR Internal Unique ID of Shipping Guarantee Text 8 1 Edit Yes Public
OWNREF Reference Text 16 1 Edit Yes Public
NAM Externally Displayed Name to Identify the Contract Text 80 1 Edit Yes Public
OWNUSR Resp. User Text 8 1 20 Edit Yes Public <fixed-length>
CREDAT Date of Creation (Opening or Registry) Date 12 0 Date Yes Public
OPNDAT Date Contract Opened Date 12 0 Date Yes Public
CLSDAT Date Contract Closed Date 12 0 Date Yes Public
EXPDAT Expiry Date of Shipping Guarantee Date 12 0 Date Yes Public
ORDDAT Order Date Date 12 0 Date Yes Public
RESFLG Reserved Contract Text 1 1 Edit Yes Public Embedded
STACTY Country Code (for Statistics) Text 2 1 Edit Yes Public CTYTXT
VER Version Counter Text 4 1 Edit Yes Public
RELGODFLG Release of Goods Text 1 1 Edit Yes Public RELGOD
RELTYP Release Type Text 2 1 Edit Yes Public Embedded
TRPDOCTYP Transport Document Type Text 6 1 Edit Yes Public
TRPDOCNUM Transport Document No. Text 40 1 Edit Yes Public
TRADAT Date of Transport Document Date 12 0 Date Yes Public
TRAMOD Mode of Transport Text 6 1 Edit Yes Public TRAMOD
SHPFRO Shipment from Text 65 1 Edit Yes Public
SHPFRO23 Shipment from Text 140 1 65 Edit Yes Public
SHPTO Shipment to Text 65 1 Edit Yes Public
SHPTO23 Shipment to Text 140 1 65 Edit Yes Public
RTODREFLG Release to Drawee Flag Text 1 1 Edit Yes Public
RCVDAT Date of Receipt of Documents Date 12 0 Date Yes Public
PNTINR Parent Contract INR Text 8 1 Edit Yes Public
SUBINR Child Contract INR Text 8 1 Edit Yes Public
PNTTYP Parent Contract Type Text 6 1 Edit Yes Public
SUBTYP Child Contract Type Text 6 1 Edit Yes Public
ETYEXTKEY Entity holding Contract Text 8 1 Edit Yes Public
PRDCOD Product Code Text 6 1 Edit Yes Public PRDCOD
PRDSUB Product Subtype Text 6 1 Edit Yes Public PRDSUB
PRDVAR Product Variant Text 6 1 Edit Yes Public PRDVAR

Indices

Name Fields Properties
SGD_INR INR Unique
SGD_NAM NAM
SGD_OWNREF OWNREF

/


Lock

INR

Datafield Description and Properties


Datafield INR Internal Unique ID

Description

Unique internal ID of a record within the table. The INR is a text field, which is created by retrieving the next valid entry from the counter SGD. The field INR is used to enable links from other tables to this table. It also links the two tables SGD and SGT as associated entries hold the same INR.

Helpinformation

Unique internal ID of a record within the table. The INR is a text field, which is created by retrieving the next valid entry from the counter of this table. The field INR is used to enable links from other tables to this table.

For contractdata the INR also links the two tables xxD and xxT as associated entries hold the same INR.


Datafield OWNREF Reference

Description

This field contains the own reference number of the shipping guarantee. The reference number can have a maximum size of 16 charecters. This field can be used to search for any Shipping Guarantee contract from the database.

Helpinformation

This field contains the reference number of the Shipping Guarantee.


Datafield NAM Name

Description

This field holds the displayed descriptive name used in the application to describe the contract and to search for a contract.

Helpinformation

This field holds the displayed descriptive name used in the application to describe the contract and to search for a contract. Within the default configuration this field is set by a default rule based on contract amount and main party and cannot be modified by the user.


Datafield OWNUSR Responsible User

Description

This field holds the user ID of the person who is responsible for handling this contract.

Helpinformation

This field holds the User ID of the person responsible for handling this contract.


Datafield CREDAT Date Created

Description

This date field holds the date when the entry was physically added to the database. This may happen when opening the contract, when reserving the reference number or when, for other reasons, a contract is added to the database.

Helpinformation

This date field identifies the date the entry was physically added to the database.


Datafield OPNDAT Opening Date

Description

The field holds the opening / issuing date of a contract. If this field is set, the contract has been legally established and it might be used for business transactions. This date describes the point in time when this contract became legally binding. This might be a date prior to the creation date, when the contract was legally binding before it was stored in the database.

Helpinformation

The field holds the opening/issuing date of the contract. If this field is set, the contract has been legally established and it might be used for business transactions. This date describes the point in time when this contract became legally binding. This might be a date prior to the creation date, when the contract was legally binding before it was stored in the database.


Datafield CLSDAT Date Closed

Description

This fields holds the closing date of a contract. If this field is set, the contract is closed and may no longer be used for transaction processing of business transactions. The date specifies the date when the closing took place.

Helpinformation

This fields indicates the closing date of a contract. If an entry has been made, the contract is closed and may no longer be used to process business transactions except special transactions like Settling Charges or Common Messages.


Datafield EXPDAT Expiry Date

Description

This date specifies the expiry date of the shipping guarantee.

Helpinformation

This date field specifies when the expiry date of the shipping guarantee.


Datafield ORDDAT Order Date

Description

This field contains the date of the received order.

Helpinformation

This field specifies the date when the bank has received the order to issue a shipping guarantee.


Datafield RESFLG Reserved Contract

Description

Contract status flag. If not empty, contract is reserved. That means, only a few basic fields have to be filled in. Visible on SGTP in INFSGD. Invisible in all other transactions.

Helpinformation

Contract status flag. If not empty, the contract has been reserved and only a few basic fields have to be filled in. Visible in 'Info shipping Guarantee'. Invisible in all other transactions.

Codetable
Code Text
Normal Contract
X Reserved Contract

Datafield STACTY Country Code (for Statistics)

Description

This field can be used for statistical reasons and allows the bank to evaluate the country risks. It is defaulted with the country code of the sender of the Shipping Guarantee and therefore indicates the risk country of the Shipping Guarantee.

Helpinformation

This field can be used for statistical reasons and allows the bank to evaluate the country risks.


Datafield VER Version

Description

This field holds the version counter to keep track of version history of a SGD entry. The individual versions are controled by entries in the SLG table.

Helpinformation

This field holds the version counter used to keep track of the history of an entry of this table. The individual versions are managed by entries in the SLG table.


Datafield RELGODFLG Release of Goods

Description

This flag indicates on whose request the goods were released.

Helpinformation

This flag indicates the party who has requested the issuance of the shipping guarantee.


Datafield RELTYP Release Type

Description

This field is used to differentiate whether goods are released under shipping guarantee or airwaybill etc.

Helpinformation

This field is used to indicate that the goods are released under shipping guarantee.

Codetable
Code Text
SG Release under Shipping Guarantee
AW Release under AWB/ FCR/ CMR
BL B/L Endorsement

Datafield TRPDOCTYP Transport Document Type

Description

This field indicates the type of transport document (e.g. Bill of lading, airway bill etc.) which is presented under this shipping guarantee.

Helpinformation

This field indicates the type of transport document (e.g. Bill of Lading) which is securing this shipping guarantee.


Datafield TRPDOCNUM Transport Document Number

Description

This field indicates the number of the transport document (e.g. number of bill of lading, airway bill).

Helpinformation

This field indicates the number of the transport document (e.g. number of Bill of Lading).


Datafield TRADAT Date of Transport Document

Description

This field indicates the date of the transport document (e.g. bill of lading, airway bill) which is presented under this shipping guarantee.

Helpinformation

This field indicates the date of the transport document (e.g. bill of ladingl) which is presented under this shipping guarantee.


Datafield TRAMOD Mode of Transport

Description

This field indicates how the goods have been shipped (e.g. via sea, air or a combination of different transport modes).

Helpinformation

This field indicates how the goods have been shipped (e.g. via sea, air or a combination of different transport modes).


Datafield SHPFRO Shipment from

Description

This field specifies the place of dispatch or taking in charge of the goods or loading on board.

Helpinformation

This field specifies the place of transfer (in the case of a multimodal transport document), the place of receipt (in the case of a road, rail or inland waterway transport document or a courier or express delivery service document), the place of dispatch or the place of shipment to be indicated on the transport document.


Datafield SHPTO For Transportation to

Description

This field specifies the final destination of the goods shipped.

Helpinformation

This field specifies the final destination of the goods shipped under the underlying contract.


Datafield RTODREFLG Release to Applicant

Description

If this flag is set, goods are released to the applicant. Otherwise, goods can be released to another party which is entered in SGDGRP\BLK\RELADR.

Helpinformation

If this flag is set, goods are released to the applicant. Otherwise, goods can be released to another party.


Datafield RCVDAT Date of Receipt

Description

Date on which the utilization had been received.

Helpinformation

This field contains the date of the received utilization.


Datafield PNTINR Parent Contract INR

Description

This field contains the internal unique ID of the parent contract.

Helpinformation

This field contains the unique identifcation number of the parent contract.


Datafield SUBINR Child Contract INR

Description

This field contains the technical INR of the linked contract, e.g. in case the shipping guarantee is connected to an import document set, this field contains the INR of that contract.

Helpinformation

This field contains the technical INR of the linked contract, e.g. in case the shipping guarantee is connected to an import document set, this field contains the INR of that contract.


Datafield PNTTYP Parent Contract Type

Description

This field contains the type of the parent contract.

Helpinformation

This field contains the type of the parent contract.


Datafield SUBTYP Child Contract Type

Description

This field contains the technical database table name of the linked contract, e.g. in case the shipping guarantee is connected to an import document set, this field contains “BRD”.

Helpinformation

This field contains the technical database table name of the linked contract, e.g. in case the shipping guarantee is connected to an import document set, this field contains “BRD”.


Datafield ETYEXTKEY Entity

Description

This table is defined on entity level with separate entries for each entity. This field holds the EXTKEY of the owning entity to identify the logical owner of this entry. This field is filled automatically during insert and is used as filter when accessing the database. Without special implementation only entries of the currently active entity are visible to the user.

Helpinformation

This field holds the external key of the owning entity to identify the logical owner of this entry.

This field is filled automatically during insert and is used as filter when accessing the database. Without special implementation only entries of the currently active entity are visible to the user.


Datafield PRDCOD Product Code

Description

Initial version to support the differentiation of predefined bank products cross business sectors.

This organizational solution is made up of three fields product code (PRDCOD), product subtype (PRDSUB) and Product variant (PRDVAR) , if needed.

Here the PRDCOD shall identify the business sector together with some key criteria like confirmed or unconfirmed LC in a cross business sectors unique identification.

Helpinformation

Initial version to support the differentiation of predefined bank products cross business sectors.

This organizational solution is made up of three fields product code (PRDCOD), product subtype (PRDSUB) and Product variant (PRDVAR) , if needed.

Here the PRDCOD shall identify the business sector together with some key criteria like confirmed or unconfirmed LC in a cross business sectors unique identification.


Datafield PRDSUB Product Subtype

Description

Initial version to support the differentiation of predefined bank products cross business sectors.

This organizational solution is made up of three fields product code (PRDCOD), product subtype (PRDSUB) and Product variant (PRDVAR) , if needed.

Here the PRDSUB shall identify the business sector specific bankside defined products adding some key sub criteria in a cross business sectors unique identification.

Helpinformation

Initial version to support the differentiation of predefined bank products cross business sectors.

This organizational solution is made up of three fields product code (PRDCOD), product subtype (PRDSUB) and Product variant (PRDVAR) , if needed.

Here the PRDSUB shall identify the business sector specific bankside defined products adding some key sub criteria in a cross business sectors unique identification.


Datafield PRDVAR Product Variant

Description

Initial version to support the differentiation of predefined bank products cross business sectors.

This organizational solution is made up of three fields product code (PRDCOD), product subtype (PRDSUB) and Product variant (PRDVAR) , if needed.

Here the product variant is intended as possible extension to setup specific variants below the product and subproduct code.

Helpinformation

Initial version to support the differentiation of predefined bank products cross business sectors.

This organizational solution is made up of three fields product code (PRDCOD), product subtype (PRDSUB) and Product variant (PRDVAR) , if needed.

Here the product variant is intended as possible extension to setup specific variants below the product and subproduct code.


Datafield SHPFRO23 Shipment from

Description

Introduced with Swift Release 2023 This field specifies the place of dispatch or taking in charge of the goods or loading on board.


Datafield SHPTO23 Shipment to

Description

Introduced with Swift Release 2023 This field specifies the final destination of the goods shipped.