I want to generate a unique customer id
The ID is XXXTRYYYYY
XXXX = Lookup of a counter + one
YYYY = Current year
Set(VarNextID,LookUp(TRIAMANT_TELLERS, Application="TriamantERP",CustomerID)+1);
Set(VarCurrentYear,Year(Now()));
I miss the VarNextCustomerID
This does not work
Set(VarNextCustomerID, Concatenate(VarNextID,"TR",VarCurrentYear));