if not exists (select ID from Places where ID = 269) begin exec addMenu 269, 2,'انبار گردانی','','','' end if not exists (select ID from Places where ID = 270) begin exec addMenu 270, 269,'تعریف دوره های انبار گردانی','HI.Store.Stock_Taking.dll','HI.Store.Stock_Taking.FrmPeriodView','false:bool' end if not exists (select ID from Places where ID = 271) begin exec addMenu 271, 269,'لیست انبار گردانی ها','HI.Store.Stock_Taking.dll','HI.Store.Stock_Taking.frmStockTakingList','false:bool' end if not exists (select ID from Places where ID = 272) begin exec addMenu 272, 269,'تعیین کالاهای انبار گردانی','HI.Store.Stock_Taking.dll','HI.Store.Stock_Taking.frmStockTakingItemList','false:bool' end if not exists (select ID from Places where ID = 273) begin exec addMenu 273, 269,'گزارش تفصیلی کالاهای انبار گردانی','HI.Store.Stock_Taking.dll','HI.Store.Stock_Taking.frmReportStockTakingItem','' end if not exists (select ID from Places where ID = 274) begin exec addMenu 274, 2,'انبار','','','' end if not exists (select ID from Places where ID = 275) begin exec addMenu 275, 274,'ثبت اضافات انبار','HI.Store.dll','HI.Store.AdditionFolder.FrmAdditionList','' end if not exists (select ID from Places where ID = 276) begin exec addMenu 276, 274,'ثبت کسورات انبار','HI.Store.dll','HI.Store.DeductionFolder.FrmDeductionList','' end