Invalid or missing posting date encountered on Bill of Materials transaction update

SOLVED

Hi,

I've been working on automatic registration of transactions for Bill of materials.

but I've been encoutering this issue for a couple of days now.

its been throwing me an error that says "Invalid or missing posting date encountered"

I opted for the Deferred so that a print preview wouldnt pop up. as this would be done automatically.

any help/inputs will be greatly appreciated. Thanks!