InvoiceCustomerTest show NPE at console

Description

When running the InvoiceCustomerTest, a NPE posting error is shown at console from the posting of Doc_AllocationHdr record.

There's 2 issue here:

  • A missing NPE check

  • When posting is immediate, when you complete a Paayment Document (with reference to invoice), Doc_AllocationHdr is posted before the C_Payment record which is not correct.

Environment

None
Fixed

Assignee

Heng Sin Low

Reporter

Heng Sin Low

Labels

None

Tested By

None

Components

Fix versions

Priority

Major
Configure