Pricefx Interceptor API
    Preparing search index...

    Variable quotesDetailCopyConst

    quotesDetailCopy: "quotesDetailCopy" = 'quotesDetailCopy'

    Method name for PRE quotesDetailCopyPre and POST quotesDetailCopy

    Triggered after pressing the Duplicate from quotes list /#/qc/quotes or quote detail /#/qc/quotes/<quoteId>.

    Notes: quoteCopyAPI is exclusively accessible within the quotesDetailCopy method. Attempting to access quoteCopyAPI within the quotesDetailCopyPre method will result in it being undefined.

    Additional Properties:

    • quoteCopyAPI: This is a quoteAPI designed for interacting with a copy of the quote.
    • quoteOriginAPI: This is a quoteAPI designed for interacting with the original quote.
    export const quotesDetailCopy = async ({ api, quoteOriginAPI, quoteCopyAPI }) => {
    // TODO: Add your code
    return;
    }
    export const quotesDetailCopyPre = async ({
    quoteOriginAPI,
    api: { notify }
    }) => {
    await quoteOriginAPI.addLineItems(['AK_0005']);
    await notify.success('Triggered interceptor quotesDetailCopy');
    };
    export const quotesDetailCopy = async ({
    quoteOriginAPI,
    quoteCopyAPI,
    api: { notify }
    }) => {
    await quoteOriginAPI.addLineItems(['AK_0005']);
    await quoteCopyAPI.addLineItems(['AK_0008']);
    await notify.success('Triggered interceptor quotesDetailCopy');
    };