In Code Unit - "Item Jnl.-Post Batch" (23)- there is a line "IF NOT FIND('=><') THEN BEGIN" . I do not understand the usage of this FIND statement. Any one can explain the meaning of this statement.
Search this forum this is asked about once a month, look at the string, = Equal to, > Greater than and < Less Than, find in that order.
So if I had values 1 to 10 (1,2,3,4,5,6,7,8,9,10)
5 would return 5 (=)
5.5 would return 6 (=>)
20 would return 10 (=><)
In the Journal scenario it is looking to see if there are any records in the batch, you could be on a blank line, empty record, but the journal could be full so.
= Is the calling record in the batch.
> if not is there a record After (From First Line Empty)
< if not is there a record Before (From Last Line Empty)
Comments
Search this forum this is asked about once a month, look at the string, = Equal to, > Greater than and < Less Than, find in that order.
So if I had values 1 to 10 (1,2,3,4,5,6,7,8,9,10)
5 would return 5 (=)
5.5 would return 6 (=>)
20 would return 10 (=><)
In the Journal scenario it is looking to see if there are any records in the batch, you could be on a blank line, empty record, but the journal could be full so.
= Is the calling record in the batch.
> if not is there a record After (From First Line Empty)
< if not is there a record Before (From Last Line Empty)
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com