Some fields are in the pop-up screen after press the button when manual input.
How to import the value of them?
For example:
In 04010 Receipt/Invoice Entry
"Level1", "Document"
Field "cinvcnbr"
If I import with the Control Macro export from Control Macro Generator(98.510.00)
this field "cinvcnbr" were showed disable.
If I add the press buttons
serr = SetObjectValue( "cinvcinfo", "PRESS" )
serr = SetObjectValue( "cinvcnbr", ImportField(9) )
serr = SetObjectValue( "Command2", "PRESS" ) 'OK button
When Transaction Import,
the screen show the field had import some value
but after finish, the field is Null, so it doesn't work.
In the other screen 40110 Shipper Entry
"Level8", "Lot" had met the same problem.
In the same screen 04010 Receipt/Invoice Entry
I add this fields in "Level3","Detail"
serr = SetObjectValue( "cmdLotSerial", "PRESS" )
serr = SetObjectValue( "LS_cLotSerNbr", ImportField(7) )
serr = SetObjectValue( "LS_cQty", ImportField(4))
serr = SetObjectValue( "LS_ButtonFinished", "PRESS" )
It press the Lot/Serial button to input lotser number of the line item.
It works.
I don't know why some pop-up screen after import value had a Null Result.
*This post is locked for comments