Paul P
14th October 2002, 07:44
Dear all,
As part of the automation of update process of PBOM with EBOM, we wanted to automate Generate E-BOM copy data (multi level). In normal usage, we only need to fill in the e-item field and the rest of the fields in this session will be updated automatically, hence allowing continue button to be pressed right after. I use stpapi.put.field to enter e-item there then follow it right with a stpapi.form.command. I read from the AFS documentation that stpapi.form.command would execute the field sections if used on type 4 forms, hence it should've filled all the other fields based on the e-item field. However, the API program returns an error saying that one of the field (revision code) was not filled up. This means that some of the field sections are not executed
Is our API not configured properly or the documentation is wrong? We're on BaanERP SP7 with porting set 7.1.c.03. Thanks very much
Rgds,
Paul
As part of the automation of update process of PBOM with EBOM, we wanted to automate Generate E-BOM copy data (multi level). In normal usage, we only need to fill in the e-item field and the rest of the fields in this session will be updated automatically, hence allowing continue button to be pressed right after. I use stpapi.put.field to enter e-item there then follow it right with a stpapi.form.command. I read from the AFS documentation that stpapi.form.command would execute the field sections if used on type 4 forms, hence it should've filled all the other fields based on the e-item field. However, the API program returns an error saying that one of the field (revision code) was not filled up. This means that some of the field sections are not executed
Is our API not configured properly or the documentation is wrong? We're on BaanERP SP7 with porting set 7.1.c.03. Thanks very much
Rgds,
Paul