
VIP

Trusted Members

June 25, 2016



December 5, 2016

Thanks Sunny for the Vookup suggestion with iferror condition; but It' s not there yet Let me explain a little bit the field stucture in the Table
and the background infomation
(1 ) PO No. -It is self explianatory [ mainly for Electronics parts]
(2 ) Items number meanng each PO contains numerious items we want to purchase from the particular Electronics supplier
So PO+Item number = KLA PO [ field] , really no need to concantenate the two fields for Vlookup purpose , ie simply using this field KLA PO would be fine.
(3 ) PO sequencet number meaning our System record how many times the supplier respond to our PO and its items enquiry in particulay the delivery schedule , and quantity can be delivered, our enquiry.
So what we want is everytime we issue the PO we continue follow-up the delivery status of each items, after receiving their [ suppliers replies] then we want to update our schedule, preferably using macro, to reflect the latest position of each PO.
Also if additional Purchase orders is to abe added to the existing schedule, using macro
We want to know after the delivery [ Receiving] of the Purcahse Order items we want to know the bal and delevery schedule , which we need to pus further to our suppliers

VIP

Trusted Members

June 25, 2016


VIP

Trusted Members

June 25, 2016

Hi David
Sorry I am still not too clear about your requirements. Hope I understood you correctly.
Attached contains 2 macros that does the following.
1) Update the Purchase Order Control Summary column N from Today Reply column C.
2) Update the Balance Items To Be Delivered column G from Purchase Order Control Summary column I - Q (minus).
Sunny


December 5, 2016

Thanks Sunny!
I think you got the problems almost solved
But there are two more points
(1 ) How to add new PO data [ Sheet : "New PO" to the Purchase Order Control summary using Macro
(2 ) How to calculate the Balance to be delivered in each PO after update suppliers, Todays reply ,Previous reply,Received Qty using macro
pls refer following example
ie PO Number PO Qty Prevous Reply Today Reply Received Qty Balance Quantity[ need to show by PO number
274715-10 50,000 5,000 3,000 5000 | 37,000 |

VIP

Trusted Members

June 25, 2016

Hi David
I have included the add new PO macro.
For Q2 (calculate balance to be delivered), is it a separate report? Why are you including Previous Reply as it had already been updated previously?
You will definitely need to change the macro that I have done for you to suit your requirements. I noted that there are some duplicate PO and some PO not found. I assume this is because it is a test data. Otherwise you will need to be careful as the results may be inaccurate. You will also need to be sure which macro needs to run first as it will have an effect on the final result.
Sunny


December 5, 2016

Thanks Sunny !
For Q2 (calculate balance to be delivered), is it a separate report? David :Yes , it is considered a separate report we want ourself to be alert as we want to push further to our supplier to provide the delivery schedule and their committed materials quantity, without such Reports highlighted, our production plant will come to a stoppage if the materials cannot be delivered on time. The Update Balance macro button does help effectively to achieve the purpose, we willl modify the VB to exact suit our live run requirements, thanks millions, Sunny.
Why are you including Previous Reply as it had already been updated previously? - David : Correct no need, PO Qty minus Qty Received will do.
You will definitely need to change the macro that I have done for you to suit your requirements. I noted that there are some duplicate PO and some PO not found. I assume this is because it is a test data. Otherwise you will need to be careful as the results may be inaccurate. You will also need to be sure which macro needs to run first as it will have an effect on the final result.
David : Yes your understanding is correct, they are purely testing data purely for testing and building-up of the VB.
Sorry, we should have point out a lot earlier to ignore the data logic.

VIP

Trusted Members

June 25, 2016



December 12, 2016

Hi Sunny,
The first few rows of module 11 are garbled as quoted below, could you please show me the right script for my reading. Thanks.
Sub ?()
Attribute ?.VB_Description = "? : 2011/1/4 ? : Naomi Lee"
Attribute ?.VB_ProcData.VB_Invoke_Func = "U
14"
'Copy and save previous data
Regards,
Julian

VIP

Trusted Members

June 25, 2016

1 Guest(s)
