DefaultPayStatus

Default Pay Status

Minor Business Rule

Object Name: B0400017

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function will default the Pay Status Code from the Processing Option.  If a withholding amount 

exists for the Supplier Number, Pay Status Code '%' will default.  If the Tax Explanation Code is equal 

to 'UT', Pay Status Code 'P' will default.  


Setup Notes and Prerequisites


Special Logic

This function should only be called in Add mode. 


Technical Specification

^

Data Structure

D0400414 - Default Pay Status

Parameter NameData ItemData TypeReq/OptI/O/Both
cPaystatuscodePSTcharNONENONE

A user defined code (00/PS) that indicates the current payment status for a voucher or an invoice. Examples of codes include: A Approved 
for payment but not yet paid   H Held pending approval   P Paid   Note: Some of the payment status codes are hard coded; the system assigns 
the code.

szTaxexplanationcode1EXR1charNONENONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

mnAmountopenAAPMATH_NUMERICNONENONE

The amount of an invoice or voucher pay item that is unpaid.

cPaystatuscode_APSTcharNONENONE

A user defined code (00/PS) that indicates the current payment status for a voucher or an invoice. Examples of codes include: A Approved 
for payment but not yet paid   H Held pending approval   P Paid   Note: Some of the payment status codes are hard coded; the system assigns 
the code.

mnAddressnumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

Related Functions

N7000740 B0400017 - Plug & Play - 04

Related Tables

None