Creating a Barcode Entry by Code
Document Inbound provides a function to create a barcode entry by code. This documentation explains how to create an extension that uses this function.
The following requirements must be met:
- Document Inbound must be present in the extension for reference.
CreateBarcodeEntry Function
The CreateBarcodeEntry function creates a barcode entry based on the provided input parameters.
Parameters
Name | Data Type | Subtype | Length | Description |
---|---|---|---|---|
ParamRRecordRef | RecordRef | The record reference for which the barcode is generated. | ||
ParamBarcodeContentTypeText | Text | 250 | (Optional) The content type for the barcode. If not defined, the default from the mapping will be used. | |
ParamBarcodeText | Text | The text to be encoded in the barcode. | ||
ParamReportIDInteger | Integer | (Optional) The report ID associated with the barcode. | ||
ParamCommentText | Text | (Optional) A comment associated with the barcode entry. |
The function outputs:
Name | Data Type | Length | Description |
---|---|---|---|
Integer | The Entry No. of the created Barcode Entry |
Example
This example creates a barcode entry with the content type "Sales Invoice" and barcode text "DMS000001".