DEFZONE: Personalization of the open item selection

This entry point is used to insert additional logic to modify the manner in which open item selection is carried out in the accounting open item selection process (SELDUD1).

Context and operating method

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases

This entry point is called from the $SEL_DUD sub-program in the SELDUD1 process. This sub-program is generally called from the standard action "Table selection" (SEL_TABLE action).

Different call cases in standard :

- Posting of a pre-payment (IPTACPT function)  via the action IPTACPTSEL

-Payment entry (GESPAY function) via the action GSELECT

- Statement entry (Function GESREL) via the action RELSEL

Available variables and masks

The available variables are all the variables in the actions of SEL_TABLE.

The most used remains are the selection box fields.

NBCOL         Number of fields

COL(1..)        Name of the fields

TIT(1..)          Column titles

It is also possible to impose a criterion on a specific field (or to inhibit a criterion on one of the fields already entered), by giving the values (or by deleting them) to the following fields :

SITE               Site

TIERS            Business code

To add an additional criterion :  Call ADDCRIT(CRITERE,ICRI,'[F:DUD]XXX="'+YYY+'"')

The processes that call it carryout a FILTER on the open item table [DUD] with as a condition, the company, the site or the open item balance.

Variables for the actions SEL_TABLE : START, ORDRE and EXPSTART can also be modified.

In standard, ORDER defining the display sort of the open items is carried out according the the balance amount of the open item. If this is re-zeroed under the entry point DEFZONE, the sort will be carried out according to the open item date.

Open tables

Table

Significant content

Table Title

GACCDUDATE [DUD]

No

Open items

GACCENTRY [HAE]

No

Accounting documents