ProcessMessagesBeginDoc

Process Messages MBF

Master Business Function

Object Name: B3401360

Parent DLL: CMFG

Location: Client/Server

Language: C

^

Data Structure

D3401360A - Data Structure for Process Messages Begin Doc


Data Item Data structure DescriptionI/ORequiredNotes


 JOBS                    Job NumberI/ON 

 CTID                    Computer IDI/ON

 TRDJ                   Transaction DateON


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobnumberAJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

szComputerIDCTIDcharNONENONE

szVersionVERScharNONENONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

Related Functions

B0000128 Retrieve Company Currency Code
B0000130 Retrieve Company From Business Unit
B3000450 Get MFG Constants Data
B3100170 Set Net Change Flag
B3100210 ValidateDateinWorkDayCalendar
B3100300 Forward Backward Schedule Dates
B3100410 Update Purchase Order Hold Code
B3100490 Get Next Unique ID For Mfg.
B3100710 Get Job Number
B3400310 Load Supply And Demand Data
B3400430 MRP, Clear TimeSeries, Messages Or Pegging Qtys
B3400710 Verify And Get Time Series
B3401060 F3411 Update Message File
B3401500 Validate dates for Rate Item
B4000460 Free Ptr To Data Structure
B4000520 Get Item UoM Conversion Factor
B4000750 Get Item Branch Grade Potency
B4000770 Convert String To Numeric
B4000920 Get Item Branch Mfg Data
B4001040 Get Item Master Description UOM
B4200310 Sales Order Entry Master Business Function
B4300060 Get Purchasing Instructions
B4300110 Get Purchase Order Detail
B4300240 Get Release Purchase Order Detail Information
B4301370 Order Cache Functions
B4800070 F4802 Insert Message Desc
B9800100 Get Audit Information
B9800181 Environment List Business Functions
N3101750 F3109 Get LineItem Relationship
N4201010 Determine If Blanket SO Exists
N4300410 Determine If Blanket PO Exists
X0005 Get User Defined Codes
X4101 Validate and Retrieve Item Master
X4801 X4801 Work Order Entry Master Business Function
XT310911 F4801 Add, Change, Delete Rate
XT4311Z1 Purchase Order Entry

Related Tables

F0002 Next Numbers - Automatic
F0006 Business Unit Master
F0010 Company Constants
F0101 Address Book Master
F3112 Work Order Routing
F3411 MPS/MRP/DRP Message File
F3412 MPS/MRP/DRP Lower Level Requirements File
F41001 Inventory Constants
F4101 Item Master
F4102 Item Branch File
F4201 Sales Order Header File
F4211 Sales Order Detail File
F4301 Purchase Order Header
F4311 Purchase Order Detail File
F4801 Work Order Master File
ProcessMessagesEditLine

ProcessMessagesEditLine

Process Messages MBF

Master Business Function

Object Name: B3401360

Parent DLL: CMFG

Location: Client/Server

Language: C

^

Data Structure

D3401360B - Data Structure for Process Messages Edit Doc


Data Item Data Structure DescriptionI/ORequiredNotes

EV01      cActionCode              IY     The mode we are calling the function. 

                                                            Valid values are:  

                                                            '1' = ADD a message to F3411.

                                                            '2' = UPDATE a message in F3411.

                                                            '3' = DELETE a message in F3411.

                                                            '4' = PROCESS a message.

EV02   cProcessEdits            I  N    Only applicable for modes 1, 2, 3.

                                                            Edits will NOT be performed if this

                                                            parameter is equal to 'N'. By default,

                                                            edits WILL be performed.

ITM   mnIdentifierShortItem    IY     F3411 Field. 

                                                            The item number that the message will

                                                            affect.   This item number is the J.D.

                                                            Edwards Short Item Number format

                                                            (numeric item code).

MCU   szDemandBranch           IY     F3411 Field. On work orders or purchase

                                                            orders, this is the producing or 

receiving 

                                                            facility. On transfers, this is the 

demand 

                                                            branch for the order.

MMCU   szSupplyBranch               IY     F3411 Field. On work orders or purchase

                                                            orders, this field is blank. On 

transfers,

                                                            this is the supplying branch for the 

order.

MSGA  cMessageClearedl        I/OY      F3411 Field. A code found in UDC H01/MR, 

                                                            which indicates the processed status of a 


                                                            message.  Messages will only be processed

                                                            if this code is not equal to 'E', 'Y', or

                                                            'X'.  If the message was successfully

                                                            processed, this field will return 'Y'. 

                                                            If an error occurred while processing,

                                                            this field will return 'E'.

MSGT  cMessageTypeCde              IY     F3411 Field. Message Code is the action 

of

                                                            the message. The Message Code must exist

                                                            in the 34/MT User Defined Code table on 

One

                                                            World. Valid codes for inbound data are:

                                                            'C' (Cancel An Order),  'D' (Defer 

Order),

                                                            'E' (Expedite Order),  'G' (Increase 

Order

                                                            Qty to),  'L' (Decrease Order Qty to),

                                                            'O' (New Order), 'M' (Manual Message) 

HCLD  cHoldCode                IY      F3411 Field. A code found in UDC 34/HC,

                                                            which indicates where the message 

originated.

                                                            Valid values are: 'A' = Generated by the 

One

                                                            World planning system 'M' = Manually 

entered

                                                            'X' = Generated outside of One World

                                                            'Z' = A held message

KCOO  szCompanyKeyOrderNo     IY     F3411 Field. This is the Company 

associated

                                                            with the order being changed by this 

message.

DOCO  mnDocumentOrderInvoiceE  I/OY     F3411 Field. For messages to change an 

order,

                                                            this is the order number being affected.

                                                            For messages to create a new order, blank

                                                            will be passed in, and a generated order

                                                            number will be returned. 

DCTO   szOrderType             IY     F3411 Field. The type of order, 

associated

                                                            with the order number.  Actual values for

                                                            order types are customizable.

LNID   mnLineNumber            IY     F3411 Field. Only required on Changed

                                                            Purchase or Transfer Orders.  This is the

                                                            Order Line Number being changed by this 

                                                            message.

SFXO   szOrderSuffix           IY     F3411 Field. Only required on Changed

                                                            Purchase or Transfer Orders.  This is the

                                                            Order Suffix associated with the Purchase

                                                            or Transfer order being changed by this 

                                                            message.

DSC1  szDescriptionLine1      IY     F3411 Field. This is text that may be 

                                                            populated, but is not required on any

                                                            message type.

TRQT   mnQuantityTransaction    IY     F3411 Field. If the message is a new

                                                            order, this will indicate the quantity

                                                            to order. If this message is an order

                                                            quantity change, this will indicate the

                                                            new quantity of the order. This value 

must

                                                            be expressed in the Primary UOM of the 

item.

VEND  mnPrimaryLastVendorNo   IY     F3411 Field. Only required on Purchase 

Order

                                                            messages.  This identifies the outside

                                                            supplier for the item.

DRQJ   jdDateRequestedJulian   IY     F3411 Field. On new orders, this is the 

new 

                                                            requested date.  On changed orders, this 

is 

                                                            the original requested date.

STRT   jdDateStart             IY     F3411 Field. On new orders, this is the 

new

                                                            start date.  On changed orders, this is 

the 

                                                            original start date.

RSTJ  jdDateRecommendedStart  IY     F3411 Field. For messages to change an 

order 

                                                            date (Message types 'D' or 'E'), this 

will

                                                            be the new start date of the order. On 

                                                            new orders, this is the new start date.  

RRQJ  jdDateRecommendedComplet   IY     F3411 Field. For messages to change an 

order

                                                            date (Message types 'D' or 'E'), this 

will

                                                            be the new requested date of the order. 

On

                                                            new orders, this is the new requested 

date.  

UKID  mnUniqueKeyIDInternal   I/OY     F3411 Field. This is a next number, which 


                                                            uniquely identifies a record in F3411. 

                                                            This will be generated if left blank in

                                                            ADD mode.

EV01   cCallSOEndDoc           ON      The function will return '1' if a 

Transfer

                                                            Order message is processed and 

consolidation

                                                            is on. (See the processing options for 

P3411

                                                            or R3411). This value should later be 

passed 

                                                            into Process Messages End Doc

EV01   cPOtoGen                ON     The function will return '1' if a 

Purchase

                                                            Order message is processed and 

consolidation

                                                            is on. (See the processing options for 

P3411

                                                            or R3411).  This value should later be 

passed 

                                                            into Process Messages End Doc

CYCR   cCurrencyProcessingFlag  IN     A One World system constant that defines 

if 

                                                            currency is on or off.

PID    szProgramId             IN     Program ID of the calling program.

VERS   szVersion                IN      This field indicates the Version ID of 

P3411

                                                            or R3411 from which to retrieve 

processing 

                                                            option values.  If left blank, ZJDE0001

                                                            will be the default.

USER   szUserId                IN     ID of the current User.

CTID     szComputerID            IN      ID of the current Machine.

JOBS   mnJobnumberA            I/ON     This should only be used when calling 

from

                                                            the interactive process messages program 

                                                            (P3411). This is used when releasing 

multiple 

                                                            blanket orders from a single message.

LTTR      szPOLastStatus           IN     Last status code for Purchase Orders. 

                                                            Will be retrieved from P3411/R3411 

processing

                                                            options or the existing order if left 

blank.

NXTR   szPONextStatus          IN     Next status code for Purchase Orders. 

                                                            Will be retrieved from P3411/R3411 

processing

                                                            options or the existing order if left 

blank.

SRST   szStatusCodeWo           IN     Status code for Work Orders.  Will be 

                                                            retrieved from P3411/R3411 processing 

options or                                                             

                                                            the existing order if left blank.

MATH02mnRelatedProcessI/ONThe function will return a related process if a Transfer 

Order message is processed and consolidation is on. (See the processing options for P3411 or R3411).  

This value should later be passed into Process Messages End Doc.

CRDCszCompanyCurrencyCodeINCurrency code for the applicable company.  Value will be 

retrieved if this is left blank.

PEIDmnProcessIDIYRequired for Purchase and Transfer Orders.   This value can be 

retrieved using the function B0001060  RetrieveProcessAndTransactionID.

TCIDmnTransactionIDIYRequired for Purchase and Transfer Orders.   This value can be 

retrieved using the function B0001060  RetrieveProcessAndTransactionID.

EV01cBlanketParmsPassedINThis should only be used when calling from the interactive 

process messages program (P3411). If we have accessed the Blanket order release form through P3411, a 

'1' is passed in. If this is equal to '1', the function will not look for Blanket orders to release, 

and all Blanket order info will be passed in the next 6 parameters. If this is not equal to '1', the 

next 6 parameters will be retrieved.

EV01

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCodeEV01charNONENONE

An option that specifies the type of processing for an event.

cProcessEditsEV02charNONENONE

An option that specifies the type of processing for an event.

mnIdentifierShortItemITMMATH_NUMERICNONENONE

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

szDemandBranchMCUcharNONENONE

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.

szSupplyBranchMMCUcharNONENONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

cMessageClearedlMSGAcharNONENONE

A code to indicate which messages should be displayed. A Y code will display all messages, including those that have been cleared or 
processed, but not those already deleted. Any value other than Y will display current messages only.

cMessageTypeCdeMSGTcharNONENONE

A code that distinguishes different messages generated in the Distribution Requirements Planning/Master Production Schedule/Material 
Requirements Planning system. Valid codes are:    A Warning messages (user controlled)    B Order and expedite    C Cancel    D Defer    E 
Expedite    F Frozen order (user controlled)    G Increase order quantity to (user controlled)    H Decrease rate quantity to    I Increase rate quantity to    
L Decrease order quantity to (user controlled)    M Manual reminder    N Create rate    O Order    P Firm order    S FPO adjustment suggestion    
T Past due order 

cHoldCodeHCLDcharNONENONE

A code that is used in Distribution Requirements Planning/Master Production Schedule/Material Requirements Planning and capacity 
message files to indicate how the message is created and whether or not the message is on hold. Valid codes are:     A System generated.     M 
Manually entered. Not deleted by the sytem when replanning.     Z A held message. Not deleted by the system when replanning.

szCompanyKeyOrderNoKCOOcharNONENONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnDocumentOrderInvoiceEDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

mnLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

szOrderSuffixSFXOcharNONENONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

szDescriptionLine1DSC1charNONENONE

Brief information about an item; a remark or an explanation.

mnQuantityTransactionTRQTMATH_NUMERICNONENONE

A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and 
backorders. You enter this value in the Branch/Plant Constants program (P41001).

mnPrimaryLastVendorNoVENDMATH_NUMERICNONENONE

The address book number of the preferred provider of this item.

jdDateRequestedJulianDRQJJDEDATENONENONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

jdDateStartSTRTJDEDATENONENONE

The start date for the order. You can enter this date manually, or have the system calculate it using a backscheduling routine. The routine 
starts with the required date and offsets the total leadtime to calculate the appropriate start date.

jdDateRecommendedStartRSTJJDEDATENONENONE

The recommended start date for an order.

jdDateRecommendedCompletRRQJJDEDATENONENONE

The completion date planned for this order.

mnUniqueKeyIDInternalUKIDMATH_NUMERICNONENONE

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

cCallSOEndDocEV01charNONENONE

An option that specifies the type of processing for an event.

cPOtoGenEV01charNONENONE

An option that specifies the type of processing for an event.

cCurrencyProcessingFlagCRYRcharNONENONE

A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use: Codes are:    N Do not 
use multi-currency accounting. Use if you enter transactions in only one currency for all companies. The multi-currency fields will not appear 
on forms. The system supplies a value of N if you do not enter a value.    Y Activate multi-currency accounting and use multipliers to convert 
currency. The system multiplies the foreign amount by the exchange rate to calculate the domestic amount.    Z Activate multi-currency 
accounting and use divisors to convert currency. The system divides the foreign amount by the exchange rate to calculate the domestic amount.

szProgramIdPIDcharNONENONE

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.

szVersionVERScharNONENONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

szUserIdUSERcharNONENONE

The code that identifies a user profile.

szComputerIDCTIDcharNONENONE

mnJobnumberAJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

szPOLastStatusLTTRcharNONENONE

A code (system 40/type AT) specifying the last step in the processing cycle that this order line has successfully completed.

szPONextStatusNXTRcharNONENONE

A user defined code (system 40/type AT) indicating the next step in the order flow of the line type.

szStatusCodeWoSRSTcharNONENONE

A user defined code (00/SS) that describes the status of a work order, rate schedule, or engineering change order. Any status change from 
90 through 99  triggers the system to automatically update the completion date.

mnRelatedProcessMATH02MATH_NUMERICNONENONE

- - - Good Performance High Value. 

szCompanyCurrencyCodeCRDCcharOPTNONE

A code that identifies the domestic (base) currency of the company on a transaction. 

mnProcessIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnTransactionIDTCIDMATH_NUMERICOPTNONE

cBlanketParmsPassedEV01charOPTNONE

An option that specifies the type of processing for an event.

cBlanketOrderExistsEV01charOPTNONE

An option that specifies the type of processing for an event.

szBlanketOrigOrderNumberOORNcharOPTNONE

The original document number. This can be a voucher, an invoice, unapplied cash, a journal entry number, and so on Matching document 
numbers are also used to identify related documents in the Accounts Receivable and Accounts Payable systems. The document number 
(DOC) is always the original document number. The matching document number (DOCM) is the check, adjustment, or credit to be applied 
against the original document.

szBlanketOrigCompanyOKCOcharOPTNONE

A number that is used in conjunction with the values in the ODOC and ODCT fields to identify a transaction.

mnBlanketOrigLineNumberOGNOMATH_NUMERICOPTNONE

A number identifying which line on the original order that the current line matches.

mnBlanketOrigUnitCostPRRCMATH_NUMERICOPTNONE

The unit cost of one item, as purchased from the supplier, excluding freight,taxes, discounts, and other factors that might modify the actual 
unit cost you record when you receive the item.

szBlanketOrigSuffixSFXcharOPTNONE

A number that identifies the pay item for a voucher or an invoice. The system assigns the pay item number. If the voucher or invoice has 
multiple pay items, the numbers are sequential.

cItemParmsPassedEV01charOPTNONE

An option that specifies the type of processing for an event.

szPrimaryItemNumberUITMcharOPTNONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

szPurchasingUOMUOMcharOPTNONE

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

szProductionUOMUOMcharOPTNONE

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

szPrimaryUOMUOMcharOPTNONE

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

szStdUOMConversionTFLAcharOPTNONE

Allows you to bypass the item-specific unit of measure and use the standard unit of measure. Valid values are:    blank Use the item-specific 
unit of measure    1       Bypass the item-specific unit of measure and use the standard unit of measure

cPotencyControlOT1YcharOPTNONE

A code that indicates whether you control the item by potency.

mnStandardPotencySTDPMATH_NUMERICOPTNONE

The percentage of active ingredients normally found in an item.

cStockingTypeSTKTcharOPTNONE

A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking 
types are hard-coded and you should not change them:    0   Phantom item    B Bulk floor stock    C Configured item    E Emergency/corrective 
maintenance    F Feature    K Kit parent item    N Nonstock  The first character of Description 2 in the user defined code table indicates if the item 
is purchased (P) or manufactured (M).

szSecondItemNumberLITMcharOPTNONE

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.

szThirdItemNumberAITMcharOPTNONE

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.

cRoundToWholeNumberSNScharOPTNONE

A code that determines whether the system performs rounding for planning purposes. Valid values are:    R Round either up or down to the 
nearest whole number.    U Round up to the nearest whole number.    Blank Do not round. Example of value R: If the calculated requirements for 
an item are 4.6, the system rounds the quantity required to 5.0. If the calculated requirements are 4.4, the system rounds the quantity required 
to 4.0. Example of value U: If the calculated requirements for an item are greater than 4.0 and less than or equal to 5.0, the system rounds the 
quantity required to 5.0.

cOverrideConsolidationEV01charOPTNONE

An option that specifies the type of processing for an event.

jdRecommendedEffectiveDateREDJJDEDATEOPTNONE

The date that the system produces when you respond to an MRP message that contains a recommended date.

jdOriginalEffectiveDateOEDJJDEDATEOPTNONE

A purchase item's original effective date for a lot controlled item. MRP messages use this field to alert users to review the MRP time series 
and modify order time frames.

szLineIdentifierLINEcharOPTNONE

A number that defines a production line or cell. Detailed work center operations can be defined inside the line or cell.

mnProjectNumberPRJMMATH_NUMERICOPTNONE

A number that identifies an EPM project in the system. The project must be set up in the Add/Revise Project program (P31P011).

mnSourceDemandforReplenishSRDMMATH_NUMERICOPTNONE

A number that identifies the demand order that generated the project replenishment message.

cOverrideStockingTypeOSTTcharOPTNONE

Related Functions

B0000128 Retrieve Company Currency Code
B0000130 Retrieve Company From Business Unit
B3000450 Get MFG Constants Data
B3100170 Set Net Change Flag
B3100210 ValidateDateinWorkDayCalendar
B3100300 Forward Backward Schedule Dates
B3100410 Update Purchase Order Hold Code
B3100490 Get Next Unique ID For Mfg.
B3100710 Get Job Number
B3400310 Load Supply And Demand Data
B3400430 MRP, Clear TimeSeries, Messages Or Pegging Qtys
B3400710 Verify And Get Time Series
B3401060 F3411 Update Message File
B3401500 Validate dates for Rate Item
B4000460 Free Ptr To Data Structure
B4000520 Get Item UoM Conversion Factor
B4000750 Get Item Branch Grade Potency
B4000770 Convert String To Numeric
B4000920 Get Item Branch Mfg Data
B4001040 Get Item Master Description UOM
B4200310 Sales Order Entry Master Business Function
B4300060 Get Purchasing Instructions
B4300110 Get Purchase Order Detail
B4300240 Get Release Purchase Order Detail Information
B4301370 Order Cache Functions
B4800070 F4802 Insert Message Desc
B9800100 Get Audit Information
B9800181 Environment List Business Functions
N3101750 F3109 Get LineItem Relationship
N4201010 Determine If Blanket SO Exists
N4300410 Determine If Blanket PO Exists
X0005 Get User Defined Codes
X4101 Validate and Retrieve Item Master
X4801 X4801 Work Order Entry Master Business Function
XT310911 F4801 Add, Change, Delete Rate
XT4311Z1 Purchase Order Entry

Related Tables

F0002 Next Numbers - Automatic
F0006 Business Unit Master
F0010 Company Constants
F0101 Address Book Master
F3112 Work Order Routing
F3411 MPS/MRP/DRP Message File
F3412 MPS/MRP/DRP Lower Level Requirements File
F41001 Inventory Constants
F4101 Item Master
F4102 Item Branch File
F4201 Sales Order Header File
F4211 Sales Order Detail File
F4301 Purchase Order Header
F4311 Purchase Order Detail File
F4801 Work Order Master File
ProcessMessagesEndDoc

ProcessMessagesEndDoc

Process Messages MBF

Master Business Function

Object Name: B3401360

Parent DLL: CMFG

Location: Client/Server

Language: C

Purpose

            X3411-  ProcessMessagesEndDocument will perform following tasks :

1.Return the Consolidated Purchase Order Number 
2.Update F3411 with returned Purchase Order Number

3.Delete various work file used by Sales Order, Purchase Order, Work Order Master 

Business functions. 


Setup Notes and Prerequisites

     None


Special Logic

           None

Data Structure

D3401360C - Data Structure for Proceesing Messages End Doc


Data Item Data Structure DescriptionI/ORequiredNotes


JOBS        mnJobnumberA                  I     Y           From Edit Line  

CTID        szComputerID                  I     Y           From Edit Line

EV01        cErrorCondition               O     

USER        szUserId                      I                 From Edit Line 

PID         szProgramId                   I     Y           

MATH02      mnRelatedProcess              I 

EV02        cCallSOEndDoc                 I     Y           From Edit Line

EV02        cPOtoGen                      I     Y           From Edit Line

CRYR        cCurrencyProcessingFlag       I     Y        

VERS        szVersion                     I     Y     


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobnumberAJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

szComputerIDCTIDcharNONENONE

cErrorConditionEV01charNONENONE

An option that specifies the type of processing for an event.

szUserIdUSERcharNONENONE

The code that identifies a user profile.

szProgramIdPIDcharNONENONE

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.

mnWkRelatedProcessMATH02MATH_NUMERICNONENONE

- - - Good Performance High Value. 

cCallSOEndDocEV02charNONENONE

An option that specifies the type of processing for an event.

cPOtoGenEV02charNONENONE

An option that specifies the type of processing for an event.

cCurrencyProcessingFlagCRYRcharNONENONE

A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use: Codes are:    N Do not 
use multi-currency accounting. Use if you enter transactions in only one currency for all companies. The multi-currency fields will not appear 
on forms. The system supplies a value of N if you do not enter a value.    Y Activate multi-currency accounting and use multipliers to convert 
currency. The system multiplies the foreign amount by the exchange rate to calculate the domestic amount.    Z Activate multi-currency 
accounting and use divisors to convert currency. The system divides the foreign amount by the exchange rate to calculate the domestic amount.

szVersionVERScharNONENONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

mnProcessIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnTransactionIDTCIDMATH_NUMERICOPTNONE

Related Functions

B0000128 Retrieve Company Currency Code
B0000130 Retrieve Company From Business Unit
B3000450 Get MFG Constants Data
B3100170 Set Net Change Flag
B3100210 ValidateDateinWorkDayCalendar
B3100300 Forward Backward Schedule Dates
B3100410 Update Purchase Order Hold Code
B3100490 Get Next Unique ID For Mfg.
B3100710 Get Job Number
B3400310 Load Supply And Demand Data
B3400430 MRP, Clear TimeSeries, Messages Or Pegging Qtys
B3400710 Verify And Get Time Series
B3401060 F3411 Update Message File
B3401500 Validate dates for Rate Item
B4000460 Free Ptr To Data Structure
B4000520 Get Item UoM Conversion Factor
B4000750 Get Item Branch Grade Potency
B4000770 Convert String To Numeric
B4000920 Get Item Branch Mfg Data
B4001040 Get Item Master Description UOM
B4200310 Sales Order Entry Master Business Function
B4300060 Get Purchasing Instructions
B4300110 Get Purchase Order Detail
B4300240 Get Release Purchase Order Detail Information
B4301370 Order Cache Functions
B4800070 F4802 Insert Message Desc
B9800100 Get Audit Information
B9800181 Environment List Business Functions
N3101750 F3109 Get LineItem Relationship
N4201010 Determine If Blanket SO Exists
N4300410 Determine If Blanket PO Exists
X0005 Get User Defined Codes
X4101 Validate and Retrieve Item Master
X4801 X4801 Work Order Entry Master Business Function
XT310911 F4801 Add, Change, Delete Rate
XT4311Z1 Purchase Order Entry

Related Tables

F0002 Next Numbers - Automatic
F0006 Business Unit Master
F0010 Company Constants
F0101 Address Book Master
F3112 Work Order Routing
F3411 MPS/MRP/DRP Message File
F3412 MPS/MRP/DRP Lower Level Requirements File
F41001 Inventory Constants
F4101 Item Master
F4102 Item Branch File
F4201 Sales Order Header File
F4211 Sales Order Detail File
F4301 Purchase Order Header
F4311 Purchase Order Detail File
F4801 Work Order Master File
r New;font-size:10pt">
associated

                                                            with the order being changed by this 

message.

DOCO  mnDocumentOrderInvoiceE  I/OY     F3411 Field. For messages to change an 

order,

                                                            this is the order number being affected.

                                                            For messages to create a new order, blank

                                                            will be passed in, and a generated order

                                                            number will be returned. 

DCTO   szOrderType             IY     F3411 Field. The type of order, 

associated

                                                            with the order number.  Actual values for

                                                            order types are customizable.

LNID   mnLineNumber            IY     F3411 Field. Only required on Changed

                                                            Purchase or Transfer Orders.  This is the

                                                            Order Line Number being changed by this 

                                                            message.

SFXO   szOrderSuffix           IY     F3411 Field. Only required on Changed

                                                            Purchase or Transfer Orders.  This is the

                                                            Order Suffix associated with the Purchase

                                                            or Transfer order being changed by this 

                                                            message.

DSC1  szDescriptionLine1      IY     F3411 Field. This is text that may be 

                                                            populated, but is not required on any

                                                            message type.

TRQT   mnQuantityTransaction    IY     F3411 Field. If the message is a new

                                                            order, this will indicate the quantity

                                                            to order. If this message is an order

                                                            quantity change, this will indicate the

                                                            new quantity of the order. This value 

must

                                                            be expressed in the Primary UOM of the 

item.

VEND  mnPrimaryLastVendorNo   IY     F3411 Field. Only required on Purchase 

Order

                                                            messages.  This identifies the outside

                                                            supplier for the item.

DRQJ   jdDateRequestedJulian   IY     F3411 Field. On new orders, this is the 

new 

                                                            requested date.  On changed orders, this 

is 

                                                            the original requested date.

STRT   jdDateStart             IY     F3411 Field. On new orders, this is the 

new

                                                            start date.  On changed orders, this is 

the 

                                                            original start date.

RSTJ  jdDateRecommendedStart  IY     F3411 Field. For messages to change an 

order 

                                                            date (Message types 'D' or 'E'), this 

will

                                                            be the new start date of the order. On 

                                                            new orders, this is the new start date.  

RRQJ  jdDateRecommendedComplet   IY     F3411 Field. For messages to change an 

order

                                                            date (Message types 'D' or 'E'), this 

will

                                                            be the new requested date of the order. 

On

                                                            new orders, this is the new requested 

date.  

UKID  mnUniqueKeyIDInternal   I/OY     F3411 Field. This is a next number, which 


                                                            uniquely identifies a record in F3411. 

                                                            This will be generated if left blank in

                                                            ADD mode.

EV01   cCallSOEndDoc           ON      The function will return '1' if a 

Transfer