Professional Documents
Culture Documents
New Stop Order Documentation For EoD Files
New Stop Order Documentation For EoD Files
New Stop Order Documentation For EoD Files
Tables of Contents
1. Data transfer
a. Sale file 2
b. Stop order file 4
c. Deduction file 9
d. Bale file 10
e. Transporter file 12
f. Daily buyer stats file 13
g. Rejections file 14
1. SALE FILE
When a selling point uploads a Sale File, a link on the TIMB website will be
automatically generated where they can download their Stop Order File. The
TIMB system will automatically reject files with errors. A detailed error log file will
be generated. Each morning a selling point must upload, through the TIMB
website a file of all the growers selling that day. The file must be in the following
format:
Where XX identifies the selling point, SA is short for SAle file, mm = month,
dd=day of the sale date. The following identifiers will be used for XX
The TIMB system will extract a file enabling a floor/contractor to deduct stop
orders and invoice creditors for those growers. The file will be in the following
format:
Sale-ID varchar2(1)
Record-Type number(2)
Grower-Type varchar2(1)
Grower number(6)
Grower-Suffix varchar2(2)
Creditor No number(5)
Priority number(2)
Creditor Ref varchar2(10)
Account No varchar2(14)
Amount 1 number(20)
Sign 1 varchar2(1)
Amount 2 number(20)
Sign2 varchar2(1)
Amount3 number(20)
Sign3 varchar2(1)
Percent number(7)
Int_date number(8)
Type varchar2(1)
Serial_no number(2)
This file will contain records with three different record types, 02, 03 and 05.
The rest of the fields will be left blank. The grower must be refunded the Hessian
refund amount for every bale sold until his/her Hessian Deposit (Amount1) is
exhausted.
At floors
+ refund
- deduction
Hessian Algorithm
Account Number – this will contain the creditors account number where the
money is to be deposited.
Account Number – this will contain the creditors account number where the
money is to be deposited.
a. For stop order type 01 – Deduct all proceeds until sum to pay has
been reached
b. For Stop order type 02 – Deduct a % of YTD net until sum to pay has
been reached
c. For Stop Order Type 03 – Deduct a % of YTD GROSS after gross has
reached sum to pay
d. For Stop Order Type 04 – Deduct a % of YTD NET after net has
reached sum to pay
None
h. For Stop Order Type 08 – Deduct a % of YTD GROSS until sum to pay
is reached.
...1. If Amount 3 is negative, refund this amount to the grower and stop
further calculations.
..2. Add today’s gross to Amount 1.
...3. If Amount 3 > 0, then proceed to 4, else, do not deduct.
..4. Calculate Percent of answer in STEP 2 (year to date amount to
deduct).
..5. Subtract Amount 2 from result of 4 above.
..6. Subtract Amount 2 from Amount 3. If the answer is greater than
answer in STEP 5, then deduct answer from STEP 5, else, deduct answer
in STEP 6 from the grower.
i. For stop order type 01 – Deduct all proceeds until sum to pay has
been reached
j. For Stop order type 02 – Deduct a % of YTD net until sum to pay has
been reached
k. For Stop Order Type 03 – Deduct a % of YTD GROSS after gross has
reached sum to pay
l. For Stop Order Type 04 – Deduct a % of YTD NET after net has
reached sum to pay
None
p. For Stop Order Type 08 – Deduct a % of YTD GROSS until sum to pay
is reached.
...1. If Amount 3 is negative, refund this amount to the grower and stop
further calculations.
..2. Add today’s gross to Amount 1.
...3. If Amount 3 > 0, then proceed to 4, else, do not deduct.
..4. Calculate Percent of answer in STEP 2 (year to date amount to
deduct).
..5. Subtract Amount 2 from result of 4 above.
..6. Subtract Amount 2 from Amount 3. If the answer is greater than
answer in STEP 5, then deduct answer from STEP 5, else, deduct answer
in STEP 6 from the grower.
3. DEDUCTION FILE
After every sale day the floors/contractors must provide T.I.M.B with a file
containing all the stop order and invoice creditor deductions/refunds made that
day. The file must be in the following format:
SALE-ID varchar2(1)
REC-TYPE number(2)
GROWER-TYPE varchar2(1)
GROWER number(6)
GROWER_SUFFIX varchar2(2)
CR_NO number(5)
CR-REF varchar2(10)
AMOUNT number(20)
SIGN varchar2(1)
SERIAL-NO varchar(3)
The file must be called: XXDEmmdd.v -- mm=month, dd=day of the sale date.
4. BALE FILE
After every sale, a selling point must provide TIMB with a file containing details of
every bale sold and rejected that day. The file must be in the following format:
SALE-ID varchar2(1)
BALE_SET varchar2(10)
GROWER_TYPE varchar2(1)
GROWER number(6)
GROWER_SUFFIX varchar2(2)
GRADE varchar2(5)
BALE_NO number(6)
MASS number(7)
SIGN varchar2(1)
PRICE number(5)
CONV_RATE number(16,4)
US_VAL number(14)
SIGN varchar2(1)
ZIM_VAL number(16)
This file must be called: XXBLmmdd.v -- mm=month, dd=day of the sale date.
After every sale, if there are any transporter invoices that the selling point had
captured into their systems, a file will be generated to be uploaded to the T.I.M.B
stop order system. The file must be in the following format:
REC-TYPE number(2)
Sale-ID varchar2(1)
Grower-Type varchar2(1)
Grower number(6)
Grower-Suffix varchar2(2)
Creditor No number(5)
Amount 1 number(16)
Sign 1 varchar2(1)
Date varchar2(8)
Example:
For a floor any given floor the file will look like this
Where
REC-TYPE 02
Sale-ID J
Grower-Type V
Grower 100000
Grower-Suffix BLANK
Creditor No 1907
Amount 1 2,000,000.00 (note value in file is in cents)
Sign 1 + (if refund done sign should be negative)
Date 1 January 2006 (date format is ddmmyyyy)
This file must be called XXTRmmdd.v where XX identify the usual selling point
that was used for all other files, TR is short for Transporters’ file, mm = month,
dd=day of the sale date
After every sale, a selling point must provide TIMB with a file containing a
summary daily purchases that occurred on the floor. This file upload shall be a
prerequisite for a floor to be able to upload the BL, DE and TR files. The file must
be in the following format:
BUYER varchar2(45)
BALES_LAID number(6)
BALES _REJECTED number(6)
BALES_SOLD number(6)
MASS_SOLD number(7)
US_VAL number(14,2)
ZIM_VAL number(16,2)
This file must be called: XXDSmmdd.v (WHERE mm=month, dd=day of the sale
date).
After every sale, a selling point must provide TIMB with a file containing a
summary daily purchases that occurred on the floor. This file upload shall be a
prerequisite for a floor to be able to upload the BL, DE and TR files. The file must
be in the following format:
REJECTION_CODE varchar2(8)
BALES _REJECTED number(6)
REJECTED_BALE_MASS number(7)