Dynamic Selection of Payment Details
Objects can be used to dynamically select the payment method and supplier bank account ID when recording a new supplier invoice in 'Supplier Invoice. Record' (APS100), 'Supplier Invoice Batch. Open' (APS450), or APS450MI.
Before you start
- You must add the field group APPBS in 'Field Group. Open' (CRS108) by using F14='Gen data'.
- You must add the object control parameter 'Selection of payment' in 'Available Object Ctrl Parameters. Open' (CMS016) by using F14='Gen data'.
- You must set up the selection types 1-'Payment method' and 2-'Bank account ID' in 'Generic Object Control Table. Open' (CMS017).
- You must set up selections in 'Selection of Payment Details. Open' (APS092).
General control object
For each selection type, objects from the field group APPBS can be used in any order. You can use up to ten priorities per selection type. This table lists the objects that you can select in (CMS017):
Object | Description | Applicable |
---|---|---|
&BSCD | base country | Selection type 1 and 2 |
&CUCD | currency | Selection type 1 and 2 |
&FTCO | from/to country | Selection type 1 and 2 |
&PYME | payment method - accounts payable | Selection type 2 |
&SPYN | payee | Selection type 1 and 2 Payee is mandatory for each priority of selection type 2. |
Selection of payment details in (APS092)
The objects selected in (CMS017) are the field headings in (APS092). You can set up different conditions to select the payment method or supplier bank account ID in (APS092).
- The first field is mandatory.
- You do not have to set all fields, but they must be set from left to right with no gaps.
- The first field and the 'Payee' field are mandatory.
- You do not have to set all fields, but they must be set from left to right with no gaps.
- Payment methods with payment class 2-'Check' or 4-'Draft' cannot be used to select the bank account ID.
You can use a date range as an exception, both from and to dates must be set. If you set a date range on the selection in (APS092), that payment method or supplier bank account ID will be used if the accounting date on the invoice is within the date range.
Enter an invoice in (APS100) or (APS450)
When you enter an invoice in (APS100) or (APS450), default values for currency, from or to country and base country are retrieved. If the default values match a selection in (APS092), the payment method and supplier bank account ID will be set according to that selection.
If the default values do not match a selection in (APS092), the payment method is retrieved from the payee in 'Supplier. Define Purchase & Financial' (CRS624) and the supplier bank account ID with the highest priority in 'Bank Account. Open' (CRS692) is selected. If there is a local exception for the supplier or payee and the division in 'Supplier. Open/Division' (MFS620), the payment method in the local exception will be used on the invoice and the supplier bank account ID will be retrieved from (CRS692).
Enter an invoice in APS450MI
When you enter an invoice in APS450MI, transaction AddHead, the parameter 'Get payee defaults' (GPDF) must be set to 1 for the 'Payment method' and 'Supplier bank account ID' to be updated according to selections in (APS092). If you set the field 'Partial validation' (PVLD) to 1 and the payee defaults match a selection in (APS092), the payment method and supplier bank account ID will be updated accordingly.
MI transactions
The API APS092MI (Selection of payment details) is the API for (APS092), the transactions Add, Cpy, Dlt, Get, Lst, and Upd are available.
Limitations
- If you make changes to the payment method on a payment proposal in 'Suppl Payment Proposal. Update Details' (APS137), the supplier bank account ID will not be automatically updated.
- If you make changes to an invoice in 'Acc Payable. Change Sep Invoice' (APS201) or APS201MI, the payment method or supplier bank account ID will not be automatically updated.
- If you enter an invoice with invoice matching, no dynamic selection of payment details will be used.
- If you specify an invoice prepayment type 2, 3, or 5 in (APS100), no dynamic selection of payment details will be used.
- The payment method and supplier bank account ID will only be dynamically selected in (APS450) if you select invoice type 06-'Final invoice' or 20-'Supplier Invoice'.
- Selections from (APS092) are only retrieved if you set the field GPDF to 1 in APS450MI. If not, the details specified in APS450MI are used.
- The dynamic selection of payment method cannot be used if 'Invoice ref' = 4 on the FAM function in 'FAM Function. Open Details' (CRS406) for country configuration Switzerland.