added COA packages, added mapping profiles, updated creditor fields
This commit is contained in:
@ -5,6 +5,10 @@
|
||||
<AssemblyName>COA.EnterpriseServices.Creditors</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="DataObjects" Version="20.10.2.3-alpha" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\COA.EnterpriseServices.DataAccess\COA.EnterpriseServices.DataAccess.csproj" />
|
||||
</ItemGroup>
|
||||
|
@ -19,9 +19,9 @@
|
||||
return creditorLibrary.SetCreditorStatus(creditorId, status);
|
||||
}
|
||||
|
||||
public void AddOfferResponse()
|
||||
public void AddOfferResponse(OfferResponse response)
|
||||
{
|
||||
creditorLibrary.AddOfferResponse();
|
||||
creditorLibrary.AddOfferResponse(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ namespace COA.EnterpriseServices.Creditors
|
||||
{
|
||||
var creditor = creditorHelper.GetCreditor(creditorId);
|
||||
|
||||
return creditor.Status;
|
||||
return creditor.creditorStatus;
|
||||
}
|
||||
|
||||
public bool SetCreditorStatus(int creditorId, string status)
|
||||
@ -23,11 +23,11 @@ namespace COA.EnterpriseServices.Creditors
|
||||
return creditorHelper.SetCreditorStatus(creditorId, status);
|
||||
}
|
||||
|
||||
public void AddOfferResponse()
|
||||
public void AddOfferResponse(OfferResponse response)
|
||||
{
|
||||
// just a stub until we add actual DataObjects
|
||||
|
||||
creditorHelper.SetOriginalCreditorAsPrimary(1);
|
||||
creditorHelper.SetOriginalCreditorAsPrimary(response.CreditorId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user