Hi,
Does anyone know what this error message means for the following line in LPL?
ShippingNotes = GCSHShipToLocation
Error message = Must Reference a mutable field.
ShippingNotes is a text field in the PO business class. GCSHShipToLocation is a custom derived text field in the PO business class.
Why doesn't this work? Trying to set an existing text field to a value from another text field.
PurchaseOrder is a BusinessClass
owned by po
Derived Fields
GCSHShipToLocation is a DerivedField
type is Text
if (ShipToLocation = "SC STOREROOM")
return "NOTE: Trucks 32ft or less are recommended for delivery at this location due to the size of dock/receiving area. Dock area cannot accommodate semi trucks."
Code Snippet in question:
paragraph
ShipToLocation
label is "ShipTo"
when value changed
refresh GCSHShipToLocation
ShippingNotes = GCSHShipToLocation