Attempt to change read-only field 'Header Discount'. when I did not even set the HDRDISC value

Hi, I encounter this odd behavior while creating a macro to do an OE Invoice Entry. I did not even set the "HDRDISC" value but this error 1144

"Invoice Detail

Attempt to change read-only field 'Header Discount'."

keep popping up and I am not able to post my invoice because of it. Anyone can help me why is this happening? Thank you.

Parents
  • We'll need to see more of what you're doing.  I'm guessing that you have composition errors.  But that's just a guess.

  • in reply to Django

    I use the recorded composition and did not change anything about it. Then I proceed to assign value to header fields, and detail line fields successfully, no errors. Then when I am about to process GOCALCTAX, this error popup. I notice that the Header Discount is coming from the detail line, but why the error only appears during the Header GOCALCTAX process.

Reply
  • in reply to Django

    I use the recorded composition and did not change anything about it. Then I proceed to assign value to header fields, and detail line fields successfully, no errors. Then when I am about to process GOCALCTAX, this error popup. I notice that the Header Discount is coming from the detail line, but why the error only appears during the Header GOCALCTAX process.

Children