Interface "Price Source"
Base Application · Microsoft.Pricing.Source
Across versions
- BC23-30present
Base Application · Microsoft.Pricing.Source · BC23-30 · source at ea08af5e · facts from BC29
Procedures
GetNo(var PriceSource: Record "Price Source")GetId(var PriceSource: Record "Price Source"): The method fills the Price Source parameter with “Source ID” and other data from the source defined in the implementation codeunit.IsForAmountType(AmountType: Enum "Price Amount Type"): Boolean: The method should return true if the source can define both price and discount. If the price source is relevant only for prices it should return true when AmountType is Price, and false if AmountType is Discount E.g., “Customer Price Group” is not relevant for discounts, “Customer Discount Group” is…IsLookupOK(var PriceSource: Record "Price Source"): Boolean: The method runs the modal page for looking up for a price source.VerifyParent(var PriceSource: Record "Price Source"): Boolean: The method should throw an error if the price source does not support the parent source, but “Parent Source No” is filled, and vice versa, if the parent source is supported but “Parent Source No” is empty or inconsistent. E.g., “Job Task” is the only price source that supports “Job” price source as …IsSourceNoAllowed(): Boolean: The method should return true for a source that requires “Source No.” to be filled. In W1 returns false for group source types: “All”, “All Customers”, “All Vendors”, “All Jobs”.GetGroupNo(PriceSource: Record "Price Source"): Code[20]: The method should return “Source No.” of the related Customer, Vendor, or Job. E.g., “Job Task” returns the parent job’s “Source No.”, so the detailed price calculation setup defined for the job will be applied for all Job Tasks.
Implemented by
- Codeunit 7031 “Price Source - All”
- Codeunit 7032 “Price Source - Customer”
- Codeunit 7033 “Price Source - Cust. Price Gr.”
- Codeunit 7034 “Price Source - Cust. Disc. Gr.”
- Codeunit 7035 “Price Source - Vendor”
- Codeunit 7036 “Price Source - Job”
- Codeunit 7037 “Price Source - Job Task”
- Codeunit 7038 “Price Source - Contact”
- Codeunit 7039 “Price Source - Campaign”
- Enum 7003 “Price Source Type”
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "interface", object_name: "Price Source"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.