Functional Description
Purpose
Delete inventory pricing rules F4207 rows by pricing rule, method and contract price if there is no
customer record F4208 attached to it.
Technical Specification
Edits:
Fetch F4208 record by Pricing Rule MCAT. If found return 0001 error number and exit function.
Fetch all F4207 records with the following partial keys:
PCTYPricing Method
MCATPricing Rule
If Contract Pricing PMPRTY is equal to PRTY, delete the record. If it does not match ignore the
record.
Fetch the next record with the same key. If another record was not found exit the function.
^
D4000890 - Delete F4207 Rules
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szPricingRule | MCAT | char | NONE | NONE |
A user defined code (40/PI) used to classify inventory by pricing rules.
Typically, these categories correspond to the major sections in the
| ||||
cPricingMethod | PCTY | char | NONE | NONE |
A user defined code (42/CT) that indicates the basis for the price rule. Valid values are:
P Purchase order discounts
O Order repricing
R
| ||||
cContractPricingCode | PRTY | char | NONE | NONE |
A code that indicates a special pricing relationship between the item and one or more of your customers. The inventory pricing rule code
| ||||
cErrorCode | ERRC | char | NONE | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
|
None |
F4207 Price by Item | ||||
F4208 Price by Customer |