I created a common module and a CreateItem procedure inside of it.
Code |
---|
Procedure CreateItem() Export // ... EndProcedure |
Trying to call it from a command handler in my form:
Code |
---|
&AtClient Procedure CreateNewItem(Command) CreateItem(); EndProcedure |
But receive the following error:
{Catalog.LaundryItems.Form.ItemForm.Form(4,2)}: Procedure or function with the specified name is not defined (CreateItem)
<<?>>CreateItem(); (Verification: Thin client)
What's wrong?