How associate a dimension set entity with cash receipt journal using NAV web Service.

I am creating cash receipt journal using NAV web service (C#)? receipt = new CashReceipt { Dimension_Set_ID =19};

When I am setting dimension set id? it throwing error? so would you please like to help guys how can I associate a dimension with cash receipt journal using c#

Hi Shoriful,

Welcome to the user group.

You have tagged your question with NAV 2009 to NAV 2015. Which version is your question about?

And which error do you get?

NAV 2015 thanks

And what is the error??

Dimension Set Id is read only. Basically I want to know how can I associate a dimension with Cash Receipt Journal using Web Service.

You can use all the existing dimensions and their dimension set id’s. The dimension set id is just an id for a unique dimension value combination. So in order to use the dimension set, then its better to set the dimension values first Then NAV will calculate the dimension set id, and even create new if the combination doesn’t exist already.