Failed Daybooks merge - Flipbook - Page 8
4) As you can see from the above the reason the system has paniced is that the
ki_status returned from a read down the NL daybk file is not equal to zero. In the
current variables section of the code you should see that the ki_status is 1. If the
ki_status is not this, contact a senior team member immediately.
5) Three lines above the current process line (the line shown in red), there is a line of
code which states :
FLD(nl_daybk$.nl_da_daybook) = FLD(nl_invbf$.nl_ib_daybook)
You should right click on the second FLD statement and take the option 'evaluate'
here. This will display in the evaluate section of the code the daybook number that the
system was searching for in the daybook file when it paniced. Note down this
daybook number. This is the daybook number missing from the daybk file but exists
in the invoice buffer.
6) Run a search down the transaction enquiry in the NL for this daybook number to
ascertain the following details:
Source module
Year
Period
Daybook type
Accounts company