N1Developer docsv1

TYPE REFERENCE

CustomerDistributionConnection

Referenced by 1 generated operations.

Documented fields

  • The rows on this page, in order.

    Example: [{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0001","name":"Alpha Auto Components 1","orders":1,"percent":14.285714285714286,"totalRevenue":100000,"outstandingBalance":25000,"pendingDelivery":1}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0002","name":"Bharat Hydraulics 2","orders":1,"percent":14.285714285714286,"totalRevenue":200000,"outstandingBalance":0,"pendingDelivery":1}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0003","name":"Cauvery Pumps 3","orders":1,"percent":14.285714285714286,"totalRevenue":300000,"outstandingBalance":0,"pendingDelivery":1}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0004","name":"Deccan Fasteners 4","orders":1,"percent":14.285714285714286,"totalRevenue":400000,"outstandingBalance":100000,"pendingDelivery":1}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0005","name":"Eastern Engineering 5","orders":1,"percent":14.285714285714286,"totalRevenue":500000,"outstandingBalance":0,"pendingDelivery":1}}]

    Show children
    • cursorString!Required

      Opaque position of this row in the list.

    • The CustomerDistribution.

      Example: {"id":"0192f0c1-0000-7000-8000-0000000c0001","name":"Alpha Auto Components 1","orders":1,"percent":14.285714285714286,"totalRevenue":100000,"outstandingBalance":25000,"pendingDelivery":1}

      Show children
      • idID!Required

        Customer id.

        Example: "0192f0c1-0000-7000-8000-0000000c0001"

      • nameString!Required

        Customer name.

        Example: "Alpha Auto Components 1"

      • ordersInt!Required

        Orders in the selected period.

        Example: 1

      • outstandingBalanceFloat!Required

        Outstanding on selected-period orders, integer paise.

        Example: 25000

      • pendingDeliveryInt!Required

        Selected-period orders with unfinished production.

        Example: 1

      • percentFloat!Required

        Share of selected-period order count, 0–100; zero when empty.

        Example: 14.285714285714286

      • totalRevenueFloat!Required

        Selected-period billed revenue in integer paise.

        Example: 100000

  • pageInfoPageInfo!Required

    Whether more pages exist, and the cursors to reach them.

    Example: {"hasNextPage":true,"endCursor":"WyJlYXN0ZXJuIGVuZ2luZWVyaW5nIDUiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDAwYzAwMDUiXQ"}

    Show children
    • endCursorStringOptional

      Cursor of the last row; pass it as after to get the next page. Null when the page is empty.

      Example: "WyJlYXN0ZXJuIGVuZ2luZWVyaW5nIDUiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDAwYzAwMDUiXQ"

    • hasNextPageBoolean!Required

      Whether another page follows this one.

      Example: true

    • hasPreviousPageBoolean!Required

      Whether another page comes before this one.

    • startCursorStringOptional

      Cursor of the first row; pass it as before to page backwards. Null when the page is empty.

  • totalCountInt!Required

    All rows matching the filter and search, not just this page.

    Example: 7

Used by

Search documentation

Search operations, types and errors from the generated contract.