And know that our teacher, the Rema, in section 4 wrote: "And so too regarding a sum of money, it is only forbidden in such a manner where he says: 'Give me for such and such money, and you will have in my hand such and such,' but otherwise—it is permitted. And so too regarding a sum of measure, specifically in such a manner it is forbidden, but otherwise—it is permitted. And even though it is forbidden to mention money at all, that is regarding a matter whose price is not known, but regarding a matter that is known where he only says to him how much he needs—it is permitted, unless he mentions a sum to him, for there are those who are stringent in this matter, the custom has already spread in these provinces to be lenient according to the aforementioned opinion." Thus far his words. For this opinion holds that the mention of money and the mention of measure is not like buying and selling, but rather like saying how much he needs, meaning: "I need eggs for a ma'ah, I need a log of nuts." But the great Acharonim have already disagreed with this, and it is a complete prohibition for the buyer to mention a term of money or a term of measure, and the custom is not so among us, and Heaven forbid to do so. (Also what the Magen Avraham wrote in subsection 5 to make notes or holes as a sign for how much he takes, this too is questionable, and perhaps it is so. And according to my humble opinion it would seem that since the source of the law is in Beitzah regarding Yom Tov, and also the Rambam did not mention these laws regarding Shabbat, from where do we have the authority to permit at all on Shabbat? For perhaps on Yom Tov, where one cooks on Yom Tov itself, it may be that he did not know precisely on the eve of Yom Tov how much he needs, and therefore they permitted with the explained permissions, but on Shabbat everything is prepared from the eve of Shabbat. However, since the Tur and the Shulchan Aruch wrote this also regarding Shabbat, we do not have the power to disagree with them, but Heaven forbid to add further leniencies in this, and suffice for you with what they explicitly permitted.)
ודע שרבינו הרמ"א בסעיף ד' כתב: "וכן בסכום דמים אינו אסור אלא בכהני גוונא, שאומר: 'תן לי בכך וכך דמים, ויהיה לך בידי כך וכך', אבל בלאו הכי – שרי. וכן בסכום מדה, דוקא בכהני גוונא אסור, אבל בלאו הכי – שרי. ואף על גב דאסור להזכיר דמים כלל, היינו בדבר שאין מקחו ידוע, אבל בדבר שידוע רק שאומר לו כמה צריך – שרי, אם לא שמזכיר לו סכום, שיש מחמירין בדבר זה, כבר פשט המנהג במדינות אלו להקל וכסברא הנזכרת" עכ"ל. דסבירא ליה לדיעה זו דהזכרת דמים והזכרת מדה אינו כמקח וממכר, אלא כאומר כמה הוא צריך, כלומר: 'צריך אני ביצים בעד מעה, צריך אני אגוזים לוג'. אבל כבר חלקו גדולי האחרונים על זה, ואיסור גמור הוא שהלוקח יזכיר שם דמים או שם מדה, ואין המנהג כן אצלינו, וח"ו לעשות כן. (גם מ"ש המג"א בסק"ה לעשות פתקאות או נקבים לסימן כמה שנוטל, גם כן יש לפקפק, וכולי האי ואולי. ולפי עניות דעתי היה נראה כיון דמקור הדין הוא בביצה ביום טוב, וגם הרמב"ם לא הזכיר דינים אלו בשבת, מנלן להתיר כלל בשבת, דשמא ביום טוב שמבשל ביום טוב עצמו יכול להיות שלא ידע מערב יום טוב בצמצום כמה הוא צריך, ולכן התירו בהיתרים המבוארים, אבל בשבת הכל מכינים מערב שבת. אך כיון שהטור והש"ע כתבו זה גם בשבת, אין בנו כח לחלוק עליהם, אבל חלילה להוסיף עוד קולות בזה, ודי לך במה שהתירו מפורש)