Cane Weight Form
Scenario:
Default value fields -
Season
Branch
Shift
Date
Calculate field values - Cane Weight Counter(Shiftwise) & Season Day
Enter Slip number and fetch necessary data from TRIP Sheet over API. Table Name - 'tabTrip Sheet'
Fetch Conditions:
Fetch only data which is in "Token Submitted" status.
Fields to fetch:
Token Number
Farmer Code,
Farmer Name
Transporter HT Code,
Transporter Code Farmer
Transporter Name
Harvester HT Code,
Harvester Code Farmer
Harvester Name
Vehicle Type,
Route Name
Route Name
Distance(KM)
Diesel Allocated
Circle Office
Gang Type
Cart Number,
Water supplier code
Water Supplier Name
Water Share (%)
Tolly 1
Tolly 2
Weight Bridge Section to Enter:
Gross Weight Bridge
Gross Weight
Get Gross Weight Button (User Action)
Gross Weight Time/Date (Auto date & Time)
Tare Weight Bridge
Tare Weight
Get Tare Weight Button (User Action)
Tare Weight Time/Date
Cane Weight (TON)
Binding Weight (TON)
Cane Deduction (TON)
Harvester Weight
Farmer Actual Weight
Net Weight (TON)
Transporter Weight
Fetch Slip details:
Cane Inward No
Cane Inward Slip Time
Cane Inward Slip Date
Token User
Penalty Charges:
Vendor ID
Vendor Name
Type
Deduction Type
Deduction Method
Deduction
Doc Name
Not Required Fields:
Weight Correction Reference
Season Day Final
System Fields:
User
Creation date
Modified Date
Calculations:
Calculate season day
Maintain the shift wise counter.
Calculate the Cane Weight Counter(Shiftwise)
Cane Weight (TON) Formula - (Gross Weight - Tear Weight)
Binding Weight (TON)
Cane Deduction (TON)
Harvester Weight
Farmer Actual Weight
Net Weight (TON) Formula = Cane Weight (TON) - Binding Weight (TON) - Cane Deduction (TON)
Transporter Weight
Validations:
For first weight only allow Get gross weight button and save the form.
Gross weight shold not be less than 0 or negative.
For second time when gross weight is already taken then allow only tare weight button.
Tare weight shold not be less than 0 or negative. Also Tare weight should be less than gross weight.
Cane Deduction (TON) - Should not be negative value. Should not be more than gross weight or tare weight.
Updates:
Update Trip sheet with Weight done status.
If Season final day is marked then dont allow any changes on the form
Shift Change logic: ??
Counter for shift logic: ??