Service Name: Inventory Product Service
Service ID: com.corgroup.bms.inventory#INVENTORY_PRODUCT
Colaboration Method Keys
public static final
String PRODUCT = "product";
public static final
String ID = "Id";
public static final
String SCHEDULE = "Inv_schedule";
public static final
String UOFM = "Uofm";
public static final
String UOFM_S = "Uofm";
public static final
String IDENTIFIER_ID = "Iiid";
public static final
String VER = "Ver";
public static final
String PRICING_TYPE = "Pricing_type";
public static final
String UNIQUE_IDENTIFIER = "Identifier";
public static final
String IDENTIFIER_I = "Identifier_i";
public static final
String DESCRIPTION = =
"Description";
public static final
String PRICE = "Price";
public static final
String BARCODE = "Barcode";
public static final
String PRICING = "Pricing";
public static final
String DATE_CREATED = "DateCreated";
public static final
String LIST_NAME = "ListName";
public static final
String INFO_TITLE = "InfoTitle";
public static final
String NAME = "Name";
public static final
String COST = "Cost";
public static final
String LAST_COST = "Last_cost";
public static final
String QUANTITY = "Quantity";
public static final
String DISABLED = "Disabled";
public static final
String SINGLE = "Single";
public static final
String MESSAGE = "Message";
public static final
String EXPIRY = "ExpiryString";
public static final
String DISCONTINUED = "Discontinued";
public static final
String OUT_OF_STOCK = "Out_of_stock";
public static final
String VIRTUAL = "Virtual";
public static final
String MIX_BATCH = "Mix_batch";
public static final
String DISABLED = "Disabled";
public static final
String ASSIGN_ID = "assign_id";
public static final
String FABRICATOR = "Fabricator";
public static final
String WONO_DATE = "Wono_date";
public static final
String WORK_ORDER_NO = "WorkOrderNo";
public static final
String COMPLETE = "Complete";
public static final
String NOTE = "Note";
public static final
String AMOUNT = "Amount";
public static final
String REQUISITION = "Requisition";
public static final
String IPA_ID = "Ipa_id";
public static final
String IPR_ID = "Ipr_id";
public static final
String IITB_ID = "Iitb_id";
public static final
String BATCH_ID = "Batch_identifier";
Action: CorrecService_I.GET - returns the human readable name of the
service.
Map: Collaboration map requires the following key.
*CorrecService_I.HR_NAME |
map key, value is not accessed |
Return String - name of service
Action: CorrecService_I.ADD_COMPOSITE - returns a SWT Composite containing
three tabs. The product types offered are Inventory Products, Product Assemblies and Requisitions.
Selection made from within the composite are directed to the consumers collaboration method. The
data supplied through the selection process is described under Selection
response.
Map: Collaboration map requires the following key/value
pairs. Asterisk indicates a required pair.
*CorrecService_I.COMPOSITE SWT Composite
used as parent. |
|
*CorrecService_I.CONSUMER
(CorrecService_I) this maybe any
non-disposed java class that implements CorrecService_I. |
Return Composite
Action DECREASE - reduce Inventory using service
CorrecService_I.SERVICE supplied by Selection response. which is associated with an
inventory Product, Product Assemblyor Requisition. CorrecService_I.SERVICE_DATA. See Selection
response that follow.
Map: Collaboration map requires the following key/value
pairs. Asterisk indicates a required pair.
*CorrecService_I.CONSUMER |
(CorrecService_I) this any non-disposed java class that
implements CorrecService_I.
|
*CorrecService_I.SERVICE_DATA |
(Integer) supplied by Selection response.
|
*LONG |
(map<String, Object>> key = field_name, value =
field_value) |
|
(key) ID: value supplied by Selection response.
|
*STRING |
(map<String, Object>> key = field_name, value =
field_value) |
|
(key) LIST_NAME:value supplied by Selection
response. |
*MESSAGE |
(String) used in Inventory audit message |
*QUANTITY |
(String) amount to reduce |
Return Boolean
Composite Product Selection response:
Product map: Collaboration map will contain the
following key/value pair.
PRODUCT |
(value) Map<String, Map<String, Object>> key =
Java Type, value [map_key = field_name], [map_value = field_value] |
INTEGER |
(key) VER: the current record version |
|
(key) PRICING_TYPE: pricing method |
LONG |
(key) ID: unique persisted id |
|
(key) SCHEDULE: unique persisted id |
|
(key) UOFM: unit of measure |
|
(key) IDENTIFIER_ID: Inventory Identifier ID |
STRING |
(key) DESCRIPTION: descriptive information |
|
(key) UNIQUE_IDENTIFIER: assigned unique record identifier |
|
(key) LIST_NAME: extended product name |
|
(key) PRICE: products assigned price fixed or modified |
|
(key) BARCODE: value assigned as a barcode |
|
(key) PRICING: PRICE#PRICE_TYPE value |
|
(key) QUANTITY: normally a value 1 |
|
(key) DATE_CREATED: date first created |
|
(key) DATE_MODIFIED: date of last change applied |
|
(key) COST: calculated cost of product |
|
(key) NAME: name of product |
BOOLEAN |
(key) SINGLE: true product represents an Identifier |
|
(key) DISABLED: true then will only be available in the product
view. |
CorrecService_I.SERVICE |
(value) CorrecService_I required by the DECREASE action
when the consumer collaborates with tth INVENTORY_PRODUCT service. |
CorrecService_I.SERVICE_DATA |
(value) Integer required in the map argument when calling
CorrecService_I.collaborate(... |
Expand Product map: addtional key/values returned. PRODUCT values remain the
same additional data expands the elements that constitute the product.
One entry per element keyed on an Integer starting at 0.
EXPAND |
(value) Map<String, Map<String, Object>> key =
Java Type, value [map_key = field_name], [map_value = field_value] |
LONG |
(key) ID: Inventory Identifier ID |
|
(key) SCHEDULE: unique persisted id |
|
(key) UOFM: unit of measure |
STRING |
(key) DESCRIPTION: descriptive information |
|
(key) QUANTITY: required for one product |
|
(key) COST: cost of item |
|
(key) AMOUNT: charge |
Composite Assembly Selection response:
Product Assembly map: |
Collaboration map will contain the following key/value pair.
|
PRODUCT |
(value) Map<String, Map<String, Object>> key =
Java Type, value [map_key = field_name], [map_value = field_value] |
INTEGER |
(key) VER: the current record version |
|
(key) PRICING_TYPE: pricing method |
LONG |
(key) ID: unique persisted id |
|
(key) SCHEDULE: unique persisted id |
|
(key) UOFM: unit of measure |
|
(key) IDENTIFIER_ID: Inventory Identifier ID |
STRING |
(key) DESCRIPTION: descriptive information |
|
(key) UNIQUE_IDENTIFIER: assigned unique record identifier |
|
(key) LIST_NAME: extended product name |
|
(key) PRICE: products assigned price fixed or modified |
|
(key) BARCODE: value assigned as a barcode |
|
(key) PRICING: PRICE#PRICE_TYPE value |
|
(key) QUANTITY: normally a value 1 |
|
(key) DATE_CREATED: date first created |
|
(key) DATE_MODIFIED: date of last change applied |
|
(key) COST: calculated cost of product |
|
(key) NAME: name of product |
BOOLEAN |
(key) SINGLE: true product represents an Identifier |
|
(key) DISABLED: true then will only be available in the product
view. |
CorrecService_I.SERVICE |
(value) CorrecService_I required by the DECREASE action
when the consumer collaborates with the INVENTORY_PRODUCT service. |
CorrecService_I.SERVICE_DATA |
(value) Integer required in the map argument when calling
CorrecService_I.collaborate(... |
EXPAND |
(value) Map<String, Map<String, Object>> key =
Java Type, value [map_key = field_name], [map_value = field_value] |
INTEGER |
(key) VER: the current record version |
LONG |
(key) ID: Inventory Identifier ID |
|
(key) SCHEDULE: unique persisted id |
|
(key) UOFM: unit of measure |
STRING |
(key) DESCRIPTION: descriptive information |
|
(key) LIST_NAME: name of Identifier |
|
(key) IDENTIFIER_I: Identifier unique identifier |
|
(key) DATE_CREATED: date first created |
|
(key) DATE_MODIFIED: date of last change applied |
|
(key) QUANTITY: required for one product |
|
(key) NAME: name of product |
|
(key) INFO_TITLE: name of product |
|
(key) COST: cost of item |
|
(key) AMOUNT: charge |
|
(key) EXPIRY: shelf life of inventory item |
BOOLEAN |
(key) DISCONTINUED: true then discontinued |
|
(key) OUT_OF_STOCK: true then out of stock |
|
(key) VIRTUAL: true then not necessarily kept as a physical
inventory |
|
(key) MIX_BATCH: true allow batches to be used as if they where
received from the same supplier at the same time. |
|
(key) DISABLED: true then will only be available in the
Identifier view. |
Composite RequisitionsSelection response:
Requisition Product Assembly map: Collaboration map will contain the following key/value pair.
PRODUCT |
(value) Map<String, Map<String,
Object>> key = Java Type, value [map_key = field_name], [map_value = field_value] |
INTEGER |
(key) VER: the current record version |
|
(key) STATUS: state Pending 1, In progress 2, Paused 3, Complete
4. |
LONG |
(key) ID: unique persisted id |
|
(key) ASSIGN_ID: unique persisted requisition manager id |
|
(key) SCHEDULE: unique persisted id - optional only supplied if
set |
STRING |
|
(key) FABRICATER: group or person assigned to requisition |
|
(key) WONO_DATE: date as used in work order number< |
|
(key) WORK_ORDER_NO: identifing number |
|
(key) LIST_NAME: extended product name |
|
(key) COMPLETE: date required |
|
(key) NOTE: user directed |
|
(key) DESCRIPTION: descriptive information user directed |
|
(key) PRICE: products assigned price fixed or modified |
|
(key) QUANTITY: String representing an Integer |
|
(key) DATE_MODIFIED: date of last change applied |
|
(key) COST: calculated cost of product |
|
(key) AMOUNT: |
|
(key) NAME: name of product |
BOOLEAN |
(key) VIRTUAL: true then not necessarily kept as a physical
inventory |
|
(key) REQUISITION: true |
CorrecService_I.SERVICE |
(value) CorrecService_I required by the DECREASE action
when the consumer collaborates with the INVENTORY_PRODUCT service. |
CorrecService_I.SERVICE_DATA |
(value) Integer required in the map argument when calling
CorrecService_I.collaborate(... |
EXPAND |
(value) Map<String, Map<String, Object>> key =
Java Type, value [map_key = field_name], [map_value = field_value] |
|
One entry per element keyed on an Integer starting at 0. |
Product Assembly
INTEGER |
(key) VER: the current record version |
|
(key) TYPE: Identifies type of element |
LONG |
(key) ID : Inventory Identifier ID |
|
(key) SCHEDULE: unique persisted ID |
|
(key) IPA_ID: Inventory Product Assembly ID |
|
(key) IPR_ID: Inventory Product Assembly parent ID |
STRING |
(key) LIST_NAME: name of identifier |
|
(key) IDENTIFIER_I: Identifier unique identifier |
|
(key) QUANTITY: required for one product |
|
(key) DATE_CREATED: date first created |
|
(key) DATE_MODIFIED: date of last change applied |
|
(key) UOFM_S: unit of measure as a string definition |
|
(key) NAME: name of product |
|
(key) SUPPLIER_NAME: name of supplier |
|
(key) COST: cost of item |
Inventory Identifier
INTEGER |
(key) VER: the current record version |
LONG |
(key) ID: Inventory Identifier ID |
|
(key) SCHEDULE: unique persisted ID |
|
(key) IPA_ID: Inventory Product Assembly ID |
|
(key) IITB_ID: Inventory Batch ID - optional |
|
(key) IDENTIFIER_ID: Inventory Batch ID - optional |
STRING |
(key) LIST_NAME: name of identifier |
|
(key) BATCH_ID: Batch unique identifier |
|
(key) IDENTIFIER: Identifier unique identifier |
|
(key) QUANTITY: required for one product |
|
(key) COST: cost of item |
|
(key) DATE_CREATED: date first created |
|
(key) DATE_MODIFIED: date of last change applied |
|
(key) NAME: name of product |
Ad Hoc
INTEGER |
(key) VER: the current record version |
|
(key) TYPE: Identifies type of element |
LONG |
(key) ID: Inventory Identifier ID |
|
(key) IPR_ID: Inventory Product Assembly parent ID |
STRING |
(key) LIST_NAME: name of identifier |
|
(key) IDENTIFIER: Identifier unique identifier |
|
(key) IDENTIFIER_I: user generated |
|
(key) QUANTITY: required for one product |
|
(key) UOFM_S: unit of measure as a string definition user
generated |
|
(key) COST: cost of item |
|
(key) DATE_CREATED: date first created |
|
(key) DATE_MODIFIED: date of last change applied |
|
(key) NAME: name of product |