|
@@ -298,7 +298,8 @@ public class Module
|
|
|
.Add(x => x.Tax)
|
|
|
.Add(x => x.Description)
|
|
|
.Add(x => x.PurchaseGL.Code)
|
|
|
- .Add(x => x.OrderItem.ID),
|
|
|
+ .Add(x => x.OrderItem.ID)
|
|
|
+ .Add(x => x.Job.JobNumber),
|
|
|
alias: "Bill_BillLine");
|
|
|
|
|
|
model.SetIsDefault<BillLine>(true, "Bill_BillLine");
|
|
@@ -417,6 +418,10 @@ public class Module
|
|
|
apdf.Units = poItem.Qty;
|
|
|
apdf.UnitCost = poItem.Cost;
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ apdf.Job = billLine.Job.JobNumber;
|
|
|
+ }
|
|
|
|
|
|
if (!ProcessLine(model, billLine, apdf))
|
|
|
{
|