Creating Custom Attributes in C#

In C#, attributes are a powerful way to add metadata to your code.You’ve probably seen attributes like [Obsolete], [Serializable], or [Required] before.But did you know you can also create your own custom attributes? In this article, we’ll walk through the basics of creating and using custom attributes in C# — step by step. What is … Leggi tutto

Relationship between PurchLine and SalesLine in Dyn365

If you need to find the relationship between Purch Line and Sales Line you can use the following links between the fields: SalesLine.InventTransId == PurchLine.InventRefTransIdSalesLine.InventRefId == PurchLine.PurchIdSalesLine.InventRefTransId == PurchLine.InventTransIdSalesLine.ItemId == PurchLine.ItemId These relationships are valid if the field: purchLine.ItemRefType = InventRefType::Sales