IN and DF API Change (V9.0)

IN: Input and DF: Display Field 


Quantity, Price and Cost Support


The IN and DF API calls have been enhanced to allow the programmer to specify input as a quantity, price or cost field.

Screen Parameters: IN,rr,cc,ww,tp,af


ww = the maximum width of the field. The number of decimals will be determined by the type. The number of digits to the left of the decimal will be calculated as:

type T – maximum width minus the value in Company-No-of-Decimals

type M – maximum width minus the value in Company-No-of-Decimals-Accum

type C – maximum width minus the value in Company-No-of-Decimals-Cost

type $ - maximum width minus the value in Company-No-of-Decimals-Price

t = T indicates this input field is a quantity field. The number of decimal places is for the entry is determined based on the COMPANY-NO-OF-DECIMALS in the Company file. When t = T, p can have the following value:

p = “-“ means the field supports the entry of a negative quantity with no echo

p = “=“ means the field supports the entry of a negative quantity with echo

p = “E“ means the field does not support the entry of a negative quantity but it does support echo

t = M indicates this input field is an accumulator field. The number of decimal places is for the entry is determined based on the COMPANY-NO-OF-DECIMALS-ACCUM in the Company file. When t = M, p can have the following value:

p = “-“ means the field supports the entry of a negative quantity with no echo

p = “=“ means the field supports the entry of a negative quantity with echo

p = “E“ means the field does not support the entry of a negative quantity but it does support echo

t = C indicates this input field is a cost field. The number of decimal places is determined based on the COMPANY-NO-OF-DECIMALS-COST in the Company file. When t = C, p can have the following value:

p = “-“ means the field supports the entry of a negative cost with no echo

p = “=“ means the field supports the entry of a negative cost with echo

p = “E“ means the field does not support the entry of a negative cost but it does support echo

t = $ indicates this input field is a price field. The number of decimal places is determined based on the COMPANY-NO-OF-DECIMALS-PRICE in the Company file. When t = $, p can have the following value:

p = “-“ means the field supports the entry of a negative price with no echo

p = “=“ means the field supports the entry of a negative price with echo

p = “E“ means the field does not support the entry of a negative price but it does support echo


Examples:

IN,04,04,13,C-,A1 will allow the user to enter a cost field with no echo of the value in SCREEN-NUMERIC-FIELD. If COMPANY-NO-OF-DECIMALS-COST is set to 4 (default), user will be able to enter a field containing 9,999,999.9999- (S9(7)V9(4)).

CLS

Developer Documentations

  1. Received Code 9999 with Web Services Call
  2. Received Return Status Code 3 When Using Elilogin Login Method
  3. Elliott Web Service Requirements
  4. Elliott eStore Checklist
  5. LN API
  6. FN API
  7. RN API
  8. IN and DF API Change (V9.0)
  9. FA API Changes (V9.0)
  10. VA API Changes (V9.0)
  11. CartService
  12. EliarachService
  13. ElicshtxService
  14. EliattrbService
  15. PSQL Database Names And DDF Convention
  16. ElisyscdService
  17. EliNoteService
  18. El2rstimService
  19. EliOrderService
  20. ItemInquiry
  21. EliitmiqService
  22. EliShiptoService
  23. El2getfrService
  24. Steps Required to Test ReportWriter in V8.2
  25. Installation of ElliottService, NETcellent’s Web Services for Elliott
  26. ResellerFinder
  27. EliaptrxService
  28. VendorInquiry
  29. EliloginService
  30. ElislsmnService
  31. EliserhsService
  32. EliatpobService
  33. ElievprcService
  34. ElihdtrxService
  35. ElicuswlService
  36. QueryTurnaround
  37. InvoiceInquiry
  38. ElicustmService
  39. EligetcdService
  40. OrderInquiry
  41. EliordiqService
  42. EliecontService
  43. EliautdpService
  44. El2CrCrdService
  45. Log-Timer / ElliottTimer.Ini Support
  46. Alpha Document Number Support (V8.5/V9.0)
  47. ElliottService System.TypeInitializationException
  48. Feature - Printing API to Dynamically Set Number of Copies
  49. The Values and Meanings of Distribution Types - ARDISFIL, APDISFIL, IMDISFIL, BMDISFIL
  50. DD API Changes (V9.0)
  51. Developing a New Elliott V8.3 ReportWriter User Defined Report (UDR)
  52. PA API (V9.0)
  53. ReportWriter Thresholds
  54. ReportWriter Delivery Strategy
  55. Animating COBOL Code in Elliott V8.5
  56. Validate License API
  57. AP API
  58. TP API: Temporary Path
  59. The lessons we learned from upgrading web service 8.2 to 8.5 in eStore

Feedback and Knowledge Base