Whylode
All changes

Rule change

EDI 810 tax detail requirement

fixtures/notices/edi-810-notice.pdfOpened Sep 26Status: Approved

  1. Q1 EDIOUT.rpgle, lines 17 to 21

    Answered

    EDIOUT has no entry PLIST. How does it receive InvNo, TaxAmt and the other invoice fields before it runs? We need to add TaxRate using the same mechanism.

    “EDIOUT should get them as parameters, the same way INVCALC does. Add an entry PLIST with InvNo, InvDate, CustNo, InvAmt, TaxAmt, and a new TaxRate. INVJOB calls it after the invoice is calculated.”

    MystiqueMide, Sep 26

  2. Q2 INVCALC.rpgle, lines 19 to 26

    Answered

    TaxRate is calculated here but never returned to the caller. Is it safe to add a new TaxRate output PARM to INVCALC, or is there a shared data area or file we should use instead?

    “Yes, add TaxRate as a new output PARM at the end of INVCALC's PLIST. ORDENT is the only caller, so update its CALL too. There's no data area for this.”

    MystiqueMide, Sep 26