This topic contains 2 replies, has 0 voices, and was last updated by Amayamanu 6 years, 9 months ago.

  • Author
    Posts
  • #18034

    Amayamanu

    Hello!

    I am trying to create a new custom payment record, however, I have to use a specific custom form previously created in the NS administration site, I am using this way to call the custom form in my record creation:

    payment = record.create({

    type: record.Type.CUSTOMER_PAYMENT,

    defaultValues: {

    entity: xxxxx,

    customform : “160”

    }

    Is this the right way to do it?

    Thanks a lot for the help!
    This is a cached copy. Click here to see the original post.

  • #18035

    leacelosacolumna

    Yes, the syntax is correct. You just have to make sure that you’re referencing the right internal id of the custom form.

  • #18036

    Amayamanu

    Thanks!

You must be logged in to reply to this topic.