Public include file for BPS CORE library macros.
#define BPSCORE_EXPORT
Declare class to be an import from the shared library.
Definition: bpscore_global.h:22
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
BPS datastore class.
Definition: bpsdatastore.h:61
A class for decimal arithmetics.
Definition: bpsdecimal.h:87
EPCIS utilities.
Definition: bpsepcis.h:17
BpsEpcis(BpsDatastore *aDatastore, QObject *aParent=nullptr)
static QString graiFromGs1Scan(const QString &aScanData)
Convert a GRAI scanned from a GS1-128 bar code into the format used in EPCIS.
void deleteEvents(const QVariantList &aKeys, KeyType aKeyType)
Create delete actions in the EPCIS queue table t_epcqueue for an EPCIS events existing in table t_epc...
QString SSCCtoSSCC18(const QString &aSscc) const
Convert a SSCC from EPCIS to scanner format (SSCC18).
int customPackLine() const
QString SSCC18toSSCC(const QString &aSscc18, int aGcpSize=0) const
Convert a scanned SSCC18 to the format used in EPCIS.
void createSsccEvents(const QVariant &aOrdertrip, const QString &aSscc)
Create new EPCIS events in table t_epcs and add actions in the EPCIS queue table t_epcqueue.
void setGraiUsed(const QString &aGrai)
Sets the GRAI's last use time to now.
void createGraiEvents(const QVariant &aOrdertrip, const QString &aGrai)
Create new EPCIS events in table t_epcs and add actions in the EPCIS queue table t_epcqueue.
bool graiIsLocked(const QString &aGrai) const
Check if the given GRAI is still locked or can be reused now.
QString makeSSCC() const
Create a SSCC from the prefix stored in the settings and sequence s_ssccval as serial number.
KeyType
Type of the keys to process.
Definition: bpsepcis.h:25
int graiReuseLockTime() const