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