default.txt 731 B

123456789101112131415161718192021222324252627282930313233
  1. OBJECT Codeunit 11 Gen. Jnl.-Check Line
  2. {
  3. OBJECT-PROPERTIES
  4. {
  5. Date=09-09-14;
  6. Time=12:00:00;
  7. Version List=NAVW18.00;
  8. }
  9. PROPERTIES
  10. {
  11. TableNo=81;
  12. Permissions=TableData 252=rimd;
  13. OnRun=BEGIN
  14. GLSetup.GET;
  15. RunCheck(Rec);
  16. END;
  17. }
  18. CODE
  19. {
  20. VAR
  21. Text000@1000 : TextConst 'ENU=can only be a closing date for G/L entries';
  22. Text001@1001 : TextConst 'ENU=is not within your range of allowed posting dates';
  23. PROCEDURE ErrorIfPositiveAmt@2(GenJnlLine@1000 : Record 81);
  24. BEGIN
  25. IF GenJnlLine.Amount > 0 THEN
  26. GenJnlLine.FIELDERROR(Amount,Text008);
  27. END;
  28. LOCAL PROCEDURE CheckGenJnlLineDocType@7(GenJnlLine@1001 : Record 81);
  29. }
  30. }