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

User login

Frontpage Sponsor


How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
200 - 500 GB
500 - 800 GB
800 - 1200 GB
1200 - 1500 GB
1500 - 2000 GB
> 2000 GB
Total votes: 54

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 28th May 2018, 15:33
Premahari Premahari is offline
Join Date: Mar 2018
Posts: 75
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
AFS for getting Quarantine ID
Baan: ERP LN 6.1 FP11 (Infor ERP 10.5)
C/S: None/Unknown

Hi In production orders ,Whenever quantity is rejected, it was moved to quarantine. In quarantine inventory it will create one quarantine ID.
How to get that quarantine ID through AFS. The session i used for move to quarantine is tisfc0209m000. It was moved to quarantine and ID generated in whwmd2171m000 session.How to get that ID Can anyone please help?
Reply With Quote
Sponsored Links
Old 28th May 2018, 21:38
mark_h's Avatar
mark_h mark_h is offline
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,219
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Not exactly sure what you are looking for. Is there a reason you need in thru AFS? Is it not possible to just read it from a table. I mean if you are running thru a process and generating the id and just want to read it from a form you would use the stpapi.get command.

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
Old 29th May 2018, 07:11
Premahari Premahari is offline
Join Date: Mar 2018
Posts: 75
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
AFS for geeting Quarantine ID

iam trying to read using stpapi.get.field command only. But its returning wrong Quarantine ID. Here is my code I used for move to quarantine. BUt don know how to get quarantine ID. Its creating ID in session whwmd2171m000 session I checked. But through AFS when I tried returning wrong ID

stpapi.put.field( "tisfc0130m000", "tisfc010.pdno", orno)
stpapi.put.field( "tisfc0130m000", "tisfc010.opno", str$(opno) )
ret = stpapi.find( "tisfc0130m000" , err.msg)
if ret = 1 then
stpapi.form.command( "tisfc0130m000", 2, "tisfc0209m000", error )
stpapi.put.field( "tisfc0209m000", "f.dir.proc.wo", str$(tcyesno.yes) )
stpapi.form.command( "tisfc0209m000", 5, "", error )
dal.get.error.message (err.msg)
Reply With Quote
Old 29th May 2018, 11:43
giggty's Avatar
giggty giggty is offline
Senior Member
Join Date: May 2017
Posts: 121
giggty is on a distinguished road
Baan: Infor ERP 10.6 - DB: MSSQL Server 2008 R2 - OS: Windows Server 2012
Quarantine ID is not displayed on tisfc0209m000 form, so... Well, it could be stored in some extern variable (then you can get it with stpapi.get.field()), but without sources you won't know, so the easiest way is to query whwmd271 for ID.

Last edited by giggty : 29th May 2018 at 15:48.
Reply With Quote

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
AFS waiting timed out (frozen) jp.aalders AFS/DDC/OLE: Function servers 4 20th December 2011 21:48
Steps to create AFS indian_sumesh AFS/DDC/OLE: Function servers 1 6th November 2008 18:32
AFS on tihra1101m000 jp.aalders AFS/DDC/OLE: Function servers 5 21st July 2008 13:34
afs basics, please comment yogrind AFS/DDC/OLE: Function servers 1 22nd April 2004 00:07
AFS (tfgld1101m000) don´t run fine since a user with a Dynamic menu (DEM) garias AFS/DDC/OLE: Function servers 4 20th January 2004 15:24

All times are GMT +2. The time now is 12:01.

©2001-2018 - -