dlwiii3
Member
We are trying to use the F0411FS family of methods to create vouchers (BeginDoc, EditLine, EditDoc, EndLine).
We have successfully used the F0911FS family with no issues as well as the AcctRecFS family just fine. But we are hitting and issue with the call to F0411FSEditLine. This keeps failing on cache update with the message " 078P Update to cache F04UI002 failed"
I looked in the C code and see just a few places this can happen, but do not know what is causing the update failure. What is the best way to see why this is failing?
I am pretty sure we have the header record in the cache just fine and that the one line is in there as well. it's just not clear why the update fails.
I'm thinking perhaps the values I am setting on the line are violating some database constraint.
Here is what debug logging shows- we have a cache with 0 records in it and then we try to update it. Could this be it?
Incremented cache count to 3
Created new cache - hCache:[08D7C7D8]
hCache:[08D7C7D8] Nm:[1F04UI002] Recs:0 Curs:0 Hnds:1 Cchs:3 INIT new
Entering jdeCacheUpdate - hCursor:[00000000]
If anyone had suggestions about this I surely would appreciate it!
Cheers
Daniel
We have successfully used the F0911FS family with no issues as well as the AcctRecFS family just fine. But we are hitting and issue with the call to F0411FSEditLine. This keeps failing on cache update with the message " 078P Update to cache F04UI002 failed"
I looked in the C code and see just a few places this can happen, but do not know what is causing the update failure. What is the best way to see why this is failing?
I am pretty sure we have the header record in the cache just fine and that the one line is in there as well. it's just not clear why the update fails.
I'm thinking perhaps the values I am setting on the line are violating some database constraint.
Here is what debug logging shows- we have a cache with 0 records in it and then we try to update it. Could this be it?
Incremented cache count to 3
Created new cache - hCache:[08D7C7D8]
hCache:[08D7C7D8] Nm:[1F04UI002] Recs:0 Curs:0 Hnds:1 Cchs:3 INIT new
Entering jdeCacheUpdate - hCursor:[00000000]
If anyone had suggestions about this I surely would appreciate it!
Cheers
Daniel
Last edited: