This article shows how to design plywood profession invoice.
1. Mark 'Yes' against Length Required and Width required settings in
stock master updation module.
2. Mark *PlywoodSystem* in DocProperties property of invoice
DocType.
3. Add the following columns in DocColumn style of invoice:
LENGTH, WIDTH, QUANTITY, TOTSQMTRS, RATE
4. Specify 'qLength' and 'qWidth' against 'FieldNameMaster' property of
LENGTH and WIDTH Columns respectively in Doc Column..
Now the calculation will performed by following way:
TotSQMtrs = Length x Width x Quantity
Amount = TotSQMtrs x Rate
If Length or Width is not specified the Amount = Quantity x Rate.
In the above example the stock is needed in pcs but if u want to manage
stock in pcs then you may open 'PCS' column and remove
*PlywoodSystem* from doc properties.
Now the calculation will performed by following way: