DefaultAddressBookVoucherInfo

DefaultVoucherFromAddressBook

Major Business Rule

Object Name: B0400097

Parent DLL: CFIN

Location: Client/Server

Language: C

This business function returns the voucher information fields from the Address Book.  It also sets 
the Hold Payment error. 

Data Structure

D0400097 - DefaultVoucherFieldsFromAddressBook

Parameter NameData ItemData TypeReq/OptI/O/Both
szDescription001DL01charNONENONE

A user defined name or remark.

szCostcenterMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szTaxarea2TXA2charNONENONE

A user-defined code that identifies a tax or geographical area that has common tax rates and tax distribution. The tax rate/area must be 
defined to include the tax authorities (for example, state, county, city, rapid transit district,or province) and their rates. Typically, the U.S. sales and 
use taxes require multiple taxing authorities per tax rate/area, whereas value added taxes often require only one simple rate.

szTaxexemptreason2EXR2charNONENONE

A value in user defined code table 00/EX that controls how a tax is assessed and distributed to the general ledger revenue and expense 
accounts. You assign this code to customers or suppliers to set up a default code for their transactions. Do not confuse this code with the 
taxable, non-taxable code. A single invoice or voucher can have both taxable and non-taxable items. The entire invoice or voucher, however, 
must have one tax explanation code.

szPaymenttermsapTRAPcharNONENONE

A code that indicates the default payment terms for a supplier. Payment terms determine the due date, discount amount, and discount due 
date that the system assigns when you create an invoice. Use a blank code for the payment terms that you use most frequently.  Examples 
of payment terms include: Blank Net 30 days  1 1/10 net 30   2 2/10 net 30   D Due upon receipt   N Net 30   P Prox 25th  

mnAddressnumbersenttoSNTOMATH_NUMERICNONENONE

The address number of the individual who is authorized to approve voucher logging transactions. This address number must exist in the 
Address Book Master table (F0101) for validation purposes.

mnAddressnumberAN8MATH_NUMERICNONENONE

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

cPaymentInstrumentPYINcharNONENONE

A user defined code (00/PY) that determines the means by which a payment is issued to a supplier or received from the customer. 
Examples of payment instruments include check, electronic funds transfer, lockbox, and EDI.

szApClassAPCcharNONENONE

A code that determines the liability account in Accounts Payable that will be the offset when you post vouchers. This code might be 
alphanumeric, or it might match the object account of the account number in the general ledger. Use offset codes such as TRAD or OTHR as the 
exception to the trade account. If you leave this field blank during voucher entry, the system uses the default value from the supplier master 
record. Examples include: Blank  Trade Accounts Payable  TRAD or 4110   Trade Accounts Payable  OTHR or 4120  Other Accounts Payable 

szCurrencyCodeAPCRRPcharNONENONE

A code that indicates the currency that is used by the supplier.  The system uses this code as the default currency when you enter vouchers 
for the supplier. You can override the default currency when you enter a voucher. If you leave this field blank, you can either assign the 
currency code when you enter a voucher or let the system assign the currency code of the voucher company. 

szTaxexplcode3EXR3charNONENONE

A user defined code (system 00, type EX) that controls how a tax is assessed and distributed to the general ledger revenue and expense 
accounts for withholding. You assign this code to a supplier to set up a default code for their transactions. When you use entry forms, the 
system displays the default you defined. You can either accept or override the default.

szTaxratearea3TXA3charNONENONE

A code that identifies a tax or geographical area that has common tax rates and tax distribution for withholding.  The tax rate/area must be 
defined to include the tax authorities (for example, state, county, city, rapid transit district, or province) and their rates. Typically, withholding 
requires only one simple rate and tax authority.

szReportcodeAB007AC07charNONENONE

One of 30 reporting codes that you can assign to an address in the Address Book system. Category Code 07 is used in the 1099 process to 
identify the box on the 1099 form in which a voucher or pay item should be reported. Examples include: 01 Rents 13 Nontaxable 
distributions 61  Interest income A7  Nonemployee compensation

szLongAddressnumberALKYcharNONENONE

A user-defined name or number that identifies an address book record.  You can use this number to locate and enter information about the 
address book record. If you enter a value other than the address book number (AN8), such as the long address or tax ID, you must precede 
it with the special character that is defined in the Address Book constants. When the system locates the record, it returns the address book 
number to the field. For example, if address book number 4100 (Total Solutions) has a long address TOTAL and an * distinguishes it from 
other entries (as defined in the Address Book constants), you could type *TOTAL into the field, and the system would return 4100.

mnAddressnumber5thAN85MATH_NUMERICNONENONE

A number in the address book that identifies a special payment address for accounts payable. This number must exist in the Address Book 
Master table (F0101) for validation purposes. If you leave this field blank on an entry form, the system supplies the primary address from the 
Address Number field. 

szDocTyApDefaultJeDTAPcharNONENONE

A code that identifies the type of model journal entry to use for a particular supplier.

mnDocApDefaultJeDCAPMATH_NUMERICNONENONE

A code that identifies the document number of the model journal entry to use for a particular supplier.

szCompanyKeyAPModelKCOPcharNONENONE

A number that, along with A/P Model Document Type (DTAP) and A/P Model Document Number (DCAP), uniquely identifies the model 
journal entry to use for a particular supplier.

cNettingIndicatorAT2charOPTNONE

An option that indicates whether you can use an address in the A/R and A/P netting process. Valid values are: On AR/AP netting can be 
used Off AR/AP netting cannot be used

Related Functions

None

Related Tables

None