1.Functional Description
1.1Purpose
This Business Function is designed specifically to return the Customer Price Group and/or the Item Price Group depending on the Run Mode passed
in.
1.2Setup Notes and Prerequisites
None
1.3Special Logic
Pass in the Run Mode as follows:
'b7'I' - Process and return the Item Price Group.
Data Item DescriptionsI/OReqNotes
FCODRun Mode IYSee Special Lobic above.
AN8Customer Number INPass in the Customer Address number to
return the Customer Price Group.
ITMShort Item NumberINPass in the Short item number to return the Item Price Group. (ITM &
MCU)
MCUBranch/PlantINPass in the Item Branch to return the Item Price Group. (ITM & MCU)
CSTPCustomer GroupONCustomer Price Group
ITTPItem GroupONItem
Price Group
EV01Suppress ErrorIN
ERRCError CodeON
DTAIError Message IDON
2.2Related Tables
Table Table Description
F0301Address Master Table
F4102Item/Branch Master Table
2.3Related Business Functions
Source NameFunction Name
B3200460F3293 Evaluate and Process AIR
P32942Configured Item Specifications
2.4Processing
If cRunMode is C or B
If Customer Number is not blank
Open Table F0301
If passed
populate key
Fetch Record
If passed
return Customer Price Group
Else
error message = 3143
End If
Else
error message = 3143
End If
End If
End If
If cRunMode is I or B
If Customer Number is not blank and
Branch/Plant is not blank
Open Table F4202
If passed
populate key
Fetch Record
If passed
return Item Price Group
Else
error message = 3143
End If
Else
error message = 3143
End If
End If
End If
D3201780 - F0301/F4102 Get Cust/Item Price Group
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cRunMode | FCOD | char | OPT | NONE |
The file code is used in the *RANGE and *VALUE file for configurations to determine if the *RANGE or *VALUE goes with a "IF" statement, a
| ||||
mnCustomerNumber | AN8 | MATH_NUMERIC | OPT | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnShortItemNumber | ITM | MATH_NUMERIC | OPT | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szBranch | MCU | char | OPT | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szCustomerGroup | CSTP | char | OPT | NONE |
Customer types that a customer can be grouped into for each of the different preference types. | ||||
szItemGroup | ITTP | char | OPT | NONE |
Item types that a item can be grouped into for each of the different preference types. | ||||
cSuppressError | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cErrorCode | ERRC | char | OPT | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szErrorMessageID | DTAI | char | OPT | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
|
None |
None |