created a BAQ report which functions as it should and does exactly what we need it to do…
i now need to add a barcode to reduce some human errors happening in our process.
to add the barcode i have created a new field in the BAQ that adds the * before and after the JobNum field, however the barcodes do not scan - using standard epicor DWBar39 font found in the client folder.
if i try and add the asterix before and after the field manually i get an error. not sure what else i can do - there must be a solution!
tried manually adding the asterix using the code above, not with the format part but i am unsure how i would format it as its for a job number. (MRP captured jobs that have been firmed up are prefixed with an F, manually created jobs do not have the prefix)
Error calling AddCatalogItem.
ErrorCode: InternalServerError(500)
Content: {
"error":{
"code":"1027","message":"The Value expression for the text box 'UD03_JobNum_c' refers directly to the field 'UD03_JobNum_c' without specifying a dataset aggregate. When the report contains multiple datasets, field references outside of a data region must be contained within aggregate functions which specify a dataset scope. "
}
}
firstly i have not defined to look for the ‘First’ Job number which fixed the aggregate issue. i then had to wrap the jobnum field in a CStr command so my final line of code on the report for this field is as follows: