Published at: 2025-10-31

Equipment QR Code (Generated by ShareCRM System)


1. Equipment Code Field Maintenance

  • Pre-configure the “QR Code/Barcode (API Name: device_code)” field value rules on the Equipment object. Both QR code/barcode generation and scanning rely on this field.
  • Note: For legacy systems, this field may be labeled as “Equipment SN”.
  • By default, the QR code/barcode value matches the serial number. For custom rules, manually input or generate values via functions.

picture coming soon:

2. Equipment Code (QR Code) Templates and Styles

  • Access Path: Service Connector → System Settings → Equipment Management → Equipment Settings → “Equipment Code” menu.
  • Generation in ShareCRM: Configure the [Equipment Code Generation Rules].
  • External System Generation: Copy the designated link within the tenant and convert it to a QR code on another machine.

picture coming soon:

2.1 Equipment Code Types

  • In the basic settings for code generation, select either barcode, QR code, or both.
    • QR Code: Generates a scannable code that redirects to the equipment details page.
  • Customize the export file name for easy categorization (e.g., PDF filenames).

picture coming soon:

2.2 Equipment Code (QR Code) Print Styles

  • Configure print templates to include the QR code.
  • Click “Select Style Template” to choose a layout.

picture coming soon:
picture coming soon:

3. Equipment Code (QR Code) Generation and Printing

  • The system pre-configures a [Print Equipment Code] button on the Equipment object. Assign [Export Equipment Code] button permissions to relevant Roles/personnel.
  • Click [Print Equipment Code] to generate/print codes, or batch-select equipment and use [Export Equipment Code] or [Merge Export Equipment Code].

picture coming soon:
picture coming soon:
picture coming soon:

4. Equipment Code (QR Code) Use Cases

  • For objects like Work Orders or Spare Part Consumption, enable the “Scan to Link” feature in the “Link Equipment” field. The system identifies the equipment code via UI functions.

```java // QR Code Scanning Support
// Example: Using field_n63ql__c on Work Orders (replace as needed)

// Get scanned data
String deviceContent = context.data.field_n63ql__c;

Map map=[:]
// Handle links
if (deviceContent != null && deviceContent.startsWith(“https://”)) {
// Extract code from short URL
int indexOf = deviceContent.lastIndexOf(“/”);
String code = deviceContent.substring(indexOf + 1);
log.info(“Scanned content: “ + deviceContent);
// Retrieve long URL
def(boolean error, Map data, String message) = Fx.biz.callAPI(“Fx.BI.shorturlInnerGetOriginalUrl”, code);
log.info(“Long URL result: “ + data);
if (data != null) {
String url = data[“originalUrl”] as String;
int startIndex = url.indexOf(“dataId%3D”);
if (startIndex != -1) {
url = url.substring(startIndex + 9, url.length());
int endIndex = url.indexOf(“%26”);
if (endIndex != -1) {
url = url.substring(0, endIndex);
map=[“field_n63ql__c”:url];
}
}
}
}
UIEvent event = UIEvent.build(context){
editMaster(map)
}
return event
```

picture coming soon:

4.2 Technician: Scan to Query Equipment

  • Add a “Scan” entry in the Technician Console. Scanning redirects to equipment details, enabling Work Order tracking.
  • Technicians can also scan via Chats by clicking “+” → “Scan”.

picture coming soon:

4.3 External Terminal User: Scan to Query Equipment

Prerequisite: Enable Terminal User Service Connector and grant Equipment object permissions to Terminal Users or guest Roles. For public access, set equipment data permissions to “Public”. (Business Objects and Role Permissions)

  1. WeChat Scan: Terminal users scan QR codes only to view equipment details and submit Work Orders via [Fault Report].
  2. Service Account Menu: Configure a WeChat scan menu (WeChat Menu Setup).
  3. Self-Service Portal: Add a “Scan” menu (Terminal User Portal).

picture coming soon:
picture coming soon:
picture coming soon:

  • Browser Scan: Terminal users scan QR codes only to access equipment details and submit Work Orders.

picture coming soon:

4.4 External Terminal User: Fault Reporting Rules

  • The equipment details page includes a pre-configured [Fault Report] button with mapping logic. Customize mappings to align with business needs.
  • For detailed configurations, refer to Equipment Fault Reporting.
Submit Feedback