Baanboard.com

Go Back   Baanboard.com > Forum > CMS - Forum Integration > Blogs and Web links

Retirement Notice

Baanboard is shutting down on 31-dec-2023. See: http://www.baanboard.com/baanboard/showthread.php?t=76043


User login

Frontpage Sponsor

Main

Poll
What do you expect from your SI Implementation partner for the success of ERP implementation.
Bring best practices - Not to offer more CR's Leveraging standard functions
20%
Need more honesty to work with the Users until their processes are fully mapped & Users are trained
40%
Focus on process automation/ integrations/ Real time data/ BI analytics
13%
Stick to basics
27%
Total votes: 15

Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 16th April 2019, 08:07
chaitanya.shah chaitanya.shah is offline
Junior Member
 
Join Date: Apr 2018
Posts: 6
chaitanya.shah is on a distinguished road
Baan: LN FP2 - DB: SQL Server - OS: Windows
Switch company not working on UE

A new blog entry has been added:

Switch company not working on UE

Quote:
Hi,

I am trying to apply switch compnay function on UE script but its not working. _compnr  return -1 value.

Please suggest for this.

Thanks 
__________________
Thanks & Regards,

Chaitanya Shah
Reply With Quote
  #2  
Old 16th April 2019, 11:32
chaitanya.shah chaitanya.shah is offline
Junior Member
 
Join Date: Apr 2018
Posts: 6
chaitanya.shah is on a distinguished road
Baan: LN FP2 - DB: SQL Server - OS: Windows
Ue Script Which is not working.

select ttaad100.*
from ttaad100
where ttaad100._compnr = 0
and ttaad100.comp inrange 500 and 503
selectdo
if ttaad100.comp <> 502 then
if compnr.check(ttaad100.comp) then
if cprrp100.type = tckoor.cp.pur then
SELECT whinr140.item, whinr140.cwar, whinr140.qhnd
FROM whinr140 whinr140
WHERE whinr140.item = :cprrp100.item
and whinr140.qhnd <> 0
selectdo
dal.set.info.message("@Please check %1s Item Detail", tcwar)
endselect
endif
else
dal.set.info.message("@Error")
endif
endif
endselect
__________________
Thanks & Regards,

Chaitanya Shah
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Switch to Company in AFS does not work Babu Nagarajan AFS/DDC/OLE: Function servers 3 20th July 2016 15:43
company_nr MilindV Tools Development 5 12th July 2013 15:49
Switch to Central DEM company from company 90 failed lokmanNW Tools Administration & Installation 2 2nd March 2012 20:29
Change VRC in a script? Gwehles Tools Development 4 22nd February 2007 22:35
How can I prevent the users from using a company? i96nds Tools Administration & Installation 7 16th April 2002 19:33


All times are GMT +2. The time now is 00:39.


©2001-2023 - Baanboard.com - Baanforums.com