View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

Projects/Create New In Selectors/Technical Documentation

http://wiki.openbravo.com/wiki/Projects/Create_New_In_Selectors/Technical_Documentation


'Create New' In Selectors - Technical Documentation

New implementations

The process in charge of adding the new record to the selector should be in charge of:

{*input_name*: *value*}
{
  refreshParent: false
  responseActions: {
    setSelectorValueFromrecord: {
      record: {
        map: *theDisplayedFieldValue*,
        value: *theValueFieldValue*
      }
    }
  }
}
record: {
  map: "Alimentos y Supermercados, S.A",
  value: "A6750F0D15334FB890C254369AC750A8"
}
record: {
  bpid: "A6750F0D15334FB890C254369AC750A8"
  category: "Customer - Tier 1"
  creditAvailable: 0
  creditUsed: 0
  customer: true
  name: "Alimentos y Supermercados, S.A"
  value: "ES-C1/0001"
  vendor: false
}

Real example

Here there is a How to

Retrieved from "http://wiki.openbravo.com/wiki/Projects/Create_New_In_Selectors/Technical_Documentation"

This page has been accessed 372 times. This page was last modified on 4 July 2014, at 10:05. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.