ICI1.1
ICI1.1 - Unit Of Measure Routines

ICI1 is an invoked program which contains routines to perform variousfunctions involving units of measure in the Lawson procurement applications. What follows is an excerpt taken from program code to describe its purpose: "THIS PROGRAM IS DESIGNED AS A "FUNCTION OBJECT" AND IS INVOKED BY ICUOM71CP. PROGRAMMERS USE THIS FUNCTION BY FILLING INPUT FIELDS AND "PERFORMING" THE 2000-ICUOM-OBJECT ROUTINE, WHICH IS LOCATED IN ICUOM71CP. SEE THE DOCUMENTATION IN THE HEADER OF ICUOM71CP FOR A FULL DESCRIPTION OF USAGE AND REQUIREMENTS. THIS PROGRAM IS NOT MEANT TO BE USED AS A STAND ALONE PROGRAM BUT A TOOL FOR PROGRAMMERS TO PERFORM UNIT OF MEASURE FUNCTIONS BASED ON ITEM INFORMATION PASSED FROM ICUOM71CP. FOR TESTING PURPOSES ICI1 MAY BE RUN BY ITSELF WITH THE USER MANUALLY FILLING IN ITEM INFORMATION TO THE SCREEN FIELDS." In normal programming use, the information within the "Unit of MeasureInformation" box would be passed to this routine by the calling program eithermanually or by using companion APIs to retrieve this item information which originates in the itemmaster record. However, in order to successfully process routines using the ICI1 screen,because this program does not read itemmaster records directly, the fields inthe "Unit of Measure Information" box must be filled manually. One caveat to entering this information manually on this screen is that whenUOM information is normally entered on the item master update screen, editing is done to ensure accurate entry. A suggestion for testing this screen with valid item information is to run the IC11 Item Master screen. Inquire on an item and then switch to the UOM tab. Use the information from the IC11 table to fill the table on ICI1. CONVERT This function takes an input UOM or input UOM multiplier, and a quantityand converts them to an alternate UOM that you specify in the sub function code. REQUIRED INPUT UOM or multiplier to convert from Quantity to convert from To UOM or To Multiplier required for the ALT sub function only OPTIONAL INPUT Unit Cost to convert from OUTPUT UOM converted to Multiplier converted to Quantity converted to Unit cost converted to if a unit cost was entered in input A CRT-ERROR if one occurred SUB FUNCTIONS STOCK Convert to stock unit of measure (default) ALT Convert to the alternate unit of measure or multiplier described in the TO UOM or TO MULTIPLIER fields TRANS Convert to the default trans UOM for this item SELL Convert to the default sell UOM for this item SELL-PRI Convert to the default sell pri UOM for this item BUY Convert to the default buy UOM for this item DEFAULT This function returns the default unit of measure and multiplier for thespecified sub function. The defaults are determined by the flags set in the UOM table. For example, under the buy column there is a flag which describes how theunit of measure in the UOM column is to be treated in the Inventory Control application. A "1" indicates that this unit of measure is valid and that it is the default (only a single "1" may exist under the buy column for any item), "2" indicates a valid buy unit of measure, and a space means that this is an invalid buy unit of measure. REQUIRED INPUT A sub-function to describe which default to return OUTPUT The default unit of measure requested in sub-function The corresponding multiplier for the default unit of measure SUB FUNCTIONS TRANS Return the default trans UOM and multiplier SELL Return the default sell UOM and multiplier SELL-PRI Return the default sell price UOM and multiplier BUY Return the default buy UOM and multiplier VALIDATE This function takes a input unit of measure and validates it according tothe specified sub function, using the flags in the UOM information table for that item. For example, to validate that the UOM "EACH" is a valid buy unit ofmeasure the routine looks at the value in the buy flag field for the unit of measure "EACH". If this value is a "1" or a "2", this indicates a valid buy unit of measure. If the entered unit of measure is not valid, then an error message is sent. REQUIRED INPUT A sub function to describe the type of validation (alt is default) An input UOM to be validated OUTPUT An error message (number and category) is returned if the unit of measure is invalid If the unit of measure is valid, then a multiplier is returned SUB FUNCTIONS ALT Validate that the UOM is an alternate UOM (default) ALT-STK Validate that the UOM is an alternate stock UOM TRANS Validate that the UOM is a trans UOM SELL Validate that the UOM is a sell UOM SELL-PRI Validate that the UOM is a sell price UOM BUY Validate that the UOM is a buy UOM QUERY This function is a unit of measure query that will return a value of TRUEor FALSE in the QUERY-FL field. The goal of the query is described by the subfunction. REQUIRED INPUT A sub function to describe the query OUTPUT The query flag is set to either true or false SUB FUNCTIONS ALT-STK Inquire whether this item has alternate stock units of measure other than the stock unit of measure itself. Meaning, is the tracking flag set on any other UOM.

Updated Files
POITEMVEN - No Description Available.



Referenced Files
ICCOMPANY - No Description Available.
ITEMLOC - No Description Available.
ITEMMAST - No Description Available.
POITEMVEN - No Description Available.
PROCUREGRP - No Description Available.



Calling Programs
AP125
AP126
AP131
AP20
AP21
AP23
AP25
AP26
AP27
AP30
AP510
API1
API2
CX05
CX100
CX20
CX220
CX30
CX300
CX506
CX805
CXCP
DR100
IC10
IC11
IC12
IC138
IC140
IC141
IC142
IC143
IC145
IC153
IC170
IC175
IC182
IC20
IC21
IC216
IC218
IC22
IC222
IC225
IC23
IC230
IC24
IC243
IC25
IC26
IC283
IC285
IC29
IC31
IC330
IC331
IC38
IC40
IC42
IC44
IC45
IC500
IC51
IC52
IC520
IC522
IC523
IC524
IC525
IC526
IC527
IC574
IC598
IC62
IC64
IC66
IC72
IC74
IC81
IC812
IC82
IC820
IC83
IC84
IC90
ICI4
ICI5
ICI6
ICI7
ICI8
ICI9
ICIC
MA180
MA236
MA278
MA41
MA42
MA43
MA44
MA53
MA530
MA531
MA540
MA60
MA61
MA63
MA65
MA66
MA67
MA68
MA70
MA75
MA80
MAI1
MM280
MM80
PC120
PC20
PC540
PD10
PD130
PD20
PD570
PO04
PO10
PO100
PO101
PO115
PO120
PO122
PO125
PO13
PO131
PO132
PO133
PO136
PO137
PO139
PO15
PO150
PO16
PO17
PO190
PO20
PO204
PO21
PO213
PO216
PO22
PO220
PO222
PO223
PO224
PO225
PO227
PO229
PO23
PO230
PO234
PO24
PO25
PO251
PO26
PO27
PO275
PO276
PO277
PO28
PO280
PO29
PO295
PO30
PO300
PO31
PO32
PO33
PO34
PO35
PO36
PO38
PO39
PO44
PO50
PO52
PO520
PO536
PO54
PO550
PO560
PO63
PO64
PO67
PO813
PO94
POCP
POI3
POI7
POID
POIH
POII
POIJ
POIM
RQ01
RQ10
RQ11
RQ12
RQ13
RQ140
RQ235
RQ35
RQ39
RQ44
RQ50
RQ500
RQ810
RQIB
RQIC
RQID
RQIF
RQIG
RQIH
RQII
RQIJ
WH110
WH120
WH126
WH130
WH132
WH190
WH20
WH21
WH210
WH22
WH222
WH25
WH30
WH31
WH32
WH33
WH34
WH40
WH520
WH830




File created: Thu Jun 09 02:19:47 2016

Nogalis, inc.
Contact Us

All trademarks and registered trademarks are the property of their respective owners.