Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
Unanswered

Dynamic 365

Posted on by
import { IProductSearchColumn } from "PosApi/Extend/Views/SearchView";
import { ICustomColumnsContext } from "PosApi/Extend/Views/CustomListColumns";
import { ProxyEntities } from "PosApi/Entities";
export default (context: ICustomColumnsContext): IProductSearchColumn[] => {
    return [
        {
            title: "PRODUCT NUMBER",
            computeValue: (row: ProxyEntities.ProductSearchResult): string => { return row.ProductNumber; },
            ratio: 20,
            collapseOrder: 1,
            minWidth: 120
         },
         {
             
            title: "PRODUCT NAME",
            computeValue: (row: ProxyEntities.ProductSearchResult): string => { return row.Name; },
            ratio: 20,
            collapseOrder: 2,
            minWidth: 120
         },
          {
             
            title: "ORIGINAL PRICE",
            computeValue: (row: ProxyEntities.ProductSearchResult): string => { return row.""; },
            ratio: 15,
            collapseOrder: 3,
            minWidth: 120
         },
          {
             
            title: "CURRENT price",
            computeValue: (row: ProxyEntities.ProductSearchResult): string => { return row."" ;},
            ratio: 15,
            collapseOrder: 4,
            minWidth: 120
         },
          {
             
            title: "rating",
            computeValue: (row: ProxyEntities.ProductSearchResult): string => { return row."" ;},
            ratio: 20,
            collapseOrder: 5,
            minWidth: 120
         },
          {
             
            title: " inventory",
            computeValue: (row: ProxyEntities.ProductSearchResult): string => { return row.""; },
            ratio: 10,
            collapseOrder: 6,
            minWidth: 120
         }
    ];
};
 
Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans