SetNetChangeFlag
Set Net Change Flag
Minor Business Rule
Object Name: B3100170
Parent DLL: CMFGBASE
Location: Client/Server
Language: C
1.Functional Description
1.1Purpose
This business function will set the Net Change flag in the Item Balance table (F4102).
1.2Setup Notes and Prerequisites
None.
1.3Special Logic
None.
2.Technical Specifications
2.4Processing
Read the Item Balance table (F4102) using Short Item Number (ITM), Branch (MCU) as the key fields.
Set the Net Change flag (MRPD) to '1'. The User Id (USER), Program Id (PID), Job Number (JOBN), Date
Last Changed (UPMJ) and Time of Day (TDAY) must be updated to the current value. Then update the row in
the Item Balance table.
The function will return '0' in the Error Code field if successful and '1' in case of failure.
Data Structure
D3100170 - Set Net Change Flag
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
mnIdentifierShortItem | ITM | MATH_NUMERIC | NONE | NONE |
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 |
szCostCenter | 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
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.
|
cErrorCode | ERRC | char | NONE | NONE |
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). |
cNetChangeFlag | MRPC | char | NONE | NONE |
This flag is turned on when this item has had some kind of activity that would affect one of the different planning parameters that would
impact the Requirements Plan. |
szProgramID | PID | char | NONE | NONE |
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.
|