Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 1st March 2018, 08:42
pralash pralash is offline
Senior Member
 
Join Date: Feb 2017
Posts: 217
pralash is on a distinguished road
Baan: 9.0 - DB: SQL Server - OS: Windows 2012R2
Retifnokt
Baan: Other/Unknown
C/S: None/Unknown

Hello,

While referring the existing script, I have seen so many places the statement such as RETIFNOKT.... So what is the main usage of this.... The script is as follows....

function extern boolean whinh210.tlot.is.mandatory()
{
if whwmd.dll0400.item.is.lot.in.inventory( whinh210.item,
whinh210.comp) then
RETIFNOKT(lot.is.mandatory(whinh210.lsel))
endif

return(false)
}

Here what is the meaning for RETIFNOKT function... Please let me know about it....
Thanks in advance,
Regards,
Pralash
Reply With Quote
Sponsored Links
  #2  
Old 1st March 2018, 09:18
bdittmar's Avatar
bdittmar bdittmar is offline
Guru
 
Join Date: Apr 2002
Location: Germany, 50.584097,8.544078
Posts: 1,713
bdittmar will become famous soon enough
Baan: 2.2/3.1/4c4/LN6.1 FP6/FP9/HiDox - DB: tbase, ms-sql7, oracle10gV1, 11g - OS: HP-UX, W2K3, SLES
Again, read DEV-GUIDE

Hello,
read the DEV-Guide.
__________________
//Bernd
Reply With Quote
  #3  
Old 15th March 2018, 10:05
vahdani's Avatar
vahdani vahdani is offline
Guru
 
Join Date: Aug 2002
Location: Cologne, Germany
Posts: 436
vahdani is on a distinguished road
Baan: all - DB: all - OS: Unix / Win2K
Hallo Pralash,

sorry for the late reply!

This is a shorthand which is defined in include tcmcs2000. Apprantly RETIFNOTOKT(some.function(...)) is shorthand for call some.functon(...) if the function returns a NOT OK - ie a value not equal to 0 - then return true (T)!!! Why there is a need for this shorthand I cannot say but it is almost the same as follwing:
Code:
	long	l.ret
	
	l.ret = some.function(...)
	if l.ret <> 0 then
		return(true)
	endif
	
	return(false)

In your case if entered item is lot controlled and a specific lot must be entered (whinh210.lsel = yes) then the flag whinh210.tlot.is.mandatory is raised (returns true) otherwise it is not mandatory to enter the lot (returns false)
__________________
May the force be with you!
Reply With Quote
  #4  
Old 16th March 2018, 08:54
pralash pralash is offline
Senior Member
 
Join Date: Feb 2017
Posts: 217
pralash is on a distinguished road
Baan: 9.0 - DB: SQL Server - OS: Windows 2012R2
Hi,

Thanks so much for your information.....

Regards,
Pralash
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 Off
HTML code is Off
Forum Jump


All times are GMT +2. The time now is 08:52.


©2001-2018 - Baanboard.com - Baanforums.com