Can we have a macro to update our Vendors delivery reply schedule and updated in the Control summary , also calculate the balance quantity of items to be delivered.
ie updated column today reply and ccalculate balance qty to be delivered
I still got problem with the forum upload , so no choice I send attachment via Email .
Hi David,
Uploads are working fine for me.
After you click Attachments, you have to click Add Files, browse/select the file, then click on Start Upload, and finally click on Submit Reply to post the document to the forum.
Phil
pls refer attach
Hi David
I am using a VLOOKUP (instead of a macro) to update the data. Is this sufficient?
As for the Balance To Be Delivered, I am not sure where the data is coming from so I am only making a guess.
Sunny
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
Hi David
If you could show from your attachment what are the expected results and where they are updated from (sheet name/column etc), it would be easier to understand.
Sunny
Dear Sunny ,
Sequence is
Today Reply --> Purchase Order Control summary[ Column: Today Reply] Qty
PO Bal Qty =PO Qty - Received Qty
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
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 |
Psl refer attn samples for New PO data to be upload the control summary
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
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.
Hi David
Refer attachment
Sunny
It 's terrifice, wonderful you got the VB loop working beautifully.
Really do arppreciate that , Sunny..