1.Functional Description
1.1Purpose
Verify that the Manufacturing Constants record exists and return a pointer to the Manufacturing
Constants
Record.
1.2Setup Notes and Prerequisites
The setup notes and prerequisites contains information that needs to be provided to the application
developer to successfully use attach the business function. Important prerequisite Business Functions
that need to be run and any additional relevant information (what event points, limitations, data
structure peculiarities) should be detailed.
Use bullet points
'b7'b7
1.3Special Logic
If a pointer to the record is returned, this pointer must be cleared in the application using the BF
FreePtrtoDataStructure.
2.Technical Specifications
2.4Processing
Edits:
1.0. Initialize the DS F3009Pointer to NULL.
2.0. Fetch the Manufacturing Constants Record where MCU = DS Business Unit.
3.0. If Fetch failed, return messages.
3.1.2. If DS Suppress Error Message is not equal to '1', SetGBRError where error message is
'4430' ( Constants not set up) and DS Business Unit is highlighted.
4.0. If Fetch is successful, return pointer and messages.
4.2. If DS Suppress Error Message is not equal to '1', SetGBRError where error message is
'4502' (Record Already Exists) and DS Business Unit is highlighted.
to the Manufacturing Constants Record.
Constants Record.
4.2.3.2. If DS Suppress Error Message is not equal to '1', SetGBRError where error
message is '4366' and DS Business Unit is highlighted.
Returns:
1. If Call Type is equal to '1' and the fetch fails, return Error Message ID '4430' (Constants not
set up).
2. If Call Type is equal to '2' and the fetch is successful, return Error Message ID '4501' (Record
Already Exists).
3. If Return Pointer is equal to '1', the fetch is successful, and the memory allocation is
successful, return the pointer to the data structure.
D3000440 - Verify And Get MFG Constants
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBusinessUnit | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
cReturnPointer | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cCallType | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessage | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
idF3009Pointer | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
szErrorMessageId | DTAI | char | NONE | NONE |
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
|
B4000460 Free Ptr To Data Structure |
F3009 Job Shop Manufacturing Constants |