F4077DeleteRebateThresholds

F4077 Rebate Thresholds File Processing

Minor Business Rule

Object Name: N4500270

Parent DLL: CDIST

Location: Client/Server

Language: NER

Data Structure

D4500270 - F4077 Rebate Thresholds File Processing

Parameter NameData ItemData TypeReq/OptI/O/Both
szPriceAdjustmentTypeASTcharOPTINPUT

A user defined code (system 40, type TY) that identifies an adjustment definition. You define adjustments on Price Adjustment Names. For 
Agreement Penalty Schedules Add a definition for each of the four types of penalties:        Minimum quantity         Maximum quantity         Under 
commitment         Over commitment

mnAddressNumberAN8MATH_NUMERICOPTINPUT

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

mnIdentifierShortItemITMMATH_NUMERICOPTINPUT

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

jdDateEffectiveJulian1EFTJJDEDATEOPTINPUT

The date when a transaction, contract, obligation, preference, or policy rule becomes effective.

cActionCode1ACTIONcharOPTINPUT

A code that indicates the activity you want to perform. Valid codes are:    A Add new record    C Change existing record    D Delete existing 
record    I Inquire on existing record    .       End of program or function    space Clear the form  If you enter a code that is not active, the system 
highlights the code and no action occurs. NOTE: Depending on how your company has set up action code security, you might not be authorized 
to use all action codes.

mnThresholdValueTHRVMATH_NUMERICREQINPUT

A quantity that the system compares against accumulated sales volume to determine if a rebate should be awarded. You can define 
thresholds as quantities, weights, or sales amounts. Use the Level Break Type field in the adjustment definition to define the type of threshold.

cDataFieldErrorCodeERRcharREQOUTPUT

The Data Field Error Code field is simply a generic data field to pass an error condition flag.  This field is one of the fields that make up the 
external parameter data structure of the Data Dictionary Server.

jdDateExpiredJulian1EXDJJDEDATEREQINPUT

The date on which a transaction, text message, agreement, obligation, or preference has expired or been completed.

jdOriginalDateEffEFTJJDEDATEOPTINPUT

The date when a transaction, contract, obligation, preference, or policy rule becomes effective.

jdDateUpdatedUPMJJDEDATEOPTINPUT

The date that specifies the last update to the file record.

mnTimeOfDayTDAYMATH_NUMERICOPTINPUT

The computer clock in hours:minutes:seconds.

szUserIdUSERcharOPTINPUT

The code that identifies a user profile.

szWorkStationIdJOBNcharOPTINPUT

The code that identifies the work station ID that executed a particular job.

mnRebateFactorRBTFMATH_NUMERICOPTINPUT

A value you enter to indicate how you want to calculate the rebate amount. The code you enter in the Rebate Type field controls how the 
rebate is applied. For example, you could award a fixed amount or you could calcualte a percentage of accumulated sales.

cResetHistoryFlagRSTHcharOPTINPUT

A code that identifies how to handle future sales when a customer reaches a rebate threshold. Valid values are:    Yes  Reset sales history 
totals (F4078) and rebate paid to date to zero when you create a credit order for the given customer/rebate total.    No    Do not reset sales 
history totals and rebate paid when you create a credit order, but leave them at their current values. You may also use 1 for Yes and 0 for No.

szProgramIdPIDcharOPTINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

jdOriginalDateExpEXDJJDEDATEOPTINPUT

The date on which a transaction, text message, agreement, obligation, or preference has expired or been completed.

cPriceApprovalsFlagCP13charOPTINPUT

A value that specifies whether the user wants all price changes provided through price approval workflow.    Y Apply price approval 
workflow.    N Do not apply price approval workflow.

mnItemGroupKeyIDIGIDMATH_NUMERICOPTNONE

A number that identifies an item group or an order detail pricing group. Each pricing group is comprised of either item category codes (for 
an item group) or sales order detail field values (for an order detail group). For every unique combination of values in the pricing group, the 
system assigns a number (key ID) to identify the group. The system retrieves this number from the Next Numbers program (P0002) for the 
system code 40 and the line number 5.

mnCustomerGroupKeyIDCGIDMATH_NUMERICOPTNONE

A number that identifies a customer pricing group. Each pricing group comprises customer category codes. For every unique combination 
of values in the pricing group, the system assigns a number (key ID) to identify the group. This number is retrieved from the Next Numbers 
program (P0002) using system code 45, line number 2.

Related Functions

None

Related Tables

None
F4077WriteRebateThresholds

F4077WriteRebateThresholds

F4077 Rebate Thresholds File Processing

Minor Business Rule

Object Name: N4500270

Parent DLL: CDIST

Location: Client/Server

Language: NER

Data Structure

D4500270B - F4077 Rebate Threshold

Parameter NameData ItemData TypeReq/OptI/O/Both
szPriceAdjustmentTypeASTcharOPTNONE

A user defined code (system 40, type TY) that identifies an adjustment definition. You define adjustments on Price Adjustment Names. For 
Agreement Penalty Schedules Add a definition for each of the four types of penalties:        Minimum quantity         Maximum quantity         Under 
commitment         Over commitment

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

mnIdentifierShortItemITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szIdentifier2ndItemLITMcharOPTNONE

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

szIdentifier3rdItemAITMcharOPTNONE

The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item 
numbers are as follows: 1.  Item Number (short) - An 8-digit, computer-assigned item number. 2.  2nd Item Number - The 25-digit, free-form, user 
defined alphanumeric item number. 3.  3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item number.  In addition to 
these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT). Numerous cross references to 
alternate part numbers can be user defined, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

jdDateEffectiveJulian1EFTJJDEDATEOPTNONE

The date when a transaction, contract, obligation, preference, or policy rule becomes effective.

jdDateExpiredJulian1EXDJJDEDATEOPTNONE

The date on which a transaction, text message, agreement, obligation, or preference has expired or been completed.

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

szUnitOfMeasureAsInputUOMcharOPTNONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

mnThresholdValueTHRVMATH_NUMERICOPTNONE

A quantity that the system compares against accumulated sales volume to determine if a rebate should be awarded. You can define 
thresholds as quantities, weights, or sales amounts. Use the Level Break Type field in the adjustment definition to define the type of threshold.

szCostCenterMCUcharOPTNONE

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.

cResetHistoryFlagRSTHcharOPTNONE

A code that identifies how to handle future sales when a customer reaches a rebate threshold. Valid values are:    Yes  Reset sales history 
totals (F4078) and rebate paid to date to zero when you create a credit order for the given customer/rebate total.    No    Do not reset sales 
history totals and rebate paid when you create a credit order, but leave them at their current values. You may also use 1 for Yes and 0 for No.

mnRebateFactorRBTFMATH_NUMERICOPTNONE

A value you enter to indicate how you want to calculate the rebate amount. The code you enter in the Rebate Type field controls how the 
rebate is applied. For example, you could award a fixed amount or you could calcualte a percentage of accumulated sales.

cRebateTypeREBNcharOPTNONE

A code (43/RT) that indicates whether the rebate is a percentage of the quantity purchased or a fixed currency amount.

cRateMethodRebateRBRMcharOPTNONE

Determines the rate that will be used when the rebate amount is calculated. It can be a single rate based on the most applicable threshold 
or it can be based on a collection of rates that are applied from each threshold interval.

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

jdDateUpdatedUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

szWorkStationIdJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

mnItemGroupKeyIDIGIDMATH_NUMERICOPTNONE

A number that identifies an item group or an order detail pricing group. Each pricing group is comprised of either item category codes (for 
an item group) or sales order detail field values (for an order detail group). For every unique combination of values in the pricing group, the 
system assigns a number (key ID) to identify the group. The system retrieves this number from the Next Numbers program (P0002) for the 
system code 40 and the line number 5.

mnCustomerGroupKeyIDCGIDMATH_NUMERICOPTNONE

A number that identifies a customer pricing group. Each pricing group comprises customer category codes. For every unique combination 
of values in the pricing group, the system assigns a number (key ID) to identify the group. This number is retrieved from the Next Numbers 
program (P0002) using system code 45, line number 2.

Related Functions

None

Related Tables

None