AHyde
Member
Hello everyone,
I am writing a custom UBE to insert records into the SOP Header File F4201 and Detail File F4211. I have created one Begin Doc, three edit lines (one for each detail record for the order) and an End Doc. The problem is, the Begin Doc and edit lines are processed correctly with no errors, and appear to be written to cache, but the end doc only inserts the record corresponding to the FIRST Edit line and not the other two, and does not write the F4201 header record at all.
No error code is passed from any of the MBF's.
The following error appears in the JDE.log:
'Unable to retrieve DB Record for Application P4210, Version C00001 from F983051'
I am incrementing the line number (LNID) by one for each edit line and zeroising it on change of order.
Does anyone have any ideas as to why only the first detail record of the three is being written?
Thanks
Amanda Hyde ([email protected])
I am writing a custom UBE to insert records into the SOP Header File F4201 and Detail File F4211. I have created one Begin Doc, three edit lines (one for each detail record for the order) and an End Doc. The problem is, the Begin Doc and edit lines are processed correctly with no errors, and appear to be written to cache, but the end doc only inserts the record corresponding to the FIRST Edit line and not the other two, and does not write the F4201 header record at all.
No error code is passed from any of the MBF's.
The following error appears in the JDE.log:
'Unable to retrieve DB Record for Application P4210, Version C00001 from F983051'
I am incrementing the line number (LNID) by one for each edit line and zeroising it on change of order.
Does anyone have any ideas as to why only the first detail record of the three is being written?
Thanks
Amanda Hyde ([email protected])