I got solution for the problem.
I deleted Usage data in tools-->Options,then it worked.
 "copy the customization from one company to 
 other" means, I did some customization  for a company, and i copy & pasted the 
same code for another company. It worked fine for first company but not for 
second company. But, after resetting Usage Data, it worked fine for second 
company also.



Thank you for your reply.

--- In Axapta-Knowledge-Village@yahoogroups.com, Diwakar Reddy Atchi 
<divakar_uni...@...> wrote:
>
> Hey Bala
>  
> I didn’t get what you meant by "copy the customization from one company to 
> other"; can you please elaborate the problem?
> If you trying to post a packing slip through X++ code, could you paste your 
> code 
> here? Also explain what you want to achieve.
>  
> Thanks!
> 
> 
> 
> 
> ________________________________
> From: bala_chivukula <bala_chivuk...@...>
> To: Axapta-Knowledge-Village@yahoogroups.com
> Sent: Tue, 31 August, 2010 5:29:22 AM
> Subject: [Axapta-Knowledge-Village] Error when duplicating code
> 
>   
> 
> Am getting this error when am trying to copy the customization from one 
> company 
> to other. i can able to create packing slip in original company but am 
> getting 
> this error when am trying to create it in dulicated company.
> 
> Cannot create a record in Sales order - Update (SalesParmUpdate).
> Insert operations are not allowed across companies. Please use changecompany 
> keyword to change the current company before inserting the record.
> 
> Please help me...
>


Reply via email to