#g4ppinv_createItem
*//////////////////////////////////////////////////////////////*
* #g4ppinv_createItem - Create an Item Record *
* *
* Output: *
* out_errMsg - The error message (if error exists). *
* *
* Returns: *
* -1 for error, n for current Item Index. *
* *
*//////////////////////////////////////////////////////////////*
D #g4ppinv_createItem...
D PR 10i 0
D out_errMsg 256 Options(*NOPASS)
#g4ppinv_createItem is used to create an item record for the invoice you are working with. This must be called prior to adding a new item records and using the #g4ppinv_setItemValue() function.
Returns: Current Item Index for success, -1 for error.
Optional Parameters:
- Error Message (output) - Error message