Good morning!
I have an attribute of composite type and I need to perform different actions depending on type of this attribute value. I'm trying the following script, but it does not work:
Code |
---|
If TypeOf(Object.Ref) = Type(CatalogRef.Contractors) Then ... EndIf; |
{Document.Invoice.Form.DocumentForm.Form(41,31)}: Variable is not defined (CatalogRef)
If TypeOf(Object.Ref) = Type(<<?>>CatalogRef.Contractors) Then (Verification: Server)