Aly
08/15/2024, 1:54 PMCeligo AI
08/15/2024, 1:54 PMAI generated answer (using internal Slack threads):When sourcing the taxcode from the line level via a script, it pulls the Internal ID value. This is evident from the code snippet provided in the conversation where the tax code is being accessed using the
getLineItemValue
method:
javascript
var tax_code = so.getLineItemValue('item', 'taxcode', i);
In this case, taxcode
is the field id and i
is the line number. The value returned by this method is the Internal ID of the tax code, not a string such as 'Standard Rate'.
However, it's important to note that the Internal ID of a tax code may not always be a 5-character length number as mentioned in the conversation. It can vary depending on the number of tax codes created in the system.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
08/15/2024, 1:54 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824900448
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823308706
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819852471
Celigo AI
08/15/2024, 1:54 PM