Cane Weight Form

Scenario:

  1. Default value fields -

    1. Season

    2. Branch

    3. Shift

    4. Date

  2. Calculate field values - Cane Weight Counter(Shiftwise) & Season Day

  3. Enter Slip number and fetch necessary data from TRIP Sheet over API. Table Name - 'tabTrip Sheet'

    1. Fetch Conditions:

      1. Fetch only data which is in "Token Submitted" status.

    2. Fields to fetch:

      1. Token Number

      2. Farmer Code,

      3. Farmer Name

      4. Transporter HT Code,

      5. Transporter Code Farmer

      6. Transporter Name

      7. Harvester HT Code,

      8. Harvester Code Farmer

      9. Harvester Name

      10. Vehicle Type,

      11. Route Name

      12. Route Name

      13. Distance(KM)

      14. Diesel Allocated

      15. Circle Office

      16. Gang Type

      17. Cart Number,

      18. Water supplier code

      19. Water Supplier Name

      20. Water Share (%)

      21. Tolly 1

      22. Tolly 2

  4. Weight Bridge Section to Enter:

    1. Gross Weight Bridge

    2. Gross Weight

    3. Get Gross Weight Button (User Action)

    4. Gross Weight Time/Date (Auto date & Time)

    5. Tare Weight Bridge

    6. Tare Weight

    7. Get Tare Weight Button (User Action)

    8. Tare Weight Time/Date

    9. Cane Weight (TON)

    10. Binding Weight (TON)

    11. Cane Deduction (TON)

    12. Harvester Weight

    13. Farmer Actual Weight

    14. Net Weight (TON)

    15. Transporter Weight

  5. Fetch Slip details:

    1. Cane Inward No

    2. Cane Inward Slip Time

    3. Cane Inward Slip Date

    4. Token User

  6. Penalty Charges:

    1. Vendor ID

    2. Vendor Name

    3. Type

    4. Deduction Type

    5. Deduction Method

    6. Deduction

    7. Doc Name

  7. Not Required Fields:

    1. Weight Correction Reference

    2. Season Day Final

  8. System Fields:

    1. User

    2. Creation date

    3. Modified Date

Calculations:

  1. Calculate season day

  2. Maintain the shift wise counter.

  3. Calculate the Cane Weight Counter(Shiftwise)

  4. Cane Weight (TON) Formula - (Gross Weight - Tear Weight)

  5. Binding Weight (TON)

  6. Cane Deduction (TON)

  7. Harvester Weight

  8. Farmer Actual Weight

  9. Net Weight (TON) Formula = Cane Weight (TON) - Binding Weight (TON) - Cane Deduction (TON)

  10. Transporter Weight

Validations:

  1. For first weight only allow Get gross weight button and save the form.

  2. Gross weight shold not be less than 0 or negative.

  3. For second time when gross weight is already taken then allow only tare weight button.

  4. Tare weight shold not be less than 0 or negative. Also Tare weight should be less than gross weight.

  5. Cane Deduction (TON) - Should not be negative value. Should not be more than gross weight or tare weight.

Updates:

  1. Update Trip sheet with Weight done status.

  2. If Season final day is marked then dont allow any changes on the form


    Shift Change logic: ??

    Counter for shift logic: ??