Exemplo n.º 1
0
        private void SetPurchaseOrderLine()
        {
            var purchaseOrderLines = CommitmentDataProvider.GetCommitmentLines(Graph, generationKey.OrderNumber,
                                                                               POOrderType.RegularOrder, generationKey.ProjectId);
            var purchaseOrderLineItem = purchaseOrderLines.SingleOrNull()?.LineNbr;

            Cache.SetValueExt <ComplianceDocument.purchaseOrderLineItem>(lienWaiver, purchaseOrderLineItem);
        }
Exemplo n.º 2
0
        private void SetSubcontractLine()
        {
            var subcontractOrderLines = CommitmentDataProvider.GetCommitmentLines(Graph, generationKey.OrderNumber,
                                                                                  POOrderType.RegularSubcontract, generationKey.ProjectId);
            var subcontractLineItem = subcontractOrderLines.SingleOrNull()?.LineNbr;

            Cache.SetValueExt <ComplianceDocument.subcontractLineItem>(lienWaiver, subcontractLineItem);
        }