Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

Sales header and blanket sales order

(0) ShareShare
ReportReport
Posted on by 70

Hello,

I am trying to create a report layout from scratch for sales order.

From my understanding the logic for getting blanket sales order no. in the dataset will be :

Main Table : Sales Header 1

2nd table : Sales Lines(Linked to sales header  1 on salesheader1.no. = saleslines.documentno.)

3rd table: Sales header 2(Linked to sales line on salesline.blanketsalesorderno. = salesheader2.no.)

But the field shows blank, anything wrong I am doing here ?

Categories:
  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    13,637 Moderator on at
    RE: Sales header and blanket sales order

    As far as I remember, the blanket order is not deleted when converting to order. The fully invoiced blanket sales order remains in the system until it is deleted, either by deleting individual blanket orders manually or by running the Delete Invoiced Blanket Sales Orders batch job.

    Otherwise, you may need to customize BC to archive the blanket order upon deletion.

  • tanveerk Profile Picture
    70 on at
    RE: Sales header and blanket sales order

    Actually i was using Blanket sales order as SPA(Sales purchase agreement) and as an agreement it should not be deleted. It’s like a contract.

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    13,637 Moderator on at
    RE: Sales header and blanket sales order

    What kind of information do you need from Blanket Order? If the Blanket Order is already deleted, I would guess that the Blanket Order already served its purpose and there is no need to check the Blanket Order. If you want to know how many orders have been shipped, you might want to check the posted tables.

  • tanveerk Profile Picture
    70 on at
    RE: Sales header and blanket sales order

    Elaboration : I was working with dataset and dataitem within it. Was asking the link for sales order with blanket sales order in dataitem. Now i realized that blanket sales order has been deleted because it was converted to sales order. How can i get the number of deleted blanket sales order now ?

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    13,637 Moderator on at
    RE: Sales header and blanket sales order

    Can you elaborate more ?

    Did you also filter the document type ? Did you create a report layout (rdlc) ?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans