Aptronics / aptronics

Other
0 stars 1 forks source link

Create Multiple PO from Sales Order #19

Closed hpema closed 4 years ago

hpema commented 4 years ago

Hi Team,

We would like to generate draft POs from Sales order line suppliers setup.

Once the sales order lines have got the supplier we planning to buy from and updated, when "Create"-Purchase order is selected, we would like to get all the POs generated at once - or by clicking a button on the popup form.

We have tested that if you selected all the items, and 1 of the suppliers then the po generated is only for that item set for the supplier. If we can get all generated as draft that would be ideal.

will discuss further - can use SAL-ORD-2019-00015 for testing on aptronics.agritheory.com

SaiFi0102 commented 4 years ago

Leave the Supplier field in the "Create Purchase Order" dialog and select all items to make multiple POs. If there are multiple suppliers, it will make multiple POs Multiple POs

hpema commented 4 years ago

Hi Saif,

Tried that but got this error. We trying to duplicate and order from x3 from decemeber last year so not sure if that has anything to do with it...

image

when testing on todays order date and delivery date in the future then it works

SaiFi0102 commented 4 years ago

I understand the problem and I'll take care of it Notes:

  1. Delivery Date on Sales Order Item should be editable after submission
  2. If Delivery Date is in the past then PO's Reqd By Date should be today (by default) to prevent this error
SaiFi0102 commented 4 years ago

@agritheory Updated erpnext branch and aptronics app

hpema commented 4 years ago

when creating multiple or single POs from Sales order the taxes dont load correclly

Tax template gets loaded but does not load taxes in table

image

hpema commented 4 years ago

Tested, and working...thnks