Table : No, at least no direct number, try mohana's suggestion
Form : CurrForm.ObjectID
report : CurrReport.ObjectID
Dataport : No
XMLPort : No
Codeunit : No
What I do: in each object where I need this, I create a function
FUNCTION CurrentObjectID (): integer
EXIT(CODEUNIT::"My Codeunit");
or
EXIT(TABLE:"My Table");
or
...
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Comments
we have TABLENAME fro table name, with this you can filter in Object table and get the ID.
IF you want the ID of Field then you can use FIELDNO
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Form : CurrForm.ObjectID
report : CurrReport.ObjectID
Dataport : No
XMLPort : No
Codeunit : No
FUNCTION CurrentObjectID (): integer
EXIT(CODEUNIT::"My Codeunit");
or
EXIT(TABLE:"My Table");
or
...
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!