Functional Description
Purpose
This function, given an Address Book Number and a Parent Address, adds a record to the Address
Organizational Structure Master File (F0150). If the Original Parent Number is different from the Parent
Number, this function will delete the Original Parent record and add a new record to the F0150.
Setup Notes and Prerequisites
1. If the fields mnAddressNumber or mnAddressNumberParent are equal to zero, then exit the function
with no error returned.
2. If the mnAddressNumberParent and mnAddressnumberParentOriginal are equal, then exit the function
with no returned.
Special Logic
None.
Technical Specifications
Parameters
Related Tables
F0150Address Organizational Structure Master File
Related Business Functions
B9800100Get Audit Information
Processing
Open F0150 table.
Retrieve F0150 Parentrecord using mnAddressNumber.
If F0150 Parent Record is found,
Delete F0150 old record.
Endif
Load fields with the passed values.
Call business function B9800100 to get Update Audit Information.
Add F0150 record.
Close F0150 table.
^
D0100400 - A/B - Add/Update Parent Record
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szOrganizationTypeStructur | OSTP | char | NONE | NONE |
A user defined code (01/TS) that identifies a type of organizational structure that has its own hierarchy in the Address Book system (for
| ||||
mnAddressNumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnAddressNumberParent | PA8 | MATH_NUMERIC | NONE | NONE |
The address book number of the parent company. The system uses this number to associate a particular address with a parent company
| ||||
mnAddressnumberParentOriginal | AN84 | MATH_NUMERIC | NONE | NONE |
An alternate address number in the Address Book system. You can use this field for any secondary business address that relates to the
| ||||
szProgramId | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
|
B9800100 Get Audit Information |
None |