with advanced order management, does anyone know w...
# general
c
with advanced order management, does anyone know what the acceptable values are for the pickupstatus field? for instance, does "1" mean picked, "2" picked up, etc. Keep getting stuck here: const result = record.submitFields({ type: record.Type.STORE_PICKUP_FULFILLMENT, id: request.internalId, values: { pickupstatus: ????????, pickedupdate: new Date(), custbody_tcs_pickedup_flag: request.pickedUpFlag, custbody_tcs_if_pickedup_datetime: new Date(), custbody_tcs_pickup_customer_identmeth: request.customerIdentificationMethod, custbody_tcs_pickup_customer_identy: request.customerIdentification, custbody_tcs_pickup_employee: request.employeeIdentification, }, }); We have tried integers and we have tried strings. INVALID_KEY_OR_REFInvalid pickupstatus reference key 1
b
your best chance is to load an existing record and get the value of the
pickupstatus
field to see what the internal id looks like
you can also load the record in dynamic mode to get the select options of the field
NetSuite Advanced Field Help may also be an option
c
i will look into these options. thank you