M_PCK_QRCODE_CUSTOM - Intergraph Smart Materials - Version 5.0 SP1 (5.0.1) - Help - Hexagon PPM

Intergraph Smart Materials MobileScan Help (5.0 SP1)

Language
English
Product
Intergraph Smart Materials
Subproduct
MobileScan
Search by Category
Help
Smart Materials Mobile Scan Version
5.0

By default, MobileScan is designed to parse the information in a QR code and fetch the package number and the PO number or the RN number. To customize the information in the QR code, you must edit the M_PCK_QRCODE_CUSTOM package. A QR code can contain PO Number, Release Number, Package Number or a combination of PO Number, Release Number, Package Number. MobileScan application lists packages based on the information provided in the QR code.

For Transfer and Issue screens, QR code must be a combination of Package Number and Release Notes/PO Number. Where as in Smart Receive, even if the QR code contains just the PO Number/Release Notes, MobileScan lists all the packages that are part of the PO Number/Release Notes.

The M_PCK_QRCODE_CUSTOM package has the following methods:

parse_qr_code

The parse_qr_code method parses the QR code using the following parameters:

Value

Argument Type

Description

qrcode

Input

Specifies the QR code of the scanned item.

p_proj_id

Input

Specifies the currently signed in project ID.

p_dp_id

Input

Specifies the currently signed in discipline ID.

p_qdp_table

Input

Specifies the list of queryable disciplines.

p_is_traffic_scan

Input

Identifies that the scan is related to the Traffic workflow.

p_query_dp

Output

Specifies the selected queryable discipline for the scanned item.

p_type

Output

Specifies whether the scanned item is a package or a PO or a RN.

p_id

Output

Specifies ID of the scanned item.

p_number

Output

Specifies the scanned item number.

p_rnpo_id

Output

Specifies the ID of the PO or the RN.

p_rnpo

Output

Specifies the PO or the RN number.

p_rnpo_type

Output

Specifies whether the number is associated with a PO or a RN.

CIP - Parse_QR_Code - 5.0

get_attr_value

The get_attr_value method returns the group by attribute value for any item associated with a package and uses the following parameters.

Value

Argument Type

Description

p_number

Input

Specifies the package number.

p_rnpo_number

Input

Specifies the ID of the PO or the RN.

p_rnpo_type

Input

Specifies whether the number is associated with a PO or a RN.

CIP-get_attr_value

process_qr_code

The process_qr_code method processes the custom barcode and returns a item based (itemship/ident/alias) barcode in a MobileScan readable format. This method uses the following parameters:

Value

Argument Type

Description

p_qrcode

Input

Specifies the scanned QR code/barcode.

p_type

Input

Specifies the scan type.

p_companyInitials

Input

Specifies the company initials that are provided during MobileScan configuration.

p_ms_barcode

Output

Specifies a MobileScan readable item based (itemship/ident/alias) barcode.

  • To process the QR Code, set is_barcode_processing to TRUE.

  • Based on the p_qrcode value, single line or multiline, you must set the project default ZC_QRCODE as follows:

    • Single line support - set ZC_QRCODE to N.

    • Multi-line support - set ZC_QRCODE to Y.

CIP-process_qr_code