CalculateApproachingExpiration

Calculate Approaching Expiration

Major Business Rule

Object Name: B4500410

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4500410A - Calculate Approaching Expiration

Parameter NameData ItemData TypeReq/OptI/O/Both
szAdjustmentNameASTcharOPTNONE

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

szAgreementTypeAGTYcharOPTNONE

A code (45/AT) indicating the type of agreement.

mnAddressNoSupplierANS8MATH_NUMERICOPTNONE

Your supplier's address number for the agreement.

mnQuantityMinTransactionMINQMATH_NUMERICOPTNONE

The minimum transaction quantity allowed for any transaction to fulfill the agreement. If you apply quantity control to the agreement, the 
system checks that each transaction meets the minimum allowed. If a transaction is entered for less than this quantity, a penalty can be assessed

mnQuantityMaxAuthorizedMXQTMATH_NUMERICOPTNONE

Use this memo field when a maximum quantity limitation must be observed, due to the nature of the goods being shipped or restrictions 
imposed by the carrier.

mnQuantityOpenOrAvailableQAVLMATH_NUMERICOPTNONE

The number of on-hand units minus the number of units committed to prior orders.

mnQuantityClaimedQYCLMATH_NUMERICOPTNONE

Use this field to specify the number of units of an item that have already been claimed to the supplier against this agreement.

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).

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.

jdDateTransactionEnteredDEJJDEDATEOPTNONE

Date - Transaction Entered

mnQtyPercentWarningXPCTMATH_NUMERICOPTNONE

.

mnDaysPercentRemainWarningXPCTMATH_NUMERICOPTNONE

.

mnRemainingQuantityWarningUREMGMATH_NUMERICOPTNONE

The difference between the original quantity and the quantity entered.

mnRemainingDaysWarningEXDPMATH_NUMERICOPTNONE

The number of days allowed before expiration for an item where it still can be used or sold to a specific customer.  When negative, this 
number indicates the number of days after expiration for an item where it still can be used or sold to a specific customer. For example, if the 
expiration date for item 1001 is 06/01/98:     o A value of 15 in Days Before Expiration means that this specific customer only accepts this item up to 
05/15/98.     o A value of -15 in Days Before Expiration means that this specific customer accepts this item up to 06/15/98.

cExpirationCodeERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

cErrorCodeERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMessageIDDTAIcharOPTNONE

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

mnQuantityAppliedQCOMMATH_NUMERICOPTNONE

Current balance of agreement transactions which have been committed.

cDateBasedStatusERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

cQuantityBasedStatusERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

Related Functions

None

Related Tables

None