1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Expression Field Returning Error on Batch Job Only

Discussão em 'PSDN - Forum' iniciado por gmandujano, Dezembro 12, 2017.

  1. gmandujano

    gmandujano Guest

    Hi all,

    I have a field for "Unit Price" that is an expression field.

    I also have a batch job that runs every morning to convert certain records into invoices.

    The batch job is returning an error because it says that a record is returning an error in the Unit Price field. Here's the thread from the batch job error message:

    rbv_api.createRecord("Invoice_Line1", {
    "R352722689": 354699247, // InvoiceLine's customer should be order's customer
    "R352723810": 354700846, // InvoiceLines order should be this order
    "R352722073": 356183808, // Sync Product Ids
    "Price": ERROR: Error calculating value for Unit Price E... (line #


    The issue is that this particular record DOES have a value in the expression field -- if I access view record, it has a price of "0.45." The trigger words fine if I run it on that record only, and the batch job also works if I trigger it manually. However, for some reason, it returns this error when it is auto-triggered at 6am every day.

    Any ideas what's going on?







    Continue reading...

Compartilhe esta Página