LCO/Posting Error: Source Not Balanced - Doc_AllocationHdr when allocating multiple invoices with write-off and Withholding Tax

Description

Posting error "Source not balanced - Doc_AllocationHdr" is thrown in window Payment under the following condition:

  • Use LCO with withholding Type/Calc/Is Calc On Payment=Y

  • In the Payment=>Allocate subtab, allocate multiple invoices for payment

  • At least one allocated invoice is subject to Withholding tax, that means, the system automatically populates the write-off field.

  • Specify a write-off amount in one or more of the allocated invoices, either in lines with WHT (as additional write-off on top of WHT) or in lines without WHT, or a combination of both.

  • If there is only one write-off line and this write-off is specified in a line with Withholding tax and all other lines are not subject to WHT, the allocation is posted without problems.

  • If a single invoice subject to WHT and additional write-off is allocated, the allocation is posted without problems.

  • All other scenarios will fail with the above error.

Environment

None

Activity

Show:

Michael Powacht February 6, 2018 at 9:31 AM

Thanks Hiep

Michael Powacht February 5, 2018 at 7:26 AM

What a monday: I also accidentally pushed the Peer Review button!

Michael Powacht February 5, 2018 at 7:24 AM

Sorry posted in the wrong section:
Posting error "Source not balanced - Doc_AllocationHdr" is thrown in window Payment under the following condition:

  • Use LCO with withholding Type/Calc/Is Calc On Payment=Y

  • In the Payment=>Allocate subtab, allocate multiple invoices for payment

  • At least one allocated invoice is subject to Withholding tax, that means, the system automatically populates the write-off field.

  • Specify a write-off amount in one or more of the allocated invoices, either in lines with WHT (as additional write-off on top of WHT) or in lines without WHT, or a combination of both.

  • If there is only one write-off line and this write-off is specified in a line with Withholding tax and all other lines are not subject to WHT, the allocation is posted without problems.

  • If a single invoice subject to WHT and additional write-off is allocated, the allocation is posted without problems.

  • All other scenarios will fail with the above error.

Details

Assignee

Reporter

Components

Affects versions

Priority

Created February 5, 2018 at 6:55 AM
Updated February 6, 2018 at 9:31 AM