I designed work order sheet and sales receitp differently. But Sales Receipt copies work order columns whenever I start sale with work order. Is there any way to use those 2 different forms?
For your reference I added the following code to the full page receipt. Now work order prints as I wanted.
Transaction.Type = transactionWorkOrder HeaderHeight + MarginTop "Small" tbNone LineColor "" PageWidth * 0.07 "Bin" ">" PageWidth * 0.05 "Qty" ">" PageWidth * 0.10 "UM" ">" PageWidth * 0.23 "Remarks" Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Item.Subdescription1 "|" Entry.Item.Binlocation "|" Entry.QuantityOnOrder "|" Entry.Item.UnitofMeasure "|" Entry.Item.ExtendedDescription
Code for Sales Receipt is just a modification of existing codes, which is as follows.
Transaction.Type = transactionSales | Transaction.Type transactionQuote | Transaction.Type = transactionBackOrder | Transaction.Type = transactionLayaway | Transaction.Type = transactionAbortedTransaction HeaderHeight + MarginTop "Small" tbNone LineColor "" PageWidth * 0.07 "Qty" ">" PageWidth * 0.08 "UM" ">" PageWidth * 0.20 "Remarks" ">" PageWidth * 0.10 "Ea Pricee" ">" PageWidth * 0.10 "Unit Price" ">" PageWidth * 0.15 "Extd Price"
ShowLineDiscounts & (Entry.ExtendedDiscount
0) (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable 0) Entry.ExtendedExclsvPrice + Entry.ExtendedDiscount Entry.Price + Entry.Discount Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Quantity "|" Entry.Item.UnitOfMeasure "|" Entry.Item.ExtendedDescription "|" Entry.Item.Subdescription2 "|" PricePlusDiscount "|" ExtendedExclsvPricePlusDiscount Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Quantity "|" Entry.Item.UnitOfMeasure "|" Entry.Item.ExtendedDescription "|" Entry.Item.Subdescription2 "|" Entry.FullPrice "|" Entry.ExtendedFullPrice Entry.DiscountNegative 0 "||Discount||" Entry.DiscountNegative "|" Entry.ExtendedDiscountNegative (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable 0) Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Quantity "|" Entry.Item.UnitofMeasure "|" Entry.Item.ExtendedDescription "|" Entry.Item.Subdescription2 "|" Entry.Price "|" Entry.ExtendedExclsvPrice Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Quantity "|" Entry.Item.unitofMeasure "|" Entry.Item.ExtendedDescription "|" Entry.Item.Subdescription2 "|" Entry.Price "|" Entry.ExtendedPriceIs there any one who can explain why?