Skip Validation at the time of posting Purchase Invoice in case of Drop Shipment:
(1) In this blog, we will get to know about the process of bypassing the validation as below-
|“You cannot invoice this purchase order before the associated sales orders have been invoiced. Please invoice sales order before invoicing this purchase order.”
(2) Open the Visual Studio and call the event of bypassing the validation, as shown below.
(3) After publishing the extension, the system allows you to post the Purchase Invoice in case of a Drop Shipment.
(4) Note: In case of Drop Shipment, System asks for posting the Sales Invoice when you try to post the Purchase Invoice.