Skip to content

Commit

Permalink
Add SourceLineRecordNo property to Order Entry, Purchasing, and Inven…
Browse files Browse the repository at this point in the history
…tory Lines #76
  • Loading branch information
jimmymcpeter committed Nov 1, 2018
1 parent 16b8358 commit 8eb8589
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ namespace Intacct.SDK.Functions.InventoryControl
{
public class InventoryTransactionLineCreate : AbstractInventoryTransactionLine
{

public int SourceLineRecordNo;

public InventoryTransactionLineCreate()
{
Expand All @@ -34,6 +36,7 @@ public override void WriteXml(ref IaXmlWriter xml)
xml.WriteElement("quantity", Quantity, true);
xml.WriteElement("unit", Unit);
xml.WriteElement("cost", Cost);
xml.WriteElement("sourcelinekey", SourceLineRecordNo);
xml.WriteElement("locationid", LocationId);
xml.WriteElement("departmentid", DepartmentId);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Copyright 2018 Sage Intacct, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
Expand All @@ -20,6 +20,8 @@ namespace Intacct.SDK.Functions.OrderEntry
{
public class OrderEntryTransactionLineCreate : AbstractOrderEntryTransactionLine
{

public int SourceLineRecordNo;

public OrderEntryTransactionLineCreate()
{
Expand All @@ -38,6 +40,7 @@ public override void WriteXml(ref IaXmlWriter xml)
xml.WriteElement("unit", Unit);
xml.WriteElement("discountpercent", DiscountPercent);
xml.WriteElement("price", Price);
xml.WriteElement("sourcelinekey", SourceLineRecordNo);
xml.WriteElement("discsurchargememo", DiscountSurchargeMemo);
xml.WriteElement("locationid", LocationId);
xml.WriteElement("departmentid", DepartmentId);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Copyright 2018 Sage Intacct, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
Expand All @@ -20,6 +20,8 @@ namespace Intacct.SDK.Functions.Purchasing
{
public class PurchasingTransactionLineCreate : AbstractPurchasingTransactionLine
{

public int SourceLineRecordNo;

public PurchasingTransactionLineCreate()
{
Expand All @@ -36,6 +38,7 @@ public override void WriteXml(ref IaXmlWriter xml)
xml.WriteElement("quantity", Quantity, true);
xml.WriteElement("unit", Unit);
xml.WriteElement("price", Price);
xml.WriteElement("sourcelinekey", SourceLineRecordNo);
xml.WriteElement("overridetaxamount", OverrideTaxAmount);
xml.WriteElement("tax", Tax);
xml.WriteElement("locationid", LocationId);
Expand Down

0 comments on commit 8eb8589

Please sign in to comment.