Table of Contents

PTSEDT - Change parties within a business transaction

Module PTSEDT PTSEDT - Change parties within a business transaction

Description

This modules handles changes of party static data from within a business transaction.


Properties

Property YES/NO
Single page frame No
Show toolbar No
Show menu No
Show statusbar No
Show hint No
Fit panel size No

Datafields

Name Description Data Type Len Dec. View lines View type Inst. Visible Codetable
TMPPTSPTAPATH Path of PTSPTA-module to which temporary address is entered Text 80 1 Edit Yes Public
PANSTA to be defaulted by user, if not I is used Text 1 1 Edit Yes Public
CPYADR Use in contract Control 20 1 Button Yes Public
TMPPTSPPATH Path of PTSP-module to which temporary address is entered Text 80 1 Edit Yes Public
BUTOIT Modify Infotext Control 10 1 Button Yes Public
BUTUSE Use Control 10 1 Button Yes Public
RECINR INR of address to be linked to OITED2 instance Text 8 1 Edit Yes Public
SAVOIT Save OIT Control 10 1 Button Yes Public
CANOIT Cancel OIT Control 10 1 Button Yes Public
TMPOLDPOPUP Popup closed to popup temporary address panel Text 80 1 Edit Yes Public
TMPFLG use of temporary addresses Text 1 1 Edit Yes Public
TYPFLG use of address types Text 10 1 Edit Yes Public
PTAUSGFLG Allowed Partytypes Text 1 1 Edit Yes Public
BUTSAV Save Control 10 1 Button Yes Public
STPLEV Stoplevel Text 1 1 Edit Yes Public
PTSGETADDSUB Name of GETADDSUB function Text 40 1 Edit Yes Public
CPYOLDADR Use in contract Control 20 1 Button Yes Public
REFCUS Customer Reference Text 40 1 Edit Yes Public
BUTMOD Modify Control 10 1 Button Yes Public

Datafield Description and Properties

Datafield TMPPTSPTAPATH Path of PTSPTA-module to which temporary address is entered

Description

As only one instance of address entry is used, this field is necessary to store the PTSPTA-instance to which the current entry is executed.


Datafield PANSTA to be defaulted by user, if not I is used

Description

Replicated field from passed PTSPTA instance


Datafield TMPPTSPPATH Path of PTSP-module to which temporary address is entered

Description

As only one instance of address entry is used, this field is necessary to store the PTSPTA-instance to which the current entry is executed.


Datafield TMPOLDPOPUP Popup closed to popup temporary address panel

Description

To allow popping up the old panel again when closing the entry of a temporary address the old popup panel is reminded in this field.

For Example this is necessary for the addresses of settlement or payment panels, which are popup panels.


Datafield TMPFLG use of temporary addresses

Description

Flag copied from PTSPTA of original contract to be passed as argument to PTSPTA.

Necessary as Setmodulecontent correctly does not copy the argument.

As this flag has same name as in PTSADDG it is automatically copied in PtsmodGetPtsptaFromRol.


Datafield TYPFLG use of address types

Description

Flag copied from PTSPTA of original contract to be passed as argument to PTSPTA.

Necessary as Setmodulecontent correctly does not copy the argument.

As this flag has same name as in PTSADDG it is automatically copied in PtsmodGetPtsptaFromRol.


Datafield PTAUSGFLG Allowed Partytypes

Description

Flag copied from PTSPTA of original contract to be passed as argument to PTSPTA.

Necessary as Setmodulecontent correctly does not copy the argument.

As this flag has same name as in PTSADDG it is automatically copied in PtsmodGetPtsptaFromRol.


Datafield STPLEV Stoplevel

Description

Flag copied from PTSPTA of original contract to be passed as argument to PTSPTA.

Necessary as Setmodulecontent correctly does not copy the argument.

As this flag has same name as in PTSADDG it is automatically copied in PtsmodGetPtsptaFromRol.


Datafield REFCUS Customer Reference

Description

Field for reference numbers longer than 16 digits.

If a reference number greater than 16 digits is required for the applicant, please define a text field in REC with the desired length and the description APLREFCUS.

DOKA checks the existence of this field. If the field is available in REC, the field REFCUS is displayed on the Details panel of the address instead of the PTSPTA\PTS\REF reference field. The values of the REFCUS field are copied into the field [Role]\PTSPTA\PTS\REF.

Please create an event in the Frame module according to the following example. Event in module LETP event LEDGRP\REC\APLREFCUS # copy content of customer reference to main reference field # and set modified flag LEDGRP\APL\PTS\REF = LEDGRP\REC\APL\REFCUS SetModified( LEDGRP\APL\PTS\REF )


Panels

Panel Type Description
DBFADRP FramePanel Database Address sub panel
DETP FramePanel Party Details
OITP FramePanel Info- and Stoptext
OLDADRP FramePanel Old Address sub panel
REFCUSP FramePanel Customer Reference
REFP FramePanel Reference

FramePanel DBFADRP

Properties
Property Value
Width 232
Height 120
Popup position-X 0
Popup position-Y 0
Visible No
Read only No
Show toolbar No
Instanciated No
Popup panel No
Global No

FramePanel DETP

Properties
Property Value
Width 780
Height 506
Popup position-X 3
Popup position-Y 24
Visible No
Read only No
Show toolbar No
Instanciated Yes
Popup panel Yes
Global No

FramePanel OITP

Properties
Property Value
Width 780
Height 438
Popup position-X 4
Popup position-Y 26
Visible No
Read only No
Show toolbar No
Instanciated Yes
Popup panel Yes
Global No

FramePanel REFCUSP

Properties
Property Value
Width 300
Height 22
Popup position-X 0
Popup position-Y 0
Visible No
Read only No
Show toolbar No
Instanciated No
Popup panel Yes
Global No

FramePanel REFP

Properties
Property Value
Width 300
Height 22
Popup position-X 0
Popup position-Y 0
Visible No
Read only No
Show toolbar No
Instanciated No
Popup panel Yes
Global No

FramePanel OLDADRP

Properties
Property Value
Width 232
Height 120
Popup position-X 0
Popup position-Y 0
Visible Yes
Read only No
Show toolbar No
Instanciated No
Popup panel No
Global No

Rules

Rule Name Additional
sub GetRolForRefCus static
sub PtsmodPopupAdr static
sub PtsOitAdrPopupForModify static
sub PtsOitAdrPopupTitledFrame method
sub SetRefOfPts static
sub SetRefOfPtsforField static

Rules Description and Comments

sub GetRolForRefCus( in ArgPth text, out ArgGrpPth text, out ArgRol text ) static

customer specific setting of roles based on transaction and input role


sub PtsmodPopupAdr( inout ArgPtsPta PTSPTA, in argptsppath text ) static

PTSP Edit function (behind the pencil)


sub PtsOitAdrPopupForModify( inout ArgPtspta PTSPTA ) static

Popup the Panel with address and title


sub PtsOitAdrPopupTitledFrame method

Popup the Panel with temporary address and title


sub SetRefOfPts( in ArgRef text, in ArgPtsPta PTSPTA ) static

Routine to accept a new reference for a PTSPTA instance and to store this
value in all necessary fields.
Every call to this rule automatically set the modified flag of all target fields


sub SetRefOfPtsforField( in ArgRef field, in ArgPtsPta PTSPTA ) static

Routine to accept a new reference for a PTSPTA instance and to store this
value in all necessary fields.
Every call to this rule automatically sets the modified flag of all target fields to the modified status of ArgRef


Modules

Module class Instance Comment
MTDBUT MTDBUT
PTY PTY
PTSGET PTSGET
OITED2 OITED2
CTIINF CTIINF