let me know the fields of the itemvendorpricelines...
# ask-stanley-ai
s
let me know the fields of the itemvendorpricelines
subrecord
c
AI generated answer (using internal Slack threads):
The
itemvendorpricelines
subrecord is a sublist of the
itemvendorprice
subrecord. It represents different purchase prices for a single vendor in different currencies. Here is a sample of the fields in the
itemvendorpricelines
subrecord: - `id`: The unique identifier of the line. - `sys_id`: System ID of the line. - `sys_parentid`: System ID of the parent record. - `vendorcurrency`: The currency of the vendor price. - `vendorprice`: The vendor price in the specified currency. Here is a sample code snippet to access and modify the
vendorprice
field in the
itemvendorpricelines
subrecord:
Copy code
javascript
itemRecord.selectLine({
    sublistId: 'itemvendor',
    line: i
});

var vendorSubrecord = itemRecord.getCurrentSublistSubrecord({
    sublistId: 'itemvendor',
    fieldId: 'itemvendorprice'
});

vendorSubrecord.selectLine({
    sublistId: 'itemvendorpricelines',
    line: j
});

vendorSubrecord.setCurrentSublistValue({
    sublistId: 'itemvendorpricelines',
    fieldId: 'vendorprice',
    value: newPrice
});

vendorSubrecord.commitLine({
    sublistId: 'itemvendorpricelines'
});

itemRecord.commitLine({
    sublistId: 'itemvendor'
});
****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846801817
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.845459
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841796756
Please provide your feedback on this answer.