本文介绍了客户号码,订单号码的最佳格式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一家大型国际公司部署了新的网络和MOTO(邮购和电话订单)处理系统。除此之外,您还需要设计订单和客户识别号码的格式。

A large international company deploys a new web and MOTO (Mail Order and Telephone Order) handling system. Among other things you are tasked to design format for both order and customer identification numbers.

您认为最好的格式是什么?请列出任何假设和注意事项。

What would be the best format in your opinion? Please list any assumptions and considerations.

接受的答案

Michael Haren的答案由于最多的投票而被选中,但请阅读其他答案和评论,因为他们使Michael的回答更加完整。

Michael Haren's answer selected due to the most up votes, but please do read other answers and comments as they make Michael's answer more complete.

推荐答案

所有数字或全部字母都可以。如果必须混合起来,那么确保没有不明确的字符(Il1m,O0等)。

Go with all numbers or all letters. If you must mix it up, then make sure there are no ambiguous characters (Il1m, O0, etc.).

当显示/打印时,每隔3-4个字符放置空格,但确保您的系统可以处理没有空格的输入。

When displayed/printed, put spaces in every 3-4 characters but make sure your systems can handle inputs without the spaces.

编辑:
另一件需要考虑的事情是内置方式来区分订单,客户等客户始终从10开始,订单总是以20开始,厂商总是从30开始等。

Another thing to consider is having a built in way to distinguish orders, customers, etc. e.g. customers always start with 10, orders always start with 20, vendors always start with 30, etc.

这篇关于客户号码,订单号码的最佳格式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 04:14