R30707-2 Reconciliation Line - Set Serial Number (Recalc)

Code 30707-2
Entity Logistics.Inventory.ReconciliationLines Entity
Name SetSerialNumber
Attribute SerialNumber
Layer Front-End
Events AttributeChanged(Product, SerialNumber)
Priority Early
Modify YES
Applicable Legislations ALL // no condition needed
Action IIF((Not(Product.IsSerialized) OrElse ((SerialNumber != null) AndAlso (Product != SerialNumber.Product))), null, SerialNumber)
Description When the Product is changed, if the Product is not serialized or it is serialized but the current value of the Serial number is not for the same Product, Serial number should be set to empty.
Message
Version
Revocable YES

* This is auto generated code. Don't change it.