Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望允许用户在文本框中输入 RefNumber 或 TxnID 以查询发票。TxnID 的格式是什么?我正在考虑使用 RegEx 模式来确定它是否是 TxnID。谢谢!
从 QB OSR...
TxnID 是 IDTYPE 类型 IDTYPE(标识符类型)是一个理论上最大长度为 36 位的字符串,但允许的最大值取决于具体情况。从 QuickBooks 返回的 IDTYPE 是对象 ID 和创建时间的串联,用连字符分隔。