RetrieveABNumberByNITColombia

Retrieve A/B Number by NIT - COL - 01 - 76C

Minor Business Rule

Object Name: B76C0022

Parent DLL: CLOC

Location: Client/Server

Language: C

Functional Description

Purpose
This business function is used to retrieve the Address Book Number using the Tax ID (NIT).  In order 
to fulfill this purpose, the business function :

• Calls the business function B76C0001 in order to retrieve the Tax ID (NIT) edited.
• Displays a window showing the Address Numbers that have the same Tax ID.
• Returns the Address Book Number selected to the business function B0100016.
 

Setup Notes and Prerequisites 

None

Special Logic

• If the Tax ID is entered using the structure XXXYYY-  ,the check digit is calculated getting the 
result XXX.YYY-Z.

• If the Tax ID is entered using the structure XXXYYY, the check digit isn't calculated so the result 
will be XXX.YYY

• If there are different Address Book with the same Tax ID, a window pops up showing the records that 
have the same Tax ID. The user is able to select the record that is looking for.


Technical Specifications

Parameters: D76C0022
AN8mnAddressNumberI/ONo Required
TAXszTaxIDI/ORequired.

The function 

receives the Tax ID 

without edition and 

return the Tax ID 

edited.

EV01cContineNormalProcess OThis parameter is 

used by the funtion 

B0100016  after the 

business funtion 

B76C0022 is 

called.



Related Tables 
F0101Address Book

Related Business Functions
B76C001ValidateTaxIdColombia


^

Data Structure

D76C0022 - Retrieve A/B Number by NIT -COL - 01                  - 76C

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICOPTNONE

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

szTaxIdTAXcharOPTNONE

The identification code required by various tax authorities. This can be a social security number, federal or state corporate tax ID, sales tax 
number, and so on. The system verifies the number and prints the separators in their correct format, according to the value of TAXC 
(Person/Corporation Code). If no value exists for TAXC, the system uses the Corporate Entity. Attention Accounts Payable users: The Supplier Master 
record supplies the default value for the tax ID for 1099 processing.

cContinueNormalProcessEV01charOPTNONE

An option that specifies the type of processing for an event.

cErrorEV01charOPTNONE

An option that specifies the type of processing for an event.

szNameAlphaALPHcharOPTNONE

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

szAlternateAddressKeyALKYcharOPTNONE

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.

Related Functions

None

Related Tables

None