Code Property See Also DescriptionReturns the key of the query category. Field name: CategoryId. Property typeRead-only property SyntaxVisual BasicPublic Property Code() As Long RemarksSAP Business One assigns a sequential number, starting from 1, for each category that you add. See AlsoQueryCategories Object