#4524 Scheduled C_Invoice_Generate does not create invoices

R2.6.0
closed
sboda
5
2007-08-02
2007-07-27
ADAXA
No

Using Compiere Version 2.6.0 stable

Problem:
. Create scheduled task for C_Invocie_Generate
. Do not create parameter records (i.e. accept all defaults)
. Schedule task runs but no invoices are generated
. Perform same task from the menu and invoices are generated as expected
. Try all combinations of parameters in scheduler but no combination generates any invoices

Can anyone shed light on this issue? Does the scheduler work correctly in 2.6.0? Could the parameters be set incorrectly? For example what should be entered in each of the parameters in the invoice generate? For BP is it the Search Key, should it be in quotes? What format is the date entered?

Help appreciated
Regards...

Discussion

  • sboda
    sboda
    2007-07-31

    • status: open --> pending
     
  • sboda
    sboda
    2007-07-31

    Logged In: YES
    user_id=1705860
    Originator: NO

    Reviewing, will get back to you soon.

     
  • sboda
    sboda
    2007-07-31

    Logged In: YES
    user_id=1705860
    Originator: NO

    *** Status set to PENDING *** If the issue solved, please CLOSE
    this request - otherwise set the status back to OPEN (we only
    check OPEN items). If there is no reaction within a week, the
    system will automatically CLOSE it. To speed up response time,
    you may want to consider a support agreement.
    ***

     
  • sboda
    sboda
    2007-07-31

    • status: pending --> open
     
  • ADAXA
    ADAXA
    2007-08-02

    Logged In: YES
    user_id=1039991
    Originator: YES

    Apologies but this functionality does work.

    The primary problem lies in the way that the parameters need to be entered. For example the absence of the Document Action parameter will cause it to take the default which is CO (or document complete). However if the parameter is included with single quotes e.g 'PR' for Prepare the process still generates documents as Complete. The parameter must be entered without single quotes. Furthermore the Date parameter is ignored so it does not seem possible to say, for example I want the date to be today plus 1.

    There is little guidance anywhere about the way to setup process parameters in the scheduler and it requires a reasoanble amount of experimentation and searching the code to determine what parameters are ignored when scheduling a process and in what format the parameters should be entered.

    Nevertheless the scheduler stuff does work - it's just difficult for a user to set it up.

    Cheers
    Martin Fuggle

     
  • ADAXA
    ADAXA
    2007-08-02

    • status: open --> closed
     
  • Logged In: YES
    user_id=1563657
    Originator: NO

    ver 260a

    we found that on a normal Generate invoice (with large amount of shipments and shipment lines), that it would run through and generate an invoice for say 60% of the invoices, then on second run, generate the balance.

     
  • Logged In: YES
    user_id=1563657
    Originator: NO

    ver 260a

    we found that on a normal Generate invoice (with large amount of shipments and shipment lines), that it would run through and generate an invoice for say 60% of the invoices, then on second run, generate the balance.

     
  • Logged In: YES
    user_id=1563657
    Originator: NO

    ver 260a

    we found that on a normal Generate invoice (with large amount of shipments and shipment lines), that it would run through and generate an invoice for say 60% of the invoices, then on second run, generate the balance.