SHARE
TWEET

Untitled

a guest Jun 16th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1. Which of these methods should you use in the code to add a new data record to a cache object? (Products is a data view of the PXSelect<Product> type. The methods are invoked in a graph event handler or a button delegate.) Select all that apply.
  2. - Product prod = new Product(); Products.Insert(prod);
  3. - Product prod = new Product(); Products.Cache.Insert(prod);
  4. - Product prod = Products.Insert();
  5.  
  6. 2. What are the differences between an attribute and a graph event handler? Select all that are true.
  7. - You can cancel the attribute event handler, but you cannot cancel a graph event handler.
  8. - An attribute event handler is first activated when the –ed events (such as FieldSelected or RowUpdated) take place, while a graph event handler is first activated when the –ing events (such as FieldSelecting or RowUpdating) take place.
  9.  
  10. 3. Select all the correct statements about the Optional<> parameter.
  11. - The Optional<> parameter can work as the Current<> one when a data view is used as a data member for an input UI control.
  12. - The Optional<> parameter can work as the Required<> one when the user selects the data from a data view.
  13. - The Optional<> parameter triggers the FieldUpdating event for the specified field.
  14.  
  15. 4. Suppose that a form area of the page includes two input UI controls, and that the first control has the CommitChanges property set to True, while the second control does not. If the user modifies the first field and then the second field and clicks Save, how many times will the modifications be posted to the server?
  16. -   2
  17.  
  18. 5. Select all the correct statements about the PXFormula and PXUnboundFormula attributes.
  19. - The Switch<Case<>,> function can be used in the first parameter of the PXFormula attribute.
  20. - The system never stores the value in the data field that you specified with the PXUnboundFormula attribute.
  21. - The PXUnboundFormula attribute can be used with the Switch<Case<>,> function as the first parameter.
  22.  
  23. 6. Select all the correct statements about PXSetPropertyException and RaiseExceptionHandling<>() .
  24.  
  25. - By using RaiseExceptionHandling<>(), you do not prevent data field values from being applied to a data record in the cache.
  26. - There is no reason to throw PXSetPropertyException within the RowUpdated event handler.
  27. - You can throw PXSetPropertyException to prevent the value of a data field from being applied to a data record in the cache.
  28.  
  29. 7. For which purposes can you use the optional RowTemplate element? Select all that true.
  30. - For setting specific properties of an input control or using a different input control
  31. - To configure the layout of controls in the form view of the grid
  32.  
  33. 8. Select all the correct statements about the internal and external field value presentation.
  34. - The e.ReturnValue parameter of the FieldSelecting event defines the current external UI field value, which can be equal to the internal value.
  35. - The FieldSelecting and FieldUpdating events transform a field value between the internal and external presentation.
  36. - The e.ReturnState parameter of the FieldSelecting event returns a set of UI parameters for a control or button.
  37.  
  38. 9. What are the differences between the cache-level and record-level attributes? Select all that are true.
  39. - Changing a cache-level attribute leads to related changes of all data records of the corresponding cache.
  40. - To set the properties of a cache-level attribute, you pass null to a method of the attribute, while for the record-level attribute, you pass a data record to a method of the attribute.
  41. - Changing a record-level attribute leads to modifications of specified data records of the corresponding cache.
  42.  
  43. 10. Select the correct order and the set of events that are raised for each data field of a record when the Update(record) method is invoked on the cache.
  44. - FieldUpdating, FieldVerifying, FieldUpdated
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top