SELDAE: Sort in manual matching

Use this entry point to sort differently the unmatched entries inquired in the manual matching function.

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases

This entry point is called upon opening of the manual matching. 

In standard, there are 5 possible sorts. The sort is carried out on the fields of the accounting entry line table: 

  • ACCDAT: accounting date
  • AMTLOC: amount in local currency
  • NUM: entry number
  • DES:  entry label
  • FREREF: free reference

This sort window give the possibility to manage memo codes. The sort is carried out either on the STD memo code if it exists or on the first sort criterion (in standard, the accounting date).  

This entry point is used to add or delete at least one sort field. 

For example : Add a sort on the entry type.

[M:TLT]CHP([M:TLT]NBLIG)="TYP"     # Update of the CHP field with the name of the sort field to be added.

[M:TLT]CRITERE([M:TLT]NBLIG) = mess(10,105,1)  # Update of the CRITERE field with the description of the sort field to be added.

[M:TLT]NBLIG += 1  # Increment the sort number.

Reminder: The [M:TLT] mask can contain 10 sort fields but the sort will be carried out on a maximum of three fields simultaneously.

Available variables and masks

Variable or mask

Definition

  [M:TLT] mask

 Sort in the matching

 NBLIG variable

 Number of fields in the sort

Open tables

Table

Significant content

Table Title

 GACCENTRY [HAE]

No

 Accounting documents

 GACCENTRYD [DAE]

No

 Accounting document lines

 GACCENTRYD [DAE2]

No

 Accounting document lines

 GACCDUDATE [DUD]

No

 Open items

 COMPANY [CPY]

No 

 Companies

 FACILITY [FCY]

No

 Sites

 FISCALYEAR [FIY]

No

 Fiscal years

 PERIOD [PER]

No

 Periods

 BPARTNER [BPR]

No

 Business partner

 BALANCE [BAL]

No

 General balance

 MATCHCODE [MTC]

No

 Match to be used

 MTCBATCH [MTB]

No

 Batch matching

 GACCOUNT [GAC]

No

General ledger accounts

 TABCUR [TBU]

No

Currency table

 GTYPACCENT [GTE]

No

Entry type

 ATABZON [ATZ]

No

Field dictionaries

 ATYPE [ATY]

No

Data type