Skip to content
logo Knowledgebase

How an address is selected when making a receipt/payment entry in GESPAY

Created on  | Last modified on  Highlight Matches

Summary

We were asked why a payment was not raised to the address selected when entering the payment.

Description

This is an example of where an unexpected address is seen when making a payment (GESPAY) and in the cause we will explain how the setup would need to be structured to enable the correct address to be used:

Case scenario

Customer business partner 

The business rents out property and a customer business partner is setup for each property
An address code is used for each new tenant

Tenant 1 (T001) moves out and Tenant 2 moves in (T002)

The default address is changed to T002.

A payment is made via function GESTPY to return the deposit to Tenant 1.  This is done by selecting T001 in the 'address code' field (BPAINV).

The payment is posted but the address recorded is the default of T002.

Cause

There could be more than one reason:

To check both of these scenarios, the Payment Entry Transaction type will be required.  This is found on the first screen when entering the payment

Scenario 1 - When entering the payment, a 'Payment Entry Transaction' type is selected on the first screen.  If the setup of the payment entry transaction (function GESTPY) is set as 'unspecified' type then the address field will not be taken into account.  In this scenario a different payent entry type would be required.

 

Scenario 2 - If the business partner is setup as a customer and a supplier the following logic will be used to retrieve the address from the address code field:

-if the BP is both customer and supplier: in the payment if the payment entry transaction is of type 'revenue" the address will be taken from the customer.  If the payment entry type is 'expense' the address will be taken from the supplier record.  In this scenario the BP's would need different BP codes.

 

Resolution

The setup in the cause should be checked.  This information and further guidance can be found on the payment help page - https://online-help.sagex3.com/erp/12/en-us/Content/FCT/GESPAY.htm#ENT