Go Back > Forum > Baan SIGs > AFS/DDC/OLE: Function servers

User login

Frontpage Sponsor


Google search

For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
Installation Wizard into new VRC
Manual into existing VRC
Manual into new VRC
Total votes: 45

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 22nd September 2006, 09:13
Paul P's Avatar
Paul P Paul P is offline
Join Date: Jul 2002
Location: Jakarta, Indonesia
Posts: 797
Paul P is on a distinguished road
Baan: BaanIV, BaanERP - DB: SQL Server, Informix, Oracle - OS: Windows, HP-UX
Material backflush using API

Hi guys,
We're creating API-powered remote data collection for a client with multi-logistics single finance environment. We've successfully created API script for one of the logistics company which only uses hours backflushing. No problem there. However, the other logistics company here uses material backflush on top of hours backflush.

The problem with trying to automate the material backflush is that whether through the Report Operations Completed (tisfc0102m000), Report Orders Completed (tisfc0202m000), or Backflush Materials and Hours (tisfc0220m000), they run Issue Inventory (tisfc0208s000) in the background. tisfc0208m000 shares one program script with tisfc0207m000 and tisfc0207s000. They are 3 sessions with the same name. And when successfully executing them, somehow a report must be printed.

For now, I see 2 options:
  • Don't run backflush under API if Backflush Materials flag is set to Yes in production order (eg stpapi.enum.answer("tisfc0102m000","tisfc02023","2") )
  • Modify the tisfc0207 script so that it automatically send that rather unnecessary report to a text file without even bothering to ask for printer (using, spool.device, 0) )

I looked through this API forum and only saw threads discussing hours backflush. Anyone can help me with the material backflush, please?

Thank you,

Visit my technology consulting blog

Last edited by Paul P : 22nd September 2006 at 09:20.
Reply With Quote
Sponsored Links
Old 22nd September 2006, 14:29
mark_h's Avatar
mark_h mark_h is offline
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,069
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
I have to admit that I never got this to work and I have not tried since back in 2001. I know it had to do with those back flushing reports - and I know that if at that time we owned source I would have used your second option. I would have modified the source in a heart beat. So if you do not need the reports then I would use that option.

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

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
Entering cycle counting data through API Paul P AFS/DDC/OLE: Function servers 3 20th September 2006 11:46
API for production material issue (ILC) Paul P AFS/DDC/OLE: Function servers 5 4th September 2006 09:58
Substitution of item in material list frankadam Manufacturing & Supply Chain 3 20th October 2005 10:10
Material surcharge frank holland Manufacturing & Supply Chain 5 10th August 2004 15:23
Backflushing doubt mgakhar Manufacturing & Supply Chain 8 5th November 2003 12:58

All times are GMT +2. The time now is 07:06.

©2001-2017 - -