Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Create ProjectSalesItemRequirements - with deliveryaddress - using oData

Posted on by 10

Hi,

trying to create over oData using C# with these properties:

DataAreaId = "101",

ItemId = "1004310",

ProjectId = "101-000033-01-01",

QuantityOrdered = Decimal.Parse("44"),

ReceiptDateRequested = "2021-10-15T12:00:00Z",

SalesQuantity = Decimal.Parse("44"),

ShipDate = "2021-10-15T12:00:00Z",

ShippingDateRequested = "2021-10-15T12:00:00Z",

ShippingSiteId = "1",

ShippingWarehouseId = "1",

DeliveryAddressCity="My City",

DeliveryAddressCountryRegionId= "NOR",

DeliveryAddressCountryRegionISOCode="NO",

DeliveryAddressDescription = "Big company",

DeliveryAddressDistrictName= "11",

DeliveryAddressStreet="Street",

DeliveryAddressZipCode="6502"

Creation is OK, but the respons does not reflect the DeliveryAddress that I specify.

Have also tried to specify a DeliveryAddressLocationId with the same response.

It seems the backend logic overrules my attempt to provide a line specific address.

Is there a way to achieve my objective? 

  • EirikS Profile Picture
    EirikS 10 on at
    RE: Create ProjectSalesItemRequirements - with deliveryaddress - using oData

    Thank you for your reply.

    No, have not - and will try.

    Will report back.

    /eirik

  • MarkB45 Profile Picture
    MarkB45 755 on at
    RE: Create ProjectSalesItemRequirements - with deliveryaddress - using oData

    Hi Eirik,

    Have you tried disabling the business logic and validations on the data entity under data management? Sometimes does the trick.

    KR

    Mark

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans