CallGetProcessInstance

Workflow Operations for P450303

Minor Business Rule

Object Name: N4500550

Parent DLL: CDIST

Location: Client/Server

Language: NER

Data Structure

D4500550 - Call Get Process Instance Attr Sys. Func

Parameter NameData ItemData TypeReq/OptI/O/Both
mnProcessVersionPROCVERMATH_NUMERICOPTNONE

A number from 1 to 99999 that identifies a unique version of a workflow process.

mnProcessInstancePROCISTMATH_NUMERICOPTNONE

Indicates the instance of the workflow process.

mnKeyValueSerialNumberSERKMATH_NUMERICOPTNONE

A key identification number used internally to identify a composite key structure.  The actual key items must be stored in another file and 
given this serial number.  This is to avoid repeating a very large key structure with repeating data items.

mnUniqueKeyIDInternalUKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

cKeyType9KTPEcharOPTNONE

The key type designates which file the keys represent.

cActionCode2ACTNcharOPTNONE

A code that specifies the action that is performed. Valid values are: A Add C Change

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.

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.

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

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.

mnAddNoOriginatorANOMATH_NUMERICOPTNONE

The address book number of the person who originated the change request. The system verifies this number against the Address Book.

cBeforeAfterFlagBFAFcharOPTNONE

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

szLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szLotLOTNcharOPTNONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

szLotGradeLOTGcharOPTNONE

A code that indicates the grade of a lot. The grade is used to indicate the quality of the lot. Examples include the following:    A1   Premium 
grade    A2   Secondary grade  The grade for a lot is stored in the Lot Master table (F4108).

mnFromPotencyFRMPMATH_NUMERICOPTNONE

A number that indicates the minimum potency or percentage of active ingredients acceptable for an item. The system displays a warning 
message if you try to purchase or issue items that do not meet the minimum acceptable potency. The system does not allow you to sell items 
that do not meet the minimum acceptable potency.

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

cBasisCodeBSCDcharOPTNONE

A code that specifies how the system uses the factor value to calculate the adjustment or penalty schedule. The Basis Code field works 
with the Factor Value field. Valid values are: 1 Multiply the base price by the factor value. The adjusted price is a percentage of the base 
price. 2 Multiply the current net price by the factor value. The adjusted price is a percentage of the current net price. 3 Multiply the item cost by the 
factor value. The adjusted price is a percentage of the item cost. You cannot use this basis code for a basket-level or order-level 
adjustment. 4 Add the factor value to the item cost. You cannot use this basis code for a basket-level or order-level adjustment. Note: If you use basis code 3 
or 4, specify the item cost that you want to use in the calculation in the Cost Method field (LEDG) in the detail area of the Price Adjustment 
Detail form. 5 Adjust the price by the factor value. If the value is positive, it increases the price by that amount; if the value is negative, it 
decreases the price by that amount. 6 Use the adjustment amount from the variable table. You specify the variable table in the Factor Value field. 7 Use 
a formula to calculate the adjustment. You specify the name of the formula in the Factor Value field. 8 Use a custom, user-defined program to 
calculate the adjustment. You specify the program ID in the Object Library field.         Note: If you define an adjustment that uses a custom 
program, the program must be one that you developed for this purpose and are prepared to support. J.D. Edwards is not responsible for providing 
custom programs or for supporting programs that you have developed. 9 Calculate the adjustment so that the resulting unit price has a gross 
profit margin equal to the factor value. You cannot use this basis code for a basket-level or order-level adjustment, or for a sliding rate 
adjustment. For Agreement Penalty Schedules, enter 5 for all penalty schedules.

szSalesDetailValue01SDV1charOPTNONE

This is the first Sales Detail Value.  It is used to mark the associated sales detail field for a particluar adjustment.

szSalesDetailValue02SDV2charOPTNONE

This is the second Sales Detail value.  It is used to mark the associated sales detail values for a particular adjustment.

mnQuantityMinimumMNQMATH_NUMERICOPTNONE

A value that specifies how an adjustment or preference will be applied to a price. This value can be a quantity, weight, or amount, 
depending on how you have defined the level-break type in the Price Adjustment Detail table (F4072).

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

szSalesDetailGroupSDGRcharOPTNONE

A user defined code (40/SD) that identifies a sales order detail group. You use sales order detail groups to create pricing that is based on 
a field in the Sales Order Detail file (F4211).

szSalesDetailValue03SDV3charOPTNONE

This is the third Sales Detail Value.  It is used to mark the associated sales detail value for a particular adjustment.

szPriceAdjustmentVariableNVBTcharOPTNONE

A user defined code (system 40, type VT) that identifies a price variable table. This name cannot contain imbedded special characters 
such as a dash (-), an asterisk (*), and so forth because the system would interpret them as arithmetic symbols if you included the variable table 
name in a price formula.

szPriceFormulaNameFRMNcharOPTNONE

A user defined code (system 40, type FM) that identifies a price formula. All price formulas are stored in the Price Formula table (F4076).

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.

jdDateUpdatedUPMJJDEDATEOPTNONE

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

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

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