Shipment - ref numbering error after re-validate

Not sure if anyone got any similar experience.

For shipment, sometimes we need to correct some info or data in the shipment sheets which are already validated or even billed. Therefore, I have to change the shipment status back to 0 (draft) directly in the database. Alternatively, I have created a “Modify” button for those shipments already validated but yet to classify as billed (#18511).

Everything goes well until the same shipment is to be re-validated.

Upon re-validated, the shipment reference is supposed to remain the same (for our case, the reference should be “SH{yy}{mm}-{xxxx}”). However, it actually turns out to be something not even following the predefined Mask (the new format is “EXP{rowid}”). A screenshot is shown below.

image

I have gone through the coding and cannot find out the bug.

Did anyone try and get a similar issue? Or, can anyone help me with this?

i have the same issue version 18.0.3

Nudging this as I have the same issue!

V 18.0.3