I have a case where, in the process of providing a service to a customer like repairing or installation, materials purchased are to be directly billed to customers. While purchasing, the company will pay, but ultimately the supplier invoice must be forwarded to the customer while charging them the exact supplier bill amount. That being the case, sales invoice will not contain the items of purchase invoice from the suppliers but only references to the suppliers’ purchase invoice so that we may account receivables for the invoices instead of materials.
The problem is the purchase invoices needs to be processed for inventory purposes, to confirm the orders and receipt of the materials, but the sales invoice won’t be accounting for the said materials.
The best idea I could think of is make a product bundle for each of purchase invoices involved, and then adding the product bundles on customer’s sales invoice. However, is there a script that can automate this? I’m not quite sure how to script or get started with them.
Otherwise, if you’ve any better suggestion for described situation, please feel free to comment.
Okay, I figured it out, with some help from other guides here in the forum. Please check my sample below.
I have tested it locally and it worked. Please keep in mind that you need a Parent Item in the Product Bundle for it to work correctly.
Parent Item? Oh my God, I just realized what I wanted to do was make a Parent Item and Bundle at the same time. Until now, I was under the impression the Bundle itself is the item specified on invoices, FML. This is getting way too convoluted.