Hi All,
I have a requirement where in I need to generate pro forma confirmation based on purchase lines split by brands.
For Example I have a purchase order which has two lines and both the lines have same delivery address as shown
We have done one more customization in which the addresses of each line will be changed based on the brands of the items.
Say First line has the Brand as ASH and Second Item has the brand has AURA, for these brands there would be address setup under the warehouse where the delivery names would be exactly same as Brand names assigned to items.
We have a custom button on click of that button if there is an brand attached to the item the respective delivery address would be updated for each line of a purchase order.
After the address updates for each line when they click on Proforma confirmation it should automatically create lines in the purchedit lines based on no of lines in purchase order
for eg: if PO has two lines and the address has been split based on brands as explained above the records needs to be created as shown below and first record is for first purch line and second record is for second purchline and the report also generates accordingly.
Can anyone please let me know how this can be achieved, if it can be done by any setup functionally or how it can be achieved technically.

Thanks in Advance